:root {
  --navy: #0f2f4a;
  --navy-deep: #0a2137;
  --ink: #16232f;
  --paper: #f5f2ea;
  --white: #ffffff;
  --teal: #2f9c8f;
  --teal-dark: #227c72;
  --teal-light: #e4f2ef;
  --gold: #c9a15a;
  --muted-dark: #9fb0bd;
  --muted-light: #5b6773;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(15, 47, 74, 0.14);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Jost", Arial, sans-serif;
  --shell: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 15px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

.utility-bar { position: relative; z-index: 110; min-height: 34px; color: var(--white); background: var(--navy-deep); font-size: 12px; font-weight: 500; letter-spacing: .04em; line-height: 1; }
.utility-inner { display: grid; min-height: 34px; grid-template-columns: 1fr auto 1fr; align-items: center; }
.utility-center { display: flex; align-items: center; gap: 10px; color: var(--muted-dark); }
.utility-center i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.utility-inner a { justify-self: end; color: var(--white); }
.utility-inner a:hover { color: var(--teal); }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 86px; color: var(--white); background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; height: 86px; align-items: center; }
.brand { display: flex; min-width: 132px; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 30px; }
.desktop-nav a { display: inline-flex; min-height: 44px; align-items: center; color: #cddae2; font-size: 14px; font-weight: 500; letter-spacing: .03em; transition: color 180ms ease; }
.desktop-nav a:hover { color: var(--teal); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .03em; line-height: 1; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.button-teal { color: var(--white); background: var(--teal); }
.button-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }
.button-outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.4); }
.button-outline:hover { border-color: var(--teal); color: var(--teal); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; display: grid; min-height: 640px; grid-template-columns: 1fr; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-bg::after { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,33,55,.94) 0%, rgba(10,33,55,.82) 42%, rgba(10,33,55,.45) 76%, rgba(10,33,55,.25) 100%); content: ""; }
.hero-copy { position: relative; z-index: 2; display: flex; align-items: center; padding: 120px 0 90px; }
.hero-copy-inner { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px; color: var(--teal-light); background: rgba(47,156,143,.18); border: 1px solid rgba(47,156,143,.4); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-dark { color: var(--teal-dark); background: var(--teal-light); border-color: rgba(47,156,143,.25); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h1 { margin-bottom: 24px; font-size: clamp(44px, 6vw, 74px); font-weight: 600; letter-spacing: -.01em; line-height: 1.04; color: var(--white); }
h1 em, h2 em { color: var(--teal); font-style: italic; }
.hero-intro { max-width: 480px; margin-bottom: 34px; color: #cfdbe3; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--white); line-height: 1; }
.hero-stats span { font-size: 12px; letter-spacing: .04em; color: var(--muted-dark); text-transform: uppercase; }

.service-ticker { color: var(--navy); background: var(--gold); }
.ticker-track { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.ticker-track i { width: 4px; height: 4px; border-radius: 50%; flex: 0 0 auto; background: var(--navy); }
.section { padding: 110px 0; }

.services { color: var(--ink); background: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { margin-bottom: 18px; font-size: clamp(38px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; color: var(--navy); }
.section-head p { color: var(--muted-light); font-size: 16px; line-height: 1.75; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { padding: 38px 32px; background: var(--paper); border: 1px solid var(--line-light); border-radius: 18px; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -24px rgba(15,47,74,.35); }
.service-icon { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--white); background: var(--teal); border-radius: 14px; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; color: var(--navy); }
.service-card p { margin: 0; color: var(--muted-light); font-size: 14.5px; line-height: 1.7; }

.gallery { background: var(--navy); color: var(--white); }
.gallery .section-head h2 { color: var(--white); }
.gallery .section-head p { color: var(--muted-dark); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.showcase-item { margin: 0; }
.showcase-item video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: #0c2439; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }
.showcase-caption { margin-top: 16px; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-align: center; color: #dbe6ec; }

.reviews { background: var(--teal-light); }
.reviews .section-head h2 { color: var(--navy); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
.review-card { display: flex; flex-direction: column; padding: 34px 30px; background: var(--white); border-radius: 18px; box-shadow: 0 20px 40px -30px rgba(15,47,74,.3); }
.review-stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--gold); }
.review-stars svg { width: 17px; height: 17px; fill: currentColor; }
.review-card p { flex: 1; margin: 0 0 22px; color: var(--ink); font-size: 15px; line-height: 1.75; }
.review-name { display: flex; align-items: center; gap: 12px; }
.review-avatar { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--white); background: var(--navy); border-radius: 50%; font-family: var(--display); font-size: 16px; font-weight: 600; }
.review-name strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.review-name span { display: block; font-size: 12px; color: var(--muted-light); }

.process { color: var(--white); background: var(--navy-deep); }
.process-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 70px; }
.process-head .eyebrow { margin-bottom: 22px; }
.process-head h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); color: var(--white); }
.process-steps { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.process-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.process-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.process-steps > li > span { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); background: var(--teal); border-radius: 50%; font-family: var(--display); font-size: 18px; font-weight: 600; }
.process-steps h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; color: var(--white); }
.process-steps p { margin: 0; color: var(--muted-dark); font-size: 14px; line-height: 1.65; }

.contact { padding: 130px 0; color: var(--white); background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 80px; }
.contact-head h2 { margin-bottom: 20px; color: var(--white); font-size: clamp(36px, 4.4vw, 54px); }
.contact-head p { max-width: 480px; margin-bottom: 0; color: var(--muted-dark); font-size: 16px; line-height: 1.75; }
.contact-card { padding: 40px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: 20px; }
.contact-lines { display: grid; gap: 4px; margin-bottom: 28px; }
.contact-lines a, .contact-lines span.static { display: grid; grid-template-columns: 110px 1fr; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line-dark); }
.contact-lines a:last-child, .contact-lines span.static:last-child { border-bottom: 0; }
.contact-lines .label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.contact-lines strong { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.contact-lines a:hover strong { color: var(--teal); }
.contact-note { display: flex; gap: 12px; padding: 16px 18px; color: var(--muted-dark); background: rgba(255,255,255,.04); border-radius: 12px; font-size: 13px; line-height: 1.6; }
.contact-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 1.8; }

.site-footer { padding: 56px 0; color: var(--muted-dark); background: var(--navy-deep); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 50px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; width: auto; }
.footer-grid p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 320px; }
.footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; gap: 10px; }
.footer-label { margin-bottom: 6px; color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { font-size: 14px; transition: color 180ms ease; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 12px; letter-spacing: .03em; text-align: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Agency preview popup (NOT part of client's site — delete before handoff) ===== */
.agency-pop-backdrop { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; background: rgba(10,18,26,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.agency-pop-backdrop.is-open { opacity: 1; pointer-events: auto; }
.agency-pop { position: relative; width: min(100%, 440px); padding: 34px 32px 30px; color: var(--ink); background: var(--white); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); transform: translateY(14px) scale(.98); transition: transform 260ms ease; }
.agency-pop-backdrop.is-open .agency-pop { transform: translateY(0) scale(1); }
.agency-pop-close { position: absolute; top: 14px; right: 14px; display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: var(--muted-light); background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; }
.agency-pop-close:hover { color: var(--ink); }
.agency-pop-eyebrow { display: inline-flex; margin-bottom: 14px; padding: 5px 12px; color: var(--teal-dark); background: var(--teal-light); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.agency-pop h3 { margin: 0 0 12px; font-size: 22px; font-weight: 600; color: var(--navy); }
.agency-pop p { margin: 0 0 20px; color: var(--muted-light); font-size: 14px; line-height: 1.65; }
.agency-pop-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.agency-pop .button-outline { color: var(--navy); border-color: var(--line-light); }
.agency-pop .button-outline:hover { color: var(--teal-dark); border-color: var(--teal); }
.agency-pop-dismiss { display: inline-flex; color: var(--muted-light); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.agency-pop-dismiss:hover { color: var(--ink); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { gap: 22px; }
  .process-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-copy { padding: 150px 0 70px; }
  .hero-bg video { object-position: 62% 58%; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .utility-inner { display: flex; justify-content: space-between; }
  .utility-center { display: none; }
  .site-header { min-height: 74px; }
  .header-inner { height: 74px; }
  .brand img { height: 38px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; padding: 0; color: var(--white); background: transparent; border: 1px solid var(--line-dark); border-radius: 10px; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { display: grid; max-height: 0; overflow: hidden; padding: 0 4px; color: var(--white); background: var(--navy); transition: max-height 240ms var(--ease), padding 240ms var(--ease); }
  .mobile-menu.is-open { max-height: 420px; padding-top: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
  .mobile-menu > a:not(.button) { display: flex; min-height: 54px; align-items: center; border-top: 1px solid var(--line-dark); font-size: 17px; font-weight: 500; }
  .mobile-menu .button { margin-top: 12px; width: 100%; }
  .section { padding: 76px 0; }
  .hero-copy { padding: 128px 0 60px; }
  h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-stats { gap: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .agency-pop { padding: 28px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
