/* =========================================================================
   Nexus Oil Trading FZE — design system
   Palette: deep marine ground, petroleum sheen cyan, signal-amber flare.
   Type:    Archivo (wide, signage) / Instrument Sans (body) / IBM Plex Mono (data)
   ========================================================================= */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;

  --crude:   #05121a;
  --hull:    #0a1d28;
  --hull-2:  #0e2733;
  --steel:   #1b3e4e;
  --steel-2: #2b5568;
  --vapour:  #e8f1f4;
  --fog:     #8ca6b2;
  --flare:   #f2a93b;
  --flare-d: #d68d1e;
  --sheen:   #4fd2e8;

  --band-tint: rgba(5, 18, 26, .74);
  --glass:     rgba(10, 29, 40, .78);
  --shadow:    0 24px 60px -30px rgba(0, 0, 0, .85);

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body:    "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1240px;
  --gut: clamp(1.15rem, 4vw, 3.25rem);
  --rule: 1px solid var(--steel);

  --s-sect: clamp(4.5rem, 9vw, 8.5rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--crude);
  color: var(--vapour);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--flare); color: #05121a; }

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

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112, "wght" 700;
  line-height: 1.02;
  letter-spacing: -.018em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.d1 { font-size: clamp(2.35rem, 8.2vw, 6.6rem); font-variation-settings: "wdth" 116, "wght" 780; line-height: .94; }
.d2 { font-size: clamp(2.1rem, 4.9vw, 3.85rem); font-variation-settings: "wdth" 114, "wght" 740; }
.d3 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); font-variation-settings: "wdth" 110, "wght" 700; }
.d4 { font-size: clamp(1.12rem, 1.5vw, 1.34rem); font-variation-settings: "wdth" 106, "wght" 680; letter-spacing: -.008em; }

.lede {
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  line-height: 1.62;
  color: var(--fog);
  max-width: 62ch;
}

p { text-wrap: pretty; }
p + p { margin-top: 1.05em; }

/* mono utility label — the recurring "instrument reading" voice */
.tag {
  font-family: var(--font-mono);
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--fog);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.tag::before {
  content: "";
  width: 1.9rem; height: 1px;
  background: var(--flare);
  flex: none;
}
.tag--plain::before { display: none; }
.tag--flare { color: var(--flare); }

.mono { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; }

/* ---------- layout ---------- */
.wrap {
  width: min(100% - var(--gut) * 2, var(--wrap));
  margin-inline: auto;
  min-width: 0;   /* as a flex item, auto min-width would let long display lines push it wide */
}
.wrap--wide { width: min(100% - var(--gut) * 2, 1480px); }

.sect { padding-block: var(--s-sect); position: relative; }
.sect--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.sect--hull { background: var(--hull); }

.sect-head { max-width: 74ch; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.sect-head .tag { margin-bottom: 1.35rem; }
.sect-head .lede { margin-top: 1.35rem; }

.grid { display: grid; gap: clamp(1.15rem, 2vw, 1.85rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

@media (max-width: 980px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-mono);
  font-size: .755rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--flare);
  background: var(--flare);
  color: #05121a;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn:hover { background: var(--flare-d); border-color: var(--flare-d); transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost { background: transparent; color: var(--vapour); border-color: var(--steel-2); }
.btn--ghost:hover { background: transparent; border-color: var(--flare); color: var(--flare); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* text link with instrument underline */
.tlink {
  font-family: var(--font-mono);
  font-size: .755rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--flare);
  border-bottom: 1px solid currentColor;
  padding-bottom: .28rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: gap .2s ease, color .2s ease;
}
.tlink:hover { gap: .95rem; color: var(--vapour); }

/* =========================================================================
   Spec strip — the signature structural device.
   Every page states its facts the way a cargo nomination does: key, hairline, value.
   ========================================================================= */
.spec {
  border-top: var(--rule);
  display: grid;
  gap: 0;
}
.spec > div {
  display: grid;
  grid-template-columns: minmax(9rem, 22%) minmax(0, 1fr);
  gap: 1rem 1.4rem;
  padding: .95rem 0;
  border-bottom: var(--rule);
  align-items: baseline;
}
.spec dt, .spec .k {
  font-family: var(--font-mono);
  font-size: .705rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fog);
}
.spec dd, .spec .v { margin: 0; font-size: .965rem; }
.spec .v strong { font-weight: 600; }

.spec--tight > div { padding: .72rem 0; }

@media (max-width: 560px) {
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
}

/* ---------- cards ---------- */
.card {
  background: var(--hull);
  border: var(--rule);
  padding: clamp(1.5rem, 2.4vw, 2.15rem);
  display: flex;
  flex-direction: column;
  gap: .95rem;
  position: relative;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.sect--hull .card { background: var(--hull-2); }
.card:hover { border-color: var(--steel-2); transform: translateY(-3px); }
.card p { color: var(--fog); font-size: .96rem; }
.card .tag { margin-bottom: .15rem; }

.card--photo { padding: 0; overflow: hidden; }
.card--photo figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card--photo:hover img { transform: scale(1.055); }
.card--photo .card-body { padding: clamp(1.35rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; gap: .8rem; }

/* product card: standard code sits where a decorative number would go */
.std {
  font-family: var(--font-mono);
  font-size: .69rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--flare);
  border: 1px solid var(--steel);
  padding: .3rem .55rem;
  align-self: flex-start;
  justify-self: start;   /* .stack is a grid — flex alignment alone would stretch it */
}

.bullets { list-style: none; padding: 0; display: grid; gap: .55rem; }
.bullets li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .93rem;
  color: var(--fog);
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: .5rem; height: 1px;
  background: var(--flare);
}

/* ---------- figures ---------- */
.fig { position: relative; overflow: hidden; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 1.15rem 1.25rem .95rem;
  background: linear-gradient(to top, rgba(3, 12, 18, .92), rgba(3, 12, 18, 0));
  color: #dfeaee;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.fig--tall { aspect-ratio: 3 / 4; }
.fig--wide { aspect-ratio: 16 / 10; }
.fig--sq { aspect-ratio: 1; }

/* ---------- full-bleed photo band ---------- */
.band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 11vw, 9.5rem);
  color: #f2f7f9;
  overflow: hidden;
}
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(3, 13, 20, .93) 0%, rgba(3, 13, 20, .78) 48%, rgba(3, 13, 20, .45) 100%);
}
.band .lede, .band p { color: #c3d5dc; }
.band .tag { color: #9fb9c3; }

/* ---------- header ---------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom-color: var(--steel);
}
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.05rem;
}

.logo { display: inline-flex; align-items: center; gap: .78rem; text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo__txt { display: grid; gap: .1rem; }
.logo__name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118, "wght" 780;
  font-size: 1.02rem;
  letter-spacing: .015em;
  line-height: 1;
  text-transform: uppercase;
}
.logo__sub {
  font-family: var(--font-mono);
  font-size: .565rem;
  letter-spacing: .29em;
  text-transform: uppercase;
  color: var(--fog);
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.nav a {
  font-family: var(--font-mono);
  font-size: .715rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--vapour);
  padding-block: .4rem;
  position: relative;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--flare);
  transition: width .28s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--flare); }

/* the in-drawer CTA only exists for the mobile menu */
.nav .btn { display: none; }

.hdr__act { display: flex; align-items: center; gap: .7rem; }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--steel); background: transparent; cursor: pointer; }
.burger span { display: block; width: 17px; height: 1.5px; background: currentColor; margin: 3.5px auto; transition: transform .28s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.hdr .btn { padding: .78rem 1.2rem; }

@media (max-width: 1080px) { .hdr .btn--cta { display: none; } }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--hull);
    border-bottom: var(--rule);
    padding: .6rem var(--gut) 1.7rem;
    transform: translateY(-118%);
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { width: 100%; padding-block: 1rem; border-bottom: var(--rule); font-size: .8rem; }
  .nav .btn { display: inline-flex; margin-top: 1.3rem; width: 100%; justify-content: center; border-bottom: 0; }
}

/* =========================================================================
   Hero — the thesis: a live petroleum sheen, the one thing every barrel shares
   ========================================================================= */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: flex-end;
  padding-top: clamp(7.5rem, 14vw, 10rem);
  padding-bottom: 0;
  isolation: isolate;
  overflow: hidden;
}
#sheen {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
/* shown when WebGL is unavailable — a still slick instead of a live one */
.hero__fallback {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(165deg, rgba(4, 16, 26, .72), rgba(4, 18, 26, .88)),
    url("../images/petroleum-sheen-texture.webp") center / cover no-repeat,
    #04101a;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--crude) 1%, rgba(5, 18, 26, .55) 34%, rgba(5, 18, 26, .12) 68%),
    linear-gradient(100deg, rgba(5, 18, 26, .82) 0%, rgba(5, 18, 26, .18) 62%);
  pointer-events: none;
}

.hero__in { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

@media (max-width: 760px) {
  .hero h1 { max-width: none; }
}
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero h1 { max-width: 14ch; }
.hero__sub { margin-top: 1.8rem; max-width: 56ch; font-size: clamp(1.06rem, 1.3vw, 1.28rem); color: var(--fog); }
.hero .btn-row { margin-top: 2.4rem; }

/* hero readout strip: license facts, stated flat */
.readout {
  border-top: var(--rule);
  margin-top: clamp(2.8rem, 5vw, 4.2rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.readout > div {
  padding: 1.35rem 1.4rem 1.35rem 0;
  border-right: var(--rule);
}
.readout > div:last-child { border-right: 0; }
.readout > div + div { padding-left: 1.4rem; }
.readout .k {
  font-family: var(--font-mono);
  font-size: .655rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog);
  display: block;
  margin-bottom: .55rem;
}
.readout .v {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108, "wght" 660;
  font-size: clamp(.95rem, 1.35vw, 1.18rem);
  line-height: 1.2;
}
@media (max-width: 860px) {
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout > div { border-bottom: var(--rule); }
  .readout > div:nth-child(2n) { border-right: 0; }
  .readout > div:nth-child(odd) { padding-left: 0; }
  .readout > div:nth-child(even) { padding-left: 1.2rem; }
}

/* scrolling port marquee under the hero */
.marquee {
  border-block: var(--rule);
  overflow: hidden;
  background: var(--hull);
  padding-block: .85rem;
}
.marquee__t {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 46s linear infinite;
  font-family: var(--font-mono);
  font-size: .715rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fog);
  white-space: nowrap;
}
.marquee__t span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee__t span::after { content: "◆"; color: var(--flare); font-size: .55rem; }
.marquee:hover .marquee__t { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__t { animation: none; } }

/* ---------- numbered process (a real sequence — order carries meaning) ---------- */
.flow { display: grid; gap: 0; border-top: var(--rule); counter-reset: step; }
.flow__row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1.05fr) minmax(0, 1.45fr);
  gap: 1.25rem clamp(1.2rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 2.6vw, 2.3rem) 0;
  border-bottom: var(--rule);
  align-items: start;
  transition: background .3s ease;
}
.flow__row:hover { background: var(--hull); }
.sect--hull .flow__row:hover { background: var(--hull-2); }
.flow__n {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--flare);
  padding-top: .35rem;
}
.flow__row h3 { font-size: clamp(1.15rem, 1.75vw, 1.5rem); }
.flow__row p { color: var(--fog); font-size: .955rem; }
.flow__meta {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: .8rem;
  display: block;
}
@media (max-width: 780px) {
  .flow__row { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .flow__row p { grid-column: 2; }
}

/* ---------- stat / fact tiles ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.facts > div { border-right: var(--rule); border-bottom: var(--rule); padding: clamp(1.4rem, 2.4vw, 2rem); }
.facts .v {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 116, "wght" 760;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--flare);
  display: block;
}
.facts .k {
  font-family: var(--font-mono);
  font-size: .665rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: .85rem;
  display: block;
}
.facts p { font-size: .9rem; color: var(--fog); margin-top: .8rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- data table ---------- */
.tbl-wrap { overflow-x: auto; border: var(--rule); background: var(--hull); }
.sect--hull .tbl-wrap { background: var(--hull-2); }
.tbl { width: 100%; border-collapse: collapse; min-width: 480px; }
.tbl th, .tbl td { text-align: left; padding: .95rem 1.15rem; border-bottom: var(--rule); }
.tbl thead th {
  font-family: var(--font-mono);
  font-size: .655rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 500;
  background: var(--crude);
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { font-size: .93rem; }
.tbl td:first-child { font-weight: 600; }
.tbl .mono-cell { font-family: var(--font-mono); font-size: .8rem; color: var(--fog); }

/* ---------- accordion ---------- */
.acc { border-top: var(--rule); }
.acc details { border-bottom: var(--rule); }
.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 3rem 1.3rem 0;
  position: relative;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108, "wght" 660;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  transition: color .2s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--flare); }
.acc summary::after {
  content: "+";
  position: absolute;
  right: .35rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--flare);
  font-size: 1.15rem;
}
.acc details[open] summary::after { content: "–"; }
.acc details > div { padding-bottom: 1.5rem; color: var(--fog); max-width: 82ch; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--flare);
  color: #05121a;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta h2 { color: #05121a; max-width: 20ch; }
.cta p { color: rgba(5, 18, 26, .8); max-width: 54ch; margin-top: 1.1rem; }
.cta__in { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; justify-content: space-between; }
.cta .btn { background: #05121a; border-color: #05121a; color: var(--flare); }
.cta .btn:hover { background: #0a1d28; border-color: #0a1d28; }
.cta .btn--ghost { background: transparent; color: #05121a; border-color: rgba(5, 18, 26, .4); }
.cta .btn--ghost:hover { background: rgba(5, 18, 26, .08); border-color: #05121a; color: #05121a; }

/* ---------- page hero (inner pages) ---------- */
.phero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(9.5rem, 17vw, 14rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  color: #f0f6f8;
}
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--crude) 2%, rgba(4, 15, 22, .62) 46%, rgba(4, 15, 22, .34) 100%),
    linear-gradient(100deg, rgba(4, 15, 22, .88) 0%, rgba(4, 15, 22, .52) 45%, rgba(4, 15, 22, .1) 100%);
}
.phero h1 { max-width: 17ch; }
.phero .lede { margin-top: 1.6rem; color: #c6d7de; }
.phero .tag { color: #a4bec8; margin-bottom: 1.4rem; }

.crumb {
  font-family: var(--font-mono);
  font-size: .655rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #8fabb6;
  margin-bottom: 1.6rem;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--flare); }

/* ---------- form ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-family: var(--font-mono);
  font-size: .665rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog);
}
.field label .req { color: var(--flare); }
.field input, .field select, .field textarea {
  background: var(--crude);
  border: var(--rule);
  padding: .88rem 1rem;
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
  border-radius: 0;
}
.sect--hull .field input,
.sect--hull .field select,
.sect--hull .field textarea { background: var(--hull-2); }
.field textarea { min-height: 148px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--flare); outline: none; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238ca6b2' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px; padding-right: 2.4rem; }
.field .hint { font-size: .8rem; color: var(--fog); }
.field .err { font-size: .78rem; color: #ff8f6b; display: none; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #ff8f6b; }
.field.is-bad .err { display: block; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { width: 17px; height: 17px; margin-top: .28rem; flex: none; accent-color: var(--flare); }
.check label { font-family: var(--font-body); font-size: .875rem; letter-spacing: 0; text-transform: none; color: var(--fog); line-height: 1.55; }
.check.is-bad label { color: #ff8f6b; }
.check.is-bad input { outline: 1px solid #ff8f6b; outline-offset: 2px; }

.form-note {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--fog);
  line-height: 1.7;
}

.form-status {
  display: none;
  padding: 1rem 1.15rem;
  border: 1px solid var(--steel);
  font-size: .92rem;
}
.form-status.is-on { display: block; }
.form-status.is-ok { border-color: var(--flare); color: var(--vapour); }
.form-status.is-err { border-color: #ff8f6b; color: #ff8f6b; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- map ---------- */
.map { border: var(--rule); filter: grayscale(1) invert(.92) hue-rotate(175deg) contrast(.9) brightness(.95); }
.map iframe { width: 100%; height: 380px; border: 0; }

/* ---------- footer ---------- */
.ftr { background: var(--hull); border-top: var(--rule); padding-top: clamp(3.5rem, 6vw, 5rem); }
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.ftr h4 {
  font-family: var(--font-mono);
  font-variation-settings: normal;
  font-size: .665rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1.15rem;
}
.ftr ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.ftr a { text-decoration: none; font-size: .93rem; color: var(--vapour); transition: color .2s ease; }
.ftr a:hover { color: var(--flare); }
.ftr p { color: var(--fog); font-size: .93rem; }
.ftr__bar {
  border-top: var(--rule);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fog);
}
@media (max-width: 880px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s cubic-bezier(.22,.7,.25,1), transform .75s cubic-bezier(.22,.7,.25,1);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- misc ---------- */
.skip {
  position: absolute;
  left: .6rem; top: -100px;
  z-index: 200;
  background: var(--flare);
  color: #05121a;
  padding: .7rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: .6rem; }

.hr { border: 0; border-top: var(--rule); margin-block: clamp(2.5rem, 5vw, 4rem); }
.stack { display: grid; gap: 1.15rem; align-content: start; }
.stack--lg { gap: 1.85rem; }
.mt-l { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.mt-m { margin-top: 1.7rem; }
.muted { color: var(--fog); }
.nowrap { white-space: nowrap; }
