/* ==========================================================================
   Fenix Aviation Corp — design system
   Palette: near-black navy + deep aviation blue + brand cyan (from the logo)
   ========================================================================== */

:root {
  /* Surfaces */
  --ink:        #05090E;   /* near-black navy — hero, footer, darkest sections */
  --navy:       #0A1523;   /* deep aviation blue — dark sections */
  --navy-lift:  #102338;   /* raised panels on dark */
  --paper:      #FFFFFF;
  --paper-off:  #F1F4F7;   /* off-white sections */

  /* Type */
  --text:       #0C141C;   /* charcoal on light */
  --text-soft:  #56646F;   /* secondary on light */
  --on-dark:    #F4F8FB;   /* off-white on dark */
  --on-dark-soft: #93A5B6;

  /* Brand */
  --accent:     #0098D0;   /* sampled from the logo */
  --accent-hi:  #3EB8E8;
  --accent-dim: #00719C;

  /* Lines — separation comes from rules and space, never from drop shadows */
  --line-light: rgba(12, 20, 28, 0.13);
  --line-dark:  rgba(244, 248, 251, 0.16);

  /* Rhythm */
  --gutter:  clamp(1.75rem, 5vw, 4.5rem);
  --shell:   1320px;
  --section: clamp(7rem, 13vw, 13.5rem);
  --section-tight: clamp(5rem, 9vw, 8.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 84px;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  background: var(--ink);
  color: var(--on-dark);
}
.skip-link:focus { left: 0; }

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

/* ----------------------------------------------------------- structure -- */

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

.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }

.section--ink   { background: var(--ink);   color: var(--on-dark); }
.section--navy  { background: var(--navy);  color: var(--on-dark); }
.section--off   { background: var(--paper-off); }

.section--ink .lead,
.section--navy .lead { color: var(--on-dark-soft); }

/* ---------------------------------------------------------- typography --
   Three reading levels, deliberately far apart:
   1. title      ~44-76px
   2. lead       ~18-22px
   3. eyebrow / detail  ~12-13px
   -------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section--ink .eyebrow,
.section--navy .eyebrow { color: var(--accent-hi); }

.display {
  font-size: clamp(3.25rem, 7.2vw, 6.75rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.title {
  font-size: clamp(2.6rem, 5.1vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.title--sm {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
}

.lead {
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--text-soft);
  max-width: 56ch;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.prose p {
  max-width: 62ch;
  color: var(--text-soft);
  margin-top: 1.5rem;
}
.section--ink .prose p,
.section--navy .prose p { color: var(--on-dark-soft); }

.measure { max-width: 46rem; }

/* -------------------------------------------------------------- rules -- */

.rule {
  height: 1px;
  background: var(--line-light);
  border: 0;
  margin: 0;
}
.section--ink .rule,
.section--navy .rule { background: var(--line-dark); }

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 2.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
  white-space: nowrap;
}

.btn__arrow {
  width: 1.05em;
  flex: none;
  transition: transform .45s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dim); }

.btn--outline {
  border-color: var(--line-light);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--text); }

.btn--ghost {
  border-color: rgba(244, 248, 251, 0.34);
  color: var(--on-dark);
}
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(244, 248, 251, 0.07); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* Inline text link with a rule that draws on hover */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.4rem;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .5s var(--ease-out);
}
.tlink:hover { background-size: 100% 1px; }

/* Links that sit inside a sentence keep the sentence's case and size */
.ilink {
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 152, 208, 0.4);
  transition: border-color .3s var(--ease);
}
.ilink:hover { border-bottom-color: currentColor; }
.section--ink .ilink,
.section--navy .ilink,
.footer .ilink {
  color: var(--accent-hi);
  border-bottom-color: rgba(62, 184, 232, 0.45);
}
.section--ink .tlink,
.section--navy .tlink {
  color: var(--accent-hi);
  background-image: linear-gradient(var(--accent-hi), var(--accent-hi));
}

/* ------------------------------------------------------------- header -- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .45s var(--ease), height .45s var(--ease),
              border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.header__logo { flex: none; margin-right: auto; }
.header__logo img {
  height: 42px;
  width: auto;
  transition: height .45s var(--ease);
}

.header.is-stuck {
  background: rgba(5, 9, 14, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  height: 70px;
}
.header.is-stuck .header__logo img { height: 34px; }

/* On light-hero pages the bar starts solid */
.header--solid { background: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.6rem); }

.nav__link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  padding-block: 0.5rem;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }

.header .btn {
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
}

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--on-dark);
  transition: transform .4s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* --------------------------------------------------------- mobile nav -- */

.mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  padding: calc(var(--header-h) + 3rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
  overflow-y: auto;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }

.mnav__list { display: flex; flex-direction: column; }
.mnav__list a {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.mnav__foot { margin-top: 3rem; color: var(--on-dark-soft); font-size: 0.875rem; }
.mnav__foot a { display: block; margin-top: 0.35rem; }

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(8rem, 16vh, 11rem) clamp(4.5rem, 9vh, 7.5rem);
  color: var(--on-dark);
  overflow: hidden;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Warm stock photography pulled toward the navy palette */
  filter: saturate(0.55) brightness(0.82) contrast(1.05);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 9, 14, 0.94) 4%, rgba(5, 9, 14, 0.36) 46%, rgba(5, 9, 14, 0.6) 100%),
    linear-gradient(to right, rgba(5, 9, 14, 0.78) 0%, rgba(5, 9, 14, 0.08) 62%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; }

.hero__title {
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.038em;
  max-width: 16ch;
}
.hero__title span { display: block; overflow: hidden; }
.hero__title span > i { display: block; font-style: normal; }

.hero__lead {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.6;
  color: rgba(244, 248, 251, 0.8);
  max-width: 46ch;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4.5rem, 9vh, 7.5rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 248, 251, 0.5);
}
.hero__scroll i {
  display: block;
  width: 52px; height: 1px;
  background: rgba(244, 248, 251, 0.32);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-hi);
  transform: translateX(-100%);
  animation: sweep 2.9s var(--ease) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Page hero — shorter than the homepage hero, by design */

.phero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 58vh, 42rem);
  padding-block: calc(var(--header-h) + 4rem) clamp(3.5rem, 7vw, 6rem);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.phero__media { position: absolute; inset: 0; z-index: 0; }
.phero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.72) contrast(1.05);
}
.phero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5, 9, 14, 0.9) 2%, rgba(5, 9, 14, 0.34) 60%),
    linear-gradient(to right, rgba(5, 9, 14, 0.72), rgba(5, 9, 14, 0.1) 70%);
}
.phero__inner { position: relative; z-index: 1; width: 100%; }
.phero .lead { color: rgba(244, 248, 251, 0.78); }

.crumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 248, 251, 0.55);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}
.crumb a:hover { color: var(--accent-hi); }
.crumb span { color: rgba(244, 248, 251, 0.3); }

/* --------------------------------------------------- editorial splits -- */

/* Asymmetric two-column intro: text left, deliberate emptiness right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
}
@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .split--offset { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--reverse .split__media { order: -1; }
  .split--top { align-items: start; }
}

.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media--wide img { aspect-ratio: 3 / 2; }

.split__body { min-width: 0; }

/* Full-bleed feature band with the image running to the viewport edge */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
}
.feature__media { position: relative; }

.feature__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

@media (min-width: 68rem) {
  .feature {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    /* The image column runs the full height of the text beside it rather than
       floating in the middle of it. */
    align-items: stretch;
  }
  .feature--reverse .feature__media { order: -1; }
  .feature__media { min-height: 28rem; }
  .feature__media img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
}
.feature__body { padding-block: clamp(0rem, 2vw, 2rem); }

/* Feature headlines sit in a column, so they run a step smaller than the
   full-width section titles — otherwise they shatter into four short lines. */
.feature .title { font-size: clamp(2.15rem, 3.7vw, 3.6rem); }

/* ---------------------------------------------- services index (home) --
   An editorial numbered index, not a grid of identical cards.
   Hovering a row swaps the image held in the right-hand column.
   -------------------------------------------------------------------- */

.sindex { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 64rem) {
  .sindex { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
}

.sindex__list { border-top: 1px solid var(--line-light); }

.sindex__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: clamp(1.6rem, 2.6vw, 2.35rem);
  border-bottom: 1px solid var(--line-light);
  transition: padding-left .55s var(--ease-out);
}
@media (min-width: 64rem) {
  .sindex__row:hover { padding-left: 1.25rem; }
}

.sindex__num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  transition: color .35s var(--ease);
}
.sindex__row:hover .sindex__num,
.sindex__row.is-active .sindex__num { color: var(--accent); }

.sindex__name {
  font-size: clamp(1.5rem, 2.35vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.sindex__desc {
  grid-column: 2;
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-top: 0.6rem;
  max-width: 44ch;
}

.sindex__go {
  align-self: center;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out), color .3s;
}
@media (min-width: 64rem) {
  .sindex__row:hover .sindex__go { opacity: 1; transform: none; color: var(--accent); }
}
@media (max-width: 63.99rem) {
  .sindex__go { opacity: 1; transform: none; }
}

/* Sticky image panel that reacts to the hovered row */
.sindex__viz {
  display: none;
  position: sticky;
  top: calc(var(--header-h) + 3rem);
  aspect-ratio: 4 / 5;
  background: var(--paper-off);
  overflow: hidden;
}
@media (min-width: 64rem) { .sindex__viz { display: block; } }

.sindex__viz img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease-out);
}
.sindex__viz img.is-shown { opacity: 1; transform: none; }

/* Mobile: each service becomes its own image block */
.sindex__thumb {
  display: block;
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 64rem) { .sindex__thumb { display: none; } }

/* ------------------------------------------------------- capability -- */

/* Plain typographic list of what a service covers — no icons, no boxes */
.caps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0 clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.caps li {
  padding-block: 1.05rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.9375rem;
  color: var(--text-soft);
}
.section--ink .caps li,
.section--navy .caps li { border-top-color: var(--line-dark); color: var(--on-dark-soft); }

/* ---------------------------------------------------------- process -- */

/* Horizontal numbered sequence for the acquisition journey */
.steps { counter-reset: step; margin-top: clamp(3rem, 5vw, 4.5rem); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem);
}
.steps__item { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.section--off .steps__item,
body > main .section:not(.section--ink):not(.section--navy) .steps__item {
  border-top-color: var(--line-light);
}
.steps__n {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section--ink .steps__n, .section--navy .steps__n { color: var(--accent-hi); }
.steps__t { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.steps__d { font-size: 0.9375rem; color: var(--text-soft); margin-top: 0.5rem; }
.section--ink .steps__d, .section--navy .steps__d { color: var(--on-dark-soft); }

/* --------------------------------------------------------- worldmap -- */

.netmap {
  position: relative;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}
.netmap__img { width: 100%; height: auto; }

.netmap__hub {
  position: absolute;
  left: 27.7%;
  top: 36.1%;
  transform: translate(1.5rem, -50%);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 48rem) { .netmap__hub { font-size: 0.5625rem; transform: translate(0.75rem, -50%); } }

.regions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0 clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.regions li {
  padding-block: 1.15rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  color: var(--on-dark);
}
.regions li span { display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 0.3rem; }

/* -------------------------------------------------------------- CTA -- */

.cta { text-align: left; }
.cta .title { max-width: 20ch; }

/* ------------------------------------------------------------ forms -- */

.form { margin-top: clamp(3rem, 5vw, 4rem); }

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 46rem) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

.form__legend {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0;
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}
.form__set { border: 0; padding: 0; margin: 0 0 clamp(3rem, 5vw, 4rem); }

.field { display: flex; flex-direction: column; }

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}
.field .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  font-size: 1rem;
  color: var(--text);
  transition: border-color .35s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 7rem; }

.field select {
  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='%2356646F' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 12px;
  padding-right: 2rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder { color: #A6B0BA; }

.field__err {
  font-size: 0.8125rem;
  color: #C0392B;
  margin-top: 0.5rem;
  min-height: 0;
  display: none;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: #C0392B; }
.field.is-invalid .field__err { display: block; }

.form__note { font-size: 0.8125rem; color: var(--text-soft); margin-top: 2rem; max-width: 52ch; }

.form__status {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  border-left: 2px solid var(--accent);
  background: var(--paper-off);
  font-size: 0.9375rem;
  display: none;
}
.form__status.is-shown { display: block; }
.form__status.is-error { border-left-color: #C0392B; }

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

/* ------------------------------------------------------- contact bits -- */

.contactgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 58rem) {
  .contactgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contactgrid dt {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}
.contactgrid dd {
  margin: 0.9rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: -0.015em;
}
.contactgrid a:hover { color: var(--accent); }

/* ----------------------------------------------------------- footer -- */

.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(4.5rem, 8vw, 7rem) 2.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 58rem) {
  .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 4rem; }
}

.footer__logo img { height: 42px; width: auto; }
.footer__addr {
  font-style: normal;
  margin-top: 2rem;
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
  line-height: 1.9;
}
.footer__addr a:hover { color: var(--accent-hi); }

.footer h2 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 1.5rem;
}
.footer__links li { margin-bottom: 0.85rem; }
.footer__links a {
  font-size: 0.9375rem;
  color: var(--on-dark);
  transition: color .3s var(--ease);
}
.footer__links a:hover { color: var(--accent-hi); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  font-size: 0.8125rem;
  color: var(--on-dark-soft);
}

/* --------------------------------------------------------- reveals -- */

[data-reveal] { will-change: transform, opacity; }

.no-js [data-reveal],
.reduced-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------- responsive -- */

@media (max-width: 67rem) {
  :root { --header-h: 72px; }
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .hero__scroll { display: none; }
}

@media (max-width: 46rem) {
  .sindex__row { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .sindex__go { grid-column: 2; align-self: start; margin-top: 0.9rem; }
  .btn { width: 100%; justify-content: space-between; }
  .btn-row { gap: 0.85rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .header, .mnav, .hero__scroll, .btn { display: none !important; }
  body { color: #000; }
}
