:root {
  --navy: #002a3b;
  --navy-deep: #001923;
  --ink: #102f3b;
  --teal: #2f7772;
  --green: #75ba91;
  --yellow: #f3df1f;
  --paper: #f5f4ef;
  --white: #fff;
  --line: rgba(0, 42, 59, .16);
  --shell: min(1240px, calc(100% - 64px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px;
  background: var(--yellow); color: var(--navy); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: #fff; transition: background .35s ease, color .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(245, 244, 239, .93); color: var(--navy);
  border-color: rgba(0, 42, 59, .12); backdrop-filter: blur(16px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.brand-word { font-size: 1.05rem; font-weight: 700; letter-spacing: .11em; }
.brand img { width: 18px; height: 23px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; font-weight: 600; }
.site-nav a:not(.nav-contact) { position: relative; }
.site-nav a:not(.nav-contact)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px;
  background: var(--yellow); transition: right .3s var(--ease);
}
.site-nav a:hover::after { right: 0; }
.nav-contact { border: 1px solid currentColor; padding: 10px 16px; transition: background .25s, color .25s; }
.nav-contact:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.nav-toggle { display: none; }

.hero {
  min-height: 100svh; position: relative; display: grid; align-items: center; overflow: hidden;
  color: #fff; background: var(--navy) url("assets/hero-ocean.png") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 25, 35, .88) 0%, rgba(0, 42, 59, .52) 48%, rgba(0, 42, 59, .12) 100%);
}
.hero::after {
  content: ""; position: absolute; width: min(28vw, 420px); aspect-ratio: 1; right: 8%; top: 20%;
  border: 1px solid rgba(243, 223, 31, .55); transform: rotate(32deg); opacity: .5;
}
.hero-shade { position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(transparent, rgba(0, 25, 35, .45)); }
.hero-content { position: relative; z-index: 2; padding-top: 92px; }
.eyebrow, .kicker { margin: 0 0 24px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { color: var(--yellow); }
.hero h1 {
  max-width: 920px; margin: 0; font-size: clamp(4.2rem, 10.5vw, 9.6rem); line-height: .82;
  letter-spacing: -.07em; font-weight: 500;
}
.hero h1::after { content: ""; display: inline-block; width: .18em; height: .18em; margin-left: .1em; background: var(--yellow); }
.scroll-cue {
  position: absolute; top: calc(100% + 10vh); left: 0; display: inline-flex; align-items: center; gap: 18px;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}
.scroll-line { width: 76px; height: 1px; background: currentColor; position: relative; }
.scroll-line::after { content: ""; width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(-45deg); position: absolute; right: 0; top: -3px; }
.hero-index { position: absolute; right: 32px; bottom: 32px; z-index: 2; font-size: .7rem; letter-spacing: .15em; }

.section { padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 42px; margin-bottom: 72px; align-items: start; }
.section-heading .kicker { color: var(--teal); padding-top: 15px; }
.section-heading h2 { margin: 0; max-width: 900px; font-size: clamp(2.8rem, 6vw, 6.3rem); line-height: .94; letter-spacing: -.055em; font-weight: 500; }
.split-heading { grid-template-columns: 1fr auto; }
.split-heading > div { display: grid; grid-template-columns: 1fr 2fr; gap: 42px; }
.heading-number { margin: -30px 0 0; color: rgba(0, 42, 59, .07); font-size: clamp(7rem, 17vw, 15rem); line-height: .8; font-weight: 700; letter-spacing: -.08em; }

.model-section { background: var(--paper); }
.model-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.model-card {
  min-height: 350px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(255,255,255,.36);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.model-card:nth-child(1), .model-card:nth-child(2), .model-card:nth-child(3) { grid-column: span 4; }
.model-card:nth-child(4), .model-card:nth-child(5) { grid-column: span 6; }
.model-card:hover { transform: translateY(-6px); background: #fff; border-color: var(--teal); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; color: var(--teal); font-size: .68rem; letter-spacing: .15em; }
.card-top img { width: 33px; height: 33px; object-fit: contain; filter: brightness(0) saturate(100%) invert(42%) sepia(19%) saturate(1093%) hue-rotate(127deg) brightness(93%); }
.icon-glyph { font-size: 1.8rem; line-height: 1; color: var(--teal); }
.model-card h3 { margin: 46px 0 20px; font-size: 1.3rem; line-height: 1.15; font-weight: 600; }
.model-card ul { margin: 0; padding: 0; list-style: none; font-size: .78rem; line-height: 1.55; }
.model-card li { position: relative; padding-left: 15px; margin-top: 9px; }
.model-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--yellow); transform: rotate(45deg); }

.flow-banner { height: min(58vw, 660px); min-height: 430px; background: var(--navy) url("assets/ocean-flow.png") center/cover no-repeat fixed; position: relative; overflow: hidden; }
.flow-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,25,35,.35), transparent 60%); }
.flow-line { position: absolute; z-index: 1; left: 10%; top: 14%; height: 72%; width: 1px; background: linear-gradient(var(--yellow), transparent); }

.services-section { background: #fff; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--navy); border: 1px solid var(--navy); }
.service-panel { padding: clamp(32px, 5vw, 68px); background: #fff; }
.service-panel.operations { background: var(--navy); color: #fff; }
.service-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 16px; opacity: .72; }
.service-label, .service-no { font-size: .68rem; font-weight: 700; letter-spacing: .18em; }
.service-panel h3 { margin: 44px 0 18px; font-size: clamp(2.3rem, 4.5vw, 4.4rem); line-height: .95; letter-spacing: -.045em; font-weight: 500; }
.service-intro { max-width: 630px; min-height: 155px; font-size: .92rem; }
.service-panel h4 { margin: 48px 0 0; padding-bottom: 14px; border-bottom: 1px solid currentColor; font-size: .69rem; letter-spacing: .17em; }
.case { padding: 24px 0; border-bottom: 1px solid currentColor; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.case strong { font-size: .82rem; }
.case p { margin: 0; font-size: .78rem; line-height: 1.55; opacity: .8; }
.strategy .service-label { color: var(--teal); }
.operations .service-label { color: var(--yellow); }

.team-section { background: var(--navy); color: #fff; }
.section-heading.light .kicker { color: var(--yellow); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { min-width: 0; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.035); }
.portrait-wrap { height: 330px; overflow: hidden; background: #d8dedb; position: relative; }
.portrait-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .7s var(--ease), filter .4s; }
.team-card:nth-child(1) .portrait-wrap img { object-position: center 32%; }
.team-card:nth-child(2) .portrait-wrap img { object-position: center 32%; }
.team-card:nth-child(3) .portrait-wrap img { object-position: center 25%; }
.team-card:hover .portrait-wrap img { transform: scale(1.025); filter: saturate(1); }
.team-card-body { padding: 30px; display: flex; flex-direction: column; min-height: 610px; }
.role { color: var(--yellow); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.team-card h3 { margin: 4px 0 22px; font-size: 2rem; line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.team-card ul { margin: 0; padding: 0; list-style: none; font-size: .75rem; }
.team-card li { margin: 0 0 14px; padding-left: 16px; position: relative; }
.team-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; background: var(--green); }
.team-links { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 28px; font-size: .7rem; }
.team-links a { text-decoration: none; opacity: .8; overflow-wrap: anywhere; }
.profile-link { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: var(--yellow); text-decoration: none; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

.experience-section { background: var(--paper); }
.profiles { border-top: 1px solid var(--line); }
.profile { border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.profile summary {
  min-height: 110px; display: grid; grid-template-columns: 80px minmax(220px, 1fr) minmax(180px, .6fr) 56px;
  gap: 18px; align-items: center; cursor: pointer; list-style: none; transition: background .25s, padding .25s;
}
.profile summary::-webkit-details-marker { display: none; }
.profile summary:hover { background: rgba(255,255,255,.55); padding-inline: 16px; }
.profile-index { font-size: .7rem; color: var(--teal); letter-spacing: .12em; }
.profile-name { font-size: clamp(1.7rem, 3.3vw, 3.3rem); line-height: 1; letter-spacing: -.04em; }
.profile-role { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.profile-toggle { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; position: relative; }
.profile-toggle::before, .profile-toggle::after { content: ""; position: absolute; left: 12px; right: 12px; top: 20px; height: 1px; background: currentColor; }
.profile-toggle::after { transform: rotate(90deg); transition: transform .3s; }
.profile[open] .profile-toggle::after { transform: rotate(0); }
.profile-content { display: grid; grid-template-columns: 290px 1fr; gap: clamp(40px, 8vw, 120px); padding: 20px 0 90px 80px; }
.profile-aside img { width: 100%; height: 320px; object-fit: cover; margin-bottom: 22px; }
.profile-aside p, .profile-aside a, .profile-aside dd { font-size: .73rem; }
.profile-aside a { color: var(--teal); overflow-wrap: anywhere; }
.profile-aside dl { margin-top: 38px; }
.profile-aside dt { margin-top: 20px; color: var(--teal); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.profile-aside dd { margin: 5px 0 0; }
.profile-main { max-width: 820px; }
.bio { margin: 0 0 50px; font-size: 1rem; line-height: 1.75; }
.profile-main h3 { margin: 0 0 12px; font-size: .7rem; letter-spacing: .17em; }
.experience-list { list-style: none; margin: 0; padding: 0; }
.experience-list li { padding: 15px 0 15px 30px; border-top: 1px solid var(--line); position: relative; font-size: .78rem; }
.experience-list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 7px; height: 7px; background: var(--yellow); transform: rotate(45deg); }

.site-footer { padding: 90px 0 45px; background: var(--navy-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: 52px; }
.footer-brand { color: #fff; margin-bottom: 26px; }
.site-footer h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; letter-spacing: -.04em; }
.footer-contacts { display: flex; flex-direction: column; gap: 7px; font-size: .75rem; }
.footer-contacts a { text-decoration: none; opacity: .78; overflow-wrap: anywhere; }
.back-top { display: flex; gap: 20px; align-items: center; color: var(--yellow); text-decoration: none; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.back-top span { font-size: 1.4rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 900px); }
  .section { padding: 96px 0; }
  .section-heading, .split-heading > div { grid-template-columns: 1fr; gap: 12px; }
  .split-heading { grid-template-columns: 1fr; }
  .heading-number { display: none; }
  .model-card:nth-child(n) { grid-column: span 6; }
  .model-card:last-child { grid-column: span 12; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; }
  .portrait-wrap { height: 100%; min-height: 560px; }
  .team-card-body { min-height: 560px; }
  .profile-content { padding-left: 0; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: block; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; position: relative; }
  .nav-toggle span:not(.sr-only) { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
  .nav-toggle span:first-child { top: 16px; }
  .nav-toggle span:nth-child(2) { top: 24px; }
  .nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
  .site-nav {
    position: absolute; inset: 72px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0;
    padding: 20px 16px 28px; background: var(--paper); color: var(--navy); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-contact { margin-top: 14px; text-align: center; border: 1px solid var(--navy); }
  .hero { min-height: 720px; background-position: 56% center; }
  .hero::after { width: 58vw; right: -14%; top: 25%; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .scroll-cue { top: calc(100% + 13vh); }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .model-grid { gap: 12px; }
  .model-card:nth-child(n) { grid-column: 1 / -1; min-height: 320px; }
  .flow-banner { min-height: 360px; background-attachment: scroll; }
  .service-grid { grid-template-columns: 1fr; }
  .service-intro { min-height: 0; }
  .case { grid-template-columns: 1fr; gap: 8px; }
  .team-card { display: block; }
  .portrait-wrap { height: 390px; min-height: 0; }
  .team-card-body { min-height: 0; }
  .team-links { margin-top: 30px; }
  .profile summary { grid-template-columns: 42px 1fr 42px; min-height: 94px; }
  .profile-role { display: none; }
  .profile-toggle { width: 38px; height: 38px; }
  .profile-toggle::before, .profile-toggle::after { top: 18px; }
  .profile-content { grid-template-columns: 1fr; gap: 46px; padding: 20px 0 65px; }
  .profile-aside { display: grid; grid-template-columns: 110px 1fr; gap: 0 20px; align-items: start; }
  .profile-aside img { grid-row: span 3; height: 145px; margin: 0; }
  .profile-aside p { margin-top: 0; }
  .profile-aside dl { grid-column: 1 / -1; margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
}

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