/* ---------------------------------------------------------
   TOKENS — AMN Advisory brand system
   Midnight Navy / Teal Jade / Slate / Stone / Gold Accent
--------------------------------------------------------- */
:root{
  --navy: #0B1320;
  --navy-soft: #131F32;
  --slate: #374151;
  --stone: #F5F6F7;
  --white: #FFFFFF;
  --teal: #14B8A6;
  --teal-deep: #0D8C7E;
  --gold: #D4AF37;

  --bg: var(--stone);
  --surface: var(--white);
  --ink: var(--navy);
  --ink-soft: var(--slate);
  --muted: #6B7686;
  --line: #E1E4E8;
  --line-strong: #C7CDD4;
  --shadow: 0 1px 2px rgba(11,19,32,0.05), 0 10px 28px rgba(11,19,32,0.08);

  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color: inherit; }
h1,h2,h3{ font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; }
p{ margin: 0; }
::selection{ background: var(--teal); color: var(--navy); }
:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}
section{ overflow-x: hidden; }

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.on-dark .eyebrow{ color: var(--teal); }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 13px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary{ background: var(--teal); color: var(--navy); }
.btn-primary:hover{ transform: translateY(-1px); background: #1ED2BC; }
.btn-ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover{ border-color: var(--teal); color: var(--teal); }
.btn-ghost-light{ background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost-light:hover{ border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-sm{ padding: 9px 16px; font-size: 13px; }

/* ---------------------------------------------------------
   NAV
--------------------------------------------------------- */
header{
  position: sticky; top: 0; z-index: 40;
  background: rgba(245,246,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.wrap{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand img{ height: 30px; width: auto; }
.nav-links{ display:flex; align-items:center; gap: 30px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; font-size: 14px; color: var(--ink-soft); font-weight:500; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav-links a:hover{ color: var(--teal-deep); }
.nav-links a.active{ color: var(--navy); border-bottom-color: var(--teal); font-weight: 600; }
.nav-links-mobile-hide{ display:flex; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-contact-btn{ background: var(--navy); color: var(--white); }
.nav-contact-btn:hover{ background: var(--teal-deep); color: var(--navy); transform: translateY(-1px); }

/* Mobile hamburger toggle + slide-down menu */
.nav-toggle{
  display:none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span{
  display:block; width: 18px; height: 2px; background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{ display: none; }
.mobile-menu ul{ list-style:none; margin:0; padding: 10px clamp(20px,5vw,56px) 22px; display:flex; flex-direction:column; gap: 0; }
.mobile-menu li{ border-top: 1px solid var(--line); }
.mobile-menu li:first-child{ border-top: none; }
.mobile-menu a{ display:block; padding: 14px 4px; text-decoration:none; color: var(--ink-soft); font-size: 15.5px; font-weight:500; }
.mobile-menu a.active{ color: var(--navy); font-weight:700; }
.mobile-menu li:has(a.btn){ border-top:none; padding-top: 10px; }
.mobile-menu a.btn{ display:flex; text-align:center; justify-content:center; }

@media (max-width: 760px){
  .nav-links-mobile-hide{ display:none; }
  .nav-cta .btn-ghost-light{ display:none; }
  .nav-toggle{ display:flex; }
  header.menu-open .mobile-menu{ display:block; background: var(--surface); border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------
   HERO — navy (home)
--------------------------------------------------------- */
.hero{
  background: var(--navy);
  color: var(--white);
  position: relative;
  padding-top: clamp(56px, 9vw, 100px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }

.hero h1{
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 11.5em;
  margin-top: 18px;
}
.hero h1 .accent{ color: var(--teal); }
.hero-sub{
  margin-top: 22px;
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  color: #C7CFDA;
  max-width: 46ch;
  font-weight: 300;
}
.hero-actions{ margin-top: 34px; display:flex; gap: 14px; flex-wrap: wrap; }

.skyline{ position:absolute; right:0; bottom:0; top:0; width: 46%; z-index:1; opacity:0.9; pointer-events:none; }
@media (max-width: 900px){ .skyline{ display:none; } }

/* trust row */
.trust-row{
  position: relative; z-index: 2;
  margin-top: clamp(48px, 7vw, 76px);
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: clamp(40px, 6vw, 60px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}
@media (max-width: 760px){ .trust-row{ grid-template-columns: repeat(2, 1fr); } }
.trust-item{ display:flex; flex-direction:column; gap:10px; }
.trust-item svg{ width:26px; height:26px; }
.trust-item h4{ font-family: var(--sans); font-size: 14px; font-weight:600; color: var(--white); margin:0; letter-spacing:0.02em; }
.trust-item p{ font-size: 12.5px; color: #93A0B3; max-width: 24ch; }

/* world clock ticker */
.clockbar{ background: var(--navy-soft); border-top: 1px solid rgba(255,255,255,0.1); position:relative; z-index:2; }
.clock-row{ display:grid; grid-template-columns: repeat(5, 1fr); }
.clock-cell{ padding: 16px clamp(12px, 1.6vw, 20px); border-left: 1px solid rgba(255,255,255,0.1); }
.clock-cell:nth-child(5n+1){ border-left: none; }
@media (max-width: 760px){
  .clock-row{ grid-template-columns: repeat(3, 1fr); }
  .clock-cell{ border-left: 1px solid rgba(255,255,255,0.1); }
  .clock-cell:nth-child(5n+1){ border-left: 1px solid rgba(255,255,255,0.1); }
  .clock-cell:nth-child(3n+1){ border-left: none; }
}
@media (max-width: 500px){
  .clock-row{ grid-template-columns: repeat(2, 1fr); }
  .clock-cell:nth-child(3n+1){ border-left: 1px solid rgba(255,255,255,0.1); }
  .clock-cell:nth-child(2n+1){ border-left: none; }
}
.clock-city{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B3; }
.clock-time{ font-family: var(--mono); font-size: clamp(18px,2.4vw,22px); font-variant-numeric: tabular-nums; color: var(--white); margin-top: 4px; }
.clock-region{ font-size: 11px; color: var(--teal); margin-top: 2px; font-family: var(--mono); letter-spacing: 0.05em; }

/* ---------------------------------------------------------
   PAGE HERO — subpages (Services / About / Contact)
--------------------------------------------------------- */
.page-hero{ background: var(--navy); color: var(--white); padding-top: clamp(48px, 7vw, 72px); padding-bottom: clamp(40px, 6vw, 60px); }
.page-hero .eyebrow{ color: var(--teal); }
.page-hero h1{ color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-top: 12px; max-width: 18ch; }
.page-hero p{ margin-top: 16px; color: #C7CFDA; max-width: 56ch; font-size: 15.5px; font-weight: 300; }
.breadcrumb{ font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: #7C8AA0; text-transform: uppercase; }
.breadcrumb a{ color: #93A0B3; text-decoration: none; }
.breadcrumb a:hover{ color: var(--teal); }

/* ---------------------------------------------------------
   SECTION HEADERS
--------------------------------------------------------- */
.section{ padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.section-head{
  display:flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: clamp(32px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.section-head h2{ font-size: clamp(26px, 3.4vw, 36px); margin-top: 8px; color: var(--navy); }
.section-head .section-note{ max-width: 30ch; font-size: 14.5px; color: var(--muted); text-align: right; }
@media (max-width: 700px){
  .section-head{ flex-direction: column; align-items: flex-start; }
  .section-head .section-note{ text-align: left; }
}
.alt{ background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------
   SERVICES
--------------------------------------------------------- */
.service-list{ display: flex; flex-direction: column; }
.service{
  display:grid;
  grid-template-columns: 88px 1.1fr 1.4fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.15s ease;
}
.service:last-child{ border-bottom: 1px solid var(--line); }
.service-num{ font-family: var(--mono); font-size: 13px; color: var(--gold); }
.service h3{ font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--navy); }
.service p{ color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.service .service-detail{ margin-top: 10px; }
.service .service-detail li{ font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 760px){ .service{ grid-template-columns: 1fr; gap: 8px; } }

.service-teaser-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-teaser{ background: var(--surface); padding: 26px 24px; }
.service-teaser .service-num{ display:block; margin-bottom: 10px; }
.service-teaser h4{ font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.service-teaser p{ font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px){ .service-teaser-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .service-teaser-grid{ grid-template-columns: 1fr; } }
.service-teaser-wide{ grid-column: 1 / -1; }

/* Process / how we work */
.process-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px){ .process-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .process-grid{ grid-template-columns: 1fr; } }
.process-step{ border-top: 2px solid var(--gold); padding-top: 16px; }
.process-step .value-mark{ font-family: var(--mono); font-size: 12px; color: var(--gold); }
.process-step h4{ font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--navy); margin: 6px 0 8px; }
.process-step p{ font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq{ display:flex; flex-direction: column; }
.faq-item{ border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-item h4{ font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.faq-item p{ font-size: 14px; color: var(--muted); max-width: 62ch; }

/* ---------------------------------------------------------
   GLOBAL REACH
--------------------------------------------------------- */
.reach-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items:center; }
@media (max-width: 860px){ .reach-grid{ grid-template-columns: 1fr; } }
.region-list{ display:flex; flex-direction:column; }
.region{ display:flex; justify-content: space-between; align-items:center; padding: 16px 0; border-top: 1px solid var(--line); }
.region:last-child{ border-bottom: 1px solid var(--line); }
.region-name{ font-weight: 600; font-size: 15.5px; color: var(--navy); }
.region-cities{ color: var(--muted); font-size: 13.5px; font-family: var(--mono); }

/* ---------------------------------------------------------
   ABOUT
--------------------------------------------------------- */
.about-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,6vw,72px); }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; } }
.about-lead{ font-family: var(--display); font-style: italic; font-size: clamp(21px,2.4vw,26px); line-height: 1.4; color: var(--navy); margin-top: 30px; }
.about-support{ margin-top: 22px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 50ch; }
.about-support + .about-support{ margin-top: 14px; }

.founder-card{ display:flex; align-items:flex-start; gap: 20px; }
.founder-photo{
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--teal); flex-shrink: 0;
  box-shadow: var(--shadow);
}
.founder-name{ font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--navy); margin: 0; }
.founder-title{ font-family: var(--sans); font-size: 13.5px; color: var(--teal-deep); font-weight: 600; margin: 3px 0 12px; }
.founder-tags{ display:flex; flex-wrap: wrap; gap: 8px; }
.founder-tags span{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.02em;
  color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-strong);
  padding: 5px 10px; border-radius: 20px;
}

/* Credentials list — founder qualifications, memberships & coursework */
.credential-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 700px){ .credential-grid{ grid-template-columns: 1fr; } }
.credential-item{ display:flex; gap: 10px; align-items: flex-start; }
.credential-item .mark{ color: var(--gold); font-size: 12px; margin-top: 2px; flex-shrink: 0; }
.credential-item .cred-title{ display:block; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.credential-item .cred-sub{ display:block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: 0.01em; }
.values{ display:flex; flex-direction:column; gap: 22px; margin-top: 8px; }
.value-item{ display:flex; gap: 16px; }
.value-mark{ font-family: var(--mono); font-size: 12px; color: var(--gold); padding-top: 4px; }
.value-item h4{ font-family: var(--sans); font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--navy); }
.value-item p{ font-size: 14px; color: var(--muted); max-width: 46ch; }

/* ---------------------------------------------------------
   COMPANY DETAILS — legal / registration card (credit-bureau facing)
--------------------------------------------------------- */
.legal-card{
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: clamp(26px, 4vw, 40px);
}
.legal-card-head{ display:flex; justify-content: space-between; align-items:flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.legal-card-head h3{ font-size: clamp(19px, 2.2vw, 23px); color: var(--navy); }
.legal-card-head .eyebrow{ margin-bottom: 6px; display:block; }
.legal-badge{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.35); padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.legal-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
@media (max-width: 700px){ .legal-grid{ grid-template-columns: 1fr; } }
.legal-field{ border-top: 1px solid var(--line); padding-top: 12px; }
.legal-field dt{ font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal-field dd{ margin: 5px 0 0; font-size: 15px; color: var(--navy); font-weight: 500; }
.legal-field dd a{ color: var(--navy); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.legal-field dd a:hover{ color: var(--teal-deep); text-decoration-color: var(--teal-deep); }
.legal-note{ margin-top: 22px; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 16px; }

/* ---------------------------------------------------------
   BOOKING / CONTACT — styled like the brand's report-cover treatment
--------------------------------------------------------- */
.book-section{ background: var(--navy); color: var(--white); }
.book-section .section-head{ border-bottom-color: rgba(255,255,255,0.14); }
.book-section .section-head h2{ color: var(--white); }
.book-section .section-note{ color: #93A0B3; }
.book-panel{
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 2px solid var(--gold);
  border-radius: 2px;
  padding: clamp(28px, 5vw, 48px);
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 780px){ .book-panel{ grid-template-columns: 1fr; } }
.book-kicker{ font-family: var(--display); font-style: italic; color: var(--teal); font-size: 15px; margin-bottom: 10px; }
.book-panel h3{ font-size: clamp(22px, 2.8vw, 28px); color: var(--white); }
.book-panel p{ color: #B7C0CC; margin-top: 12px; font-size: 15px; max-width: 44ch; font-weight: 300; }
.book-side{ border-left: 1px solid rgba(255,255,255,0.14); padding-left: clamp(20px,3vw,32px); }
@media (max-width: 780px){ .book-side{ border-left:none; border-top: 1px solid rgba(255,255,255,0.14); padding-left:0; padding-top: 20px; } }
.book-side dl{ margin:0; }
.book-side dt{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #7C8AA0; margin-top: 16px; }
.book-side dt:first-child{ margin-top: 0; }
.book-side dd{ margin: 4px 0 0; font-size: 14.5px; color: var(--white); }
.book-side a{ text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; }
.book-side a:hover{ color: var(--teal); text-decoration-color: var(--teal); }

/* contact form (Netlify Forms compatible) */
.contact-form-wrap{ margin-top: 56px; }
.contact-form{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px,4vw,40px); border-radius: 2px; }
.contact-form .full{ grid-column: 1 / -1; }
.contact-form label{ display:block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-form input, .contact-form textarea{
  width:100%; font-family: var(--sans); font-size: 14.5px; color: var(--navy);
  border: 1px solid var(--line-strong); border-radius: 2px; padding: 11px 13px; background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus{ outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.contact-form textarea{ min-height: 110px; resize: vertical; }
@media (max-width: 640px){ .contact-form{ grid-template-columns: 1fr; } }
.form-note{ font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------------------------------------------------------
   FOOTER — navy bookend
--------------------------------------------------------- */
footer{ background: var(--navy-soft); padding: 44px 0; }
.footer-row{ display:flex; justify-content: space-between; align-items:center; gap: 20px; flex-wrap: wrap; }
.footer-brand img{ height: 26px; width:auto; }
.footer-sub{ font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: #7C8AA0; margin-top: 8px; text-transform: uppercase; }
footer .meta{ font-size: 12.5px; color: #7C8AA0; }
footer nav a{ font-size: 13px; color: #93A0B3; text-decoration:none; margin-left: 20px; }
footer nav a:hover{ color: var(--teal); }

/* Progressive enhancement: content is fully visible by default (no JS
   dependency for core content — important for crawlers, including any
   automated review as part of business/credit registration). The
   scroll-reveal effect only activates once JS has run and tagged <html>. */
.js .reveal{ opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity:1; transform:none; } }
