/* ==========================================================================
   SKY PRIME — San Marino (T7)
   Design system

   Palette   Monte Titano limestone + San Marino azure + ramp-at-night ink
   Display   Archivo (expanded widths — aerospace signage)
   Body      Source Serif 4 (Italian editorial warmth)
   Data      IBM Plex Mono (registrations, specs, waypoints)
   Signature Three lifting surfaces / three towers
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  --ink:        #0A141D;
  --ink-2:      #14222E;
  --ink-3:      #1E2F3D;
  --haze:       #EEF1F4;
  --haze-2:     #E1E7EC;
  --paper:      #F7F9FA;
  --azure:      #1D6EA8;
  --azure-dp:   #14527D;
  --azure-lt:   #7CBBE3;
  --titanium:   #74838F;
  --titanium-lt:#9BA8B3;
  --beacon:     #C0392B;
  --line:       rgba(10, 20, 29, .14);
  --line-dk:    rgba(255, 255, 255, .16);

  --ff-display: "Archivo Variable", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-body:    "Source Serif 4 Variable", "Source Serif 4", Georgia, serif;
  --ff-data:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(.76rem, .74rem + .1vw, .82rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --step-5:  clamp(3.2rem, 2rem + 5.6vw, 7.5rem);

  --gut: clamp(1.25rem, 4vw, 4.5rem);
  --wrap: 1280px;
  --band-y: clamp(4.5rem, 9vw, 9rem);
  --r: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--haze);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: var(--r);
}
.band--dark :focus-visible, .hero :focus-visible { outline-color: var(--azure-lt); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
  font-family: var(--ff-data); font-size: var(--step--1);
}
.skip:focus { left: 0; }

/* ---- 3. Type primitives ------------------------------------------------- */
.display {
  font-family: var(--ff-display);
  font-weight: 700;
  font-stretch: 118%;
  line-height: .96;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.h-xl  { font-size: var(--step-5); }
.h-lg  { font-size: var(--step-4); }
.h-md  { font-size: var(--step-3); }
.h-sm  { font-size: var(--step-2); }
.h-xs  { font-size: var(--step-1); font-stretch: 108%; letter-spacing: -.008em; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 34ch;
}
.prose { max-width: 62ch; }
.prose p + p { margin-top: 0; }

.data {
  font-family: var(--ff-data);
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.muted { color: var(--titanium); }
.band--dark .muted, .hero .muted { color: var(--titanium-lt); }

.note {
  font-family: var(--ff-data);
  font-size: .72rem;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--titanium);
  text-transform: none;
}

/* ---- 4. Signature: the three-surface tick ------------------------------- */
/* forward wing (short) · main wing (long) · tailplane (medium)              */
.tick {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 26px;
  flex: none;
  margin-inline-end: .75rem;
  translate: 0 -1px;
}
.tick i {
  display: block; height: 2px; background: var(--azure);
  transform-origin: left center;
}
.tick i:nth-child(1) { width: 34%; }
.tick i:nth-child(2) { width: 100%; }
.tick i:nth-child(3) { width: 58%; }
.band--dark .tick i, .hero .tick i { background: var(--azure-lt); }

.eyebrow {
  display: flex; align-items: center;
  font-family: var(--ff-data);
  font-size: var(--step--1);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--azure-dp);
  margin-bottom: 1.4rem;
}
.band--dark .eyebrow, .hero .eyebrow { color: var(--azure-lt); }

/* ---- 5. Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: var(--band-y); position: relative; }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.band--dark  { background: var(--ink); color: var(--haze); }
.band--ink2  { background: var(--ink-2); color: var(--haze); }
.band--paper { background: var(--paper); }
.band--azure { background: var(--azure-dp); color: #fff; }
.band--dark .display, .band--ink2 .display, .band--azure .display { color: #fff; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.band--dark .rule, .band--ink2 .rule { background: var(--line-dk); }

.cols { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.cols-2 { grid-template-columns: 1fr; }
.cols-3 { grid-template-columns: 1fr; }
.cols-4 { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }

@media (min-width: 760px) {
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
  .split  { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--flip > :first-child { order: 2; }
}

.head { max-width: 30ch; }
.head-row { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .head-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---- 6. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--ff-display); font-weight: 600; font-stretch: 108%;
  font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 1rem 1.6rem; border: 1px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--azure); border-color: var(--azure); transform: translateY(-2px); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--azure); border-color: var(--azure); }

.band--dark .btn--ghost, .hero .btn--ghost, .band--ink2 .btn--ghost, .band--azure .btn--ghost {
  color: #fff; border-color: rgba(255,255,255,.4);
}
.band--dark .btn--ghost:hover, .hero .btn--ghost:hover,
.band--ink2 .btn--ghost:hover, .band--azure .btn--ghost:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}
.hero .btn, .band--dark .btn:not(.btn--ghost), .band--ink2 .btn:not(.btn--ghost) {
  background: #fff; color: var(--ink); border-color: #fff;
}
.hero .btn:not(.btn--ghost):hover,
.band--dark .btn:not(.btn--ghost):hover,
.band--ink2 .btn:not(.btn--ghost):hover { background: var(--azure-lt); border-color: var(--azure-lt); }

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

.link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-display); font-weight: 600; font-size: .88rem;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  padding-bottom: .35rem; border-bottom: 1px solid currentColor;
  color: var(--azure-dp);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link:hover { gap: .95rem; color: var(--ink); }
.band--dark .link, .band--ink2 .link, .band--azure .link { color: var(--azure-lt); }
.band--dark .link:hover, .band--ink2 .link:hover, .band--azure .link:hover { color: #fff; }

/* ---- 7. Masthead -------------------------------------------------------- */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: 1.1rem;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.masthead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,20,29,.75), rgba(10,20,29,0));
  opacity: 1; transition: opacity .4s var(--ease);
}
.masthead.is-stuck { background: rgba(10,20,29,.94); backdrop-filter: blur(14px); padding-block: .7rem; box-shadow: 0 1px 0 var(--line-dk); }
.masthead.is-stuck::after { opacity: 0; }

.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.brand svg { width: 27px; height: 27px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display); font-weight: 700; font-stretch: 122%;
  font-size: 1.06rem; letter-spacing: .155em; text-transform: uppercase; white-space: nowrap;
}
.brand-sub {
  font-family: var(--ff-data); font-size: .585rem; letter-spacing: .225em;
  text-transform: uppercase; color: var(--azure-lt); margin-top: .34rem; white-space: nowrap;
}

.nav { display: none; align-items: center; gap: 1.25rem; }
.nav a {
  font-family: var(--ff-display); font-weight: 500; font-size: .78rem;
  letter-spacing: .08em; white-space: nowrap; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.82); position: relative; padding-block: .4rem;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--azure-lt); transition: width .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.masthead-cta { display: none; align-items: center; gap: 1.1rem; }
.tel {
  font-family: var(--ff-data); font-size: .74rem; letter-spacing: .04em; white-space: nowrap;
  color: #fff; text-decoration: none; display: flex; align-items: center; gap: .5rem;
}
.tel .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--beacon);
  box-shadow: 0 0 0 0 rgba(192,57,43,.7); animation: beacon 2.4s infinite;
}
@keyframes beacon {
  0%   { box-shadow: 0 0 0 0 rgba(192,57,43,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(192,57,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}
.masthead .btn { padding: .7rem 1.1rem; font-size: .74rem; white-space: nowrap; }

.burger {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 5px;
  background: none; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1250px) {
  .nav, .masthead-cta { display: flex; }
  .burger { display: none; }
}

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); padding: 6.5rem var(--gut) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer a { color: #fff; text-decoration: none; }
.drawer-nav li + li { border-top: 1px solid var(--line-dk); }
.drawer-nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem 0;
  font-family: var(--ff-display); font-weight: 600; font-stretch: 112%;
  font-size: clamp(1.5rem, 6vw, 2.1rem); letter-spacing: -.01em;
}
.drawer-nav a span { font-family: var(--ff-data); font-size: .68rem; color: var(--azure-lt); letter-spacing: .16em; }
.drawer-foot { padding-top: 2rem; border-top: 1px solid var(--line-dk); margin-top: 2rem; }

/* ---- 8. Hero ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--ink); overflow: hidden;
  padding-block: 8rem clamp(2.2rem, 5vw, 4rem);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 54% 44%;
  filter: saturate(1.1) contrast(1.07);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,29,.7) 0%, rgba(10,20,29,.14) 32%, rgba(10,20,29,.8) 78%, rgba(10,20,29,.96) 100%),
    linear-gradient(90deg, rgba(10,20,29,.66) 0%, rgba(10,20,29,.04) 58%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 17ch; margin-bottom: 1.7rem; }
.hero h1 em { font-style: normal; color: var(--azure-lt); }
.hero-lede { max-width: 50ch; color: rgba(255,255,255,.9); font-size: var(--step-1); line-height: 1.5; margin-bottom: 2.2rem; }

.hero-foot {
  margin-top: clamp(3rem, 7vw, 5.5rem); padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; align-items: baseline;
}
.hero-foot dl { display: flex; flex-direction: column; gap: .3rem; margin: 0; }
.hero-foot dt { font-family: var(--ff-data); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--azure-lt); }
.hero-foot dd {
  margin: 0; font-family: var(--ff-display); font-weight: 700; font-stretch: 120%;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem); letter-spacing: -.01em;
}
.hero-foot dd small { font-size: .5em; font-weight: 500; letter-spacing: .08em; margin-left: .3em; color: rgba(255,255,255,.6); }

.scroll-cue {
  position: absolute; right: var(--gut); bottom: clamp(2rem, 5vw, 4rem); z-index: 3;
  display: none; writing-mode: vertical-rl; font-family: var(--ff-data);
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.55); align-items: center; gap: 1rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (min-width: 1080px) { .scroll-cue { display: flex; } }

/* page hero (inner pages) */
.phero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: clamp(9rem, 16vw, 13rem) 0 clamp(3.5rem, 7vw, 6rem);
  display: flex; align-items: flex-end; min-height: 62svh;
}
.phero-media { position: absolute; inset: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,29,.8), rgba(10,20,29,.35) 45%, rgba(10,20,29,.92));
}
.phero .wrap { position: relative; z-index: 2; width: 100%; }
.phero h1 { max-width: 17ch; }
.phero .lede { color: rgba(255,255,255,.85); max-width: 52ch; margin-top: 1.4rem; }

.crumbs { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.6rem; font-family: var(--ff-data); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---- 9. Credentials strip ---------------------------------------------- */
.strip { background: var(--ink-2); color: var(--haze); padding-block: 2.2rem; }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.2rem; }
@media (min-width: 900px) { .strip-grid { grid-template-columns: repeat(5, 1fr); } }
.strip-item { display: flex; flex-direction: column; gap: .45rem; padding-left: 1rem; border-left: 1px solid var(--line-dk); }
.strip-item b { font-family: var(--ff-display); font-weight: 700; font-stretch: 116%; font-size: 1rem; letter-spacing: .01em; }
.strip-item span { font-family: var(--ff-data); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--titanium-lt); }

/* ---- 10. Cards ---------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
a.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(10,20,29,.5); border-color: var(--azure); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card-img img { transform: scale(1.045); }
.card-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body h3 { font-family: var(--ff-display); font-weight: 700; font-stretch: 112%; font-size: var(--step-1); line-height: 1.12; letter-spacing: -.01em; }
.card-body p { font-size: .95rem; color: #2C3E4C; }
.card-foot { margin-top: auto; padding-top: .9rem; font-family: var(--ff-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--azure-dp); display: flex; align-items: center; gap: .5rem; }
a.card:hover .card-foot { gap: .9rem; }
.card-foot, a.card:hover .card-foot { transition: gap .3s var(--ease); }

.band--dark .card { background: var(--ink-2); border-color: var(--line-dk); color: var(--haze); }
.band--dark .card-body p { color: var(--titanium-lt); }
.band--dark .card-foot { color: var(--azure-lt); }

/* index list (services, capabilities) */
.rows { border-top: 1px solid var(--line); }
.band--dark .rows, .band--dark .row { border-color: var(--line-dk); }
.row {
  display: grid; gap: .8rem 2rem; padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line); align-items: start;
  transition: padding-left .4s var(--ease);
}
@media (min-width: 860px) { .row { grid-template-columns: 5.5rem minmax(0, 6fr) minmax(0, 6fr); } }
a.row { text-decoration: none; color: inherit; }
a.row:hover { padding-left: .9rem; }
.row-mark { font-family: var(--ff-data); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--azure-dp); padding-top: .55rem; }
.band--dark .row-mark { color: var(--azure-lt); }
.row h3 { font-family: var(--ff-display); font-weight: 700; font-stretch: 112%; font-size: var(--step-2); line-height: 1.06; letter-spacing: -.015em; }
.row p { color: #33475A; }
.band--dark .row p { color: var(--titanium-lt); }

/* ---- 11. Spec table ----------------------------------------------------- */
.specs { width: 100%; border-collapse: collapse; font-family: var(--ff-data); font-size: .82rem; }
.specs caption {
  text-align: left; font-family: var(--ff-data); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--azure-dp); padding-bottom: 1rem;
}
.band--dark .specs caption { color: var(--azure-lt); }
.specs th, .specs td { text-align: left; padding: .78rem .6rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.band--dark .specs th, .band--dark .specs td { border-color: var(--line-dk); }
.specs th { font-weight: 500; letter-spacing: .06em; color: var(--titanium); width: 52%; text-transform: uppercase; font-size: .68rem; }
.band--dark .specs th { color: var(--titanium-lt); }
.specs td { font-weight: 500; }
.specs td em { font-style: normal; color: var(--titanium); font-size: .74rem; margin-left: .45rem; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th:first-child { padding-left: 0; }
.specs td:last-child { padding-right: 0; text-align: right; }

.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 860px) { .spec-cards { grid-template-columns: repeat(4, 1fr); } }
.band--dark .spec-cards, .band--ink2 .spec-cards { background: var(--line-dk); border-color: var(--line-dk); }
.spec-cell { background: var(--haze); padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.band--dark .spec-cell { background: var(--ink); }
.band--ink2 .spec-cell { background: var(--ink-2); }
.spec-cell b { font-family: var(--ff-display); font-weight: 700; font-stretch: 122%; font-size: clamp(1.6rem, 3.4vw, 2.35rem); line-height: 1; letter-spacing: -.02em; }
.spec-cell b small { font-size: .42em; letter-spacing: .06em; margin-left: .25em; color: var(--titanium); }
.band--dark .spec-cell b small { color: var(--titanium-lt); }
.spec-cell span { font-family: var(--ff-data); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--titanium); }
.band--dark .spec-cell span { color: var(--titanium-lt); }

/* ---- 12. Signature: interactive planform -------------------------------- */
.planform-wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .planform-wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

.planform { width: 100%; height: auto; overflow: visible; }
.pf-body   { fill: #273B4B; }
.pf-detail { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.1; }
.pf-surface {
  fill: #33506380; stroke: rgba(124,187,227,.35); stroke-width: 1.2; cursor: pointer;
  transition: fill .4s var(--ease), stroke .4s var(--ease);
}
.pf-surface:hover, .pf-surface.is-on { fill: var(--azure); stroke: var(--azure-lt); }
.pf-lead { fill: none; stroke: rgba(124,187,227,.45); stroke-width: 1; stroke-dasharray: 3 4; }
.pf-tag {
  font-family: var(--ff-data); font-size: 11px; letter-spacing: .16em;
  fill: rgba(255,255,255,.55); text-transform: uppercase;
  transition: fill .4s var(--ease);
}
.pf-tag.is-on { fill: var(--azure-lt); }
.pf-scale { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1; }
.pf-scale-tx { font-family: var(--ff-data); font-size: 10px; letter-spacing: .14em; fill: rgba(255,255,255,.45); }

.pf-keys { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-dk); }
.pf-key {
  width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--line-dk); padding: 1.15rem 0; cursor: pointer;
  display: grid; gap: .45rem; transition: padding-left .35s var(--ease);
}
.pf-key:hover, .pf-key.is-on { padding-left: .8rem; }
.pf-key h4 {
  font-family: var(--ff-display); font-weight: 700; font-stretch: 112%;
  font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.1;
  color: rgba(255,255,255,.55); transition: color .35s var(--ease);
}
.pf-key.is-on h4, .pf-key:hover h4 { color: #fff; }
.pf-key p { font-size: .93rem; color: var(--titanium-lt); max-width: 46ch; }
.pf-key .k-no { font-family: var(--ff-data); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azure-lt); }

/* ---- 13. Reach / flight times ------------------------------------------ */
.reach { display: grid; gap: .1rem; }
.reach-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.2rem;
  align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line-dk);
  position: relative;
}
.reach-row .r-city { font-family: var(--ff-display); font-weight: 600; font-stretch: 110%; font-size: 1.02rem; letter-spacing: .005em; z-index: 2; }
.reach-row .r-city small { font-family: var(--ff-data); font-size: .64rem; letter-spacing: .14em; color: var(--titanium-lt); margin-left: .6rem; }
.reach-row .r-time { font-family: var(--ff-data); font-size: .88rem; letter-spacing: .08em; color: var(--azure-lt); z-index: 2; }
.reach-bar {
  grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.1); position: relative; margin-top: .15rem;
}
.reach-bar i {
  position: absolute; inset: 0 auto 0 0; background: var(--azure-lt); width: var(--w, 0%);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease);
}
.is-in .reach-bar i { transform: scaleX(1); }

/* ---- 14. Figure / media blocks ----------------------------------------- */
.fig { margin: 0; position: relative; }
.fig img { width: 100%; border-radius: var(--r); }
.fig figcaption {
  margin-top: .9rem; font-family: var(--ff-data); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--titanium);
  display: flex; gap: .7rem; align-items: baseline;
}
.band--dark .fig figcaption { color: var(--titanium-lt); }
.fig figcaption b { color: var(--azure-dp); font-weight: 500; }
.band--dark .fig figcaption b { color: var(--azure-lt); }

.fig--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.fig--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.fig--sq img   { aspect-ratio: 1 / 1; object-fit: cover; }

.bleed {
  position: relative; min-height: 68svh; display: flex; align-items: flex-end;
  background: var(--ink); color: #fff; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem);
}
.bleed-media { position: absolute; inset: 0; }
.bleed-media img { width: 100%; height: 100%; object-fit: cover; }
.bleed-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,29,.5), rgba(10,20,29,.15) 40%, rgba(10,20,29,.9)); }
.bleed .wrap { position: relative; z-index: 2; width: 100%; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(12, 1fr); } .g-6 { grid-column: span 6; } .g-4 { grid-column: span 4; } .g-8 { grid-column: span 8; } .g-12 { grid-column: span 12; } }

/* ---- 15. Quote form ----------------------------------------------------- */
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--ff-data); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--titanium-lt); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r); padding: .9rem 1rem; width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azure-lt); background: rgba(255,255,255,.09); outline: none; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%); background-position: right 1.1rem center, right .8rem center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); color: #fff; }
.form-2 { display: grid; gap: 1.4rem; }
@media (min-width: 620px) { .form-2 { grid-template-columns: repeat(2, 1fr); } }
.form-msg { font-family: var(--ff-data); font-size: .74rem; letter-spacing: .06em; padding: .9rem 1rem; border-radius: var(--r); border: 1px solid var(--azure-lt); color: var(--azure-lt); }
.form-msg[hidden] { display: none; }

/* light-band variant */
.band--paper .field input, .band--paper .field select, .band--paper .field textarea {
  color: var(--ink); background: #fff; border-color: var(--line);
}
.band--paper .field label { color: var(--titanium); }

/* ---- 16. Contact / footer ---------------------------------------------- */
.foot { background: var(--ink); color: var(--haze); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.foot-grid { display: grid; gap: 2.6rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); } }
.foot h4 { font-family: var(--ff-data); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--azure-lt); margin-bottom: 1.1rem; font-weight: 500; }
.foot-links li { margin-bottom: .6rem; }
.foot-links a { font-size: .93rem; text-decoration: none; color: rgba(255,255,255,.72); transition: color .3s var(--ease); }
.foot-links a:hover { color: #fff; }
.foot address { font-style: normal; font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.75; }
.foot-bar {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dk);
  display: flex; flex-wrap: wrap; gap: .9rem 2rem; justify-content: space-between; align-items: center;
}
.foot-bar p { font-family: var(--ff-data); font-size: .66rem; letter-spacing: .1em; color: var(--titanium-lt); text-transform: uppercase; }
.foot-legal { max-width: 78ch; margin-top: 1.4rem; }

.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.badge {
  font-family: var(--ff-data); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-dk); border-radius: var(--r); padding: .5rem .75rem; color: var(--titanium-lt);
}

/* ---- 17. Misc ----------------------------------------------------------- */
.pull {
  font-family: var(--ff-display); font-weight: 600; font-stretch: 108%;
  font-size: var(--step-2); line-height: 1.18; letter-spacing: -.015em;
  max-width: 24ch; text-wrap: balance;
}
.kv { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .kv { grid-template-columns: repeat(2, 1fr); } }
.kv div { display: grid; gap: .4rem; }
.kv dt { font-family: var(--ff-data); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--titanium); }
.band--dark .kv dt { color: var(--titanium-lt); }
.kv dd { margin: 0; font-size: 1rem; }

.checks li {
  display: grid; grid-template-columns: 1.5rem 1fr; gap: .5rem; align-items: start;
  padding: .55rem 0; font-size: .97rem;
}
.checks li::before {
  content: ""; width: 9px; height: 9px; margin-top: .55rem; border-radius: 50%;
  border: 1.5px solid var(--azure); background: transparent;
}
.band--dark .checks li::before { border-color: var(--azure-lt); }

.stack > * + * { margin-top: 1.2rem; }
.stack-lg > * + * { margin-top: 2.2rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---- 18. Reveal on scroll ---------------------------------------------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; } .rv-d2 { transition-delay: .18s; }
.rv-d3 { transition-delay: .27s; } .rv-d4 { transition-delay: .36s; }

/* hero entrance */
.hero .rv { transform: translateY(30px); }
body.is-ready .hero .rv { opacity: 1; transform: none; }
.hero .rv { transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .reach-bar i { transform: scaleX(1); }
}
