@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #0b1b31;
  --navy-light: #132844;
  --black: #080b10;
  --orange: #c45a32;
  --orange-dark: #9f4022;
  --orange-soft: #f1d7cb;
  --white: #ffffff;
  --off-white: #f4f5f7;
  --ice: #e8edf2;
  --text: #0d1827;
  --muted: #5e6978;
  --line: #d7dde5;
  --line-dark: rgba(255, 255, 255, .14);
  --display: "Instrument Sans", sans-serif;
  --body: "Instrument Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 24px 70px rgba(5, 15, 28, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--orange); color: var(--white); }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-sm { padding: 70px 0; }
.surface { background: var(--white); }
.dark { background: var(--black); color: var(--white); }
.orange { background: var(--orange); color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(8, 18, 34, .96); box-shadow: 0 12px 35px rgba(0, 0, 0, .18); backdrop-filter: blur(14px); }
.nav-shell { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  background: var(--orange);
  color: var(--white);
  font: 500 11px/1 var(--mono);
  letter-spacing: -.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.brand-text { font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.primary-nav { display: flex; align-items: center; gap: 3px; }
.primary-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.primary-nav .nav-cta { margin-left: 10px; padding-inline: 17px; background: var(--orange); color: var(--white); }
.primary-nav .nav-cta:hover, .primary-nav .nav-cta[aria-current="page"] { background: #d5683f; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-dark); background: transparent; border-radius: 9px; color: var(--white); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--orange); font: 500 11px/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.dark .eyebrow, .orange .eyebrow, .home-hero .eyebrow, .page-hero .eyebrow { color: #e47a51; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -.045em; }
h1 { max-width: 11.5ch; font-size: clamp(3.8rem, 7.8vw, 7.5rem); font-weight: 600; }
h2 { max-width: 14ch; font-size: clamp(2.65rem, 5vw, 5rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.12; font-weight: 600; }
p { margin: 0 0 1.2em; }
.lead { max-width: 710px; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.58; }
.dark .lead, .orange .lead, .home-hero .lead, .page-hero .lead { color: rgba(255,255,255,.7); }
.kicker { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; background: var(--orange); color: var(--white); text-decoration: none; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 28px rgba(196,90,50,.2); transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease; }
.button::after { content: "↗"; font-size: 17px; transition: transform .2s var(--ease); }
.button:hover { transform: translateY(-2px); background: #d5683f; box-shadow: 0 15px 32px rgba(196,90,50,.28); }
.button:hover::after { transform: translate(2px, -2px); }
.button-light { background: var(--white); color: var(--navy); box-shadow: none; }
.button-light:hover { background: var(--ice); }

.home-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: 82px 0 72px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--white);
}
.home-hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -280px; top: -280px; border-radius: 50%; background: rgba(196,90,50,.12); filter: blur(2px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: 70px; align-items: center; }
.hero-copy h1 span { color: #e4774e; }
.hero-copy .lead { max-width: 660px; margin: 30px 0; }
.hero-copy .lead + .lead { margin-top: -16px; }
.hero-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background-color: rgba(5,12,22,.76);
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  box-shadow: 0 35px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-art::before { content: "CORRIDOR STATUS  /  OPERATIONAL"; position: absolute; top: 22px; left: 24px; right: 24px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); font: 400 10px/1 var(--mono); letter-spacing: .08em; }
.hero-art::after { content: "● LIVE"; position: absolute; right: 24px; top: 22px; color: #79c69b; font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.orbit-one { inset: 94px 34px 112px; }
.orbit-two { inset: 124px 64px 142px; border-style: dashed; }
.island { position: absolute; z-index: 2; display: flex; align-items: center; color: var(--white); font: 500 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 18px 36px rgba(0,0,0,.28); }
.island::before { content: ""; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: #7bc69c; box-shadow: 0 0 0 5px rgba(123,198,156,.1); }
.island-a { width: 220px; height: 78px; right: 45px; top: 205px; padding: 0 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #111b29; }
.island-b { width: 170px; height: 72px; left: 40px; top: 116px; padding: 0 20px; border-radius: 12px; background: var(--orange); }
.island-b::before { background: var(--white); box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.island-c { right: 60px; bottom: 108px; min-width: 124px; height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: var(--navy-light); }
.route-line { position: absolute; z-index: 1; left: 108px; right: 105px; top: 240px; border-top: 1px dashed rgba(228,119,78,.85); transform: rotate(11deg); transform-origin: left center; }
.route-dot { position: absolute; z-index: 3; width: 10px; height: 10px; left: 108px; top: 235px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(196,90,50,.16); animation: transfer 4.5s var(--ease) infinite; }
.hero-note { position: absolute; left: 24px; bottom: 22px; margin: 0; color: rgba(255,255,255,.45); font: 400 10px/1.6 var(--mono); letter-spacing: .05em; text-transform: uppercase; }

.values-grid { margin-top: 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.value-card { position: relative; min-height: 330px; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 10px 35px rgba(8,18,34,.04); }
.value-card:nth-child(2) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.value-card:nth-child(3) { grid-column: 1 / -1; min-height: 260px; background: var(--black); color: var(--white); border-color: var(--black); }
.value-card .number { display: inline-flex; padding: 7px 10px; margin-bottom: 82px; border: 1px solid var(--line); border-radius: 7px; color: var(--orange-dark); font: 500 10px/1 var(--mono); letter-spacing: .06em; }
.value-card:nth-child(2) .number, .value-card:nth-child(3) .number { border-color: var(--line-dark); color: #e4774e; }
.value-card:nth-child(3) .number { margin-bottom: 54px; }
.value-card p { max-width: 56ch; margin: 18px 0 0; color: var(--muted); }
.value-card:nth-child(2) p, .value-card:nth-child(3) p { color: rgba(255,255,255,.66); }
.value-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 115px; height: 5px; background: var(--orange); }

.page-hero {
  position: relative;
  padding: 104px 0 98px;
  overflow: hidden;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--white);
}
.page-hero::after { content: ""; position: absolute; right: 7%; top: 0; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(196,90,50,.8), transparent); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3.5rem, 6.7vw, 6.7rem); }
.page-hero .lead { margin-bottom: 0; }

.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 95px; align-items: start; }
.story-copy > p:first-child { font-size: 1.32rem; color: var(--text); }
.story-copy p { color: var(--muted); }
.fact-panel { align-self: start; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--off-white); box-shadow: 0 18px 50px rgba(8,18,34,.06); }
.fact-panel .kicker { color: var(--orange-dark); }
.fact-panel h3 { margin: 26px 0 34px; }
.fact-panel dl { margin: 0; }
.fact-panel dt { margin-top: 20px; color: var(--muted); font: 400 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.fact-panel dd { margin: 5px 0 0; font-weight: 600; }

.services { margin-top: 68px; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 78px .8fr 1.2fr; gap: 40px; padding: 42px 12px; border-bottom: 1px solid var(--line); align-items: start; transition: background .2s ease, padding .2s var(--ease); }
.service-row:hover { padding-inline: 24px; background: var(--off-white); }
.service-row .number { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 7px; background: var(--orange-soft); color: var(--orange-dark); font: 500 10px/1 var(--mono); }
.service-row p { margin: 0; color: var(--muted); }

.boundary { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.scope-statement { padding: 32px; border: 1px solid var(--line-dark); border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: rgba(255,255,255,.04); color: var(--white) !important; }

.group-card { margin-top: 62px; display: grid; grid-template-columns: .8fr 1.2fr; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.group-mark { position: relative; display: grid; place-items: center; overflow: hidden; background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; color: var(--white); }
.group-mark::before { content: "PARENT ENTITY / SAMOA"; position: absolute; top: 28px; left: 28px; color: rgba(255,255,255,.5); font: 400 9px/1 var(--mono); letter-spacing: .09em; }
.group-mark::after { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid rgba(196,90,50,.65); border-radius: 50%; }
.group-mark span { position: relative; z-index: 1; font: 600 4.8rem/1 var(--display); letter-spacing: -.08em; }
.group-copy { padding: 60px; }
.group-copy p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.fact { padding: 22px 18px 0 0; }
.fact span { display: block; color: var(--muted); font: 400 9px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.fact strong { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-details { position: sticky; top: 112px; }
.contact-details dl { margin: 50px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.contact-details dt { margin-top: 22px; color: var(--muted); font: 400 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.contact-details dd { margin: 5px 0 0; font-weight: 600; }
.contact-details a { color: var(--orange-dark); text-underline-offset: 4px; }
.contact-form { padding: 44px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.contact-form::before { content: "SECURE ENQUIRY FORM"; display: block; margin-bottom: 34px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 400 10px/1 var(--mono); letter-spacing: .09em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: var(--off-white); color: var(--text); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(196,90,50,.12); }
.field textarea { min-height: 135px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.form-status { min-height: 24px; margin: 18px 0 0; font-size: 14px; color: var(--orange-dark); }
.contact-form.is-success { border-color: var(--orange); }

.legal { padding: 84px 0 112px; }
.legal h2 { max-width: none; margin: 52px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 1.8rem; line-height: 1.12; letter-spacing: -.03em; }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: 8px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orange-dark); text-underline-offset: 4px; }
.legal .updated { display: inline-flex; padding: 8px 11px; border-radius: 7px; background: var(--orange-soft); color: var(--orange-dark); font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }

.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }
.cta-band h2 { max-width: 12ch; }
.company-line { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.company-line p { max-width: 720px; margin: 0; font-size: clamp(1.4rem, 2.3vw, 2.15rem); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }

.site-footer { padding: 68px 0 30px; background: var(--black); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 66px; }
.footer-title { max-width: 9ch; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; align-content: start; }
.footer-nav a { color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s ease; }
.footer-nav a:hover { color: #e4774e; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 23px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.42); font: 400 10px/1.65 var(--mono); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-copy > *, .page-hero-grid > * { opacity: 0; animation: rise .75s var(--ease) forwards; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.page-hero-grid > *:nth-child(2) { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes transfer { 0%, 10% { transform: translate(0,0); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 90%,100% { transform: translate(255px,50px); opacity: 0; } }

@media (max-width: 940px) {
  .primary-nav { position: fixed; inset: 78px 0 auto; display: grid; gap: 2px; padding: 20px 24px 25px; background: var(--navy); border-bottom: 1px solid var(--line-dark); box-shadow: 0 20px 40px rgba(0,0,0,.22); transform: translateY(-120%); opacity: 0; transition: transform .3s var(--ease), opacity .2s ease; }
  body.nav-open .primary-nav { transform: translateY(0); opacity: 1; }
  .primary-nav a { padding: 14px 12px; border-bottom: 1px solid var(--line-dark); }
  .primary-nav .nav-cta { margin: 10px 0 0; border: 0; text-align: center; }
  .nav-toggle { display: block; }
  .hero-grid, .page-hero-grid, .story-grid, .contact-layout, .boundary { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; }
  .hero-art { width: min(570px, 100%); }
  .page-hero-grid { gap: 34px; }
  .service-row { grid-template-columns: 55px 1fr; }
  .service-row p { grid-column: 2; }
  .group-card { grid-template-columns: 1fr; }
  .group-mark { min-height: 310px; }
  .contact-details { position: static; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .shell, .narrow { width: min(100% - 32px, 1180px); }
  .section { padding: 78px 0; }
  .section-sm { padding: 56px 0; }
  .nav-shell { height: 70px; }
  .primary-nav { top: 70px; }
  .brand-text { font-size: 16px; }
  .home-hero { padding: 60px 0 55px; }
  .hero-grid { gap: 50px; }
  h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  h2 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero-copy .lead { margin: 24px 0; }
  .hero-art { min-height: 420px; }
  .hero-art::before { font-size: 8px; }
  .orbit-one { inset: 88px 20px 100px; }
  .orbit-two { inset: 115px 42px 128px; }
  .island-a { width: 180px; right: 24px; top: 192px; }
  .island-b { width: 145px; left: 24px; top: 112px; }
  .island-c { right: 30px; bottom: 90px; }
  .route-line { left: 90px; right: 80px; top: 226px; }
  .route-dot { left: 89px; top: 221px; animation: transfer-mobile 4.5s var(--ease) infinite; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card:nth-child(3) { grid-column: auto; }
  .value-card { min-height: 280px; padding: 30px; }
  .value-card .number { margin-bottom: 60px; }
  .page-hero { padding: 72px 0 68px; }
  .page-hero h1 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .service-row { gap: 15px; padding: 32px 0; }
  .service-row:hover { padding-inline: 0; background: transparent; }
  .scope-statement { padding: 25px 22px; }
  .group-copy { padding: 36px 26px; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding-bottom: 12px; }
  .contact-form { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field-full { grid-column: auto; }
  .cta-grid, .footer-grid { grid-template-columns: 1fr; }
  .company-line { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@keyframes transfer-mobile { 0%, 10% { transform: translate(0,0); opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 90%,100% { transform: translate(180px,50px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 3px solid #e4774e; outline-offset: 3px; }
