/* Zaffah landing · shared styles. Generated from the ratified proposal;
   fonts live in assets/fonts.css, tokens follow the brand book. */
  #zpage {
    --ivory: #f4f2ec; --ivory-warm: #faf8f2; --ivory-icon: #f7f4ec;
    --ink: #2a2420; --muted: #6e655a;
    --gold-deep: #9d7a2c; --gold-solid: #b28c39; --gold-1: #e2c076;
    --ivory-rev: #fbf6ea;
    --hair: rgba(157,122,44,.24); --hair-soft: rgba(157,122,44,.14);
    --sans: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --ar-serif: 'Amiri', 'Traditional Arabic', serif;
    background: var(--ivory); color: var(--ink);
    font-family: var(--sans); font-size: 16px; line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  html { scroll-behavior: smooth; scroll-padding-top: 84px; }
  html, body { margin: 0; background: #f4f2ec; }
  #zpage * { box-sizing: border-box; }
  #zpage a { color: var(--gold-deep); }
  #zpage :focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }
  #zpage img { max-width: 100%; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }


  /* nav (live) */
  .znav {
    position: sticky; top: 0; z-index: 30;
    background: rgba(244,242,236,.88); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair-soft);
  }
  .nav-in { max-width: 1080px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
  .nav-brand svg { width: 44px; height: auto; display: block; }
  .nav-brand .ar { font-family: var(--ar-serif); font-size: 24px; color: var(--gold-deep); line-height: 1; }
  .nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; position: relative; transition: color .25s ease; }
  .nav-links a:hover { color: var(--gold-deep); }
  .nav-links a::after {
    content: ""; position: absolute; inset-inline-start: 50%; bottom: -6px;
    width: 5px; height: 5px; margin-inline-start: -2.5px; border-radius: 50%;
    background: var(--gold-deep); opacity: 0; transform: scale(.4);
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav-links a.is-current { color: var(--gold-deep); }
  .nav-links a.is-current::after { opacity: 1; transform: scale(1); }

  /* hero (live) */
  .hero {
    position: relative; overflow: hidden; text-align: center;
    background: linear-gradient(172deg, #f6f1e6 0%, #efe4ce 100%);
    border-bottom: 1px solid var(--hair-soft);
    padding: 72px 24px 56px;
  }
  .lens { position: absolute; inset: 0; pointer-events: none; opacity: .05; width: 100%; height: 100%; animation: drift 34s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(2.5%,-1.5%,0) scale(1.06); } }
  .hero-in { position: relative; max-width: 720px; margin: 0 auto; }
  .knot { width: min(300px, 58vw); height: auto; margin: 0 auto 6px; display: block; }
  .ribbon { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.5s cubic-bezier(.7,0,.2,1) .3s forwards; }
  .k-ring { transform-origin: 100px 100px; transform: scale(.2); opacity: 0; animation: ringin .7s cubic-bezier(.34,1.56,.64,1) 1.5s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes ringin { to { transform: scale(1); opacity: 1; } }
  .wordmark-ar { font-family: var(--ar-serif); font-weight: 400; font-size: clamp(64px, 14vw, 104px); line-height: 1.25; color: var(--gold-deep); margin: 0; }
  .wordmark-lat { font-family: var(--serif); font-weight: 600; text-transform: uppercase; font-size: clamp(16px, 2.6vw, 21px); letter-spacing: .42em; text-indent: .42em; color: var(--ink); margin: 10px 0 0; direction: ltr; }
  .hero-line { font-family: var(--ar-serif); font-weight: 400; font-size: clamp(26px, 4.6vw, 40px); line-height: 1.6; margin: 36px 0 0; color: var(--ink); }
  .hero-sub-en { font-family: var(--serif); font-size: 17px; color: var(--muted); margin: 14px auto 0; direction: ltr; }
  .rule-hair { width: 44px; height: 1px; background: var(--gold-deep); opacity: .7; border: 0; margin: 30px auto; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--sans); font-weight: 600; font-size: 16px;
    padding: 14px 30px; border-radius: 999px; text-decoration: none; cursor: pointer;
    transition: transform .2s cubic-bezier(.22,.61,.36,1), background .2s ease, box-shadow .3s ease;
  }
  .btn:active { transform: translateY(1px); }
  .btn.primary { background: var(--ink); color: var(--ivory-rev); border: 0; }
  .btn.primary:hover { background: #3a322a; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(42,36,32,.22); }

  .notify {
    max-width: 540px; margin: 0 auto 6px;
    background: var(--ivory-warm); border: 1px solid var(--hair);
    border-radius: 22px; padding: 28px 28px 22px;
    box-shadow: 0 20px 44px rgba(60,48,20,.09);
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
  }
  .soon-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14px; color: var(--ink);
    background: var(--ivory); border: 1px solid var(--hair);
    border-radius: 999px; padding: 7px 16px; margin: 0 0 16px;
  }
  .notify-lead { color: var(--ink); font-size: 17px; font-weight: 500; margin: 0 0 16px; }
  .notify-fields { display: flex; gap: 10px; flex-wrap: wrap; }
  .notify-fields input {
    font: inherit; color: var(--ink);
    background: var(--ivory-warm); border: 1px solid var(--hair);
    border-radius: 14px; padding: 13px 18px; min-width: 0;
    transition: border-color .2s ease;
  }
  .notify-fields input::placeholder { color: var(--muted); opacity: .85; }
  .notify-fields input:hover { border-color: var(--gold-deep); }
  .notify-phone { flex: 1 1 230px; direction: ltr; text-align: left; }
  .notify-name { flex: 1 1 140px; }
  .notify .btn { flex: 1 1 100%; justify-content: center; width: 100%; }
  .notify-msg {
    font-size: 15px; color: var(--ink); margin: 12px 0 0;
    background: var(--ivory-warm); border: 1px solid var(--hair);
    border-radius: 14px; padding: 10px 16px;
  }
  .notify-consent { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
  .notify-consent a { color: var(--gold-deep); text-decoration: none; }
  .notify-consent a:hover { text-decoration: underline; text-underline-offset: 3px; }

  /* phone frame (live) */
  .device {
    position: relative; border-radius: 52px; padding: 11px;
    background: #20201f; box-shadow: 0 32px 60px rgba(60,48,20,.30), inset 0 0 0 2px #3a3a38;
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
  }
  .device .screen { border-radius: 42px; overflow: hidden; display: block; background: var(--ivory); }
  .device img { display: block; width: 100%; height: auto; }
  .device .island {
    position: absolute; top: 21px; left: 50%; transform: translateX(-50%);
    width: 30%; height: 25px; background: #0c0c0c; border-radius: 16px; z-index: 3;
  }

  /* sections (live) */
  .zsec { padding: 84px 0; }
  .kicker-ar { font-weight: 600; font-size: 14px; color: var(--gold-deep); margin: 0 0 14px; }
  #zpage h2 { font-family: var(--ar-serif); font-weight: 400; font-size: clamp(30px, 5vw, 42px); line-height: 1.5; margin: 0 0 10px; text-wrap: balance; }
  .sec-intro { color: var(--muted); max-width: 38em; margin: 0 0 44px; font-size: 17px; }

  /* motion: things settle in as you scroll, the way the knot ties (live) */
  .reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--d, 0ms);
  }
  .reveal.is-in { opacity: 1; transform: none; }
  .thread-draw {
    display: block; width: 44px; height: 1px; border: 0; margin: 18px auto 0;
    background: var(--gold-deep); opacity: .7;
    transform: scaleX(0); transform-origin: center;
    transition: transform .9s cubic-bezier(.22,.61,.36,1) .15s, opacity .5s ease;
  }
  .is-in .thread-draw, .thread-draw.is-in { transform: scaleX(1); }

  /* about (live) */
  .about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  @media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
  .about-card {
    background: var(--ivory-warm); border: 1px solid var(--hair-soft);
    border-radius: 6px; padding: 30px 28px 28px;
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
  }
  .about-card:hover { transform: translateY(-4px); border-color: var(--hair); box-shadow: 0 18px 38px rgba(60,48,20,.08); }
  .value-ring { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--gold-deep); flex: none; }
  .about-card .value-ring { display: block; margin: 0 0 16px; transition: background .35s ease, transform .35s ease; }
  .about-card:hover .value-ring { background: var(--gold-deep); transform: scale(1.15); }
  .about-card h3 { font-family: var(--ar-serif); font-weight: 400; font-size: 25px; margin: 0 0 8px; }
  .about-card p { color: var(--muted); font-size: 16px; margin: 0; }

  /* ── proposal: the walkthrough (replaces the static four-phone grid) ── */
  .walk-head { text-align: center; padding: 0 28px; }
  .walk-grid {
    max-width: 1080px; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,360px); gap: clamp(28px,5vw,84px);
    align-items: start;
  }
  .phone-col { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
  .phone-col .device { width: min(300px, 72vw); }
  .phone-col .device:hover { transform: none; }
  .screen-stack { position: relative; border-radius: 42px; overflow: hidden; background: var(--ivory); aspect-ratio: 780 / 1688; max-height: 72vh; }
  .screen-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s ease; }
  .screen-stack img.active { opacity: 1; }
  .walk-dots { display: flex; gap: 10px; }
  .walk-dots span { width: 11px; height: 11px; border: 2px solid var(--hair); border-radius: 50%; transition: border-color .3s, background .3s; }
  .walk-dots span.active { border-color: var(--gold-deep); background: var(--gold-1); }
  .chapters { display: flex; flex-direction: column; }
  .chapter { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
  .chapter + .chapter { border-top: 1px solid var(--hair-soft); }
  .chapter h3 { font-family: var(--ar-serif); font-weight: 400; font-size: clamp(25px, 3.6vw, 34px); line-height: 1.5; margin: 0 0 10px; text-wrap: balance; }
  .chapter p { color: var(--muted); max-width: 46ch; margin: 0; }
  .chapter .mini-shot { display: none; }
  .chapter-cta { margin-top: 18px; font-size: 15px; font-weight: 600; }
  @media (max-width: 880px) {
    .walk-grid { grid-template-columns: 1fr; }
    .phone-col { display: none; }
    .chapter { min-height: 0; padding: 44px 0; }
    .chapter .mini-shot { display: block; width: min(250px, 70vw); margin: 26px auto 0; }
  }

  /* ── proposal: budget companion ── */
  .budget-sec { background: var(--ivory-warm); border-top: 1px solid var(--hair-soft); border-bottom: 1px solid var(--hair-soft); }
  .budget-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,64px); align-items: start; }
  @media (max-width: 760px) { .budget-grid { grid-template-columns: 1fr; } }
  .bud-controls { display: flex; flex-direction: column; gap: 22px; }
  .bud-field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
  .guest-val { color: var(--gold-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
  input[type=range].gslider { width: 100%; accent-color: var(--gold-solid); }
  .bud-note { font-size: 13px; color: var(--muted); margin: 0; }
  .bud-card { background: var(--ivory); border: 1px solid var(--hair); border-radius: 22px; padding: 28px; box-shadow: 0 20px 44px rgba(60,48,20,.06); }
  .bud-range-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
  .bud-range {
    font-weight: 600; font-variant-numeric: tabular-nums;
    font-size: clamp(26px, 4vw, 36px); line-height: 1.3; margin: 0 0 4px; direction: ltr; text-align: right;
  }
  .bud-range small { font-size: .5em; font-weight: 600; color: var(--muted); }
  .bud-bars { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
  .bud-bar-row { display: grid; grid-template-columns: 8em 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
  .bud-bar-row .amt { font-variant-numeric: tabular-nums; color: var(--muted); direction: ltr; }
  .bud-track { display: block; height: 8px; background: var(--hair-soft); border-radius: 999px; overflow: hidden; }
  .bud-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-1), var(--gold-solid)); border-radius: 999px; transition: width .4s ease; }

  /* ── proposal: trust chapter ── */
  .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 26px; }
  .promise {
    background: var(--ivory-warm); border: 1px solid var(--hair-soft); border-radius: 6px; padding: 30px 28px 28px;
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
  }
  .promise:hover { transform: translateY(-4px); border-color: var(--hair); box-shadow: 0 18px 38px rgba(60,48,20,.08); }
  .promise .value-ring { display: block; margin: 0 0 16px; transition: background .35s ease, transform .35s ease; }
  .promise:hover .value-ring { background: var(--gold-deep); transform: scale(1.15); }
  .promise h3 { font-family: var(--ar-serif); font-weight: 400; font-size: 22px; margin: 0 0 8px; }
  .promise p { color: var(--muted); font-size: 14.5px; margin: 0; }
  .trust-links { margin-top: 26px; font-size: 14.5px; color: var(--muted); }

  /* service providers (live) */
  .venues-card {
    background: linear-gradient(160deg, #f6f1e6, #eee3cd);
    border: 1px solid var(--hair-soft); border-radius: 6px;
    padding: 48px 44px; display: grid; grid-template-columns: 1fr auto; gap: 30px;
    align-items: center;
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
  }
  @media (max-width: 700px) { .venues-card { grid-template-columns: 1fr; padding: 36px 26px; } }
  .venues-card h2 { font-size: clamp(26px, 4vw, 34px); }
  .lead-fields { display: flex; flex-direction: column; gap: 10px; }
  .lead-fields input, .lead-fields select {
    font: inherit; color: var(--ink);
    background: var(--ivory-warm); border: 1px solid var(--hair);
    border-radius: 14px; padding: 13px 18px; width: 100%;
    transition: border-color .2s ease;
  }
  .lead-fields input::placeholder { color: var(--muted); opacity: .85; }
  .lead-fields input:hover, .lead-fields select:hover { border-color: var(--gold-deep); }
  .lead-phone { direction: ltr; text-align: left; }
  .lead-msg {
    font-size: 15px; color: var(--ink); margin: 12px 0 0;
    background: var(--ivory-warm); border: 1px solid var(--hair);
    border-radius: 14px; padding: 10px 16px;
  }
  .lead-consent { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
  .lead-consent a { color: var(--gold-deep); text-decoration: none; }

  /* faq (live) */
  .faq-list { max-width: 720px; margin: 0 auto; }
  .faq-item { border-top: 1px solid var(--hair-soft); transition: background .3s ease; }
  .faq-item:last-child { border-bottom: 1px solid var(--hair-soft); }
  .faq-item:hover { background: rgba(250,248,242,.6); }
  .faq-item summary {
    cursor: pointer; list-style: none;
    font-family: var(--ar-serif); font-size: 23px; color: var(--ink);
    padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    transition: color .25s ease;
  }
  .faq-item summary:hover { color: var(--gold-deep); }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: ""; width: 13px; height: 13px; border-radius: 50%;
    border: 2px solid var(--gold-deep); flex: none;
    transition: background .25s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  }
  .faq-item[open] summary::after { background: var(--gold-deep); transform: scale(1.25); }
  .faq-item p { margin: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 62ch; }
  .faq-item[open] p { animation: unfold .38s cubic-bezier(.22,.61,.36,1); }
  @keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  /* footer (live) */
  .zfoot { border-top: 1px solid var(--hair-soft); padding: 54px 0 60px; text-align: center; color: var(--muted); font-size: 14px; }
  .zfoot .knot-f { width: 74px; margin: 0 auto 10px; display: block; }
  .zfoot .ar-f { font-family: var(--ar-serif); font-size: 30px; color: var(--gold-deep); margin: 0; }
  .zfoot .lat-f { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .42em; text-indent: .42em; font-size: 16px; color: var(--ink); margin: 4px 0 18px; direction: ltr; }
  .zfoot .socials { display: flex; justify-content: center; gap: 22px; margin: 0 0 18px; }
  .zfoot .socials a { display: inline-flex; color: var(--gold-deep); }
  .zfoot .socials a:hover { color: var(--gold-solid); }
  .zfoot .socials svg { width: 22px; height: 22px; fill: currentColor; display: block; }
  .zfoot .meta { direction: ltr; }
  .zfoot a { text-decoration: none; }
  .zfoot a:hover { text-decoration: underline; text-underline-offset: 3px; }

  @media (prefers-reduced-motion: reduce) {
    .ribbon { stroke-dashoffset: 0; animation: none; }
    .k-ring { transform: none; opacity: 1; animation: none; }
    .lens { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .thread-draw { transform: scaleX(1); transition: none; }
    .faq-item[open] p { animation: none; }
    .about-card:hover, .promise:hover, .btn.primary:hover { transform: none; }
    .screen-stack img { transition: none; }
    .bud-fill { transition: none; }
  }

/* ── the venues page ── */
  /* ── proposal: dedicated venue page (second view) ── */

  /* teaser card on the couples page */
  .venues-teaser-line { color: var(--muted); margin: 12px 0 0; max-width: 44ch; }

  /* venue hero */
  .vhero { position: relative; overflow: hidden; background: linear-gradient(172deg, #f6f1e6 0%, #efe4ce 100%); border-bottom: 1px solid var(--hair-soft); padding: 64px 24px 72px; }
  .vhero-grid { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,400px); gap: clamp(28px,5vw,72px); align-items: center; }
  @media (max-width: 880px) { .vhero-grid { grid-template-columns: 1fr; } }
  .vhero-title { font-family: var(--ar-serif); font-weight: 400; font-size: clamp(34px,6vw,52px); line-height: 1.45; margin: 0 0 14px; text-wrap: balance; }
  .vhero-sub { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0; }
  .vhero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .btn.ghost { background: transparent; border: 1px solid var(--hair); color: var(--ink); }
  .btn.ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
  .btn.sm { padding: 9px 20px; font-size: 14px; }

  /* the flow: request ← accept ← calendar */
  .flow-stage { background: var(--ivory-warm); border: 1px solid var(--hair); border-radius: 22px; padding: 22px; box-shadow: 0 20px 44px rgba(60,48,20,.09); display: flex; flex-direction: column; gap: 16px; }
  .freq { background: var(--ivory); border: 1px solid var(--hair); border-radius: 16px; padding: 16px 18px; opacity: 0; transform: translateY(-12px); transition: opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1); }
  .flow-stage[data-flow="1"] .freq, .flow-stage[data-flow="2"] .freq, .flow-stage[data-flow="3"] .freq { opacity: 1; transform: none; }
  .freq-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 15px; }
  .freq-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
  .fchip { font-size: 12.5px; color: var(--muted); border: 1px solid var(--hair); border-radius: 999px; padding: 4px 12px; font-variant-numeric: tabular-nums; }
  .fchip.now { color: var(--gold-deep); border-color: var(--gold-deep); }
  .freq-actions { display: flex; gap: 10px; margin-top: 14px; }
  .freq-accepted { display: none; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--gold-deep); }
  .freq-accepted .value-ring { background: var(--gold-deep); }
  .flow-stage[data-flow="2"] .freq-actions, .flow-stage[data-flow="3"] .freq-actions { display: none; }
  .flow-stage[data-flow="2"] .freq-accepted, .flow-stage[data-flow="3"] .freq-accepted { display: inline-flex; }
  .fcal { border-top: 1px solid var(--hair-soft); padding-top: 14px; }
  .fcal-head { font-weight: 600; font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
  .fcal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
  .fday { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; position: relative; }
  .fday.busy { background: var(--ivory-icon); border: 1px solid var(--hair); color: var(--ink); }
  .fday.target::after { content: ""; position: absolute; inset: 1px; border: 2px solid var(--gold-deep); border-radius: 50%; opacity: 0; transform: scale(.5); transition: opacity .4s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
  .flow-stage[data-flow="3"] .fday.target { color: var(--ink); }
  .flow-stage[data-flow="3"] .fday.target::after { opacity: 1; transform: scale(1); }
  .flow-cap { font-size: 13.5px; color: var(--muted); margin: 0; }

  /* portal preview: framed browser */
  .browser { background: var(--ivory-warm); border: 1px solid var(--hair); border-radius: 18px; box-shadow: 0 26px 54px rgba(60,48,20,.12); overflow: hidden; max-width: 860px; margin: 0 auto; }
  .browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-bottom: 1px solid var(--hair-soft); background: var(--ivory); }
  .browser-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--hair); display: block; }
  .browser-url { font-size: 12.5px; color: var(--muted); direction: ltr; margin-inline-start: auto; font-variant-numeric: tabular-nums; }
  .ptabs { display: flex; gap: 6px; padding: 14px 18px 0; }
  .ptab { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease; }
  .ptab:hover { color: var(--gold-deep); }
  .ptab.active { color: var(--gold-deep); background: var(--ivory); border-color: var(--hair); }
  .ppanels { position: relative; aspect-ratio: 8 / 5; background: var(--ivory); border-top: 1px solid var(--hair-soft); margin-top: 14px; }
  .ppanel { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
  .ppanel.active { opacity: 1; pointer-events: auto; }
  .ppanel img { display: block; width: 100%; height: 100%; object-fit: cover; }

  /* three steps */
  .vsteps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
  @media (max-width: 760px) { .vsteps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
  .vstep { background: var(--ivory-warm); border: 1px solid var(--hair-soft); border-radius: 6px; padding: 30px 28px 28px; transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease; }
  .vstep:hover { transform: translateY(-4px); border-color: var(--hair); box-shadow: 0 18px 38px rgba(60,48,20,.08); }
  .vstep-num { width: 36px; height: 36px; border: 2px solid var(--gold-deep); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-deep); font-weight: 600; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
  .vstep h3 { font-family: var(--ar-serif); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
  .vstep p { color: var(--muted); font-size: 15px; margin: 0; }

  /* quick form */
  .vform-wrap { max-width: 540px; margin: 0 auto; }
  .vform-wrap .lead-fields select { background: var(--ivory-warm); }
  .vform-more { border-top: 1px solid var(--hair-soft); margin-top: 18px; padding-top: 18px; }
  .vform-more-lead { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
  .vask { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
  .vafter { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
  .tel-hint { font-size: 13px; color: var(--gold-deep); margin: 8px 0 0; }
  .moment-line { font-family: var(--ar-serif); text-align: center; font-size: clamp(22px, 3.5vw, 28px); color: var(--gold-deep); margin: 44px 0 0; }
  #vwa-register { width: 100%; justify-content: center; }
  .founder-note { font-family: var(--ar-serif); font-size: 22px; line-height: 1.7; text-align: center; max-width: 34ch; margin: 0 auto 6px; }
  .founder-sign { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0 0 30px; }
  .mock-cap { text-align: center; font-size: 13px; color: var(--muted); margin: 14px auto 0; max-width: 60ch; }
  .notify-honest { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

  /* the invitation artifact */
  .invite-card { max-width: 480px; margin: 0 auto; background: var(--ivory-warm); border: 1px solid var(--hair); border-radius: 6px; padding: 14px; box-shadow: 0 24px 50px rgba(60,48,20,.10); }
  .invite-inner { border: 1px solid var(--hair-soft); border-radius: 4px; padding: 44px 32px 34px; }
  .invite-knot { width: 64px; margin: 0 auto 18px; display: block; }
  .invite-opener { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
  .invite-names { font-family: var(--ar-serif); font-weight: 400; font-size: clamp(36px,7vw,52px); line-height: 1.4; color: var(--ink); margin: 0; text-wrap: balance; }
  .invite-names span { font-size: .45em; color: var(--gold-deep); }
  .invite-thread { width: 44px; height: 1px; border: 0; background: var(--gold-deep); opacity: .7; margin: 22px auto; }
  .invite-meta { font-size: 15px; color: var(--ink); margin: 0; font-variant-numeric: tabular-nums; }
  .invite-note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; }

  /* the estimator share moment */
  .share-wrap { margin-top: 36px; }
  .share-card { max-width: 330px; margin: 0 auto; background: var(--ivory-warm); border: 1px solid var(--hair); border-radius: 18px; padding: 30px 26px 24px; text-align: center; box-shadow: 0 20px 44px rgba(60,48,20,.09); }
  .share-knot { width: 54px; margin: 0 auto 14px; display: block; }
  .share-title { font-family: var(--ar-serif); font-size: 24px; margin: 0 0 8px; }
  .share-range { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 26px; margin: 0; direction: ltr; }
  .share-guests { font-size: 14px; color: var(--muted); margin: 6px 0 0; font-variant-numeric: tabular-nums; }
  .share-tip { font-size: 13.5px; color: var(--muted); margin: 0; }
  .share-brand { font-size: 13px; color: var(--gold-deep); font-weight: 600; margin: 16px 0 0; }
  .share-note { text-align: center; font-size: 13px; color: var(--muted); margin: 14px auto 0; max-width: 52ch; }

  /* the mini-shot screenshots carry their own headers: no decorative island over them */
  .mini-shot .island { display: none; }

  /* the sticky phone frame hugs its screen: the stack derives width from the
     viewport height cap, and the device wraps it with a uniform 11px bezel */
  .phone-col .device { width: fit-content; }
  .screen-stack { width: min(278px, 72vw - 22px, 72vh * 780 / 1688); aspect-ratio: 780 / 1688; max-height: none; }

  /* currency reads Arabic-style: digits isolated LTR, ر.س to their left */
  .bud-range { direction: rtl; text-align: start; }
  .share-range { direction: rtl; }
  .share-range small { font-size: .55em; font-weight: 600; color: var(--muted); }

  /* small screens: the nav becomes one thin swipeable row instead of two crowded ones,
     and the hero compresses so the phone field lands inside the first viewport */
  @media (max-width: 700px) {
    html { scroll-padding-top: 118px; }
    .hero { padding: 36px 20px 44px; }
    .knot { width: min(40vw, 150px); }
    .wordmark-ar { font-size: 56px; }
    .hero-line { font-size: 24px; margin-top: 22px; }
    .hero-sub-en { font-size: 16px; margin-top: 8px; }
    .rule-hair { margin: 20px auto; }
    .notify { padding: 22px 20px 18px; }
    .soon-badge { margin-bottom: 12px; }
    .nav-in { flex-direction: column; align-items: center; gap: 6px; padding: 10px 16px 0; }
    .nav-brand svg { width: 36px; }
    .nav-brand .ar { font-size: 21px; }
    .nav-links { width: 100%; justify-content: safe center; flex-wrap: nowrap; overflow-x: auto; gap: 12px; padding: 2px 10px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { white-space: nowrap; flex: none; font-size: 13px; }
    .vhero { padding: 44px 20px 56px; }
    .vhero-grid { gap: 30px; }
    .vhero-ctas .btn { flex: 1 1 auto; justify-content: center; }
    .zsec { padding: 64px 0; }
    .zfoot { padding: 54px 24px 60px; }
    .zfoot .meta { overflow-wrap: anywhere; }
    .faq-item summary { font-size: 20px; text-wrap: balance; align-items: flex-start; }
    .faq-item summary::after { margin-top: 9px; }
    .share-range { font-size: clamp(17px, 6.2vw, 24px); white-space: nowrap; }
    .ppanels { aspect-ratio: auto; height: min(400px, 62vh); }
    .ppanel { position: static; display: none; opacity: 1; pointer-events: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; height: 100%; }
    .ppanel.active { display: block; }
    .ppanel img { width: 640px; max-width: none; height: 100%; object-fit: cover; }
  }

  @media (prefers-reduced-motion: reduce) {
    .freq { opacity: 1; transform: none; transition: none; }
    .fday.target::after { transition: none; }
    .ppanel { transition: none; }
    .btn.ghost:hover { transform: none; }
    .vstep:hover { transform: none; }
  }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
