/*
 * Wedding Daniel & Nathalie — preview styles.
 *
 * Mobile-first: base rules target a 360px phone, and min-width queries add
 * space and scale for larger screens. Most guests will open this on a phone,
 * so the phone layout is the real design, not a fallback.
 */

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

:root {
  --cream:       #faf8f2;
  --warm-white:  #fffdf7;
  --sage:        #7c9e7e;
  --sage-light:  #d4e4d4;
  --sage-dark:   #4f7a55;
  --gold:        #b8924a;
  --gold-dark:   #9a7538;
  --gold-light:  #e8d5a8;
  --gold-pale:   #f5eeda;
  --blush:       #e8c8c0;
  --lavender:    #c8c4dc;
  --charcoal:    #2e2b24;
  --muted:       #7a7060;
  --border:      #ddd4b8;

  --header-h: 3.5rem;
  --page-x: 1.25rem;          /* horizontal page padding on phones */
  --tap: 2.75rem;             /* 44px minimum tap target */
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Jost', sans-serif; font-weight: 300;
  background: var(--cream); color: var(--charcoal);
  font-size: 1rem; line-height: 1.8;
  overflow-x: hidden;
  min-height: 100svh;
}

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

a { color: var(--sage-dark); }
a:hover { color: var(--gold); }

/* Anchor targets clear the fixed header. */
section[id], div[id].anchor { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(250,248,242,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--page-x); gap: 0.5rem;
}
.brand {
  font-family: 'Cormorant Garamond', serif; font-size: 1.05rem;
  color: var(--charcoal); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: var(--tap);
}
.brand em { font-style: italic; color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 0.4rem; }

.lang-btn {
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--warm-white); border: 1px solid var(--gold-light);
  color: var(--muted); border-radius: 20px; cursor: pointer;
  height: var(--tap); min-width: var(--tap);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 0.7rem; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-btn.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.menu-btn {
  font-family: 'Jost', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: none; border: 1px solid var(--gold-light); color: var(--muted);
  border-radius: 20px; cursor: pointer;
  height: var(--tap); padding: 0 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.menu-btn:hover { border-color: var(--gold); color: var(--charcoal); }

/* Slide-down menu — rows are full-width and comfortably tappable. */
.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: var(--warm-white); border-bottom: 1px solid var(--gold-light);
  box-shadow: 0 12px 30px rgba(46,43,36,0.10);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  display: none;
}
.site-nav.open { display: block; }
.site-nav a {
  display: flex; align-items: center; min-height: 3rem;
  padding: 0 var(--page-x);
  font-size: 0.95rem; letter-spacing: 0.08em;
  color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--gold-pale);
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a:hover, .site-nav a:focus-visible { background: var(--gold-pale); color: var(--gold-dark); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;               /* avoids the mobile toolbar jump */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2.5rem) var(--page-x) 3.5rem;
  background: var(--warm-white); position: relative; overflow: hidden;
}
/* Soft floral tint. The only floral element on the page — the couple's reference
   arrived on 10 August but no proposal built from it is on the page yet. */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 35% at 8% 90%, rgba(124,158,126,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 92% 10%, rgba(184,146,74,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 85% 80%, rgba(200,196,220,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 15% 20%, rgba(232,200,192,0.12) 0%, transparent 70%);
}
.hero > * { position: relative; }

.hero-ornament {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem; line-height: 1.6;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(3.2rem, 8vw, 7rem); line-height: 1.02;
  color: var(--charcoal);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-place {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-top: 1.25rem;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.25rem; color: var(--muted); max-width: 30rem; line-height: 1.55;
}
.hero-cta { margin-top: 2rem; }

/* ── HERO WITH THE PHOTO AS BACKGROUND ── */
/* The photo is 4:3 landscape and the couple stand in the middle of the frame; a
   phone hero is roughly 1:2, so `cover` crops away most of the width and the centred
   type lands partly over them. The couple chose this layout knowing that. */
.hero--photo { background: var(--charcoal); }
.hero--photo::before { content: none; }   /* the floral tint belongs to the cream hero */
.hero--photo > .hero-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero--photo > .hero-scrim { position: absolute; inset: 0; pointer-events: none; }
.hero-scrim--full { background: rgba(46,43,36,0.58); }
.hero--photo h1 { color: var(--cream); text-shadow: 0 2px 20px rgba(46,43,36,0.5); }
.hero--photo h1 em { color: var(--gold-light); }
.hero--photo .hero-ornament { color: var(--gold-light); }
.hero--photo .hero-place { color: var(--cream); text-shadow: 0 1px 10px rgba(46,43,36,0.6); }
.hero--photo .hero-tagline { color: var(--cream); text-shadow: 0 1px 12px rgba(46,43,36,0.55); }
.hero--photo .divider {
  background: linear-gradient(to right,
    rgba(232,213,168,0.65) 0 38%, transparent 38% 62%, rgba(232,213,168,0.65) 62% 100%);
}
.hero--photo .divider::before { background: transparent; text-shadow: 0 1px 6px rgba(46,43,36,0.7); }

.divider { width: 50px; height: 1px; background: var(--gold-light); margin: 1.5rem auto; position: relative; }
.divider::before {
  content: '✦'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-size: 0.55rem; color: var(--gold); background: var(--warm-white);
  padding: 0 0.3rem; line-height: 1;
}

/* ── SECTIONS ── */
section {
  max-width: 50rem; margin: 0 auto;
  padding: 3.5rem var(--page-x);
}
section + section { border-top: 1px solid var(--gold-pale); }
/* A content page that opens with a plain section rather than a hero: clear the fixed
   header, which the hero does with its own padding. */
.page { padding-top: var(--header-h); }

.section-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
/* The sub-pages' one h1 looks exactly like a section h2: the start page's hero
   title is the only display-size heading. */
h2, h1.page-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--charcoal);
  margin-bottom: 1.5rem; line-height: 1.15;
}
h2 em, h1.page-title em { font-style: italic; color: var(--sage); }
p { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.welcome-lead {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.3rem; color: var(--charcoal); line-height: 1.5; margin-bottom: 1.5rem;
}

/* ── CALL TO ACTION ── */
.osa-box {
  background: var(--gold-pale); border: 1px solid var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.1rem; margin: 1.5rem 0; border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
}
.osa-box strong { color: var(--charcoal); font-weight: 500; }

.osa-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); width: 100%; max-width: 22rem;
  background: var(--gold); color: #fff;
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 0.75rem 1.5rem;
  border-radius: 30px; border: none; cursor: pointer;
  transition: background 0.2s;
}
.osa-btn:hover { background: var(--gold-dark); color: #fff; }

.link-btn {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.5rem 0; font-size: 0.95rem;
}

/* ── TIMELINE ── */
.timeline { margin: 1.5rem 0; }
.timeline-item { margin-bottom: 1.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-time {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  color: var(--gold); line-height: 1.2;
}
.timeline-content h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.1rem; color: var(--charcoal); margin: 0.15rem 0 0.35rem;
}
.timeline-content p { font-size: 0.95rem; margin-bottom: 0; }

.villa-illustration img { border-radius: 4px; }
.villa-caption {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.9rem; color: var(--muted); text-align: center; margin-top: 0.5rem;
}

/* ── CARDS ── */
/* Sub-heading between two card groups. Serif like every other heading — it was
   previously an inline-styled bold sans paragraph and read as an unstyled default. */
.subsection-heading {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.3rem; color: var(--charcoal); margin: 2rem 0 0.75rem;
}
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.25rem 0; }
.info-card {
  background: var(--warm-white); border: 1px solid var(--gold-light);
  border-radius: 8px; padding: 1.15rem;
}
.info-card-label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.info-card h3, .info-card h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  color: var(--charcoal); margin-bottom: 0.5rem;
}
.info-card h3 a { display: inline-flex; align-items: center; min-height: var(--tap); }
.info-card p { font-size: 0.92rem; }
.info-card.featured { border: 2px solid var(--gold); position: relative; padding-top: 1.9rem; }
.info-card .featured-tag {
  position: absolute; top: -1px; left: 1.1rem;
  background: var(--gold); color: #fff;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 0 0 6px 6px;
}

/* ── PRACTICAL LIST ── */
.practical-row {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--gold-pale);
}
.practical-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.practical-key {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.practical-val { font-size: 0.95rem; color: var(--muted); }

.gift-block {
  background: var(--gold-pale); border: 1px solid var(--gold-light);
  border-radius: 8px; padding: 1.15rem 1.25rem; margin-top: 1.25rem;
  font-size: 0.95rem; color: var(--muted); line-height: 1.8;
  overflow-wrap: anywhere;
}
.gift-block strong { color: var(--charcoal); font-weight: 500; }

.memory-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); margin-top: 1rem;
  background: var(--sage-light); color: var(--sage-dark); border: 1px solid var(--sage);
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.7rem 1.4rem; border-radius: 30px; text-decoration: none; text-align: center;
}
.memory-link:hover { background: var(--sage); color: #fff; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--gold-pale);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--tap); padding: 0.9rem 0;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  color: var(--charcoal); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--gold); font-family: 'Jost', sans-serif;
  font-size: 1.2rem; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding-bottom: 1.1rem; font-size: 0.95rem; }

/* ── CLOSING & FOOTER ── */
.closing {
  text-align: center; padding: 3.5rem var(--page-x) 2.5rem;
  background: var(--warm-white); border-top: 1px solid var(--gold-pale);
}
.closing h2 { margin-bottom: 0.75rem; }
.closing p { max-width: 32rem; margin-left: auto; margin-right: auto; }
.closing-art { width: min(18rem, 70vw); margin: 0 auto 2rem; }
.closing-art img { border-radius: 4px; }
/* The photograph is landscape where the illustration is portrait, so it needs the
   full column width to carry the same visual weight. */
.closing-art--photo { width: min(30rem, 100%); }
.closing-art--photo img { border-radius: 8px; box-shadow: 0 12px 40px rgba(46,43,36,0.13); }
/* Each person's name, email and phone must read as one group. The tap targets are
   44px tall, so the gap *between* people has to clear that to group by proximity. */
.contact-list {
  margin-top: 1.5rem; display: flex; flex-direction: column; gap: 2.25rem;
  align-items: center; font-size: 0.92rem; color: var(--muted);
}
/* Standalone links get a full tap target; links inside running text keep the
   text flow, which WCAG 2.5.8 explicitly allows. */
.contact-list a {
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 0.4rem;
}
.contact-list span { display: flex; flex-direction: column; }

footer {
  /* Holds the footer at the bottom of short pages - the thank-you page left up to
     488px of bare cream below it. Sticky rather than a flex body: sections centre
     with auto side margins, and auto cross-axis margins cancel flex stretch, which
     collapsed the short #osa-cta section from 800px to 354px. */
  position: sticky; top: 100svh;
  background: var(--charcoal); color: rgba(255,255,255,0.45);
  text-align: center; padding: 1.75rem var(--page-x);
  font-size: 0.8rem; letter-spacing: 0.08em; line-height: 1.8;
}
footer a {
  color: rgba(255,255,255,0.6);
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0.5rem;
}

/* ── KEYBOARD FOCUS ── */
/* Every focusable element gets a visible ring from the palette's darkest gold;
   on the dark photo hero it switches to cream so it stays visible. */
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.hero--photo :focus-visible { outline-color: var(--cream); }
/* Hidden until a keyboard user tabs to it, then pinned above the fixed header. */
.skip-link {
  position: absolute; left: var(--page-x); top: -100px; z-index: 200;
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 1rem;
  background: var(--charcoal); color: var(--cream); border-radius: 0 0 6px 6px;
  font-size: 0.9rem; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── FORMS (OSA page) ── */
.form-page { max-width: 34rem; margin: 0 auto; padding: calc(var(--header-h) + 2.5rem) var(--page-x) 3.5rem; }
.form-intro { margin-bottom: 1.75rem; }
/* A boxed message in place of the form — the closed RSVP. */
.notice {
  background: var(--sage-light); border: 1px solid var(--sage); color: var(--sage-dark);
  border-radius: 6px; padding: 0.8rem 1rem; margin-bottom: 1.75rem;
  font-size: 0.85rem; line-height: 1.6;
}
.form-group { margin-bottom: 1.25rem; }
.form-group > label, .field-label {
  display: block; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
/* Marks a required field. Sits outside the .t span because the language switch
   replaces that element's innerHTML. */
.req { margin-left: 0.15em; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 1rem;                 /* 16px — anything smaller makes iOS zoom in */
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.7rem 0.9rem; min-height: var(--tap);
  color: var(--charcoal); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
/* The border swap alone is too faint to find (about 1.5:1), so keyboard focus
   also gets the site-wide ring below. */
.form-group input:focus-visible, .form-group textarea:focus-visible {
  outline: 2px solid var(--gold-dark); outline-offset: 1px;
}
/* A radio group is a fieldset for screen readers; visually it stays the plain
   labelled block it was. */
.form-group fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-group legend { padding: 0; width: 100%; }
.radio-group label:has(input:focus-visible) { outline: 2px solid var(--gold-dark); outline-offset: 1px; }
/* The ring goes round the whole option; one round the dot as well would double it. */
.radio-group input[type="radio"]:focus-visible { outline: none; }
/* No resize grip — it is a desktop affordance that reads as an accidental mark
   on a phone, and the field grows enough on its own. */
.form-group textarea { min-height: 6rem; resize: none; line-height: 1.6; }
.radio-group { display: flex; flex-direction: column; gap: 0.5rem; }
.radio-group label {
  display: flex; align-items: center; gap: 0.7rem;
  min-height: var(--tap); padding: 0.4rem 0.7rem;
  background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.95rem; color: var(--muted); cursor: pointer;
}
.radio-group input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--gold); flex-shrink: 0; }
.radio-group label:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); color: var(--charcoal); }
.form-error {
  display: none; color: #9c3d29; background: #fdf2ee; border: 1px solid #e8c4b8;
  border-radius: 6px; padding: 0.7rem 0.9rem; margin-bottom: 1rem; font-size: 0.9rem;
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; text-align: center; }
/* Sits above the submit button, so the guest learns what is required before
   reaching it rather than after. */
.form-note--required { text-align: left; margin: 0 0 1rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ── LARGER SCREENS ── */
@media (min-width: 44em) {
  :root { --page-x: 2rem; --header-h: 4rem; }

  /* The hamburger is the only menu, collapsed at every width — the couple tried it
     on their phones and kept it. The panel is constrained here so it does not span
     the full width of a desktop window. */
  .site-nav { left: auto; right: var(--page-x); width: min(20rem, 100%); border-radius: 0 0 8px 8px; }

  section { padding: 5rem var(--page-x); }
  .hero { padding: calc(var(--header-h) + 4rem) var(--page-x) 5rem; }
  .hero-ornament { font-size: 0.85rem; }
  .hero-tagline { font-size: 1.35rem; }

  .timeline-item {
    display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem;
    align-items: start; margin-bottom: 2rem;
  }
  .timeline-time { text-align: right; font-size: 1.35rem; }
  .timeline-content { border-left: 1px solid var(--gold-light); padding-left: 1.5rem; }
  .timeline-content h3 { margin-top: 0; }

  .practical-row { flex-direction: row; gap: 1rem; }
  .practical-key { min-width: 7rem; flex-shrink: 0; padding-top: 0.15rem; }

  .info-grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  /* One row per person, as a shared three-column grid so both people's name, email and
     phone start at the same x. The spans step aside (display: contents) and their
     children become the grid items. Baseline alignment is what lines the bare name up
     with the link text: the links are 44px tap targets with their text centred, so
     the default alignment left the name ~10px higher. The row gap is v6's again — on
     one line each, the tap targets already keep the two people apart. */
  .contact-list {
    display: grid; grid-template-columns: repeat(3, auto);
    justify-content: center; justify-items: start; align-items: baseline;
    gap: 0.5rem 1rem;
  }
  .contact-list span { display: contents; }

  /* From here down: the couple's v6 values restored exactly. The mobile rules
     above only enlarge type and tap targets where a phone needs it. */
  .hero-ornament { letter-spacing: 0.35em; margin-bottom: 2rem; line-height: 1.8; }
  .hero-tagline { line-height: 1.6; }
  .hero-place { font-size: 0.78rem; letter-spacing: 0.28em; margin-top: 1.5rem; }
  .divider { margin: 1.8rem auto; }
  .section-label { font-size: 0.68rem; letter-spacing: 0.28em; margin-bottom: 0.9rem; }
  .welcome-lead { font-size: 1.45rem; line-height: 1.55; margin-bottom: 2rem; }
  .osa-box { padding: 1.2rem 1.5rem; margin: 2rem 0; font-size: 1rem; }
  .osa-btn {
    width: auto; font-size: 0.76rem; letter-spacing: 0.18em;
    padding: 0.85rem 2.2rem;
  }
  .info-card { padding: 1.4rem; }
  .info-card-label { font-size: 0.63rem; letter-spacing: 0.2em; }
  .practical-key { font-size: 0.68rem; letter-spacing: 0.15em; }
  .memory-link { font-size: 0.78rem; letter-spacing: 0.14em; padding: 0.7rem 1.6rem; }
  .gift-block { padding: 1.5rem 1.75rem; line-height: 1.9; }
  .closing { padding: 5rem var(--page-x) 3rem; }
  footer { padding: 2rem; font-size: 0.73rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.38); }
}


/* F3 — a phone held sideways. --header-h keys off width, so an 812px-wide, 375px-tall
   screen was handed the 4rem desktop header: 17% of the display. A full-height hero on
   top of that puts the button permanently below the fold, so the hero becomes as tall
   as its content instead of forcing a viewport-sized composition. */
@media (max-height: 30em) {
  :root { --header-h: 3.5rem; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 1.5rem) var(--page-x) 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
