/* ==========================================================================
   KRYTON GROUP — Harbor Editorial direction
   Ocean Navy + Warm White + Muted Gold · Fraunces / Inter / IBM Plex Mono
   ========================================================================== */

:root {
  /* Dominant / load-bearing */
  --carbon: #111111;
  --graphite: #2d2d2d;
  --navy: #0b2d4d;
  --navy-deep: #07203a;
  --navy-ink: #061626;
  --warm-white: #f8f5ef;
  --warm-band: #f2efe7;
  --silver: #c8cdd2;

  /* Accent */
  --gold: #b08b45;
  --gold-hover: #97753a;
  --gold-deep: #7d5f2b; /* gold for small text on light backgrounds */

  /* Text */
  --text-on-light: #111111;
  --body-on-light: #3d3c36;
  --muted-on-light: #74736b;
  --text-on-dark: #f8f5ef;
  --body-on-dark: rgba(248, 245, 239, 0.74);
  --muted-on-dark: rgba(200, 205, 210, 0.68);

  /* Hairlines */
  --line-on-light: rgba(17, 17, 17, 0.14);
  --line-on-dark: rgba(248, 245, 239, 0.16);

  /* Categorical sector palette (AA on warm white) */
  --sector-marine: #1f6862;
  --sector-infrastructure: #275577;
  --sector-assets: #7d5f2b;
  --sector-logistics: #4d5f70;
  --sector-industrial: #8c4a2a;
  --sector-engineering: #5a6167;
  --sector-investment: #5e5280;
  --sector-growth: #4a6b41;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "InterVariable", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap-max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ============================== BASE ============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body-on-light);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body.modal-open {
  overflow: hidden;
}

.site-shell {
  isolation: isolate;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
dt {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

dl,
dd,
figure,
blockquote {
  margin: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

svg i,
i[data-lucide] {
  display: inline-block;
}

::selection {
  background: var(--gold);
  color: var(--navy-ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================== TYPE ============================== */

.display-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 420;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
  max-width: 20ch;
}

.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 450;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-on-light);
  max-width: 26ch;
}

.title-on-dark {
  color: var(--text-on-dark);
}

.muted {
  color: var(--muted-on-light);
}

.muted-on-dark {
  color: var(--muted-on-dark);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--gold);
  transform-origin: left center;
}

.eyebrow-on-dark {
  color: var(--gold);
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
  max-width: 48ch;
}

/* ============================== BUTTONS & LINKS ============================== */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
}

.button-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.button:hover .button-arrow,
.text-link:hover .button-arrow {
  transform: translateX(5px);
}

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #171004;
}

.button-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.button-primary:focus-visible {
  outline-color: var(--gold);
}

.button-outline-dark {
  border-color: rgba(248, 245, 239, 0.4);
  color: var(--text-on-dark);
}

.button-outline-dark:hover {
  border-color: var(--warm-white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gold-deep);
}

.text-link:hover {
  color: var(--gold-hover);
}

/* ============================== HEADER ============================== */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 27, 47, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(248, 245, 239, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(142px, 12vw, 160px);
  margin-right: auto;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 245, 239, 0.78);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover {
  color: var(--warm-white);
}

.desktop-nav a.is-active {
  color: var(--warm-white);
}

.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-white);
  border: 1px solid rgba(248, 245, 239, 0.4);
}

.nav-contact:hover {
  border-color: var(--warm-white);
}

.menu-button {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 24px;
}

.menu-lines span {
  height: 1.5px;
  background: var(--warm-white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.menu-button[aria-expanded="true"] .menu-lines span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-nav {
  background: var(--navy-deep);
  border-top: 1px solid var(--line-on-dark);
  box-shadow: 0 1px 0 rgba(248, 245, 239, 0.12);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-block: 10px 24px;
}

.mobile-nav-inner a,
.mobile-nav-inner button {
  padding: 15px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--warm-white);
  text-align: left;
  border-bottom: 1px solid rgba(248, 245, 239, 0.1);
}

.mobile-nav-inner button {
  border-bottom: 0;
  color: var(--gold);
}

.mobile-nav-inner a.is-active {
  color: var(--gold);
}

/* ============================== HERO ============================== */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--body-on-dark);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: translateY(var(--parallax, 0)) scale(1.12);
  transition: transform 9s var(--ease);
  will-change: transform;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.is-loaded .hero-photo {
  transform: translateY(var(--parallax, 0)) scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 38, 0.94) 0%, rgba(6, 22, 38, 0.82) 34%, rgba(7, 32, 58, 0.42) 68%, rgba(7, 32, 58, 0.55) 100%),
    linear-gradient(0deg, rgba(6, 22, 38, 0.92) 0%, rgba(6, 22, 38, 0) 36%);
}

/* Animated trade-route lines */
.hero-routes,
.intro-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
}

.route-a {
  stroke: rgba(176, 139, 69, 0.55);
  animation: kf-flow 26s linear infinite;
}

.route-b {
  stroke: rgba(94, 168, 161, 0.45);
  animation: kf-flow 34s linear infinite reverse;
}

.route-c {
  stroke: rgba(200, 205, 210, 0.35);
  animation: kf-flow 30s linear infinite;
}

.node {
  transform-box: fill-box;
  transform-origin: center;
  animation: kf-pulse 3.2s ease-in-out infinite;
}

.node-1 {
  fill: var(--gold);
}

.node-2 {
  fill: #5ea8a1;
  animation-delay: 0.9s;
}

.node-3 {
  fill: var(--silver);
  animation-delay: 1.7s;
}

@keyframes kf-flow {
  to {
    stroke-dashoffset: -300;
  }
}

@keyframes kf-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

.hero-inner {
  position: relative;
  padding-block: clamp(170px, 24vh, 240px) clamp(80px, 12vh, 140px);
}

.display-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.display-title .line > span {
  display: inline-block;
}

.line-muted {
  color: rgba(200, 205, 210, 0.78);
}

.hero .lead {
  margin-top: 30px;
  color: rgba(248, 245, 239, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* Load-in choreography */
.hero-rise {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--rise) * 95ms + 150ms);
}

.display-title .hero-rise {
  transform: translateY(108%);
}

body.is-loaded .hero-rise {
  opacity: 1;
  transform: translateY(0);
}

.hero .eyebrow {
  margin-bottom: 26px;
}

.hero .eyebrow::before {
  transform: scaleX(0);
  transition: transform 1s var(--ease) 0.5s;
}

body.is-loaded .hero .eyebrow::before {
  transform: scaleX(1);
}

/* Value-prop band */
.hero-props-band {
  position: relative;
  border-top: 1px solid var(--line-on-dark);
  background: rgba(6, 22, 38, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 34px;
}

.hero-prop {
  padding-inline: 28px;
  border-left: 1px solid var(--line-on-dark);
}

.hero-prop:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-prop:last-child {
  padding-right: 0;
}

.hero-prop i {
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-prop dt {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.hero-prop dd {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-on-dark);
}

/* ============================== SECTIONS (shared) ============================== */

.section {
  padding-block: clamp(76px, 10vw, 116px);
}

.section-light {
  background: var(--warm-white);
  color: var(--body-on-light);
}

.section-copy > p {
  margin-top: 20px;
  max-width: 52ch;
}

.section-copy .text-link {
  margin-top: 30px;
}

.section-topline {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 80px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 64px);
}

.section-topline > p {
  max-width: 44ch;
  padding-bottom: 6px;
}

/* Scroll reveal */
body.reveal-ready [data-reveal] .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

body.reveal-ready [data-reveal].is-visible .rv {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].is-visible .rv:nth-child(2) { transition-delay: 0.09s; }
[data-reveal].is-visible .rv:nth-child(3) { transition-delay: 0.18s; }
[data-reveal].is-visible .rv:nth-child(4) { transition-delay: 0.27s; }
[data-reveal].is-visible .rv:nth-child(5) { transition-delay: 0.36s; }
[data-reveal].is-visible .rv:nth-child(6) { transition-delay: 0.45s; }
[data-reveal].is-visible .rv:nth-child(7) { transition-delay: 0.54s; }
[data-reveal].is-visible .rv:nth-child(8) { transition-delay: 0.63s; }

/* Gold rule draw-in on reveal */
body.reveal-ready [data-reveal] .eyebrow::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.25s;
}

body.reveal-ready [data-reveal].is-visible .eyebrow::before {
  transform: scaleX(1);
}

/* ============================== ABOUT ============================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px 96px;
  align-items: start;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 40px;
}

.principle {
  border-top: 1px solid var(--line-on-light);
  padding-top: 22px;
}

.principle .index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}

.principle dt {
  margin-top: 14px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-on-light);
}

.principle dd {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-on-light);
}

/* ============================== SECTORS ============================== */

.sectors-intro {
  position: relative;
  background: var(--navy);
  color: var(--body-on-dark);
  overflow: hidden;
}

.sectors-intro .intro-routes {
  opacity: 0.8;
}

.sectors-intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 80px;
  align-items: end;
  padding-block: clamp(72px, 9vw, 104px);
}

.sectors-intro-grid > p {
  max-width: 44ch;
  padding-bottom: 6px;
}

.sector-ledger {
  padding-block: clamp(48px, 7vw, 84px);
}

.sector-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-block: 28px;
  border-top: 1px solid var(--line-on-light);
}

.sector-row:last-child {
  border-bottom: 1px solid var(--line-on-light);
}

.sector-row::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  width: 3px;
  height: 0;
  background: var(--sector-color);
  transition: height 0.9s var(--ease) 0.35s;
}

[data-reveal].is-visible .sector-row::after {
  height: 44px;
}

.sector-row.is-interacting::after {
  height: 72px;
  transition-delay: 0s;
}

.sector-row :is(i, svg) {
  color: var(--sector-color);
}

.sector-copy h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-on-light);
}

.sector-copy p {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-on-light);
  max-width: 62ch;
}

.sector-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sector-color);
  padding-right: 22px;
}

/* ============================== PRIORITIES ============================== */

.priorities-section {
  background: var(--navy);
  color: var(--body-on-dark);
}

.platform-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 32px 80px;
  align-items: end;
}

.platform-intro > p {
  max-width: 42ch;
  padding-bottom: 6px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(44px, 6vw, 60px);
}

.pillar {
  padding-inline: 26px;
  border-left: 1px solid var(--line-on-dark);
}

.pillar:first-child {
  padding-left: 0;
  border-left: 0;
}

.pillar:last-child {
  padding-right: 0;
}

.pillar :is(i, svg) {
  color: var(--gold);
  margin-bottom: 16px;
}

.pillar dt {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.pillar dd {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

/* ============================== FOUNDER ============================== */

.founder-section {
  background: var(--warm-white);
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 92px);
}

.founder-wrap {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 42px);
  align-items: center;
  max-width: 1000px;
}

.founder-profile {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.founder-portrait {
  position: relative;
  width: 148px;
  aspect-ratio: 0.78;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-on-light);
  border-bottom: 3px solid var(--gold);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.12);
  transform-origin: center top;
}

.founder-content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-left: clamp(28px, 4vw, 46px);
  border-left: 1px solid var(--line-on-light);
}

.founder-content .eyebrow {
  margin-bottom: 18px;
}

.founder-wrap blockquote {
  position: relative;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-style: normal;
  font-weight: 420;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.36;
  letter-spacing: -0.008em;
  color: var(--text-on-light);
  max-width: 42ch;
  text-wrap: pretty;
}

.founder-byline {
  min-width: 0;
  margin-top: 18px;
}

.founder-byline strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-light);
}

.founder-byline small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.55;
  overflow-wrap: anywhere;
  color: var(--muted-on-light);
}

/* ============================== GOVERNANCE ============================== */

.governance-section {
  background: var(--warm-band);
  color: var(--body-on-light);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.governance-item {
  padding-inline: 26px;
  border-left: 1px solid var(--line-on-light);
}

.governance-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.governance-item:last-child {
  padding-right: 0;
}

.governance-item i {
  width: 26px;
  height: 26px;
  color: var(--gold-deep);
}

.governance-item dt {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-light);
}

.governance-item dd {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-on-light);
}

/* ============================== SUSTAINABILITY ============================== */

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.responsibility-item {
  padding-inline: 34px;
  border-left: 1px solid var(--line-on-light);
}

.responsibility-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.responsibility-item:last-child {
  padding-right: 0;
}

.responsibility-item i {
  color: var(--gold-deep);
  margin-bottom: 16px;
}

.responsibility-item dt {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-on-light);
}

.responsibility-item dd {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-on-light);
}

/* ============================== CAREERS / FOOTER ============================== */

.footer-careers {
  background: var(--navy);
  color: var(--body-on-dark);
}

.footer-careers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 80px;
  align-items: end;
  padding-block: clamp(72px, 9vw, 104px);
}

.footer-careers h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 450;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  color: var(--text-on-dark);
  max-width: 26ch;
}

.footer-careers p {
  margin-top: 18px;
  max-width: 52ch;
}

.site-footer {
  background: var(--carbon);
  color: rgba(248, 245, 239, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px 64px;
  padding-block: clamp(56px, 8vw, 84px);
}

.footer-brand {
  display: inline-block;
  width: min(100%, 208px);
}

.footer-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand-block > p {
  margin-top: 22px;
  font-size: 0.9375rem;
  max-width: 30ch;
  color: rgba(248, 245, 239, 0.6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-links h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-links a,
.footer-links span,
.footer-link-button {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(248, 245, 239, 0.72);
}

.footer-links a:hover,
.footer-link-button:hover {
  color: var(--warm-white);
}

.footer-schedule {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  color: var(--gold);
}

.footer-schedule[hidden] {
  display: none;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding-block: 26px;
  border-top: 1px solid rgba(248, 245, 239, 0.12);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(248, 245, 239, 0.55);
}

/* ============================== CONTACT MODAL ============================== */

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 20, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.contact-modal-panel {
  position: relative;
  width: min(1020px, 100%);
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  background: var(--warm-white);
  outline: none;
}

.contact-modal:not([hidden]) .contact-modal-panel {
  animation: kf-modal-in 0.55s var(--ease);
}

@keyframes kf-modal-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--graphite);
}

.modal-close:hover {
  color: var(--carbon);
}

.modal-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.modal-contact-copy {
  background: var(--navy);
  color: var(--body-on-dark);
  padding: clamp(32px, 5vw, 56px);
}

.modal-contact-copy h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 450;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  color: var(--text-on-dark);
}

.modal-contact-copy > p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.9375rem;
}

.contact-details a {
  color: var(--gold);
}

.contact-details a:hover {
  color: var(--warm-white);
}

.schedule-link {
  margin-top: 26px;
  color: var(--gold);
}

.schedule-link:hover {
  color: var(--warm-white);
}

.schedule-link[hidden] {
  display: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(32px, 5vw, 56px);
  align-content: start;
}

.contact-form .hp-field {
  display: none;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form .form-wide {
  grid-column: 1 / -1;
}

.contact-form label span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-on-light);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text-on-light);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  padding: 12px 14px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -1px;
  border-color: var(--navy);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

#form-status {
  font-size: 0.875rem;
  color: var(--muted-on-light);
}

/* ============================== RESPONSIVE ============================== */

@media (max-width: 1080px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }

  .pillar {
    border-left: 0;
    border-top: 1px solid var(--line-on-dark);
    padding: 22px 0 0;
  }

  .pillar:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .pillar:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }

  .pillar:nth-child(2n) {
    margin-left: 26px;
  }

  .pillar:nth-child(2n + 1) {
    margin-right: 26px;
  }

  .governance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 52px;
  }

  .governance-item {
    border-left: 0;
    border-top: 1px solid var(--line-on-light);
    padding: 22px 0 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .nav-contact {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-header {
    background: rgba(7, 27, 47, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .hero-inner {
    padding-top: clamp(150px, 22vh, 200px);
  }

  .hero-props {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }

  .hero-prop {
    border-left: 0;
    padding-inline: 0;
  }

  .hero-prop:nth-child(2n) {
    border-left: 1px solid var(--line-on-dark);
    padding-left: 28px;
  }

  .hero-prop:nth-child(2n + 1) {
    padding-right: 28px;
  }

  .about-grid,
  .platform-intro,
  .sectors-intro-grid,
  .section-topline {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-topline,
  .sectors-intro-grid {
    align-items: start;
    gap: 20px;
  }

  .footer-careers-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .modal-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .responsibility-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .responsibility-item {
    border-left: 0;
    border-top: 1px solid var(--line-on-light);
    padding: 26px 0 0;
  }

  .responsibility-item:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .founder-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .founder-profile {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .founder-portrait {
    width: 112px;
  }

  .founder-content {
    grid-column: 1;
    grid-row: 1;
    padding: 0 0 30px;
    border-top: 0;
    border-bottom: 1px solid var(--line-on-light);
    border-left: 0;
  }

  .founder-byline {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .sector-row {
    grid-template-columns: minmax(0, 1fr) 40px;
    grid-template-areas:
      "copy icon"
      "tag  tag";
    row-gap: 14px;
    align-items: start;
  }

  .sector-row :is(i, svg) {
    grid-area: icon;
    justify-self: end;
  }

  .sector-copy {
    grid-area: copy;
  }

  .sector-tag {
    grid-area: tag;
    padding-right: 0;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pillar,
  .pillar:first-child,
  .pillar:nth-child(2),
  .pillar:nth-child(2n),
  .pillar:nth-child(2n + 1) {
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line-on-dark);
  }

  .pillar:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .founder-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .founder-profile {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }

  .founder-wrap blockquote {
    font-size: 1.45rem;
    line-height: 1.42;
  }

  .founder-portrait {
    width: 96px;
  }

  .founder-content {
    padding: 0 0 28px;
    border-top: 0;
    border-bottom: 1px solid var(--line-on-light);
    border-left: 0;
  }

  .founder-content .eyebrow {
    margin-bottom: 14px;
  }

  .founder-byline {
    margin-top: 0;
  }

  .founder-byline strong {
    font-size: 1rem;
  }

  .founder-byline small {
    max-width: 26ch;
  }

  .governance-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .governance-item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .footer-base {
    flex-direction: column;
    gap: 8px;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ============================== REDUCED MOTION ============================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-rise,
  .display-title .hero-rise {
    opacity: 1;
    transform: none;
  }

  .hero-photo {
    transform: none;
  }

  .hero-video {
    display: none;
  }
}
