:root {
  color-scheme: light;
  --night: #1b1d1e;
  --night-deep: #111314;
  --ink: #202224;
  --muted: #515557;
  --paper: #f4f4f1;
  --line: #d9dada;
  --accent: #a91e20;
  --accent-light: #ffb9b5;
  --white: #fff;
  --light-copy: #d4d6d6;
  --measure: 1216px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body {
  margin: 0;
  background: var(--night-deep);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #cf393a; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(var(--measure), calc(100% - 7rem)); margin-inline: auto; }
.skip {
  position: fixed;
  top: .75rem;
  left: 1rem;
  z-index: 10;
  transform: translateY(-180%);
  padding: .65rem 1rem;
  background: var(--white);
  color: var(--ink);
}
.skip:focus { transform: translateY(0); }

.site-header { background: #fff; color: var(--ink); position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.wordmark { display: inline-block; width: clamp(144px, 16vw, 222px); flex: none; }
.wordmark img { height: auto; }
.nav-shell nav { display: flex; align-items: center; gap: clamp(.8rem, 2.85vw, 2.65rem); }
.nav-shell nav a, .nav-contact, .footer-inner nav a { text-decoration: none; font-size: .9375rem; font-weight: 650; }
.nav-shell nav a { color: var(--ink); }
.nav-shell nav a:hover, .footer-inner nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-contact { padding: .45rem .9rem; border: 1px solid #b6baba; border-radius: .28rem; white-space: nowrap; }
.nav-contact:hover { border-color: var(--accent); color: var(--accent); }
.language-switch { display: flex; align-items: center; gap: .05rem; border: 1px solid var(--line); border-radius: .3rem; padding: .12rem; }
.language-switch a {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  min-width: 33px;
  padding-inline: .22rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 720;
  text-decoration: none;
  border-radius: .2rem;
}
.language-switch a:hover { color: var(--accent); }
.language-switch a[aria-current="page"] { background: #f8e9e8; color: #921a1c; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(710px, max(600px, calc(100svh - 86px)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #242628;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/hero.webp") center 53% / cover no-repeat;
  filter: saturate(.38);
}
.hero-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19,21,23,.96), rgba(24,26,28,.70) 43%, rgba(18,21,22,.06) 87%),
    linear-gradient(0deg, rgba(13,15,16,.87), transparent 32%);
}
.hero-inner { padding-block: 4.9rem 5.9rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--accent-light);
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.35;
  letter-spacing: .055em;
}
.eyebrow > span { display: inline-block; width: .65rem; height: .65rem; border: 1.5px solid currentColor; transform: rotate(45deg); }
.hero h1 {
  margin: .9rem 0 1.45rem;
  max-width: 13ch;
  font-size: clamp(4rem, 8.05vw, 7.9rem);
  font-weight: 750;
  line-height: .92;
  letter-spacing: -.083em;
}
.hero h1 em { font-style: normal; color: #ffd0ce; }
.hero-copy { max-width: 500px; color: #ececeb; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; }
.hero-actions { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.17rem;
  border-radius: .4rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 720;
  font-size: .9375rem;
  transition: background-color .18s ease, border-color .18s ease;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #891719; }
.button-outline { border-color: #949797; background: #2225268f; color: var(--white); }
.button-outline:hover { background: #444749; border-color: var(--accent-light); }
.hero-caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-block: .85rem 1rem;
  border-top: 1px solid #e0e0e05c;
  color: #e3e4e4;
  font-size: .875rem;
}

.paper { background: var(--paper); }
.section { padding-block: clamp(4rem, 7.3vw, 7.5rem); }
.section-top { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2.8rem; }
.section-top > p { max-width: 470px; color: var(--muted); font-size: 1.125rem; line-height: 1.65; padding-bottom: .12rem; }
.ink-eyebrow { color: #9d2022; }
h2 { font-size: clamp(2.65rem, 5.2vw, 5.1rem); letter-spacing: -.073em; line-height: 1.02; text-wrap: balance; }
.eyebrow + h2 { margin-top: 1.05rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; }
.process-card { padding: clamp(1.5rem, 2.6vw, 2.65rem); background: #fff; }
.process-card + .process-card { border-left: 1px solid var(--line); }
.process-card h3, .pilot-detail h3 { line-height: 1.2; font-size: 1.42rem; letter-spacing: -.035em; }
.process-card p { margin-top: .65rem; color: var(--muted); }
.icon {
  display: flex;
  position: relative;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid #eecbcc;
  border-radius: .5rem;
  margin-bottom: 1.5rem;
  background: #f9e8e7;
  color: #a91e20;
}
.signals { gap: 3px; }
.signals i { width: 2px; height: 10px; background: currentColor; border-radius: 4px; }
.signals i:nth-child(2), .signals i:nth-child(4) { height: 16px; }
.signals i:nth-child(3) { height: 25px; }
.fusion i { position: absolute; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
.fusion i:first-child { translate: -4px -4px; }
.fusion i:last-child { translate: 4px 4px; }
.notice { flex-direction: column; gap: 4px; }
.notice::after { position: absolute; content: ""; width: 22px; height: 25px; border: 1.5px solid currentColor; border-radius: 3px; }
.notice i { width: 12px; height: 1.5px; background: currentColor; }

.network { background: #25282a; color: var(--white); }
.network-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.network-copy > p:not(.eyebrow) { margin-top: 1.45rem; max-width: 52ch; color: var(--light-copy); font-size: 1.0625rem; }
.network-points { margin-top: 1.65rem; }
.network-points > div { display: grid; gap: .15rem; padding: .82rem 0; border-top: 1px solid #53585a; }
.network-points b { color: var(--white); }
.network-points span { color: var(--light-copy); }
.network-visual {
  aspect-ratio: 5 / 4;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #656a6a;
  border-radius: .65rem;
  background: #333738;
}
.network-visual img { height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.4); }
.visual-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, #33383a2e, #10141643); }
.map-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .36rem .62rem;
  border: 1px solid #f0cac088;
  border-radius: .28rem;
  background: #252729ee;
  color: #fff2ef;
  font-size: .875rem;
  white-space: nowrap;
}
.map-tag i { border-radius: 50%; width: .48rem; height: .48rem; background: #ff8881; box-shadow: 0 0 0 4px #ed635d2e; }
.tag-a { left: 18%; top: 32%; }
.tag-b { right: 13%; bottom: 29%; }
.network-figure figcaption { color: #d1d5d5; font-size: .875rem; margin-top: .55rem; }

.pilot-top { margin-bottom: 2.35rem; }
.pilot-panel { background: #e9eae8; border: 1px solid #d5d7d5; border-radius: .65rem; display: grid; grid-template-columns: minmax(210px, 1fr) 2.5fr; overflow: hidden; }
.pilot-options { padding: 1rem; display: grid; align-content: center; gap: .35rem; border-right: 1px solid #d5d7d5; }
.pilot-options button {
  color: var(--ink);
  border: 1px solid transparent;
  padding: .7rem .85rem;
  border-radius: .3rem;
  background: transparent;
  text-align: left;
  font-weight: 680;
  cursor: pointer;
}
.pilot-options button:hover { background: #f7f7f5; }
.pilot-options button[aria-pressed="true"] { background: #fff; border-color: #d8b7b4; color: #8c1b1c; }
.pilot-detail { padding: clamp(1.4rem, 3.6vw, 3rem); }
.pilot-detail > p { margin-top: .7rem; color: #4d5050; max-width: 65ch; }
.pilot-detail .pilot-measure { margin-top: 1rem; font-size: .9375rem; font-weight: 700; }

.contact { padding: clamp(3.5rem, 6vw, 5.6rem) 0; background: #25282a; color: var(--white); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 1.8rem 3rem; }
.contact h2 { max-width: 16ch; }
.contact p:not(.eyebrow) { color: var(--light-copy); margin-top: .9rem; max-width: 55ch; font-size: 1.0625rem; }
.contact-actions { display: grid; gap: .65rem; justify-items: start; }
.email-link { color: var(--accent-light); text-underline-offset: .22em; white-space: nowrap; }
.site-footer { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.footer-inner { padding-block: 2.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-inner nav { display: flex; gap: 1.45rem; flex-wrap: wrap; }
.footer-inner p { color: #515557; font-size: .9375rem; }
.footer-inner .wordmark { width: clamp(135px, 13vw, 170px); }

.legal { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.legal-content { flex: 1; padding-block: clamp(3rem, 7vw, 6rem); }
.legal-content h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.068em; margin-bottom: 1.3rem; }
.legal-content h2 { font-size: 1.36rem; letter-spacing: -.03em; margin: 1.8rem 0 .45rem; }
.legal-content p { max-width: 68ch; margin-block: .65rem; }
.legal-content address { font-style: normal; }
.legal-content a { color: #9d2022; text-underline-offset: .18em; }

@media (max-width: 890px) {
  .shell { width: calc(100% - 4rem); }
  .section-top { gap: 1.8rem; }
  .network-grid { gap: 2rem; }
}

@media (max-width: 800px) {
  .shell { width: calc(100% - 2.5rem); }
  .nav-shell { min-height: 67px; flex-wrap: wrap; gap: .65rem 1rem; padding-block: .65rem; }
  .wordmark { width: clamp(127px, 23vw, 164px); }
  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: .34rem .5rem;
    color: var(--ink);
    background: transparent;
    border: 1px solid transparent;
    border-radius: .22rem;
    font-size: .9375rem;
    cursor: pointer;
  }
  .menu-toggle:hover { border-color: #9da2a2; }
  .nav-shell nav { order: 4; width: 100%; flex-wrap: wrap; padding: .4rem 0 .5rem; gap: 1rem; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .nav-contact { display: none; }
  .nav-contact.legal-home { display: block; padding: .3rem .5rem; }
  .nav-actions { gap: .35rem; }
  .hero { min-height: 615px; }
  .hero::before { background-position: 63% center; }
  .hero-wash { background: linear-gradient(90deg, #131517eb, #181a1ca8 65%, #17191a78), linear-gradient(0deg, #101214cf, transparent 47%); }
  .hero-inner { padding-block: 3.6rem 5.8rem; }
  .hero h1 { font-size: clamp(3.12rem, 13vw, 5.8rem); }
  .hero-caption { font-size: .8125rem; }
  .section-top, .network-grid { grid-template-columns: 1fr; }
  .section-top { align-items: start; gap: 1rem; margin-bottom: 1.6rem; }
  .section-top > p { font-size: 1.0625rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card + .process-card { border-left: none; border-top: 1px solid var(--line); }
  .icon { margin-bottom: .9rem; }
  .network-visual { aspect-ratio: 5 / 4; }
  .pilot-panel { grid-template-columns: 1fr; }
  .pilot-options { border-right: none; border-bottom: 1px solid #d5d7d5; grid-template-columns: repeat(3, 1fr); padding: .5rem; }
  .pilot-options button { padding: .55rem .4rem; font-size: .875rem; text-align: center; line-height: 1.3; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .nav-shell { gap: .45rem; }
  .legal .nav-contact { font-size: .875rem; }
  .menu-toggle { padding-inline: .3rem; }
  .pilot-options { grid-template-columns: 1fr; }
  .pilot-options button { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
