  /* ============================================================
     DESIGN TOKENS
     ============================================================ */
  :root {
    /* Palette â€” drawn from the save-the-date: parchment, pine, coral, sand */
    --bg:        #FAF8F3; /* warm parchment white */
    --ink:       #1B211D; /* deep forest-black, headings */
    --muted:     #8A857C; /* soft stone, secondary text */
    --accent:    #2D5C52; /* deep forest pine â€” primary accent */
    --accent-2:  #C2694C; /* warm coral (her shorts) â€” sparing second accent */
    --sand:      #EFE9DD; /* warm tan, subtle panels */
    --forest:    #233A33; /* deep pine, for the reversed colour block */
    --hairline:  #E5DFD5; /* fine 1px dividers, warmed */

    /* Type */
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

    /* Rhythm */
    --maxw:        1040px;
    --maxw-narrow: 640px;
    --section-pad: 120px;     /* minimum vertical breathing room */
    --nav-h:       58px;

    /* Letterspacing for the small uppercase Inter labels */
    --track: 0.22em;
  }

  /* ============================================================
     RESET / BASE
     ============================================================ */
  *, *::before, *::after { box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;   /* stop iOS bumping font sizes in landscape */
    text-size-adjust: 100%;
    overflow-x: clip;                 /* belt-and-braces against any h-scroll */
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;  /* no grey flash on tap */
  }

  /* account for the fixed nav when jumping to an anchor */
  section[id] { scroll-margin-top: var(--nav-h); }

  a { color: inherit; text-decoration: none; transition: opacity .25s ease; }
  a:hover { opacity: 0.6; }

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

  /* Long Bulgarian compound words must never force horizontal scroll */
  h1, h2, h3, p, a, span, figcaption { overflow-wrap: break-word; }
  h2.display, h3.sub { text-wrap: balance; }
  p.lead { text-wrap: pretty; }

  /* ============================================================
     UTILITIES
     ============================================================ */
  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 32px;
  }
  .narrow { max-width: var(--maxw-narrow); }

  /* Small spaced uppercase label â€” used everywhere for UI/eyebrows */
  .label {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--muted);
  }

  /* Section eyebrow */
  .eyebrow {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 28px;
  }

  /* Serif display headings */
  h2.display {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 32px;
  }
  h3.sub {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.15;
    margin: 0 0 14px;
  }

  p { margin: 0 0 1.2em; }
  p.lead {
    font-size: 19px;
    line-height: 1.85;
    color: #34322f;
  }

  .hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }

  /* Minimalist mountain/pine motif â€” a hairline broken by a small peak glyph,
     echoing the dashes around "Save the Date" on the card. */
  .motif {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--accent);
  }
  .motif::before, .motif::after {
    content: "";
    height: 1px;
    width: 46px;
    background: currentColor;
    opacity: 0.45;
  }
  .motif svg { display: block; }

  /* Outline pill button */
  .btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 16px 38px;
    transition: opacity .25s ease;
  }
  .btn:hover { opacity: 0.6; }
  .btn.accent { color: var(--accent); border-color: var(--accent); }

  /* Inline venue link \u2014 subtle accent underline, signals clickability
     without changing the text colour. Inherits the global opacity-0.6 hover. */
  a.maplink {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }

  /* ============================================================
     NAVIGATION â€” ultra-thin fixed bar, no blur, no shadow
     ============================================================ */
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    z-index: 100;
  }
  .nav__inner {
    height: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  /* left: brand wordmark (also "back to top") */
  .nav__brand {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--ink);
  }
  .nav__brand .amp {
    font-style: italic;
    color: var(--accent-2);
    margin: 0 0.12em;
  }
  /* right cluster: primary links + divider + language toggle */
  .nav__cluster {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .nav__links {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .nav__links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .nav__divider {
    width: 1px;
    height: 16px;
    background: var(--hairline);
    flex: none;
  }
  .lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .lang button, .lang a {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    color: var(--muted);
    transition: opacity .25s ease, color .25s ease;
  }
  .lang button:hover, .lang a:hover { opacity: 0.6; }
  .lang button.is-active, .lang a.is-active { color: var(--ink); }
  .lang .sep { color: var(--hairline); }

  /* hamburger â€” hidden on desktop; 44Ã—44 tap target on mobile */
  .nav__toggle {
    display: none;
    appearance: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    cursor: pointer;
    color: var(--ink);
    align-items: center;
    justify-content: center;
  }
  .nav__toggle svg { display: block; }

  /* animated hamburger bars (turn into an X when the menu is open) */
  .nav__toggle .bars,
  .nav__toggle .bars::before,
  .nav__toggle .bars::after {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .3s ease, opacity .2s ease, background .2s ease;
  }
  .nav__toggle .bars { position: relative; }
  .nav__toggle .bars::before { content: ""; position: absolute; left: 0; top: -6px; }
  .nav__toggle .bars::after  { content: ""; position: absolute; left: 0; top: 6px; }
  .nav__toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

  /* Mobile slide-down menu (hidden by default) */
  .menu {
    /* position: fixed; */
    /* inset: var(--nav-h) 0 0 0; */
    /* background: var(--bg); */
    /* z-index: 99; */
    /* display: none; */
    /* flex-direction: column; */
    /* justify-content: center; */
    /* align-items: center; */
    /* gap: 4px; */
    /* padding: 32px 24px; */
    /* overflow-y: auto; */
    -webkit-overflow-scrolling: touch;
    /* text-align: center; */
  }
  .menu.is-open { display: flex; }
  .menu a {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 1.5;
    color: var(--ink);
  }
  .menu .lang { margin-top: 36px; }

  /* ============================================================
     HERO â€” full viewport, pure typography
     ============================================================ */
  .hero {
    min-height: 100vh;
    min-height: 100svh;            /* avoids mobile address-bar jump */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 40px) 24px 80px;
  }
  .hero__kicker {
    margin: 0 0 40px;
    font-size: 26px;
  }
  .hero__names {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--sage);
  }
  .hero__names .amp {
    display: block;
    font-style: italic;
    font-weight: 300;
    font-size: 0.42em;
    color: var(--sage);
    margin: 0.18em 0;
  }
  .hero__meta {
    margin: 52px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .hero__meta .line {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero__meta .line.ink { color: var(--ink); }
  .hero__cta { margin-top: 56px; }

  /* ============================================================
     SNAPSHOT â€” engagement photo, just below the hero
     ============================================================ */
  .snapshot { padding-top: clamp(8px, 2vw, 28px); padding-bottom: clamp(64px, 9vw, 110px); }
  .snapshot .wrap { display: flex; flex-direction: column; align-items: center; }
  .snapshot__fig {
    margin: 0;
    width: 100%;
    max-width: 760px;
  }
  .snapshot__fig img {
    width: 100%;
    height: auto;
    display: block;
  }
  .snapshot__cap {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--muted);
  }
  .snapshot__cap::before {
    content: "";
    height: 1px;
    width: 40px;
    background: var(--accent);
    opacity: 0.5;
  }
  .snapshot__cap .label { color: var(--accent); line-height: 1.85; text-align: center; max-width: 420px; }

  /* ============================================================
     SECTIONS
     ============================================================ */
  section { padding-block: var(--section-pad); }

  /* Details */
  #details .wrap { text-align: center; }
  .details .lead { max-width: 700px; margin-inline: auto; }

  /* When / Where / Dress code â€” three clean columns, thin top rule */
  .trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    margin-top: 72px;
  }
  .trio__col {
    border-top: 1px solid var(--hairline);
    padding-top: 26px;
    text-align: center;
  }
  .trio__col .label { display: block; margin-bottom: 16px; }
  .trio__col .big {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 0 0 6px;
  }
  .trio__col .small { font-size: 15px; color: var(--muted); margin: 0; }

  /* Venue â€” centred text block, then a full-bleed panorama photo band */
  .venue { overflow: clip; }
  .venue__text { max-width: 720px; margin-inline: auto; text-align: center; }
  .venue__addr { font-size: 16px; color: #34322f; }
  .venue__addr .street { display: block; margin-bottom: 4px; }

  /* placeholder image slot â€” striped, with mono caption */
  .slot { display: none; }

  /* Venue photo \u2014   /* Venue photo band */
  .venue__band {
    margin: 72px 0 0;
  }
  .venue__band img {
    display: block;
    width: 100%;
    height: clamp(360px, 52vh, 560px);
    object-fit: cover;
  }

  /* Timeline â€” centred stack: time, then title + description, dotted dividers */
  #timeline .wrap { text-align: center; }
  .timeline { margin: 64px auto 0; max-width: 620px; }
  .tl-row {
    padding: 32px 0;
    border-top: 1px dotted var(--hairline);
    text-align: center;
  }
  .tl-row:last-child { border-bottom: 1px dotted var(--hairline); }
  .tl-time {
    display: block;
    font-family: var(--mono);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }
  .tl-event .title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 1.2;
    margin: 0 0 6px;
  }
  .tl-event .desc { font-size: 15px; color: var(--muted); margin: 0; }

  /* Text-forward centered sections (Transport, Gifts, RSVP) */
  .col-center {
    max-width: var(--maxw-narrow);
    margin-inline: auto;
    text-align: center;
  }
  .col-center .eyebrow { color: var(--accent); }
  .col-center h2.display { margin-bottom: 28px; }
  .col-center p { color: #34322f; }
  .col-center .muted { color: var(--muted); font-size: 15px; }

  /* the two transport blocks separated by a hairline */
  .stack-divided > * + * {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--hairline);
  }
  .stack-divided h3.sub { color: var(--ink); }

  .rsvp__deadline {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 40px;
  }

  /* Full-bleed reversed colour block (Gifts) â€” the deep-pine moment */
  .section--forest {
    background: var(--forest);
    color: var(--bg);
  }
  .section--forest .eyebrow { color: var(--accent-2); }
  .section--forest h2.display { color: var(--bg); }
  .section--forest p { color: #E9E3D8; }
  .section--forest .motif { color: rgba(250,248,243,0.5); margin-bottom: 28px; }
  .gifts__title-bg {
    font-size: clamp(1.5rem, 3.6vw, 2.6rem) !important;
    line-height: 1.12;
  }
  .gifts__title-note {
    display: block;
    font-size: 0.62em;
    margin-top: 0.35em;
  }
  .gifts__ps {
    margin-top: 28px;
    font-size: 14px;
    font-style: italic;
    color: rgba(233,227,216,0.66) !important;
    max-width: 46ch;
    margin-inline: auto;
  }

  /* ============================================================
     FOOTER â€” single centered line
     ============================================================ */
  .footer {
    border-top: 1px solid var(--hairline);
    /* padding: 64px 24px; */
    text-align: center;
  }
  .footer p {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .footer .amp { color: var(--accent); font-style: italic; }

  /* ============================================================
     LANGUAGE VISIBILITY
     ============================================================ */
  /* Show only the active language. We ONLY ever force-hide the inactive
     language (with !important so component display rules like
     `.trio__col .label{display:block}` can't override the hide). The active
     language keeps its natural/component display â€” nothing is force-shown. */
  html[lang="en"] [data-lang="bg"] { display: none !important; }
  html[lang="bg"] [data-lang="en"] { display: none !important; }

  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 860px) {
    :root { --section-pad: 88px; }

    /* nav collapses */
    .nav__links { display: none; }
    .nav__cluster .lang { display: none; }   /* lang lives inside mobile menu */
    .nav__divider { display: none; }
    .nav__toggle { display: flex; }

    /* roomier language toggle inside the full-screen menu */
    .menu a { font-size: 2.2rem; line-height: 1.45; }
    .menu .lang { margin-top: 32px; font-size: 13px; gap: 12px; }
    .menu .lang button, .lang a { padding: 10px 8px; }

    .venue__band { margin-top: 56px; }
    .venue__band img { height: clamp(280px, 56vw, 420px); }
    .trio { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; }
  }

  @media (max-width: 520px) {
    :root { --section-pad: 72px; --nav-h: 54px; }
    body {font-size: 1rem;}
    .wrap { padding-inline: 22px; }

    h2.display { margin-bottom: 24px; }
    p.lead { font-size: 17px; line-height: 1.8; }

    /* hero â€” tighten the vertical rhythm on small screens */
    .hero { padding: calc(var(--nav-h) + 28px) 22px 64px; }
    .hero__kicker { margin-bottom: 28px; }
    .hero__meta { margin-top: 40px; }
    .hero__cta { margin-top: 40px; }

    /* CTAs become comfortable, centred tap targets */
    .btn { padding: 16px 34px; font-size: 12px; }
    .hero__cta .btn, #rsvp .btn.accent { display: inline-block; min-width: 200px; }

    .snapshot__cap .label { font-size: 12px; line-height: 1.9; }

    .trio { gap: 30px; margin-top: 44px; }
    .trio__col { padding-top: 22px; }
    .trio__col .big { font-size: 1.5rem; }

    .tl-row { padding: 24px 0; }
    .tl-event .title { font-size: 1.5rem; }

    .stack-divided > * + * { margin-top: 40px; padding-top: 40px; }

    .menu a { font-size: 2rem; }
    .footer {/* padding: 52px 22px; */}
  }

  /* smallest phones */
  @media (max-width: 380px) {
    :root { --section-pad: 60px; }
    .wrap { padding-inline: 18px; }
    .hero__names { font-size: clamp(2.6rem, 13vw, 3.2rem); }
    h2.display { font-size: clamp(2.1rem, 9vw, 2.6rem); }
    .venue__addr { font-size: 15px; }
  }

  /* short/landscape phones â€” keep the full-screen menu usable */
  @media (max-height: 560px) {
    .menu { justify-content: flex-start; }
    .menu a { font-size: 1.6rem; line-height: 1.3; }
    .menu .lang { margin-top: 20px; }
  }

  /* respect reduced motion (we have almost none, but be safe) */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }

  /* ============================================================
     RSVP MULTI-STEP FORM
     ============================================================ */
  .rf { max-width: 560px; margin: 40px auto 0; text-align: left; transition: opacity .3s ease; }
  .rf.is-busy { opacity: .55; pointer-events: none; }

  .rf__lang { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 26px; }
  .rf__langbtn { background: none; border: none; font-family: var(--sans); font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); cursor: pointer; padding: 4px 3px; transition: color .2s ease; }
  .rf__langbtn:hover { color: var(--ink); }
  .rf__langbtn.is-active { color: var(--ink); }
  .rf__langsep { color: var(--hairline); font-size: 11px; }

  .rf__progress { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
  .rf__progress-track { flex: 1; height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
  .rf__progress-fill { height: 100%; width: 12.5%; background: var(--accent); border-radius: 2px; transition: width .5s cubic-bezier(.4,0,.2,1); }
  .rf__progress-text { font-family: var(--sans); font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); white-space: nowrap; }

  .rf__card { position: relative; background: var(--bg); border: 1px solid var(--hairline); border-radius: 22px; padding: 48px 44px; transition: background .5s ease, border-color .5s ease; }
  .rf__card.is-fun { background: var(--sand); border-color: #e6decd; }

  .rf__toast { display: none; text-align: center; background: rgba(45,92,82,.09); color: var(--accent); font-family: var(--sans); font-size: 13px; border-radius: 999px; padding: 10px 20px; margin: 0 auto 20px; width: max-content; max-width: 100%; }
  .rf__toast.is-shown { display: block; animation: rfIn .4s ease both; }

  .rf__funbanner { display: none; align-items: center; gap: 8px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent-2); margin: -10px 0 22px; }
  .rf__card.is-fun .rf__funbanner { display: flex; }

  .rf__step { display: none; }
  .rf__step.is-active { display: block; }
  @media (prefers-reduced-motion: no-preference) {
    .rf__step.is-active { animation: rfIn .5s cubic-bezier(.16,1,.3,1); }
  }
  @keyframes rfIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  .rf__q { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.18; color: var(--ink); margin: 0 0 10px; }
  .rf__hint { font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--muted); margin: 0 0 24px; line-height: 1.6; }
  .rf__opt-label { display: inline-block; font-family: var(--sans); font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px 10px; margin: 0 0 18px; }

  .rf__input, .rf__textarea { width: 100%; font-family: var(--sans); font-weight: 300; font-size: 19px; color: var(--ink); background: transparent; border: none; border-bottom: 1px solid var(--hairline); padding: 12px 2px; outline: none; transition: border-color .25s ease; }
  .rf__input::placeholder, .rf__textarea::placeholder { color: #bdb7ab; }
  .rf__input:focus, .rf__textarea:focus { border-bottom-color: var(--accent); }
  .rf__textarea { resize: vertical; min-height: 104px; border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 16px; line-height: 1.6; }
  .rf__textarea:focus { border-color: var(--accent); }

  .rf__yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .rf__choice, .rf__opt { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: .01em; color: var(--ink); background: var(--bg); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 22px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; text-align: left; line-height: 1.4; }
  .rf__card.is-fun .rf__choice, .rf__card.is-fun .rf__opt { background: #faf6ee; }
  .rf__choice:hover, .rf__opt:hover { border-color: var(--accent); }
  .rf__opt.is-selected { border-color: var(--accent); background: rgba(45,92,82,.06); box-shadow: inset 0 0 0 1px var(--accent); }
  .rf__options { display: grid; gap: 12px; }

  .rf__menu { display: flex; flex-direction: column; margin: 4px 0 28px; }
  .rf__course { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .rf__course:first-child { border-top: 1px solid var(--hairline); }
  .rf__course-no { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--accent); min-width: 28px; }
  .rf__course .label { display: block; margin-bottom: 5px; }
  .rf__course-name { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); margin: 0; line-height: 1.3; }
  .rf__sub { font-family: var(--sans); font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
  .rf__main-head { display: flex; align-items: baseline; gap: 18px; margin: 4px 0 14px; }
  .rf__main-head .rf__sub { margin: 0; }

  .rf__rating { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .rf__rate { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--bg); font-family: var(--sans); font-size: 15px; color: var(--ink); cursor: pointer; transition: all .18s ease; }
  .rf__card.is-fun .rf__rate { background: #faf6ee; }
  .rf__rate:hover { border-color: var(--accent); }
  .rf__rate.is-selected { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
  .rf__rating-labels { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 14px; }
  .rf__rating-labels span { max-width: 45%; }
  .rf__rating-labels span:last-child { text-align: right; }

  .rf__error { display: none; color: var(--accent-2); font-family: var(--sans); font-size: 13px; margin: 12px 0 0; }
  .rf__error.is-shown { display: block; }

  .rf__nav { display: flex; align-items: center; gap: 8px 18px; margin-top: 32px; flex-wrap: wrap; }
  .rf__back, .rf__skip { background: none; border: none; font-family: var(--sans); font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); cursor: pointer; padding: 8px 4px; transition: color .2s ease; white-space: nowrap; }
  .rf__back:hover, .rf__skip:hover { color: var(--ink); }
  .rf button.btn { font: inherit; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; }
  .rf__nav [data-act="next"], .rf__nav [data-act="submit"] { margin-left: auto; }

  .rf__celebrate { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent-2); text-align: center; margin: 0 0 14px; }
  .rf__step[data-step="decline"], .rf__step[data-step="end"], .rf__step[data-step="done"] { text-align: center; }
  .rf__step[data-step="end"] .rf__nav, .rf__step[data-step="done"] .rf__nav, .rf__step[data-step="decline"] .rf__nav { flex-direction: column; align-items: stretch; gap: 14px; }
  .rf__step[data-step="end"] .rf__nav [data-act], .rf__step[data-step="done"] .rf__nav [data-act], .rf__step[data-step="decline"] .rf__nav [data-act="submit"] { margin-left: 0; width: 100%; }
  .rf__step[data-step="end"] .rf__back, .rf__step[data-step="decline"] .rf__back { align-self: center; width: auto; }
  .rf__done-return { display: inline-block; margin-top: 4px; }

  @media (max-width: 520px) {
    .rf__card { padding: 34px 22px; border-radius: 18px; }
    .rf__yesno { grid-template-columns: 1fr; }
    .rf__rate { width: 42px; height: 42px; }
  }


  /* ============================================================
     WEATHER CARD â€” live forecast (Open-Meteo), falls back to averages
     ============================================================ */
  #weather { scroll-margin-top: calc(var(--nav-h) + 24px); }
  #dresscode { padding-bottom: 0; }
  .wx__titlewrap { margin-top: clamp(64px, 8vw, 88px); }
  .wx__titlewrap .eyebrow { margin: 0; }
  .wx { max-width: 520px; margin: 26px auto 0; text-align: left; background: var(--bg); border: 1px solid var(--hairline); border-radius: 20px; padding: 28px 30px; }
  .wx__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
  .wx .wx__label { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent); margin: 0; }
  .wx .wx__place { font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--muted); margin: 0; }
  .wx__body { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .wx__icon { flex: none; color: var(--accent); }
  .wx__temps { display: flex; align-items: baseline; gap: 9px; }
  .wx .wx__hi { font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; color: var(--ink); }
  .wx .wx__lo { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1; color: var(--muted); }
  .wx__meta { flex: 1; min-width: 180px; }
  .wx .wx__cond { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink); margin: 0 0 7px; }
  .wx .wx__detail { font-family: var(--sans); font-size: 13.5px; font-weight: 300; line-height: 1.6; color: var(--muted); margin: 0; }
  .wx .wx__foot { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid var(--hairline); font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--muted); }
  .wx.is-loading .wx__body, .wx.is-loading .wx__foot { opacity: .4; }
  .wx .wx__skeleton { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--muted); margin: 0; }
  @media (max-width: 600px) { .wx { padding: 24px 22px; } .wx .wx__hi { font-size: 44px; } .wx .wx__lo { font-size: 22px; } .wx .wx__cond { font-size: 19px; } }

  /* ============================================================
     MOBILE POLISH â€” touch targets, safe areas, tap feedback
     ============================================================ */
  @media (max-width: 520px) {
    .rf__rate { width: 46px; height: 46px; }
    .rf__rating { gap: 8px; }
  }
  /* Touch devices: grow small controls to a comfortable hit area
     without changing how anything looks. */
  @media (pointer: coarse) {
    .nav__brand { display: inline-flex; align-items: center; min-height: 44px; }
    .nav__cluster .lang a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; }
    a.maplink { padding-block: 12px; }
    .rf__langbtn { min-width: 44px; min-height: 44px; padding: 4px 10px; }
    .rf__back, .rf__skip { min-height: 44px; display: inline-flex; align-items: center; }
    .rf__rate { width: 48px; height: 48px; }
  }
  /* Remove the blue flash on tap; we have our own active states */
  @media (pointer: coarse) {
    a, button, input, textarea, .rf__choice, .rf__opt, .rf__rate {
      -webkit-tap-highlight-color: rgba(45,92,82,.12);
    }
    .rf__choice:active, .rf__opt:active, .btn:active { transform: scale(.985); }
  }
  /* Respect iPhone home-indicator / notch insets â€” purely additive,
     never shrinks the existing padding. */
  @supports (padding: env(safe-area-inset-bottom)) {
    .nav__inner { padding-left: calc(32px + env(safe-area-inset-left)); padding-right: calc(32px + env(safe-area-inset-right)); }
        .menu { padding-bottom: env(safe-area-inset-bottom); }
      }
