/* Whitecaps composition and states are declared in DESIGN.md. */
.hero-stage { position: relative; isolation: isolate; background: var(--ds-color-scene); color: var(--ds-color-on-scene); }
.whitecaps-scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.whitecaps-scene img, .ocean-canvas { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 48% center; }
.ocean-canvas { opacity: 0; transition: opacity 1s ease; }
.whitecaps-scene[data-renderer='webgpu'] .ocean-canvas { opacity: 1; }
.hero-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(3 17 22 / 58%) 0%, rgb(3 17 22 / 15%) 28%, rgb(3 17 22 / 36%) 65%, rgb(3 17 22 / 72%) 100%), linear-gradient(90deg, rgb(3 17 22 / 45%), transparent 80%); }
.site-header { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 5; color: var(--ds-color-on-scene); min-height: 96px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; flex-shrink: 0; }
.brand > img { width: 44px; }
.brand-name { font-family: var(--ds-type-wordmark-family); font-size: 21px; font-weight: var(--ds-type-wordmark-weight); letter-spacing: var(--ds-type-wordmark-tracking); line-height: 1.2; }
.brand-descriptor { display: block; margin-top: 7px; font-family: var(--ds-type-body-family); font-weight: 400; font-size: 10px; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.site-nav .text-link { font-size: 13px; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 46px; border: 1px solid rgb(250 250 250 / 60%); border-radius: 999px; padding: 0 22px; font-size: 13px; }
.nav-contact:hover { color: var(--ds-color-scene); background: var(--ds-color-on-scene); }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; color: inherit; border: 0; background: transparent; font-size: 23px; border-radius: 50%; }
.theme-toggle:hover { background: rgb(255 255 255 / 15%); }
.menu-toggle { display: none; }
.hero { min-height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(96px + clamp(72px, 11vh, 132px)); }
.hero-copy { padding-bottom: 80px; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 28px; }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(72px, 8.2vw, var(--ds-type-display-size)); font-weight: var(--ds-type-display-weight); line-height: 1.02; letter-spacing: -.065em; }
.hero-description { max-width: 370px; font-size: 16px; line-height: 1.65; margin-top: 28px; }
.hero-action { display: inline-flex; align-items: center; gap: 50px; min-height: 52px; padding: 0 24px; margin-top: 28px; border: 1px solid rgb(250 250 250 / 80%); border-radius: 999px; font-size: 14px; transition: background var(--ds-motion-duration), color var(--ds-motion-duration); }
.hero-action > span { font-size: 21px; }
.hero-action:hover { background: var(--ds-color-on-scene); color: var(--ds-color-scene); }
.hero-rail { display: flex; align-items: center; gap: 24px; min-height: 88px; border-top: 1px solid rgb(250 250 250 / 30%); font-size: 12px; }
.scroll-link { display: inline-flex; align-items: center; min-height: 44px; gap: 16px; }
.scroll-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.scroll-arrow { font-size: 20px; }
.hero-disciplines { margin-left: auto; }
.ocean-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; color: inherit; background: transparent; border: 1px solid transparent; font-size: 12px; border-radius: 99px; }
.ocean-toggle:hover { border-color: rgb(250 250 250 / 50%); }
.motion-symbol { width: 7px; height: 9px; border-inline: 2px solid currentColor; }
.ocean-toggle[aria-pressed='false'] .motion-symbol { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 7px solid currentColor; }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; line-height: 1.5; }
.section-label > :last-child:not(:first-child) { color: var(--ds-color-muted); }
.services { padding-block: 40px var(--ds-space-section); }
.section-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 80px; padding-block: 72px 64px; }
.section-intro h2 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.055em; }
.section-intro > p { max-width: 360px; font-size: 16px; color: var(--ds-color-muted); line-height: 1.7; }
.capabilities details { border-top: 1px solid var(--ds-color-border); }
.capabilities details:last-child { border-bottom: 1px solid var(--ds-color-border); }
.capabilities summary { list-style: none; display: grid; grid-template-columns: 76px 1fr 180px 20px; align-items: center; min-height: 108px; gap: 20px; cursor: pointer; }
.capabilities summary::-webkit-details-marker { display: none; }
.capability-number { font-size: 12px; color: var(--ds-color-muted); }
.capability-title { font-size: clamp(24px, 2.9vw, 36px); letter-spacing: -.04em; line-height: 1.2; }
.capability-discipline { font-size: 13px; color: var(--ds-color-muted); }
.disclosure-mark { position: relative; width: 18px; height: 18px; }
.disclosure-mark::before, .disclosure-mark::after { position: absolute; content: ''; background: currentColor; width: 14px; height: 1px; top: 8px; left: 2px; }
.disclosure-mark::after { transform: rotate(90deg); }
details[open] .disclosure-mark::after { transform: rotate(0); }
.capabilities summary:hover .capability-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.capability-body { display: grid; grid-template-columns: 1fr 200px; gap: 64px; padding: 0 0 38px 96px; color: var(--ds-color-muted); font-size: 15px; }
.capability-body p { max-width: 500px; }
.capability-body ul { list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 2.1; }
.studio-section { color: var(--ds-color-on-scene); background: var(--ds-color-scene); padding-block: 40px 64px; }
.studio-section .section-label img { width: 42px; }
.studio-section h2 { padding-top: 64px; font-size: clamp(56px, 7.3vw, 96px); line-height: 1.08; letter-spacing: -.055em; }
.studio-section h2 span { color: #a9bbbf; }
.studio-story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; margin-top: 72px; }
.studio-lead { font-size: 24px; line-height: 1.4; letter-spacing: -.03em; }
.studio-story > div { color: #b9c7cb; font-size: 15px; max-width: 480px; }
.studio-story > div p + p { margin-top: 20px; }
.principles { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgb(250 250 250 / 25%); font-size: 14px; }
.principles span { margin-right: 22px; font-size: 10px; color: #b9c7cb; }
.contact { padding-block: 40px var(--ds-space-section); }
.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: end; padding-top: 80px; }
.contact h2 { font-size: clamp(76px, 9vw, 120px); line-height: .98; letter-spacing: -.065em; }
.contact-copy { padding-bottom: 6px; }
.contact-copy p { color: var(--ds-color-muted); font-size: 15px; line-height: 1.65; }
.contact-email { display: inline-flex; align-items: center; gap: 24px; min-height: 52px; margin-top: 24px; border-bottom: 1px solid var(--ds-color-text); font-size: clamp(14px, 1.6vw, 20px); }
.contact-email span { font-size: 24px; }
.contact-email:hover { color: var(--ds-color-muted); }
.site-footer { border-top: 1px solid var(--ds-color-border); padding-top: 56px; }
.footer-wordmark { display: block; width: fit-content; font-family: var(--ds-type-wordmark-family); font-weight: var(--ds-type-wordmark-weight); letter-spacing: var(--ds-type-wordmark-tracking); font-size: clamp(48px, 12.7vw, 175px); line-height: 1.2; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px 24px; font-size: 12px; color: var(--ds-color-muted); }
.footer-bottom .text-link { font-size: 12px; }
@media (max-width: 959px) {
  .site-header { gap: 16px; }
  .site-nav { gap: 20px; }
  .brand-descriptor { font-size: 9px; }
  .brand-name { font-size: 18px; }
  .brand > img { width: 36px; }
  .nav-contact { padding-inline: 16px; gap: 16px; }
  .hero h1 { font-size: 88px; }
  .section-intro, .studio-story, .contact-layout { gap: 40px; }
  .capabilities summary { grid-template-columns: 44px 1fr 120px 20px; }
  .capability-body { padding-left: 64px; gap: 32px; grid-template-columns: 1fr 140px; }
  .principles { font-size: 12px; }
  .principles span { margin-right: 10px; }
  .contact-email { gap: 12px; font-size: 14px; }
}
@media (max-width: 639px) {
  .site-header { min-height: 80px; height: auto; flex-wrap: wrap; padding-block: 16px; gap: 8px; }
  .brand { margin-right: auto; gap: 10px; }
  .brand > img { width: 32px; }
  .brand-name { font-size: 17px; }
  .brand-descriptor { font-size: 8px; margin-top: 5px; }
  .theme-toggle { width: 44px; order: 2; }
  .js-nav .menu-toggle { display: inline-flex; align-items: center; gap: 8px; order: 1; min-height: 44px; padding: 0 4px; border: 0; color: inherit; background: transparent; font-size: 12px; }
  .menu-icon { width: 14px; height: 7px; border-block: 1px solid currentColor; }
  .site-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; margin: 0; padding-top: 16px; gap: 12px 24px; }
  .site-nav .text-link { font-size: 13px; }
  .site-nav .nav-contact { border: 0; padding: 0; font-size: 13px; }
  .js-nav .site-nav:not(.is-open) { display: none; }
  .site-header:has(.site-nav.is-open) { background: var(--ds-color-scene); }
  .hero { min-height: max(680px, 100svh); padding-top: 156px; }
  .hero-copy { padding-bottom: 64px; }
  .eyebrow { font-size: 12px; gap: 10px; margin-bottom: 24px; }
  .eyebrow-line { width: 20px; }
  .hero h1 { font-size: clamp(46px, 14.5vw, 82px); letter-spacing: -.06em; }
  .hero-description { max-width: 310px; font-size: 16px; margin-top: 26px; }
  .hero-action { min-height: 50px; margin-top: 26px; font-size: 13px; }
  .hero-rail { min-height: 76px; gap: 8px; justify-content: space-between; flex-wrap: wrap; padding-block: 12px; font-size: 12px; }
  .scroll-link { gap: 10px; }
  .ocean-toggle { padding-inline: 4px; font-size: 12px; gap: 6px; }
  .hero-disciplines { display: none; }
  .whitecaps-scene img { object-position: 43% center; }
  .section-label { font-size: 12px; }
  .section-label > span + span { display: none; }
  .services { padding-block: 28px 64px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 48px 40px; }
  .section-intro h2 { font-size: 42px; }
  .section-intro > p { font-size: 16px; max-width: 350px; }
  .capabilities summary { min-height: 90px; grid-template-columns: 24px 1fr 16px; gap: 12px; }
  .capability-title { font-size: clamp(20px, 5.6vw, 28px); }
  .capability-number { font-size: 10px; }
  .capability-discipline { display: none; }
  .capability-body { grid-template-columns: 1fr; gap: 20px; padding: 0 0 28px 36px; font-size: 16px; }
  .capability-body ul { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 12px; }
  .studio-section { padding-block: 28px 40px; }
  .studio-section h2 { font-size: clamp(42px, 11vw, 66px); padding-top: 44px; }
  .studio-story { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .studio-lead { font-size: 20px; }
  .studio-story > div { font-size: 16px; }
  .principles { flex-direction: column; gap: 18px; margin-top: 40px; padding-top: 28px; font-size: 14px; }
  .principles span { margin-right: 20px; }
  .contact { padding-block: 28px 64px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .contact h2 { font-size: clamp(72px, 20vw, 112px); }
  .contact-copy p { font-size: 16px; }
  .contact-email { font-size: 16px; gap: 20px; margin-top: 16px; }
  .site-footer { padding-top: 32px; }
  .footer-wordmark { font-size: clamp(40px, 12vw, 76px); }
  .footer-bottom { flex-wrap: wrap; gap: 12px 24px; padding-block: 28px 16px; }
  .footer-bottom > p:first-child { flex-basis: 100%; }
  .footer-bottom .text-link { margin-left: auto; }
}
@media (max-width: 359px) { .brand-descriptor { display: none; } .brand-name { font-size: 14px; } .site-header { gap: 4px; } .hero-rail { justify-content: flex-start; } }

@media (min-width: 640px) and (max-width: 799px) {
  .brand-descriptor { display: none; }
  .brand-name { font-size: 16px; }
  .brand > img { width: 30px; }
  .brand { gap: 10px; }
  .site-header { gap: 12px; }
  .site-nav { gap: 16px; }
}
