:root {
  --navy: #0B2B3C;
  --navy-deep: #072031;
  --navy-card: #10394B;
  --navy-line: #1C4C5E;
  --teal: #0F8B84;
  --teal-hover: #0C6F6A;
  --teal-bright: #2BB3A9;
  --sand: #F7F1E6;
  --paper: #FCFAF5;
  --line: #E7DCC8;
  --line-soft: #EDE3D0;
  --mint: #EDF4F1;
  --ink: #16323F;
  --muted: #47606B;
  --on-dark: #A9C2C8;
  --on-dark-soft: #C6D8DC;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--navy); }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }

/* Wordmark */
.wordmark { font-family: var(--font-display); font-weight: 700; }
.wordmark__a { color: var(--paper); }
.wordmark__b { color: var(--teal-bright); }
.wordmark__c { color: #B9CDD2; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; text-align: center; transition: background-color .15s ease, border-color .15s ease; }
.btn--primary { background: var(--teal); color: var(--paper); }
.btn--primary:hover { background: var(--teal-hover); color: var(--paper); }
.btn--ghost { border: 1.5px solid #4E7783; color: #DCE8EA; font-weight: 500; }
.btn--ghost:hover { border-color: #7FA3AB; color: var(--paper); }
.btn--sm { font-size: 15px; padding: 12px 22px; }
.btn--lg { font-size: 17px; padding: 17px 32px; }
.btn--glow { box-shadow: 0 8px 24px rgba(15, 139, 132, 0.35); }

/* Nav */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 5; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; }
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand .wordmark { font-size: 21px; letter-spacing: 0.2px; line-height: 1; }
.brand__sub { font-size: 9px; letter-spacing: 5px; color: #7FA3AB; }
.nav__menu { display: flex; align-items: center; gap: 36px; }
.nav__menu a:not(.btn) { color: #B9CDD2; font-size: 15px; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: var(--paper); }
.nav__toggle { display: none; background: none; border: 0; color: #B9CDD2; padding: 6px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(9, 34, 50, 0.92) 0%, rgba(9, 38, 52, 0.78) 40%, rgba(9, 38, 52, 0.25) 75%, rgba(9, 38, 52, 0.1) 100%), url("assets/hero-tide.webp") center 60% / cover, #0B2B3C; }
.hero__waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; opacity: 0.5; }
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 28px; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(72px, 10vw, 150px); }
.hero__inner > * { max-width: 860px; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; color: #7FB8B1; font-size: 15px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.rule { width: 34px; height: 2px; background: var(--teal); flex: none; }
.hero h1 { color: var(--paper); font-size: clamp(38px, 5.2vw, 68px); line-height: 1.06; letter-spacing: -1px; }
.hero__lede { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.55; color: var(--on-dark-soft); max-width: 640px; }
.hero__note { color: #7FA3AB; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.actions--row { margin-top: 48px; gap: 24px; }

/* Sections */
.section { padding: var(--pad-y) 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--navy { background: var(--navy); }
.section--navy h2 { color: var(--paper); }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.intro h2, .about h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.5px; line-height: 1.15; }
.intro > p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--muted); }
.eyebrow { color: var(--teal); font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.closer { font-size: 19px; line-height: 1.6; max-width: 720px; margin-top: 44px; }
.closer strong { color: var(--teal); font-weight: 600; }
.muted { color: var(--muted); font-size: 16px; }

/* Grids and cards */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps { list-style: none; margin: 0; padding: 0; }
.card { border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 21px; font-weight: 600; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card--light { background: var(--paper); border: 1px solid var(--line); }
.card--dark { background: var(--navy); border-radius: 18px; padding: 36px; gap: 16px; }
.card--dark h3 { color: var(--paper); font-size: 22px; }
.card--dark p { color: var(--on-dark); }
.card--mint { background: var(--mint); gap: 12px; }
.card--mint h3 { font-size: 22px; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 15px !important; color: var(--teal) !important; letter-spacing: 1px; }
.card--deep { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 18px; padding: 36px; }
.card--deep h3 { color: var(--paper); font-size: 24px; line-height: 1.3; }
.card--deep p { color: var(--on-dark); }
.case__meta { color: #7FB8B1 !important; font-size: 14px !important; font-weight: 600; letter-spacing: 1px; }
.more { font-size: 15px; font-weight: 600; margin-top: auto; }

/* Chat example */
.chat { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat__time { font-size: 11px !important; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #7FA3AB !important; }
.chat__msg { font-size: 13px !important; line-height: 1.45 !important; padding: 8px 12px; max-width: 92%; }
.chat__msg--in { align-self: flex-start; background: var(--navy-line); color: #DCE8EA !important; border-radius: 10px 10px 10px 3px; }
.chat__msg--out { align-self: flex-end; background: var(--teal); color: var(--paper) !important; border-radius: 10px 10px 3px 10px; }

/* About */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.about__photo { background: linear-gradient(160deg, #EDF4F1 0%, #DCE9E4 100%); border-radius: 20px; min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #6E8F88; font-size: 14px; font-weight: 500; }
.about__text { display: flex; flex-direction: column; gap: 18px; }
.about__text > p:not(.eyebrow) { font-size: 17px; line-height: 1.65; color: var(--muted); }
.about .more { font-size: 16px; }

/* Final CTA */
.cta { background: linear-gradient(180deg, rgba(7, 32, 49, 0.72) 0%, rgba(7, 32, 49, 0.45) 30%, rgba(7, 32, 49, 0.05) 55%, rgba(7, 32, 49, 0.25) 100%), url("assets/cta-sunset.webp") center top / cover no-repeat, #0B2B3C; padding: 64px 0 0; min-height: 52vw; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta h2 { color: var(--paper); font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -0.5px; }
.cta p { font-size: 19px; line-height: 1.6; color: var(--on-dark-soft); max-width: 620px; }

/* Footer */
.footer { background: var(--navy-deep); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #8AA6AE; font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__links a { color: #8AA6AE; font-size: 14px; }
.footer__links a:hover { color: var(--paper); }

/* Tablet */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { min-height: 300px; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav__inner { padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
  .brand img { width: 30px; }
  .brand .wordmark { font-size: 17px; }
  .brand__sub { display: none; }
  .nav__toggle { display: block; }
  .nav__menu { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 16px; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 10px 0; font-size: 16px; }
  .nav__menu .btn { margin-top: 8px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: 1.4px; }
  .hero__eyebrow .rule { display: none; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions--row { align-items: flex-start; }
  .btn--lg { font-size: 16px; padding: 16px 24px; }
  .hero__note { text-align: center; }
  .grid--2 { grid-template-columns: 1fr; }
  .card, .card--dark, .card--deep { padding: 24px; }
  .intro { margin-bottom: 28px; }
  .intro > p:not(.eyebrow) { font-size: 16px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Consultant positioning additions */
.price { color: var(--teal); font-weight: 600; }
.sectors { list-style: none; padding: 0; }
.sectors .card--deep { padding: 28px; }
.sectors h3 { font-size: 20px; margin-bottom: 8px; }
.sectors p { font-size: 15px; line-height: 1.55; }
.about__photo--brand { background: var(--navy) url("assets/texture-tide.jpg") center / cover; }
.about__photo--brand img { width: 120px; height: 120px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }
.about__img { width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 4 / 5; }
.cta .actions { justify-content: center; }
.section--navy .intro > p:not(.eyebrow) { color: var(--on-dark); }

/* Tablet: text runs wider, so darken more of the hero photo */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero { background: linear-gradient(90deg, rgba(9, 34, 50, 0.92) 0%, rgba(9, 38, 52, 0.82) 60%, rgba(9, 38, 52, 0.4) 85%, rgba(9, 38, 52, 0.2) 100%), url("assets/hero-tide.webp") center 60% / cover, #0B2B3C; }
}

/* Photo backgrounds on mobile: keep text on solid navy, photo below or muted */
@media (max-width: 760px) {
  .hero { background: linear-gradient(180deg, rgba(9, 34, 50, 0.88) 0%, rgba(9, 38, 52, 0.8) 100%), url("assets/hero-tide.webp") 35% center / cover, #0B2B3C; }
  .cta { background: linear-gradient(180deg, #0B2B3C 0%, #0B2B3C 42%, rgba(11, 43, 60, 0) 62%, rgba(7, 32, 49, 0.2) 100%), url("assets/cta-sunset.webp") center bottom / auto 500px no-repeat, #0B2B3C; padding: 56px 0 420px; min-height: 0; }
}
