/* Farvigo Fly — "Open sky".
   Real Bir-Billing photography leads; light sky ground for phones in sunlight; canopy yellow for actions,
   Dhauladhar forest green as the second colour. One typeface (Archivo), wide for display. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --sky: #eef3f7;
  --white: #ffffff;
  --ink: #0e1a24;
  --ink-2: #4a5a68;
  --line: #d3dde6;
  --canopy: #ffc81e;
  --canopy-2: #f0b400;
  --forest: #1e4a38;
  --forest-ink: #e6f0ea;
  --forest-soft: #a9c6b7;
  --link: #1d5fa8;
  --link-soft: #e7f0fa;
  --red: #c2362b;
  --red-soft: #fcebe9;
  --amber: #9a5200;
  --amber-soft: #fff3dc;
  --green: #1d7a4c;
  --green-soft: #e3f4ea;

  --r: 14px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  accent-color: var(--forest);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #a7b6c3 var(--sky); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; background: var(--sky); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--wide); font-stretch: 100%; font-variant-numeric: tabular-nums; }
::selection { background: var(--canopy); color: var(--ink); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2.5px; }
img { display: block; max-width: 100%; }
svg { display: block; }
input, select, textarea { caret-color: var(--forest); }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--canopy); color: var(--ink); padding: .6rem 1rem; z-index: 50; border-radius: 8px; }
.skip:focus { left: .5rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--wide); font-stretch: 118%; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.ink-pen { color: var(--forest); font-weight: 600; }

/* ---------------------------------------------------------------- header */
.cover-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1280px; margin: 0 auto; padding: 1rem var(--gutter); color: var(--ink); position: relative; z-index: 5; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; }
.wordmark::before { content: ""; width: 1.9rem; height: 1.05rem; border-radius: 1.9rem 1.9rem .2rem .2rem / 1.4rem 1.4rem .2rem .2rem;
  background: var(--canopy); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12); }
.wordmark b { font-weight: 800; font-stretch: 118%; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.wordmark span { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 480px) { .wordmark span { display: none; } }
.cover-nav { display: flex; gap: clamp(.75rem, 2.5vw, 1.75rem); align-items: center; }
.cover-nav a, .cover-nav button { color: inherit; text-decoration: none; font: 600 .98rem/1 var(--wide); }
.cover-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.cover-nav .login { border: 1.5px solid currentColor; border-radius: 999px; padding: .6rem 1.05rem; background: none; cursor: pointer; }
.cover-nav .login:hover { text-decoration: none; background: rgb(0 0 0 / .05); }
@media (max-width: 760px) { .cover-nav .opt { display: none; } }

/* ---------------------------------------------------------------- hero (landing) */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; grid-template-rows: auto 1fr; color: #fff;
  background: #3b4248; overflow: hidden; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero picture img { object-fit: cover; object-position: 62% 40%; animation: drift 24s var(--ease) both; }
@keyframes drift { from { transform: scale(1.06) translateY(1.5%); } to { transform: scale(1) translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero picture img { animation: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(8 14 20 / .72) 0%, rgb(8 14 20 / .45) 42%, rgb(8 14 20 / 0) 70%),
              linear-gradient(0deg, rgb(8 14 20 / .55) 0%, rgb(8 14 20 / 0) 35%); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(0deg, rgb(8 14 20 / .85) 0%, rgb(8 14 20 / .55) 45%, rgb(8 14 20 / .2) 100%); } }
.hero .cover-bar { color: #fff; width: 100%; }
.hero .wordmark span { color: rgb(255 255 255 / .75); }
.hero-inner { align-self: end; max-width: 1280px; width: 100%; margin: 0 auto; padding: 2rem var(--gutter) clamp(2.5rem, 7vh, 5rem); }
.hero h1 { max-width: 13ch; color: #fff; }
.hero .lede { max-width: 34ch; margin-top: 1.25rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgb(255 255 255 / .92); }
.hero .cta-row { margin-top: 2rem; }
.hero .text-btn { color: #fff; }
.place { position: absolute; right: var(--gutter); bottom: 1.25rem; font-size: .8rem; color: rgb(255 255 255 / .8); }
.place a { color: inherit; }
@media (max-width: 760px) { .place { display: none; } }

/* ---------------------------------------------------------------- buttons */
.stamp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.4rem; padding: .9rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 700 1.08rem/1 var(--wide); font-stretch: 108%; color: var(--ink); background: var(--canopy);
  box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 8px 22px -10px rgb(120 80 0 / .55);
  transition: transform .15s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.stamp-btn:hover { background: #ffd34d; transform: translateY(-1px); }
.stamp-btn:active { transform: translateY(1px); box-shadow: 0 2px 8px -4px rgb(120 80 0 / .5); }
.stamp-btn[disabled], .stamp-btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.stamp-btn svg { width: 1.2rem; height: 1.2rem; }
.stamp-btn.pen { background: var(--forest); color: #fff; box-shadow: 0 8px 22px -10px rgb(10 40 25 / .6); }
.stamp-btn.pen:hover { background: #255a44; }
.stamp-btn.red { background: var(--red); color: #fff; box-shadow: none; }
.stamp-btn.red:hover { background: #a92c22; }
.stamp-btn.small { min-height: 2.75rem; font-size: .98rem; padding: .65rem 1.15rem; }
.text-btn { background: none; border: 0; padding: .5rem .2rem; font: 600 1rem/1 var(--wide); color: var(--link); cursor: pointer;
  text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
.text-btn:hover { text-decoration-thickness: 2.5px; }
.text-btn.red { color: var(--red); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; margin-top: 1.6rem; }
.cta-note { color: var(--ink-2); font-size: .95rem; }

/* ---------------------------------------------------------------- landing sections */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(2.25rem, 5.5vw, 4.5rem) var(--gutter); }
main > .section:last-child { padding-bottom: 2.5rem; }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { margin-top: .9rem; color: var(--ink-2); font-size: 1.12rem; }

.points { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; }
.point { border-radius: var(--r); padding: 1.6rem; background: var(--white); min-height: 15rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; }
.point p { color: var(--ink-2); }
.point.photo { position: relative; color: #fff; overflow: hidden; background: #2d3a44; isolation: isolate; }
.point.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.point.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(8 14 20 / .78), rgb(8 14 20 / 0) 70%); }
.point.photo p { color: rgb(255 255 255 / .88); }
.point.forest { background: var(--forest); color: #fff; }
.point.forest p { color: var(--forest-ink); }
.point .big { font-weight: 800; font-stretch: 120%; font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -.03em; margin-bottom: auto; }
.point .badge-tick { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--canopy); display: grid; place-items: center; }
.point .badge-tick svg { width: 1.9rem; height: 1.9rem; color: var(--ink); }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; } .point { min-height: 12rem; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.4rem 1.4rem 0 0; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-stretch: 120%; font-size: 1rem; color: var(--ink-2); margin-bottom: .9rem; }
.steps li:nth-child(4) { border-top-color: var(--canopy-2); }
.steps p { color: var(--ink-2); margin-top: .45rem; max-width: 26ch; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.band { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: #3d4a3f; }
.band picture, .band picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band picture img { object-fit: cover; object-position: 50% 30%; }
.band picture { z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 30 20 / .82), rgb(10 30 20 / .35) 65%, rgb(10 30 20 / .1)); }
.band .section { min-height: 32rem; display: flex; flex-direction: column; justify-content: center; }
.band h2 { color: #fff; max-width: 14ch; }
.band p { margin-top: 1rem; color: rgb(255 255 255 / .9); max-width: 36ch; font-size: 1.12rem; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--forest); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: -.2rem 0 1.2rem; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

.foot { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 2.5rem; color: var(--ink-2); font-size: .88rem; text-align: center; }

/* ---------------------------------------------------------------- app pages: panels and forms */
.page { position: relative; background: var(--white); border-radius: var(--r); padding: clamp(1.25rem, 3.5vw, 2.25rem);
  box-shadow: 0 1px 2px rgb(14 26 36 / .06), 0 12px 32px -18px rgb(14 26 36 / .25); }
.page.plain { box-shadow: none; }
.folio { display: none; }
.app { max-width: 1280px; margin: 0 auto; padding: .5rem var(--gutter) 4rem; }
.app-narrow { max-width: 760px; margin: 0 auto; padding: .5rem var(--gutter) 4rem; }
.stack > * + * { margin-top: 1.25rem; }
.pagehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin: 1rem 0 1.5rem; }
.pagehead h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.pagehead p { margin-top: .6rem; color: var(--ink-2); max-width: 56ch; }
.col-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.entry-title { font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.9rem, 5vw, 2.6rem); margin: .4rem 0 0; }
.entry-sub { color: var(--ink-2); margin-top: .6rem; max-width: 46ch; }
.form-section + .form-section { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.form-section h2 { font-size: 1.4rem; font-stretch: 112%; letter-spacing: -.01em; }
.form-section > p { color: var(--ink-2); margin: .4rem 0 1.25rem; max-width: 56ch; }

.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.25rem 0 0; border: 0; padding: 0; }
.ticks legend { padding: 0; margin-bottom: .7rem; }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }
.tick { position: relative; display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; align-items: start; cursor: pointer;
  padding: 1.05rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.tick:hover { border-color: #9fb3c4; }
.tick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tick .box { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid #9fb3c4; display: grid; place-items: center; margin-top: .05rem; }
.tick .box svg { width: 1rem; height: 1rem; color: var(--ink); opacity: 0; transform: scale(.5); transition: opacity .15s, transform .3s var(--ease); }
.tick b { display: block; font-weight: 700; font-size: 1.08rem; }
.tick small { display: block; color: var(--ink-2); font-size: .95rem; margin-top: .2rem; line-height: 1.4; }
.tick:has(input:checked) { border-color: var(--ink); background: #fffbea; box-shadow: 0 0 0 1px var(--ink) inset; }
.tick:has(input:checked) .box { border-color: var(--ink); background: var(--canopy); }
.tick:has(input:checked) .box svg { opacity: 1; transform: none; }
.tick:has(input:focus-visible) { outline: 3px solid var(--link); outline-offset: 3px; }

.field { display: grid; gap: .4rem; align-content: start; }
.field + .field { margin-top: 1.1rem; }
.field label, .field > .col-label { font-size: .92rem; font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none; }
.field .opt-tag { font-weight: 400; color: var(--ink-2); margin-left: .25rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: 500 1.06rem/1.3 var(--wide); color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c7d3; border-radius: 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { min-height: 6rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8394a3; }
.field input:hover, .field textarea:hover { border-color: #8aa0b2; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(255 200 30 / .55); }
.field .hint { font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.field .err { display: none; font-size: .92rem; font-weight: 600; color: var(--red); }
.field.bad input, .field.bad textarea { border-color: var(--red); background: var(--red-soft); }
.field.bad .err { display: block; }
.phone-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .5rem; }
.phone-row .cc { font-weight: 600; color: var(--ink-2); padding: 0 .1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.grid-2 .field + .field { margin-top: 0; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .7rem; align-items: start; cursor: pointer; font-size: 1rem; }
.field label.check { font-weight: 400; }
.check input { width: 1.35rem; height: 1.35rem; margin: .12rem 0 0; cursor: pointer; }
.check.bad { color: var(--red); }

.alert { padding: .9rem 1.1rem; border-radius: 10px; font-weight: 600; line-height: 1.45; margin-top: 1rem; }
.alert.error { background: var(--red-soft); color: #8b1f17; }
.alert.info { background: var(--link-soft); color: #14467f; }

.pilot-entry { padding: 1.2rem 0 1.3rem; border-top: 1px solid var(--line); }
.pilot-entry .entry-no { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: .8rem; }

/* status badge */
.stamp { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; background: var(--amber-soft); color: var(--amber); }
.stamp::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; flex: none; }
.stamp small { font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.stamp.pending { background: var(--amber-soft); color: var(--amber); }
.stamp.approved { background: var(--green-soft); color: var(--green); }
.stamp.listed { background: var(--forest); color: #fff; }
.stamp.rejected, .stamp.suspended { background: var(--red-soft); color: var(--red); }
.stamp.slam { animation: pop .5s var(--ease) both; }
@keyframes pop { 0% { transform: scale(.85); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .stamp.slam { animation: none; } }
.pill { justify-self: end; align-self: start; font-size: .78rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: var(--amber-soft); color: var(--amber); white-space: nowrap; }
.pill.approved { background: var(--green-soft); color: var(--green); }
.pill.listed { background: var(--forest); color: #fff; }
.pill.rejected, .pill.suspended { background: var(--red-soft); color: var(--red); }
.received .stamp { margin-bottom: 1.1rem; font-size: 1.05rem; }

/* status card in the pilot portal */
.licence { position: relative; border-radius: var(--r); padding: 1.5rem; color: #fff; background: var(--forest); overflow: hidden; isolation: isolate; }
.licence::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; background: url("img/wing-forest-900.webp") center / cover; }
.licence-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.licence-top b { font-weight: 800; font-stretch: 115%; font-size: 1.15rem; line-height: 1.2; }
.licence-top span { font-size: .8rem; color: var(--forest-ink); text-align: right; }
.licence-body { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin: 1.4rem 0; }
.licence-body div { display: grid; gap: .1rem; min-width: 0; }
.licence-body .col-label { color: var(--forest-ink); font-size: .72rem; }
.licence-body i { font-style: normal; font-weight: 600; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.licence-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.licence-foot .col-label { color: var(--forest-ink); font-size: .72rem; }
.licence .stamp { background: #fff; }
.licence .stamp.listed { background: var(--canopy); color: var(--ink); }

.ledger { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ledger th { text-align: left; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  padding: 0 .75rem .7rem 0; border-bottom: 1.5px solid var(--ink); }
.ledger td { padding: .85rem .75rem .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger td.step { font-weight: 700; }
.table-scroll { overflow-x: auto; }
.table-scroll .ledger { min-width: 32rem; }

.doclist { list-style: none; margin: 1rem 0 0; padding: 0; }
.doclist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.doclist svg { width: 1.25rem; height: 1.25rem; color: var(--forest); margin-top: .1rem; }
.doclist span { color: var(--ink-2); }

.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tabs button { font: 600 .95rem/1 var(--wide); padding: .65rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; background: var(--white); color: var(--ink); }
.tabs button:hover { border-color: #9fb3c4; }
.tabs [aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs .count { display: inline-block; min-width: 1.4rem; margin-left: .35rem; padding: .12rem .35rem; border-radius: 999px; background: rgb(0 0 0 / .08); font-size: .8rem; text-align: center; }
.tabs [aria-selected="true"] .count { background: rgb(255 255 255 / .2); }

.rowlist { list-style: none; margin: 0; padding: 0; }
.rowlist > li + li { border-top: 1px solid var(--line); }
.rowlist button.row { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .95rem .75rem; border-radius: 10px; }
.rowlist button.row:hover { background: var(--sky); }
.rowlist button.row:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.rowlist button.row[aria-current="true"] { background: #fffbea; box-shadow: 0 0 0 1.5px var(--ink) inset; }
.rowlist b { font-weight: 700; font-size: 1.05rem; }
.rowlist .meta { grid-column: 1 / -1; color: var(--ink-2); font-size: .92rem; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.sticky { position: sticky; top: 1rem; }
@media (max-width: 960px) { .sticky { position: static; } }
dl.facts { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; margin: 1rem 0 0; }
dl.facts dt, dl.facts dd { padding: .6rem 0; border-bottom: 1px solid var(--line); margin: 0; }
dl.facts dt { color: var(--ink-2); font-size: .92rem; padding-right: 1rem; }
dl.facts dd { font-weight: 600; overflow-wrap: anywhere; }
dl.facts dd.none { color: var(--ink-2); font-weight: 400; font-style: italic; }
.empty { padding: 2rem 0; text-align: center; color: var(--ink-2); }
.empty b { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: .3rem; }
.loading { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-2); font-weight: 600; }
.loading::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--forest); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* app pages: a slim photo strip under the header keeps the place in view */
.strip { height: 9rem; background: #9fb0bd url("img/ridge-wings-1000.webp") 50% 35% / cover; position: relative; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--sky), rgb(238 243 247 / 0) 80%); }
.strip + main { margin-top: -4.5rem; position: relative; }

/* ---------------------------------------------------------------- flyers' page */
.flights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.flight { background: var(--white); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: 15rem auto; }
.flight img { width: 100%; height: 100%; object-fit: cover; }
.flight div { padding: 1.4rem 1.5rem 1.6rem; }
.flight p { color: var(--ink-2); margin-top: .4rem; max-width: 40ch; }
@media (max-width: 760px) { .flights { grid-template-columns: 1fr; } .flight { grid-template-rows: 12rem auto; } }
.request-wrap { padding-top: 0; }
.request { max-width: 860px; margin: 0 auto; }
.request h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.ticks.three { grid-template-columns: repeat(3, 1fr); }
.ticks.three .tick { align-items: center; }
@media (max-width: 620px) { .ticks.three { grid-template-columns: 1fr; } }

/* admin section switch */
.adminnav { display: flex; gap: 1.25rem; align-items: center; }
.adminnav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.adminnav a[aria-current="page"] { border-bottom-color: var(--canopy-2); }
.adminnav a:hover { border-bottom-color: var(--line); }
@media (max-width: 560px) { .adminnav { gap: .8rem; font-size: .92rem; } }
.wa { display: inline-flex; align-items: center; gap: .4rem; }

/* own media */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; display: none; }
@media (max-width: 760px) { .hero-video.on { display: block; } }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.gallery img { width: 100%; height: 22rem; object-fit: cover; border-radius: var(--r); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img { height: 13rem; } .gallery img:first-child { grid-column: 1 / -1; height: 15rem; } }

/* landing hero, split on desktop so the headline never covers the people in the photo */
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7rem; z-index: -1;
  background: linear-gradient(180deg, rgb(8 14 20 / .55), rgb(8 14 20 / 0)); }
@media (min-width: 761px) {
  .hero.split { background: #12261d; }
  .hero.split picture { left: 40%; width: 60%; }
  .hero.split::after { background: linear-gradient(90deg, #12261d 0%, rgb(18 38 29 / .85) 40%, rgb(18 38 29 / 0) 62%); }
  .hero.split h1 { max-width: 11ch; }
}
.hero { grid-template-columns: minmax(0, 1fr); }
.hero > .cover-bar, .hero > .hero-inner { grid-column: 1; }

/* three flights with prices */
.flights.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .flights.three { grid-template-columns: 1fr; } }
.flight .price { display: inline-block; font-weight: 800; font-stretch: 115%; font-size: 1.35rem; background: var(--canopy); color: var(--ink);
  padding: .2rem .6rem; border-radius: 8px; margin-bottom: .7rem; }
.flight .dur { color: var(--ink); font-weight: 600; margin-top: .25rem; }
.ticks.four { grid-template-columns: repeat(4, 1fr); }
.ticks.four .tick { padding: .85rem .9rem; }
.ticks.four .tick small { margin-top: .1rem; }
@media (max-width: 760px) { .ticks.four { grid-template-columns: 1fr 1fr; } }

/* pilot portal: bookings and schedule */
.bookings { list-style: none; margin: 0; padding: 0; }
.bookings > li { border-top: 1px solid var(--line); padding: 1rem 0; }
.bk-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; flex-wrap: wrap; }
.bk-when { font-weight: 800; font-stretch: 112%; font-size: 1.15rem; }
.bk-meta { color: var(--ink-2); font-size: .95rem; margin-top: .2rem; }
.bk-people { margin: .6rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.bk-people li { padding: .15rem 0; }
.bk-actions { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin-top: .8rem; }
.bk-reason { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: .7rem; }
.bk-reason input { flex: 1 1 14rem; min-height: 2.75rem; padding: .5rem .8rem; font: 500 1rem var(--wide); border: 1.5px solid #b9c7d3; border-radius: 10px; }
.day { border-top: 1px solid var(--line); padding: .9rem 0; }
.day-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.day-head b { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.chip { font: 600 .95rem/1 var(--wide); padding: .6rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; }
.chip.open { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.chip.closed { color: var(--ink-2); text-decoration: line-through; }
.chip.booked { background: var(--forest); border-color: var(--forest); color: #fff; cursor: default; }
.chip.cancelled { color: var(--red); background: var(--red-soft); border-color: transparent; cursor: default; }
.chip[disabled] { opacity: .6; }

/* self-booking */
.bk-steps { list-style: none; margin: 0; padding: 0; }
.chip.time { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .2rem; border-radius: 12px; padding: .7rem .9rem; }
.chip.time small { font-weight: 500; color: var(--ink-2); font-size: .8rem; }
.chip.time[aria-pressed="true"] { border-color: var(--ink); background: #fffbea; box-shadow: 0 0 0 1px var(--ink) inset; }
.pax { border-top: 1px solid var(--line); padding: 1rem 0 .4rem; margin-top: 1rem; }
.pax .grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .pax .grid-3 { grid-template-columns: 1fr 1fr; } .pax .grid-3 .field:first-child { grid-column: 1 / -1; } }
