/* ==========================================================================
   Allurement Healthcare — design system
   Warm paper ground, graphite ink, one deep-teal accent. The 45° angle of
   the brand mark is the recurring geometry: rules, hovers, and the hero.
   ========================================================================== */

:root {
  /* Ground */
  --paper:        #f2efe9;
  --paper-raised: #fbf9f5;
  --paper-deep:   #e9e5db;
  --paper-white:  #ffffff;

  /* Lines */
  --edge:         #e2dcd1;
  --edge-strong:  #cec6b8;

  /* Ink — sampled from the brushed metal of the mark */
  --graphite:      #23272c;
  --graphite-soft: #3b424a;
  --steel:         #666e77;
  --muted:         #8b9199;

  /* Accent */
  --accent:       #235c5f;
  --accent-hover: #16454a;
  --accent-wash:  rgba(35, 92, 95, 0.09);

  /* Status */
  --ok:      #2e6b4f;
  --ok-wash: rgba(46, 107, 79, 0.1);
  --warn:      #8a6524;
  --warn-wash: rgba(138, 101, 36, 0.12);
  --stop:      #8c3a32;
  --stop-wash: rgba(140, 58, 50, 0.1);

  /* Type */
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Depth */
  --lift-1: 0 1px 2px rgba(35, 39, 44, 0.04), 0 2px 8px rgba(35, 39, 44, 0.05);
  --lift-2: 0 2px 4px rgba(35, 39, 44, 0.05), 0 12px 28px rgba(35, 39, 44, 0.08);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --measure: 1140px;
}

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

/* A class with a `display` value outranks the UA rule for [hidden], so any
   element given `display` in this file would stay visible when hidden. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* The paper itself: two soft light pools plus a fine grain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 12% -5%, rgba(255, 253, 248, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 95% 105%, rgba(222, 216, 204, 0.55) 0%, transparent 50%),
    var(--paper);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent); color: var(--paper-raised); }

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

/* ——— Typography ——————————————————————————————————————————— */

.kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kicker--quiet { color: var(--muted); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--graphite);
  text-wrap: balance;
}

.h-display { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.04; }
.h-1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h-2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.h-3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--steel);
  font-weight: 300;
  max-width: 46ch;
  text-wrap: pretty;
}
/* Headings carry no bottom margin, so give the paragraph that follows one
   rather than repeating an inline style at every call site. */
h1 + .lede, h2 + .lede, h3 + .lede,
h1 + .prose, h2 + .prose, h3 + .prose { margin-top: 1.1rem; }
.prose + .prose, .lede + .lede { margin-top: 1rem; }

.prose { color: var(--steel); font-weight: 300; max-width: 62ch; }
.prose p + p { margin-top: 1rem; }

.center { text-align: center; }
.center .lede, .center .measure { margin-left: auto; margin-right: auto; }
.measure { max-width: 52ch; }

/* ——— Layout ——————————————————————————————————————————————— */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.25rem, 6.5vw, 5.25rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section--sunk {
  background: linear-gradient(180deg, transparent, rgba(228, 223, 212, 0.75) 14%, rgba(228, 223, 212, 0.75) 86%, transparent);
}
.section-head { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }

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

/* A hairline that carries the mark's 45° geometry. */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--edge-strong), var(--edge) 40%, transparent);
}

/* ——— Buttons ————————————————————————————————————————————— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.72rem 1.5rem;
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease-soft), color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn--primary { background: var(--graphite); color: var(--paper); box-shadow: var(--lift-1); }
.btn--primary:hover { background: var(--accent); }

.btn--ghost {
  background: var(--paper-raised);
  color: var(--graphite);
  border-color: var(--edge-strong);
  box-shadow: var(--lift-1);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--quiet { padding-inline: 0; min-height: 0; color: var(--accent); font-weight: 500; }
.btn--quiet::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.btn--quiet:hover { transform: none; }
.btn--quiet:hover::after { transform: translateX(4px); }

.btn--block { width: 100%; }

/* ——— Navigation —————————————————————————————————————————— */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 239, 233, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--edge); background: rgba(242, 239, 233, 0.94); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
/* The supplied mark is 1106x1200; height drives it so it is never squashed.
   It stops reading below about 36px, so the nav sits at 40. */
.brand__mark { height: 40px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  color: var(--graphite);
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 450;
  color: var(--steel);
  border-radius: 2px;
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--graphite); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--graphite); }

.nav__cta { margin-left: 0.6rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--edge-strong);
  border-radius: 2px;
  background: var(--paper-raised);
}
.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--graphite);
  position: relative;
  transition: background 0.2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--graphite);
  transition: transform 0.3s var(--ease);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ——— Emergency band ——————————————————————————————————————— */

.alert-band {
  background: var(--graphite);
  color: rgba(242, 239, 233, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.alert-band .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 38px;
  text-align: center;
  flex-wrap: wrap;
}
.alert-band strong { color: var(--paper-raised); font-weight: 600; }

/* ——— Hero ————————————————————————————————————————————————— */

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(4rem, 9vw, 7rem);
  max-width: 40rem;
}
.hero__title { margin-bottom: 1.4rem; }
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--edge);
}
.hero__stat { min-width: 8rem; }
.hero__stat dt {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--graphite);
  line-height: 1;
}
.hero__stat dd {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.45rem;
}

/* Layered depth planes behind the hero. Each drifts at its own rate. */
.hero__planes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.plane { position: absolute; inset: -10%; will-change: transform; }
.plane--far {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(214, 208, 196, 0.6) 0%, transparent 62%),
    radial-gradient(ellipse 45% 40% at 20% 80%, rgba(222, 217, 206, 0.5) 0%, transparent 58%);
}
.plane--mid { background: radial-gradient(ellipse 40% 34% at 70% 46%, rgba(35, 92, 95, 0.07) 0%, transparent 60%); }

/* Brushed-metal sheets, echoing the mark's angled bars. */
.sheet {
  position: absolute;
  background: linear-gradient(135deg, var(--paper-raised), var(--paper-deep));
  border: 1px solid var(--edge);
  box-shadow: var(--lift-1);
  border-radius: 2px;
}
/* vmax alone resolves against the *height* on a tall phone, which blows the
   sheets up to fill the hero. Capping against vw keeps them scenery. */
.sheet--a { width: min(26vmax, 44vw); height: min(34vmax, 58vw); top: -6%;   right: 4%;  transform: rotate(-8deg); opacity: 0.75; }
.sheet--b { width: min(18vmax, 30vw); height: min(24vmax, 40vw); bottom: -8%; right: 24%; transform: rotate(6deg);  opacity: 0.55; }
.sheet--c { width: min(11vmax, 18vw); height: min(11vmax, 18vw); top: 44%;    right: 40%; transform: rotate(-3deg); opacity: 0.4; }

.hero__mark {
  position: absolute;
  z-index: 1;
  right: -6vmax;
  top: 50%;
  translate: 0 -50%;
  width: min(46vmax, 620px);
  opacity: 0.14;
  pointer-events: none;
  will-change: transform;
}

/* ——— Full-bleed photograph band ——————————————————————— */

.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}
.band img {
  width: 100%;
  height: clamp(16rem, 42vw, 30rem);
  object-fit: cover;
  object-position: 50% 55%;
}
.band--framed {
  border-block: 1px solid var(--edge);
}
.band__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem var(--gutter) 1.5rem;
  background: linear-gradient(to top, rgba(35, 39, 44, 0.55), transparent);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.band__caption span {
  display: block;
  max-width: var(--measure);
  margin: 0 auto;
}

/* ——— Cards ———————————————————————————————————————————————— */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--edge);
  border-radius: 3px;
  padding: 1.7rem 1.6rem;
  box-shadow: var(--lift-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift-2);
  border-color: var(--edge-strong);
}
/* The 45° corner tick, drawn from the mark's angle. */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(225deg, var(--accent) 50%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::after { opacity: 0.55; }

.card__eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.card__title { font-family: var(--display); font-size: 1.3rem; margin-bottom: 0.55rem; }
.card__body { font-size: 0.94rem; color: var(--steel); font-weight: 300; flex: 1; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--edge);
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.card__foot { margin-top: 1.1rem; }

/* ——— Clinicians ——————————————————————————————————————————— */

.person { text-align: left; }
.person__portrait {
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  border: 1px solid var(--edge);
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(160deg, var(--paper-raised), var(--paper-deep));
  display: grid;
  place-items: center;
  box-shadow: var(--lift-1);
  margin-bottom: 1.1rem;
  overflow: hidden;
  position: relative;
}
.person__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 13px,
    rgba(35, 39, 44, 0.028) 13px 15px
  );
}
.person__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Faces sit high in the frame; bias the crop upward so a tight card keeps them. */
  object-position: 50% 22%;
}

.person__initials {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  color: var(--graphite);
  opacity: 0.32;
  letter-spacing: 0.02em;
}
.person__name { font-family: var(--display); font-size: 1.18rem; }
.person__role {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.35rem 0 0.7rem;
}
.person__bio { font-size: 0.9rem; color: var(--steel); font-weight: 300; }

/* Wide clinician card: portrait beside the biography, stacking when the
   text column would otherwise be squeezed into a ribbon. */
.person-card {
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
}
.person-card__portrait {
  width: 8.5rem;
  flex: none;
  margin-bottom: 0;
}
.person-card__body { flex: 1; min-width: 0; }

@media (max-width: 560px) {
  .person-card { flex-direction: column; gap: 1.1rem; }
  .person-card__portrait { width: 100%; max-width: 11rem; }
}

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--edge-strong);
  border-radius: 2px;
  color: var(--steel);
  background: var(--paper);
}

/* ——— Steps ———————————————————————————————————————————————— */

.steps { counter-reset: step; }
.step { padding-top: 1.5rem; border-top: 1px solid var(--edge); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.92rem; color: var(--steel); font-weight: 300; }

/* ——— Quotes ——————————————————————————————————————————————— */

.quote {
  background: var(--paper-raised);
  border: 1px solid var(--edge);
  border-left: 2px solid var(--accent);
  border-radius: 3px;
  padding: 1.75rem;
  box-shadow: var(--lift-1);
}
.quote p {
  font-family: var(--display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--graphite-soft);
  margin-bottom: 1rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— FAQ ——————————————————————————————————————————————————— */

.faq { max-width: 46rem; }
.faq__item { border-bottom: 1px solid var(--edge); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1.02rem;
  font-weight: 450;
  color: var(--graphite);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
  color: var(--accent);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-soft);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  font-size: 0.95rem;
  color: var(--steel);
  font-weight: 300;
  padding-bottom: 1.35rem;
  max-width: 60ch;
}

/* ——— Forms ————————————————————————————————————————————————— */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: block; }
.field > label, .label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.45rem;
}
.field .hint { font-size: 0.78rem; color: var(--muted); font-weight: 300; margin-top: 0.35rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], select, textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--graphite);
  background: var(--paper-white);
  border: 1px solid var(--edge-strong);
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(35, 39, 44, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
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='%23666e77' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 11px;
  padding-right: 2.4rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--stop);
}
::placeholder { color: #a8adb4; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--steel);
  font-weight: 300;
  cursor: pointer;
}
.checkbox input { width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; accent-color: var(--accent); flex: none; }

/* Spam trap — off-screen, never focusable by a real visitor. */
.trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__status {
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  border: 1px solid;
  display: none;
}
.form__status.is-error { display: block; color: var(--stop); background: var(--stop-wash); border-color: rgba(140, 58, 50, 0.3); }
.form__status.is-ok    { display: block; color: var(--ok);   background: var(--ok-wash);   border-color: rgba(46, 107, 79, 0.3); }

/* ——— Booking ——————————————————————————————————————————————— */

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }

.panel {
  background: var(--paper-raised);
  border: 1px solid var(--edge);
  border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--lift-1);
}
.panel + .panel { margin-top: 1.25rem; }
.panel__title {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.panel__note { font-size: 0.88rem; color: var(--muted); font-weight: 300; margin-bottom: 1.5rem; }

.step-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.step-mark::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.daybar {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.day {
  flex: none;
  scroll-snap-align: start;
  min-width: 4.6rem;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--edge-strong);
  border-radius: 2px;
  background: var(--paper-white);
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.day__dow { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.day__num { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; margin-top: 0.15rem; }
.day__free { font-size: 0.66rem; color: var(--muted); margin-top: 0.2rem; }
.day:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); }
.day.is-active { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.day.is-active .day__dow, .day.is-active .day__free { color: rgba(242, 239, 233, 0.7); }
.day:disabled { opacity: 0.4; cursor: not-allowed; }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr));
  gap: 0.55rem;
}
.slot {
  padding: 0.62rem 0.4rem;
  border: 1px solid var(--edge-strong);
  border-radius: 2px;
  background: var(--paper-white);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.slot:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.slot.is-active { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--edge);
  font-size: 0.9rem;
}
.summary-row:last-of-type { border-bottom: 0; }
.summary-row dt { color: var(--muted); font-weight: 400; }
.summary-row dd { color: var(--graphite); text-align: right; font-weight: 450; }

.receipt { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.receipt__ref {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0.75rem 0 1.5rem;
}

.empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  border: 1px dashed var(--edge-strong);
  border-radius: 3px;
}

/* ——— Facts / contact ——————————————————————————————————————— */

.facts { display: grid; gap: 1.5rem; }
.fact__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.fact__value { font-size: 1rem; color: var(--graphite); }
.fact__value a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--edge); }
.hours-table td:last-child { text-align: right; color: var(--steel); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today td { color: var(--accent); font-weight: 500; }

/* ——— Footer ———————————————————————————————————————————————— */

.footer {
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, transparent, rgba(233, 229, 219, 0.6));
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__head {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 1rem;
}
.footer__list { list-style: none; display: grid; gap: 0.55rem; }
.footer__list a, .footer__list span { font-size: 0.9rem; color: var(--steel); font-weight: 300; }
.footer__list a:hover { color: var(--accent); }
.footer__blurb { font-size: 0.9rem; color: var(--steel); font-weight: 300; max-width: 30ch; margin-top: 1rem; }
.footer__base {
  border-top: 1px solid var(--edge);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}
.footer__disclosure {
  margin-top: 1.25rem;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  max-width: 78ch;
}

/* ——— Motion ———————————————————————————————————————————————— */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--graphite);
  color: var(--paper);
  border-radius: 2px;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* ——— Responsive ———————————————————————————————————————————— */

@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .booking { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--edge);
    box-shadow: var(--lift-2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 0.85rem 0; font-size: 1rem; border-bottom: 1px solid var(--edge); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__mark { opacity: 0.07; right: -22vmax; }
  .sheet--c { display: none; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.25rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .alert-band, .hero__planes, .hero__mark { display: none !important; }
  body { background: #fff; }
  body::before, body::after { display: none; }
}
