/* ═══════════════════════════════════════════════════════════
   HEADWTRS — Global Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Variables ───────────────────────────────────────────── */
:root {
  --navy-abyss:  #0D1628;
  --navy-deep:   #1A2540;
  --navy:        #2C3E6B;
  --navy-mid:    #3D5080;
  --steel:       #5B6E99;
  --sky:         #7BA3C8;
  --water:       #A8C8E0;
  --sunrise:     #E8724A;
  --gold:        #F2A84B;
  --ember:       #C45C35;
  --cream:       #F7F3EE;
  --cream-dark:  #EDE8E0;
  --white:       #FFFFFF;
  --text-dark:   rgba(168,200,224,0.82);
  --text-muted:  rgba(91,110,153,0.65);
  --border-dark: rgba(91,110,153,0.15);
  --border-light: rgba(44,62,107,0.10);
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--navy-abyss);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
.nav-logo img, .footer-brand img { max-width: none !important; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 4.5vw, 68px); }
h2 { font-size: clamp(36px, 5vw, 76px); }
h3 { font-size: clamp(20px, 2.5vw, 32px); }
em { font-style: italic; color: var(--gold); font-family: inherit; }
p  { max-width: 65ch; text-wrap: pretty; }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--sky);
  display: block; margin-bottom: 16px;
}

/* ─── Layout helpers ──────────────────────────────────────── */
.section   { padding: clamp(80px,12vh,140px) clamp(24px,6vw,80px); position: relative; }
.container { max-width: 1200px; margin: 0 auto; }

/* ─── Section color utilities ─────────────────────────────── */
.light { background: var(--cream); color: var(--navy-abyss); }
.light .eyebrow   { color: var(--navy-mid); }
.light h2         { color: var(--navy); }
.light h3         { color: var(--navy-deep); }
.light p          { color: #374151; }
.light .diff-body { color: #4A5568; }
.light .deliverables li { border-bottom-color: var(--border-light); color: #374151; }
.light .service-full-right p { color: #374151; }

/* ─── Nautical bg ─────────────────────────────────────────── */
.nautical-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='60' cy='60' r='50' fill='none' stroke='%235B6E99' stroke-width='0.3' opacity='0.12'/%3E%3Ccircle cx='60' cy='60' r='35' fill='none' stroke='%235B6E99' stroke-width='0.3' opacity='0.09'/%3E%3Ccircle cx='60' cy='60' r='20' fill='none' stroke='%235B6E99' stroke-width='0.3' opacity='0.07'/%3E%3Cline x1='0' y1='60' x2='120' y2='60' stroke='%235B6E99' stroke-width='0.2' opacity='0.06'/%3E%3Cline x1='60' y1='0' x2='60' y2='120' stroke='%235B6E99' stroke-width='0.2' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* ─── Sun bloom ───────────────────────────────────────────── */
.sun-bloom {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242,168,75,0.10) 0%, rgba(232,114,74,0.04) 40%, transparent 70%);
}

/* ─── Wave divider ────────────────────────────────────────── */
.wave-div { margin: 0; padding: 0; line-height: 0; overflow: hidden; }
.wave-div svg { display: block; width: 100%; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sunrise); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 14px 32px; border-radius: 100px;
  border: 1.5px solid var(--sunrise); cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary:hover { background: var(--ember); border-color: var(--ember); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--water);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 13px 32px; border-radius: 100px;
  border: 1px solid rgba(168,200,224,0.3); cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(168,200,224,0.7); color: var(--white); transform: translateY(-2px); }

/* ─── Cursor ──────────────────────────────────────────────── */
@media (hover:hover) and (pointer:fine) {
  * { cursor: none !important; }
  #cursor-dot {
    width: 8px; height: 8px; background: #E8724A;
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%,-50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
    will-change: left, top;
  }
  #cursor-ring {
    width: 44px; height: 44px;
    border: 1.5px solid rgba(232,114,74,0.45);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99998;
    transform: translate(-50%,-50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    will-change: left, top;
  }
  #cursor-dot.hovering  { width: 14px; height: 14px; background: #F2A84B; }
  #cursor-ring.hovering { width: 64px; height: 64px; border-color: rgba(232,114,74,0.8); }
}
@media (hover:none), (pointer:coarse) {
  #cursor-dot, #cursor-ring { display: none !important; }
}



/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 48px; min-height: 90px;
  z-index: 100;
  transition: transform 0.35s ease-out,
              background 0.35s ease,
              padding 0.35s ease,
              border-color 0.35s ease,
              backdrop-filter 0.35s ease;
  border-bottom: 0.5px solid transparent;
}
.nav.scrolled {
  padding: 8px 48px; min-height: 80px;
  background: rgba(13,22,40,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-dark);
}
.nav.hidden {
  transform: translateY(-110%);
  transition: transform 0.25s ease-in;
  pointer-events: none;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible !important;
  max-width: none !important;
  max-height: none !important;
  line-height: 0;
}
.nav-logo img { height: 130px !important; min-height: 130px !important; width: auto !important; filter: brightness(0) invert(1); max-width: none !important; max-height: none !important; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: rgba(255,255,255,0.65);
  position: relative; padding-bottom: 3px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--sunrise);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-cta { display: inline-flex; }

/* ─── Nav overlay ─────────────────────────────────────────── */
.nav-overlay {
  position: fixed; inset: 0;
  background: var(--navy-abyss);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; z-index: 200;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path 0.6s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.nav-overlay.open {
  clip-path: circle(150% at calc(100% - 44px) 42px);
  pointer-events: all;
}
.nav-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px,10vw,64px); font-weight: 600;
  color: rgba(255,255,255,0.85); padding: 6px 24px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.2s ease;
}
.nav-overlay.open a { opacity: 1; transform: translateY(0); }
.nav-overlay.open a:nth-child(2)  { transition-delay: 0.06s; }
.nav-overlay.open a:nth-child(3)  { transition-delay: 0.12s; }
.nav-overlay.open a:nth-child(4)  { transition-delay: 0.18s; }
.nav-overlay.open a:nth-child(5)  { transition-delay: 0.24s; }
.nav-overlay.open a:nth-child(6)  { transition-delay: 0.30s; }
.nav-overlay.open a.btn-primary   { transition-delay: 0.36s; }
.nav-overlay a:hover { color: var(--sunrise); }
.nav-overlay .btn-primary { color: var(--white) !important; margin-top: 24px; font-size: 14px !important; }
.nav-overlay-close {
  position: absolute; top: 24px; right: clamp(24px,6vw,80px);
  background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer;
  opacity: 0; transition: opacity 0.3s ease 0.1s;
  font-family: 'DM Sans', sans-serif; font-weight: 300;
}
.nav-overlay.open .nav-overlay-close { opacity: 1; }

/* ─── Hero (home) ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px clamp(24px,6vw,80px) 80px;
  position: relative; overflow: hidden;
  background: var(--navy-abyss);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 4.5vw, 68px); line-height: 1.15; margin-bottom: 20px; }
.hero-sub {
  font-size: clamp(14px, 1.1vw, 17px); font-weight: 300;
  color: var(--text-dark); line-height: 1.75;
  max-width: 480px; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 48px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero-scroll-hint {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--steel), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%     { opacity: 1;   transform: scaleY(1.2); }
}

/* ─── Page hero (non-home pages) ──────────────────────────── */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(140px,18vh,200px) clamp(24px,6vw,80px) clamp(80px,10vh,120px);
  background: var(--navy-abyss);
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(40px,5vw,72px) !important; line-height: 1.1 !important; }
.page-hero-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(18px,2.5vw,26px); font-weight: 300;
  color: var(--text-dark);
}

/* ─── Marquee ─────────────────────────────────────────────── */
.marquee-bar {
  overflow: hidden;
  padding: 22px 0;
  background: var(--cream-dark);
  border-top: 0.5px solid rgba(44,62,107,0.08);
  border-bottom: 0.5px solid rgba(44,62,107,0.08);
}
.marquee-row {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy-mid);
  padding: 0 28px;
  flex-shrink: 0;
}
.marquee-dot {
  color: var(--sunrise) !important;
  font-size: 10px !important;
  padding: 0 4px !important;
  letter-spacing: 0 !important;
  opacity: 0.7;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-row--left,
.marquee-row--right { display: none !important; }

/* ─── Process / Phases ────────────────────────────────────── */
.phases-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.phase-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.phase-connector svg { width: 100%; height: 2px; }
.phase-card {
  position: relative;
  padding: 40px 32px;
  border: 0.5px solid var(--border-dark);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
}
.phase-card:hover { transform: translateY(-6px); border-color: rgba(91,110,153,0.4); }
.phase-number-ghost {
  position: absolute; top: -0.1em; left: -0.05em;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(80px,14vw,150px);
  color: var(--navy-mid); opacity: 0.08;
  line-height: 1; pointer-events: none; user-select: none; z-index: 0;
}
.phase-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.phase-label {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--sunrise); margin-bottom: 12px;
}
.phase-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px,2.5vw,30px); font-weight: 700;
  color: var(--white); margin-bottom: 6px; line-height: 1.1; display: block;
}
.phase-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 16px; font-weight: 400;
  color: var(--sky); margin-bottom: 16px; display: block;
}
.phase-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

/* ─── Services snapshot (home) ────────────────────────────── */
.services-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.services-left {
  display: flex; flex-direction: column;
  justify-content: center; gap: 20px;
  border-right: 0.5px solid var(--border-light);
  padding-right: 0;
}
.services-left h2 {
  color: var(--navy);
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.1;
  margin: 0;
}
.services-left p  { color: var(--steel); font-size: 15px; line-height: 1.6; margin: 0; }
.services-left .btn-primary { align-self: flex-start; margin-top: 8px; }
.services-right   { }
.services-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
  align-content: start;
}
.service-card {
  background: var(--navy-deep);
  border: 0.5px solid var(--border-dark); border-radius: 14px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(91,110,153,0.45); }
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--sunrise); letter-spacing: 0.1em;
}
.service-card h3 { color: var(--white); font-size: clamp(18px,2vw,24px); margin: 0; }
.service-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 15px; color: var(--sky); display: block;
}
.service-card p { font-size: 14px; color: var(--text-dark); line-height: 1.7; flex: 1; max-width: 100%; }
.service-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--sky); align-self: flex-start;
  transition: color 0.2s ease, letter-spacing 0.25s ease;
}
.service-link:hover { color: var(--sunrise); letter-spacing: 0.18em; }

/* ─── Pull quote ──────────────────────────────────────────── */
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px,4.5vw,56px);
  font-style: italic; font-weight: 600;
  color: var(--navy); text-align: center;
  max-width: 860px; margin: 0 auto 72px; line-height: 1.25;
}

/* ─── Differentiators ─────────────────────────────────────── */
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.diff-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--sunrise);
  letter-spacing: 0.1em; display: block; margin-bottom: 14px;
}
.diff-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--navy); display: block; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 0.5px solid var(--border-light);
}
.diff-body { font-size: 14px; color: #4A5568; line-height: 1.8; }

/* ─── Verticals grid ──────────────────────────────────────── */
.verticals-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.vertical-card {
  border: 0.5px solid var(--border-dark); border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column; gap: 8px;
}
.vertical-card:hover { border-color: rgba(91,110,153,0.4); transform: translateY(-4px); }
.vertical-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px,2vw,22px); font-weight: 600;
  color: var(--white); line-height: 1.2;
  transition: color 0.2s ease;
}
.vertical-card:hover h4 { color: var(--gold); }
.vertical-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── CTA section ─────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: clamp(100px,14vh,160px) clamp(24px,6vw,80px);
  position: relative; overflow: hidden;
}
.cta-section h2  { color: var(--white); margin-bottom: 24px; }
.cta-body {
  font-size: clamp(16px,1.3vw,18px); color: var(--text-dark);
  max-width: 580px; margin: 0 auto 40px; line-height: 1.75;
}
.cta-micro {
  display: block; margin-top: 24px;
  font-size: 13px; color: var(--text-muted); line-height: 1.75;
}
.cta-micro a {
  color: var(--sky); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; transition: color 0.2s ease;
}
.cta-micro a:hover { color: var(--white); }

/* ─── Services full (services page) ──────────────────────── */
.service-full-section { padding: clamp(80px,12vh,140px) clamp(24px,6vw,80px); }
.service-full {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 80px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.service-full-left { position: relative; }
.service-ghost-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(100px,16vw,200px);
  color: var(--navy-mid); opacity: 0.06;
  position: absolute; top: -0.2em; left: -0.1em;
  line-height: 1; pointer-events: none; user-select: none; z-index: 0;
}
.service-full-inner { position: relative; z-index: 1; }
.service-full-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--sunrise); display: block; margin-bottom: 16px;
}
.service-full-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: clamp(17px,2vw,22px); font-weight: 400;
  color: var(--gold); display: block; margin-top: 10px;
}
.service-full-right p {
  font-size: 16px; color: var(--text-dark); line-height: 1.85;
  margin-bottom: 36px; max-width: 60ch;
}
.deliverables { list-style: none; margin-bottom: 40px; }
.deliverables li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 0.5px solid var(--border-dark);
  font-size: 15px; font-weight: 300; line-height: 1.5;
}
.deliverables li::before { content: '→'; color: var(--sunrise); flex-shrink: 0; margin-top: 1px; }

/* ─── Tiers ───────────────────────────────────────────────── */
.tiers-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 48px;
}
.tier-card {
  border: 0.5px solid var(--border-dark); border-radius: 16px;
  padding: 40px 32px; background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.tier-card:hover { border-color: var(--sky); transform: translateY(-4px); }
.tier-card--featured { background: var(--navy-deep); border-color: var(--navy-mid); }
.tier-card--featured:hover { border-color: var(--steel); }
.tier-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sunrise); display: block; margin-bottom: 12px;
}
.tier-desc { font-size: 14px; color: var(--text-dark); line-height: 1.65; margin-bottom: 16px; }
.tier-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--steel);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── About story ─────────────────────────────────────────── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.story-pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 600;
  font-size: clamp(24px,3.5vw,44px);
  color: var(--navy); line-height: 1.25; max-width: 18ch;
}
.story-body { display: flex; flex-direction: column; gap: 20px; }
.story-body p { font-size: 16px; color: #374151; line-height: 1.85; max-width: 65ch; }
.story-location {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important; color: var(--steel) !important;
  letter-spacing: 0.02em;
}

/* ─── Principles ──────────────────────────────────────────── */
.principles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.principle-card {
  border: 0.5px solid var(--border-dark); border-radius: 16px;
  padding: 40px 32px; background: rgba(255,255,255,0.025);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.principle-card:hover { border-color: rgba(91,110,153,0.4); transform: translateY(-4px); }
.principle-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--sky); display: block; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 0.5px solid var(--border-dark);
}
.principle-body { font-size: 14px; color: var(--text-dark); line-height: 1.75; }

/* ─── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: start;
}
.contact-form-panel {
  background: var(--navy-deep);
  border: 0.5px solid var(--border-dark);
  border-radius: 20px; padding: clamp(32px,5vw,56px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel);
}
.form-group label .req { color: var(--sunrise); margin-left: 2px; }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--border-dark); border-radius: 8px;
  padding: 14px 16px; color: var(--water); font-size: 16px;
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%; appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--sunrise); background: rgba(255,255,255,0.06); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(91,110,153,0.4); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.fieldset { border: none; padding: 0; margin: 0 0 20px; }
.fieldset legend {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--steel); margin-bottom: 14px; display: block; width: 100%;
}
.checkboxes { display: flex; flex-direction: column; gap: 12px; }
.checkbox-item { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 17px; height: 17px; min-width: 17px; accent-color: var(--sunrise); cursor: pointer; }
.checkbox-item span { font-size: 15px; font-weight: 300; color: var(--text-dark); }
.form-submit { width: 100%; justify-content: center; font-size: 14px; padding: 18px 40px; margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.contact-sidebar { padding-top: 8px; }
.contact-info-block { margin-bottom: 32px; }
.contact-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--steel); display: block; margin-bottom: 6px;
}
.contact-info-value { font-size: 16px; color: var(--white); }
a.contact-info-value {
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  color: var(--sky); transition: color 0.2s ease;
}
a.contact-info-value:hover { color: var(--sunrise); }
.contact-promise {
  margin-top: 40px; padding: 24px;
  border: 0.5px solid var(--border-dark); border-radius: 14px;
  background: rgba(44,62,107,0.06);
}
.contact-promise p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 17px; color: var(--text-dark); line-height: 1.6; max-width: 100%;
}

/* ─── Work — At Sea ───────────────────────────────────────── */
.work-at-sea {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(80px,12vh,140px) clamp(24px,6vw,80px);
  background: var(--navy-abyss); position: relative; overflow: hidden;
}
.work-at-sea .work-logo {
  height: 120px !important; min-height: 120px !important;
  width: auto !important; max-width: none !important;
  margin: 0 auto 48px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.work-at-sea h1 { color: var(--white); margin-bottom: 28px; }
.work-at-sea p {
  font-size: clamp(16px,1.4vw,19px); color: var(--text-dark);
  max-width: 480px; line-height: 1.75; margin-bottom: 44px;
}
.work-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.work-micro {
  margin-top: 28px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
}

/* ─── Wave reveal ─────────────────────────────────────────── */
.wave-reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
              transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.wave-reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy-abyss); position: relative; }
.footer-waves {
  position: relative; height: 72px; overflow: hidden; background: var(--navy-deep);
}
.footer-waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 72px; }
.wave-1 { animation: waveScroll 18s linear infinite; }
.wave-2 { animation: waveScroll 26s linear infinite reverse; }
.wave-3 { animation: waveScroll 36s linear infinite; }
@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 0 60px; max-width: 1200px; margin: 0 auto;
  padding: 64px clamp(24px,6vw,80px) 48px; align-items: start;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-brand { align-items: flex-start; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--steel); margin-bottom: 8px;
}
.footer-col a { font-size: 14px; font-weight: 300; color: var(--text-dark); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 220px; }
.footer-email { font-family: 'JetBrains Mono', monospace !important; font-size: 13px !important; color: var(--sky) !important; }
.footer-email:hover { color: var(--white) !important; }
.footer-copy { font-size: 12px !important; color: var(--text-muted) !important; margin-top: 8px; }
.footer-cta-col .footer-question {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(18px,2vw,24px); color: var(--white); line-height: 1.3; max-width: 200px;
}
.footer-micro { font-size: 12px !important; color: var(--text-muted) !important; }
.footer-bottom {
  border-top: 0.5px solid var(--border-dark);
  padding: 20px clamp(24px,6vw,80px);
  display: flex; gap: 24px; align-items: center;
  font-size: 12px; font-weight: 300; color: var(--text-muted);
  max-width: 1200px; margin: 0 auto;
}
.footer-bottom a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--sky); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 12px 20px; min-height: 70px; }
  .nav-logo img { height: 90px !important; min-height: 90px !important; width: auto !important; }

  /* Hero: nav is now first child, no top padding needed */
  .hero {
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
    align-items: flex-start;
  }
  .hero-content {
    padding-bottom: 0;
    max-width: 100%;
    position: relative;
    z-index: 2;
  }
  .hero h1 { font-size: clamp(38px, 9vw, 64px); }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; gap: 12px; margin-bottom: 0; }
  .hero-ctas a { width: 100%; text-align: center; justify-content: center; padding: 14px 24px; }
  .hero-trust { margin-top: 24px; margin-bottom: 0; font-size: 10px; }
  .hero-scroll-hint { bottom: 28px; }
  .phases-grid { grid-template-columns: 1fr; gap: 20px; }
  .phase-connector { display: none; }
  .phase-card { min-height: auto; height: auto; }
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-left { border-right: none; border-bottom: 0.5px solid var(--border-light); padding-bottom: 40px; text-align: left; }
  .services-right { }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .verticals-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .service-full { grid-template-columns: 1fr; gap: 48px; }
  .service-ghost-num { display: none; }
  .tiers-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 20px 0 0 0 !important;
  }
  .nav.hidden {
    transform: none !important;
    pointer-events: all !important;
  }
  .nav.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media (max-width: 767px) {
  #water-canvas {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 38% !important;
    z-index: 2 !important;
  }
  .hero {
    min-height: 100svh;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    max-height: 68svh;
    overflow: visible;
    flex-shrink: 0;
  }
  .hero h1 {
    font-size: 34px !important;
    line-height: 1.1 !important;
    margin-bottom: 14px !important;
  }
  .hero-sub {
    font-size: 14px !important;
    margin-bottom: 18px !important;
  }
  .hero-ctas {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-ctas a {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 13px !important;
  }
  .hero-trust {
    font-size: 9px !important;
    margin-top: 10px !important;
  }
  .nav-logo {
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    position: static !important;
  }
}
@media (max-width: 639px) {
  .hero { padding-top: 0; padding-left: 24px; padding-right: 24px; }
  .hero h1 { font-size: clamp(34px, 10vw, 52px); }
  .services-grid { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .work-ctas { flex-direction: column; }
  .work-ctas a { width: 100%; text-align: center; justify-content: center; }
}

/* ─── Depth reveal ────────────────────────────────────────── */
.depth-reveal {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(3px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1),
              filter 0.9s ease;
}
.depth-reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ─── Tide line ───────────────────────────────────────────── */
#particles-canvas {
  display: block;
  background: transparent;
}
.tide-line { display: none !important; }
.tide-line.visible { display: none !important; }

/* ─── Sonar ───────────────────────────────────────────────── */
.sonar-wrap {
  position: absolute; width: 600px; height: 600px;
  top: 50%; right: -200px; transform: translateY(-50%);
  pointer-events: none; z-index: 0; overflow: hidden;
}
.sonar-ring {
  position: absolute; border-radius: 50%;
  border: 0.5px solid rgba(123,163,200,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  animation: sonarPulse 4s ease-out infinite;
}
.sonar-ring:nth-child(1) { width: 150px; height: 150px; animation-delay: 0s; }
.sonar-ring:nth-child(2) { width: 280px; height: 280px; animation-delay: 0.8s; }
.sonar-ring:nth-child(3) { width: 420px; height: 420px; animation-delay: 1.6s; }
.sonar-ring:nth-child(4) { width: 560px; height: 560px; animation-delay: 2.4s; }
@keyframes sonarPulse {
  0%   { transform: translate(-50%,-50%) scale(0.2); opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(1);   opacity: 0; }
}

/* ─── Compass rose ────────────────────────────────────────── */
.compass-wrap {
  position: absolute; top: 50%; right: 5%;
  transform: translateY(-50%);
  pointer-events: none; z-index: 0;
}
@keyframes compassSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (max-width: 1023px) { .compass-wrap { display: none; } }

/* ─── Horizon fixed line (services page only) ────────────── */
.horizon-fixed { display: none !important; }
body.on-services .horizon-fixed {
  display: block !important;
  position: fixed; top: 50%; left: 0; right: 0; height: 0.5px;
  background: linear-gradient(to right, transparent 0%, rgba(232,114,74,0.15) 20%, rgba(232,114,74,0.15) 80%, transparent 100%);
  pointer-events: none; z-index: 50; opacity: 0;
  transition: opacity 0.5s ease;
}
body.on-services .horizon-fixed { opacity: 1; }

/* ─── Page wipe transition ────────────────────────────────── */
.page-wipe {
  position: fixed; inset: 0;
  background: #0D1628; z-index: 9000;
  transform: translateY(100%); pointer-events: none;
  visibility: hidden;
}
.page-wipe svg { position: absolute; bottom: 100%; left: 0; width: 100%; height: 100px; }
.page-wipe.wiping   { visibility: visible; animation: pageWipeIn  0.5s cubic-bezier(0.16,1,0.3,1) forwards; }
.page-wipe.unwiping { visibility: visible; animation: pageWipeOut 0.5s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes pageWipeIn  { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pageWipeOut { from { transform: translateY(0); }    to { transform: translateY(-100%); } }

/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  #cursor-dot, #cursor-ring { display: none !important; }
  * { cursor: auto !important; }
  .wave-reveal { opacity: 1 !important; transform: none !important; }
}
