/* ==========================================================================
   Flicks Salon — design system
   Warm black, champagne gold, editorial serif. Shared by every page.
   ========================================================================== */

:root {
  /* Surfaces, warmest at the back */
  --ground: #0B0907;
  --ground-2: #100D0A;
  --surface: #17130F;
  --surface-2: #1E1813;
  --line: #2C241C;
  --line-soft: #221B15;

  /* Champagne gold */
  --gold: #C8A24C;
  --gold-bright: #E8CE86;
  --gold-deep: #96742F;
  --gold-wash: rgba(200, 162, 76, 0.09);
  --gold-grad: linear-gradient(103deg, #96742F 0%, #E8CE86 38%, #C8A24C 62%, #F2E0AE 100%);

  --ink: #F0EAE0;
  --ink-soft: #C9BFB0;
  --muted: #978B7A;
  --muted-dim: #6F6558;

  --danger: #E08A6F;
  --success: #8FBF8A;

  --display: 'Cormorant Garamond', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif;
  --body: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--2: clamp(0.68rem, 0.66rem + 0.1vw, 0.74rem);
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  --step-0: clamp(0.97rem, 0.94rem + 0.18vw, 1.06rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2.15rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);

  --measure: 60ch;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --shell: 70rem;

  --ring: 0 0 0 1px var(--line);
  --lift: 0 18px 48px -24px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* The browser's own [hidden] rule loses to any class that sets `display`
   (.btn, .steps, .bar …), so the attribute silently stops working. Restore it
   once, here, rather than remembering it at every call site. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--ground); }

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

.narrow { max-width: 52rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── typographic primitives ─────────────────────────────────────────────── */

.eyebrow {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.script {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: var(--measure);
  color: var(--ink-soft);
  text-wrap: pretty;
  font-weight: 300;
}

.rule {
  width: 5rem;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem 0;
}

.rule--center { margin-inline: auto; }

/* Small gold diamond used to punctuate section headings. */
.pip {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  vertical-align: middle;
  margin-inline: 0.6rem;
}

/* ── buttons ────────────────────────────────────────────────────────────── */

.btn {
  --btn-fg: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* A gold curtain that wipes up on hover, rather than a flat colour swap. */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn > * { position: relative; z-index: 1; }

.btn:hover,
.btn:focus-visible { color: var(--ground); border-color: var(--gold-bright); }
.btn:hover::after,
.btn:focus-visible::after { transform: translateY(0); }

.btn--solid {
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--ground);
  font-weight: 500;
}
.btn--solid::after { background: var(--ink); }
.btn--solid:hover,
.btn--solid:focus-visible { color: var(--ground); }
.btn--solid:hover::after { transform: translateY(101%); }

.btn--ghost { --btn-fg: var(--ink-soft); border-color: var(--line); }
.btn--ghost:hover { color: var(--ground); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--step--2); letter-spacing: 0.12em; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] {
  opacity: 0.4;
  pointer-events: none;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── header ─────────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 9, 7, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(11, 9, 7, 0.94);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img { width: 2.4rem; height: 2.4rem; object-fit: contain; }

.brand__name {
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.brand__sub {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.28rem;
}

.nav { display: none; gap: 1.9rem; }

@media (min-width: 62rem) { .nav { display: flex; } }

.nav a {
  position: relative;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.topbar .btn { display: none; }
@media (min-width: 40rem) { .topbar .btn { display: inline-flex; } }

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(200, 162, 76, 0.13), transparent 60%),
    var(--ground);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 8vw, 5rem);
}

@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 5vw, 5rem); }
}

/* The intrinsic width/height attributes stop layout shift, so every sized
   image needs height:auto to keep its proportions. */
.hero__mark { width: clamp(4rem, 10vw, 5.5rem); height: auto; margin-bottom: 1.5rem; }

.hero h1 {
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 300;
}

.hero__sub {
  font-size: var(--step--1);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.4rem 0 0;
}

.hero .lede { margin: 1.5rem 0 0; font-size: var(--step-1); line-height: 1.55; }

.hero .actions { margin-top: 2.25rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.4rem;
  margin-top: 2.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.08em;
}

.hero__meta b { color: var(--gold); font-weight: 500; }

.stars { color: var(--gold); letter-spacing: 0.15em; }

/* The styling floor — bottom-right frame of the interiors sheet. See .crop. */
.hero__shot {
  --cw: 204.5%;
  --cx: 103.7%;
  --cy: 104.5%;
  aspect-ratio: 708 / 527;
  box-shadow: var(--lift);
}

.hero__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 9, 7, 0.55) 100%);
  pointer-events: none;
}

/* Frame that offsets a gold hairline behind the photo. */
.framed { position: relative; }

.framed::before {
  content: '';
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold);
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 60rem) {
  .framed::before { inset: 0.7rem -0.7rem -0.7rem 0.7rem; }
}

/* Reusable exact-region image crop. Set --cw/--cx/--cy and an aspect-ratio. */
.crop {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.crop > img {
  position: absolute;
  top: calc(var(--cy, 0%) * -1);
  left: calc(var(--cx, 0%) * -1);
  width: var(--cw, 100%);
  max-width: none;
  height: auto;
}

/* ── trust strip ────────────────────────────────────────────────────────── */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--ground-2);
  padding-block: 1.1rem;
  overflow: hidden;
}

.strip__track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  width: max-content;
  animation: drift 38s linear infinite;
}

.strip__track span { display: inline-flex; align-items: center; gap: 2.6rem; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.strip:hover .strip__track { animation-play-state: paused; }

/* ── sections ───────────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(3.5rem, 9vw, 6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section--alt { background: var(--ground-2); }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--center .rule { margin-inline: auto; }

.section-title {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.03em;
  margin: 0.7rem 0 0;
  text-wrap: balance;
}

/* ── service menu ───────────────────────────────────────────────────────── */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.filter {
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.filter:hover { color: var(--ink); border-color: var(--gold-deep); }

.filter[aria-pressed='true'] {
  background: var(--gold-wash);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.menu-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 48rem) { .menu-grid { grid-template-columns: 1fr 1fr; } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3.5vw, 2.1rem);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, var(--gold-wash), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover { border-color: var(--gold-deep); }
.card:hover::before { opacity: 1; }

.card > * { position: relative; }

.card-title {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin: 0 0 0.2rem;
}

.card-note {
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 1.5rem;
}

.group + .group { margin-top: 1.8rem; }

.group-title {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.item { display: flex; align-items: baseline; gap: 0.5rem; }
.item-name { flex: 0 1 auto; color: var(--ink-soft); }
.item-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-0.25em);
}
.item-price {
  flex: 0 0 auto;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.item-price small {
  color: var(--muted-dim);
  font-size: 0.72em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dual-head,
.dual { display: grid; grid-template-columns: 1fr 4.5rem 4.5rem; gap: 0.5rem; }

.dual-head {
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.dual-head span:not(:first-child),
.dual span:not(:first-child) { text-align: right; }

.dual span:first-child { color: var(--ink-soft); }
.dual span:not(:first-child) { color: var(--gold); font-variant-numeric: tabular-nums; }

.menu-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* ── why us ─────────────────────────────────────────────────────────────── */

.why-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: 1fr;
}

@media (min-width: 34rem) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 54rem) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why {
  background: var(--surface);
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  transition: background-color 0.35s var(--ease);
}

.why:hover { background: var(--surface-2); }

.why svg { width: 1.9rem; height: 1.9rem; color: var(--gold); margin-bottom: 1rem; }

.why h3 {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.why p { margin: 0; color: var(--muted); font-size: var(--step--1); line-height: 1.65; }

/* ── refer banner ───────────────────────────────────────────────────────── */

.refer {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--gold-deep);
  background: linear-gradient(135deg, rgba(200, 162, 76, 0.1), transparent 60%);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
}

.refer strong {
  display: block;
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.refer p { margin: 0.5rem auto 0; max-width: 40ch; color: var(--muted); font-size: var(--step--1); }

/* ── gallery ────────────────────────────────────────────────────────────── */

.gallery {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery figure { margin: 0; position: relative; background: var(--surface); }
/* Matches the crop rectangle of one frame in the interiors sheet. */
.gallery .crop { aspect-ratio: 708 / 527; }
.gallery img { transition: transform 0.7s var(--ease), filter 0.7s var(--ease); filter: saturate(0.8); }
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1); }

/* The photos are bright in places, so the caption needs a scrim deep enough
   to stay legible over a lit mirror as well as a dark panel. */
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(6, 5, 4, 0.55) 45%, rgba(6, 5, 4, 0.95));
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ── faq ────────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 46rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.1rem 1.4rem;
  transition: border-color 0.35s var(--ease);
}

.faq-list details:hover { border-color: var(--gold-deep); }
.faq-list details[open] { border-color: var(--gold); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: var(--step-1);
  color: var(--ink);
  letter-spacing: 0.02em;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  font-family: var(--body);
  font-size: 1.3em;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list summary:hover { color: var(--gold-bright); }

.faq-list details p {
  margin: 0.9rem 0 0.1rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
  line-height: 1.65;
}

/* ── visit ──────────────────────────────────────────────────────────────── */

.visit-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 50rem) { .visit-grid { grid-template-columns: 1fr 1fr; } }

.panel-title {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin: 0 0 1.4rem;
}

.hours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.hours li { display: flex; align-items: baseline; gap: 0.5rem; }
.hours .day { flex: 0 0 auto; color: var(--ink-soft); }
.hours .fill { flex: 1 1 auto; border-bottom: 1px dotted var(--line); transform: translateY(-0.25em); }
.hours .time { flex: 0 0 auto; font-variant-numeric: tabular-nums; color: var(--gold); }
.hours .closed { color: var(--muted-dim); }

.hours li.is-today .day { color: var(--gold-bright); }
.hours li.is-today .day::after {
  content: 'Today';
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ground);
  background: var(--gold);
  padding: 0.1rem 0.4rem;
  margin-left: 0.6rem;
  vertical-align: 0.1em;
}

.contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.contact a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.25s var(--ease); }
.contact a:hover { border-bottom-color: var(--gold); }

.contact .label {
  display: block;
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 0.25rem;
}

/* ── closing call to action ─────────────────────────────────────────────── */

.cta {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(200, 162, 76, 0.14), transparent 70%),
    var(--ground);
  border-bottom: 1px solid var(--line);
}

.cta h2 {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1.1;
  margin: 0.8rem 0 0;
  text-wrap: balance;
}

.cta .actions { justify-content: center; margin-top: 2rem; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.site-foot {
  padding-block: clamp(2.5rem, 6vw, 3.5rem) clamp(5rem, 8vw, 3.5rem);
  color: var(--muted-dim);
  font-size: var(--step--1);
  background: var(--ground-2);
}

.foot-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.foot-grid h4 {
  font-size: var(--step--2);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.foot-links a { color: var(--muted); text-decoration: none; transition: color 0.25s var(--ease); }
.foot-links a:hover { color: var(--gold); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
}

.foot-bottom p { margin: 0; }

/* ── floating + sticky actions ──────────────────────────────────────────── */

.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(4.75rem, 8vw, 1.75rem);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s var(--ease);
}

.fab:hover { transform: scale(1.08); }
.fab svg { width: 1.6rem; height: 1.6rem; }

@media (min-width: 46rem) { .fab { bottom: clamp(1.5rem, 3vw, 2rem); } }

.bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.bar a {
  background: var(--surface);
  color: var(--gold);
  text-decoration: none;
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bar a.is-primary { background: var(--gold); color: var(--ground); font-weight: 500; }

@media (min-width: 46rem) { .bar { display: none; } }

/* ── motion ─────────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

/* Stagger children of a revealed group. */
.reveal[data-delay='1'] { transition-delay: 0.09s; }
.reveal[data-delay='2'] { transition-delay: 0.18s; }
.reveal[data-delay='3'] { transition-delay: 0.27s; }
.reveal[data-delay='4'] { transition-delay: 0.36s; }

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

/* Nothing on the page should be lost if scripting is unavailable. */
.no-js .reveal { opacity: 1; transform: none; }
