/* East Slope — shared styles
   Side pages (engineering.html, defense.html): black ground, uppercase Archivo headings, IBM Plex Sans text,
   thin rules, one photo per page (the hero). Same system on both sides; the content tells them apart.
   Landing page (index.html) styles are at the end of this file. */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --text: #F3F4F5;
  --soft: #B3B9BF;
  --dim: #8A9299;
  --rule: rgba(255, 255, 255, .14);
  --rule-strong: rgba(255, 255, 255, .42);
  --field: rgba(255, 255, 255, .26);
  --ice: #A7C4DE;
  --ice-hi: #C6DAEC;
  --err: #E39A84;

  /* landing palette */
  --paper: #F4F5F7;
  --ink: #111418;
  --steel: #3B6B94;
  --night: #121619;
  --night-2: #1A2024;
  --night-line: #313A40;
  --frost: #E6E8EA;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --wrap: 1400px;
  --gutter: clamp(20px, 5vw, 64px);
  --pad: clamp(96px, 11vw, 152px);
  --head-h: 72px;
  --col-gap: clamp(24px, 2.6vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
}
body:not(.landing) { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { text-wrap: balance; }
body:not(.landing) p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100; padding: 10px 16px;
  background: var(--white); color: var(--black); font-weight: 600; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* Shared label voice: nav, buttons, small labels */
.nw { white-space: nowrap; }
.over, .nav a, .btn, .stat span, .span, .mat, label, .label, .datasheet dt,
.who, .dev, .kind, .foot-links a, .files button {
  font-family: var(--display); font-weight: 600; font-stretch: 105%;
  letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.solid, .site-header.menu-open { background: var(--black); border-bottom-color: var(--rule); }
.bar { display: flex; align-items: center; gap: 40px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .peak { fill: var(--ice); }
.brand-name { display: block; font-family: var(--display); font-weight: 760; font-stretch: 118%; font-size: 1.08rem; line-height: 1.1; white-space: nowrap; }
.brand-div { font-weight: 500; opacity: .62; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: .75rem; color: inherit; text-decoration: none; padding: 8px 0;
  text-decoration-thickness: 1px; text-underline-offset: 8px;
}
.nav a:hover { text-decoration-line: underline; }
.nav .switch { position: relative; margin-left: 2px; padding-left: 36px; color: var(--ice); }
.nav .switch::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 16px;
  margin-top: -8px; background: var(--rule-strong);
}
.nav .m-only { display: none; }

.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; margin-right: -10px;
  place-content: center; gap: 7px; color: inherit; background: none; border: 0; cursor: pointer;
}
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --head-h: 64px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 40px; background: var(--black); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
  .nav a { font-size: 1.375rem; letter-spacing: .08em; padding: 20px 0; border-bottom: 1px solid var(--rule); }
  .nav a:hover { text-decoration: none; color: var(--ice); }
  .nav .switch { margin: 28px 0 0; padding-left: 0; border-bottom: 0; font-size: .875rem; letter-spacing: .16em; }
  .nav .switch::before { display: none; }
  .nav .m-only { display: inline; }
  html:has(.site-header.menu-open) { overflow: hidden; }
}
@media (max-width: 359px) {
  .site-header .brand-name { font-size: .94rem; }
  .site-header .brand svg { width: 30px; height: 30px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 38px;
  font-size: .8125rem; color: var(--white); background: transparent; border: 2px solid var(--white);
  border-radius: 0; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn { text-align: center; line-height: 1.35; }
@media (max-width: 420px) { .btn { padding: 12px 26px; letter-spacing: .14em; } }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; color: var(--white); }

/* ---------- Hero (the page's one photo) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.photo { position: absolute; inset: 0; z-index: -2; background: var(--black); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .slot { display: none; }
.photo.empty img { display: none; }
.photo.empty {
  background:
    radial-gradient(70% 60% at 88% 8%, rgba(167,196,222,.13) 0%, rgba(167,196,222,.045) 45%, rgba(167,196,222,0) 75%),
    linear-gradient(180deg, #070B0F 0%, #030507 55%, #000 100%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.32) 42%, rgba(0,0,0,0) 68%);
}
.hero-inner { width: 100%; padding-top: calc(var(--head-h) + 72px); padding-bottom: clamp(80px, 13vh, 136px); }
.over { margin: 0 0 22px; font-size: .8125rem; letter-spacing: .2em; color: rgba(255,255,255,.78); }
.hero h1 {
  margin: 0 0 24px; max-width: 12ch; font-family: var(--display); font-weight: 700; font-stretch: 112%;
  font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase;
}
.lede { margin: 0 0 40px; max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,.84); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }

/* ---------- Section scaffolding ---------- */
section[id] { scroll-margin-top: var(--head-h); }
.section { padding: var(--pad) 0; }
.hero + .section > .wrap::before { display: none; }
.section > .wrap { position: relative; }
.section > .wrap::before {
  content: ""; position: absolute; top: calc(-1 * var(--pad)); left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--rule);
}
.section h2 {
  margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.02; letter-spacing: .01em;
}
.head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 18px;
  align-items: end; margin-bottom: clamp(56px, 6.5vw, 88px);
}
.head h2 { grid-column: 1 / span 7; }
.head p { grid-column: 8 / -1; margin: 0; max-width: 40ch; color: var(--soft); font-size: 1.125rem; }
h3 { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 106%; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
@media (max-width: 860px) {
  .head { grid-template-columns: 1fr; }
  .head h2, .head p { grid-column: 1 / -1; }
}

/* ---------- Figures ---------- */
.figures { --pad: clamp(80px, 9vw, 128px); }
@media (max-width: 760px) { .section { --pad: 72px; } .figures { --pad: 64px; } .head { margin-bottom: 40px; } }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.stat { border-top: 1px solid var(--rule-strong); padding-top: 28px; }
.stat b {
  display: block; font-family: var(--display); font-weight: 600; font-stretch: 100%;
  font-size: clamp(3.25rem, 6.6vw, 6.25rem); line-height: 1; letter-spacing: -.015em; font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 18px; font-size: .8125rem; color: var(--soft); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; row-gap: 48px; }
}

/* ---------- Engineering: one insert, every stop ---------- */
.stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); }
.span { grid-row: 1; padding-top: 16px; border-top: 2px solid var(--white); font-size: .75rem; color: var(--white); }
.span.reuse { grid-column: 1 / 4; }
.span.oneway { grid-column: 4 / 5; border-top-color: var(--ice); color: var(--ice); }
.stop-list {
  grid-column: 1 / -1; grid-row: 2; list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.stop .n, .steps .n {
  display: block; margin-bottom: 18px; font-family: var(--display); font-weight: 500; font-stretch: 100%;
  font-size: 2.25rem; line-height: 1; color: var(--dim); font-variant-numeric: tabular-nums;
}
.stop h3 { font-size: 1.125rem; margin-bottom: 10px; }
.stop p { margin: 0; max-width: 30ch; color: var(--soft); font-size: 1rem; }
.stop .kind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .stops { display: block; }
  .span { display: none; }
  .stop-list { margin: 0; grid-template-columns: 1fr; }
  .stop { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 8px; padding: 26px 0; border-top: 1px solid var(--rule); }
  .stop:last-child { border-bottom: 1px solid var(--rule); }
  .stop .n { grid-row: 1 / span 3; margin: 0; font-size: 1.5rem; }
  .stop p { max-width: none; }
  .stop .kind { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-top: 12px; font-size: .6875rem; color: var(--white); }
  .stop.last .kind { color: var(--ice); }
}

/* ---------- Engineering: two ways to order ---------- */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
.option { border-top: 1px solid var(--rule-strong); padding-top: 36px; }
.option h3 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-stretch: 108%; letter-spacing: .01em; line-height: 1; }
.mat { margin: 16px 0 22px; font-size: .75rem; color: var(--ice); }
.option p:last-child { margin: 0; max-width: 38ch; color: var(--soft); font-size: 1.0625rem; }
.also { margin: clamp(48px, 5vw, 72px) 0 0; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--soft); font-size: 1rem; }
.also a { margin-left: 6px; color: var(--white); text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 760px) {
  .options { grid-template-columns: 1fr; row-gap: 56px; }
}

/* ---------- Pilot call to action ---------- */
.head.cta { margin-bottom: 0; align-items: end; }
.cta-side { grid-column: 8 / -1; }
.cta-side p { margin: 0 0 36px; max-width: 40ch; color: var(--soft); font-size: 1.125rem; }
@media (max-width: 860px) {
  .cta-side { grid-column: 1 / -1; padding-top: 6px; }
}

/* ---------- About: one line ---------- */
.statement {
  margin: 0; max-width: 24ch; font-family: var(--display); font-weight: 500; font-stretch: 104%;
  font-size: clamp(1.75rem, 3.9vw, 3.375rem); line-height: 1.14; letter-spacing: -.005em; color: var(--text);
}

/* ---------- Defense: services ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.svc { border-top: 1px solid var(--rule-strong); padding-top: 32px; }
.svc h3 { font-size: 1.375rem; margin-bottom: 14px; }
.svc p { margin: 0; max-width: 34ch; color: var(--soft); }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; row-gap: 48px; }
}

/* ---------- Defense: seven steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 20px; }
.steps li { border-top: 1px solid var(--rule-strong); padding-top: 28px; }
.steps li.yours { border-top: 2px solid var(--ice); padding-top: 27px; }
.steps .t { display: block; font-family: var(--display); font-weight: 700; font-stretch: 106%; text-transform: uppercase; letter-spacing: .05em; font-size: .9375rem; line-height: 1.35; }
.who { display: block; margin-top: 10px; font-size: .6875rem; color: var(--ice); }
.steps .yours .n { color: var(--ice); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; column-gap: var(--col-gap); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li, .steps li.yours { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--rule); }
  .steps li:last-child { border-bottom: 1px solid var(--rule); }
  .steps .n { grid-row: 1 / span 2; margin: 0; font-size: 1.5rem; }
  .who { margin-top: 6px; }
}

.report {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px;
  margin-top: clamp(80px, 9vw, 128px);
}
.report-head { grid-column: 1 / span 5; }
.report-head h3 { font-size: 1.375rem; margin-bottom: 14px; }
.report-head p { margin: 0; max-width: 30ch; color: var(--soft); }
.fields { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; }
.fields li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 20px 0;
  border-top: 1px solid var(--rule); font-family: var(--display); font-weight: 500; font-stretch: 104%; font-size: 1.125rem; line-height: 1.3; color: var(--white);
}
.fields li:first-child { border-top-color: var(--rule-strong); }
.fields li:last-child { border-bottom: 1px solid var(--rule); }
.fields li > span { font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--soft); }
@media (max-width: 860px) {
  .report { grid-template-columns: 1fr; }
  .report-head, .fields { grid-column: 1 / -1; }
}

/* ---------- Defense: threats ---------- */
.threats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.threats li {
  padding: 26px 0 28px; border-top: 1px solid var(--rule);
  font-family: var(--display); font-weight: 500; font-stretch: 104%; font-size: 1.25rem; line-height: 1.3;
}
.threats li:nth-child(-n+3) { border-top-color: var(--rule-strong); }
.dev { display: block; margin-top: 8px; font-size: .6875rem; color: var(--ice); }
@media (max-width: 860px) {
  .threats { grid-template-columns: 1fr; }
  .threats li:nth-child(-n+3) { border-top-color: var(--rule); }
  .threats li:first-child { border-top-color: var(--rule-strong); }
  .threats li:last-child { border-bottom: 1px solid var(--rule); }
  .threats li { padding: 22px 0; font-size: 1.125rem; }
}

/* ---------- Defense: company data ---------- */
.company { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.company-side { grid-column: 1 / span 5; }
.company-side h2 { margin-bottom: 24px; }
.company-side p { max-width: 36ch; color: var(--soft); font-size: 1.125rem; }
.company-side .btn { margin-top: 20px; }
.datasheet { grid-column: 7 / -1; margin: 0; }
.datasheet div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.datasheet div:last-child { border-bottom: 1px solid var(--rule); }
.datasheet dt { font-size: .75rem; color: var(--dim); padding-top: 3px; }
.datasheet dd { margin: 0; color: var(--white); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.datasheet a { text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.datasheet a:hover { color: var(--ice); }
.naics { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.naics b { display: inline-block; min-width: 4.6em; font-weight: 500; }
.naics span { color: var(--soft); }
@media (max-width: 860px) {
  .company { grid-template-columns: 1fr; }
  .company-side, .datasheet { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .datasheet div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Contact + file upload ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; }
.contact-side { grid-column: 1 / span 5; }
.contact-side h2 { margin-bottom: 24px; max-width: 12ch; }
.contact-side p { max-width: 36ch; color: var(--soft); font-size: 1.125rem; }
.reach { margin: 36px 0 0; }
.reach a { color: var(--white); text-decoration-color: var(--rule-strong); text-underline-offset: 5px; }
.reach a:hover { color: var(--ice); }
#contact-form { grid-column: 7 / -1; }
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .contact-side, #contact-form { grid-column: 1 / -1; }
}

form { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
label, .label { font-size: .75rem; color: var(--soft); }
input, select, textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; margin: 0;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--white);
  background: transparent; border: 1px solid var(--field); border-radius: 0;
  color-scheme: dark; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select {
  padding-right: 44px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E") right 18px center / 12px 8px no-repeat;
}
select option { background: #111; color: #fff; }
input::placeholder, textarea::placeholder { color: #747C83; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.45); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--white); box-shadow: 0 0 0 1px var(--white); }
textarea { min-height: 148px; resize: vertical; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.drop {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 30px 20px 32px; text-align: center;
  border: 1px dashed rgba(255,255,255,.36); transition: border-color .15s ease, background-color .15s ease;
}
.drop:hover, .drop.over { border-color: var(--ice); background: rgba(167,196,222,.06); }
.drop:focus-within { border-color: var(--white); border-style: solid; box-shadow: 0 0 0 1px var(--white); }
.drop svg { width: 22px; height: 22px; margin-bottom: 8px; color: var(--ice); }
.drop strong { font-weight: 500; color: var(--white); }
.drop span { font-size: .875rem; color: var(--dim); text-wrap: balance; }
.drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.files { list-style: none; margin: 0; padding: 0; }
.files:empty { display: none; }
.files li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.files li:first-child { border-top: 1px solid var(--rule); }
.files .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--white); }
.files .fsize { color: var(--dim); font-size: .875rem; font-variant-numeric: tabular-nums; }
.files button { font-size: .6875rem; color: var(--soft); background: none; border: 0; padding: 8px 0 8px 8px; cursor: pointer; }
.files button:hover { color: var(--white); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 6px; }
.form-note { margin: 0; max-width: 40ch; font-size: .875rem; line-height: 1.5; color: var(--dim); }
.form-status { margin: 0; padding: 16px 18px; border-left: 2px solid var(--rule-strong); background: rgba(255,255,255,.04); color: var(--soft); font-size: .9375rem; }
.form-status.ok { border-left-color: var(--ice); color: var(--white); }
.form-status.err { border-left-color: var(--err); }
.form-status a { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 44px; color: var(--dim); font-size: .875rem; }
.site-footer > .wrap { position: relative; }
.site-footer > .wrap::before { content: ""; position: absolute; top: -64px; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand svg { width: 28px; height: 28px; }
.site-footer .brand-name { font-size: .95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.foot-links a { font-size: .6875rem; color: var(--white); text-decoration: none; padding: 6px 0; }
.foot-links a:hover { color: var(--ice); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; }
.foot-base a { color: var(--soft); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.foot-base a:hover { color: var(--white); }
@media (max-width: 640px) {
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-links { gap: 10px 28px; }
  .foot-base { flex-direction: column; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-top: 120px; padding-bottom: 96px; }
.notfound .brand { color: var(--white); margin-bottom: 64px; }
.notfound h1 {
  margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: .01em;
}
.notfound p { margin: 0 0 40px; color: var(--soft); font-size: 1.125rem; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Landing page (index.html) ---------- */
body.landing { --gutter: clamp(16px, 4vw, 48px); background: var(--night); color: #F4F5F7; font-family: var(--body); }
.landing :focus-visible { outline: 3px solid #F4F5F7; outline-offset: 3px; border-radius: 2px; }
.landing a { text-underline-offset: 3px; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.stage-video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  background: #4A4E52 url("video/flyover.jpg") center / cover no-repeat;
}
.stage-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,18,22,.55) 0%, rgba(14,18,22,0) 22%),
    linear-gradient(0deg, rgba(14,18,22,.72) 0%, rgba(14,18,22,.28) 34%, rgba(14,18,22,0) 58%),
    linear-gradient(90deg, rgba(14,18,22,.38) 0%, rgba(14,18,22,0) 55%);
}
.landing-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter) 0; }
.landing .brand { color: #F4F5F7; }
.landing .brand-name { font-size: 1.15rem; }
.landing-mail { color: #F4F5F7; text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: .9; }
.landing-mail:hover { color: #F4F5F7; text-decoration: underline; opacity: 1; }
.landing-main { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding: 48px var(--gutter) 28px; flex-wrap: wrap; }
.landing-copy { max-width: 640px; text-shadow: 0 1px 18px rgba(10,14,18,.35); }
.landing-copy h1 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(3.4rem, 10vw, 8.5rem); line-height: .92; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
.landing-copy p { margin: 0; max-width: 36ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; color: rgba(244,245,247,.92); }
.place { margin-left: auto; }
.play-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: #F4F5F7; background: rgba(14,18,22,.36); border: 1.5px solid rgba(244,245,247,.6); border-radius: 50%;
}
.play-toggle:hover { border-color: #F4F5F7; background: rgba(14,18,22,.5); }
.play-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.play-toggle .i-pause { display: none; }
.play-toggle[data-playing="true"] .i-pause { display: block; }
.play-toggle[data-playing="true"] .i-play { display: none; }
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door {
  position: relative; display: grid; align-content: start; gap: 6px;
  padding: clamp(22px, 3vw, 36px) var(--gutter) clamp(26px, 3.4vw, 40px); text-decoration: none;
  transition: background-color .25s ease, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
/* fills the gap under a tile when it lifts on hover */
.door::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; background: inherit; }
.door-eng { background: var(--paper); color: var(--ink); }
.door-def { background: var(--night); color: var(--frost); border-left: 1px solid var(--night-line); }
.door-eng:hover { background: #FFFFFF; color: var(--ink); }
.door-def:hover { background: var(--night-2); color: var(--frost); }
.door-kicker { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: .7; }
.door-title { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.08; font-weight: 780; font-stretch: 115%; letter-spacing: -0.01em; }
.door-text { max-width: 46ch; opacity: .82; }
.door-go {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px; margin-top: 16px;
  min-height: 48px; padding: 0 22px 0 24px;
  font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease;
}
.door-go svg { width: 18px; height: 18px; flex: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.door-eng .door-go { background: var(--ink); color: #FFFFFF; }
.door-def .door-go { background: var(--ice); color: var(--night); }
.door-eng:hover .door-go { background: var(--steel); }
.door-def:hover .door-go { background: var(--ice-hi); }
.door:hover .door-go svg { transform: translateX(4px); }
.door:active .door-go { filter: brightness(.94); }
/* desktop: the whole tile lifts a little toward the cursor */
@media (hover: hover) and (pointer: fine) {
  .door:hover { transform: translateY(-10px); box-shadow: 0 -22px 44px -24px rgba(0,0,0,.55); z-index: 1; }
}
.door:focus-visible { outline: 3px solid var(--ice); outline-offset: -6px; }
.door-eng:focus-visible { outline-color: var(--steel); }
@media (max-width: 760px) {
  .stage-shade { background: linear-gradient(180deg, rgba(14,18,22,.62) 0%, rgba(14,18,22,.30) 40%, rgba(14,18,22,.30) 60%, rgba(14,18,22,.72) 100%); }
  .doors { grid-template-columns: 1fr; }
  .door-def { border-left: 0; }
  .landing-main { padding-top: 24px; }
  .landing-mail { font-size: 0.85rem; }
}
@media (max-width: 420px) { .landing-mail { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
