/* پارابان — minimal, warm, desert-toned */
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn[wght].woff2") format("woff2-variations"),
       url("/fonts/Vazirmatn[wght].woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/fonts/webfonts/Vazirmatn[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f6f1e9;
  --paper: #fffdf9;
  --sand: #efe6d8;
  --ink: #1f1b16;
  --ink-2: #4a4239;
  --muted: #847a6e;
  --line: #e4d9c8;
  --accent: #a65a26;
  --accent-2: #8c4a1e;
  --sky: #2f4a62;
  --ok: #2f7a4f;
  --warn: #b07a12;
  --bad: #b03a2e;
  --r: 14px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 30px rgba(60, 40, 20, .08);
  --font: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.9;
  font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--sand); padding: .1em .45em; border-radius: 6px; direction: ltr; unicode-bidi: embed; }
::selection { background: #e9c9a7; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }
.mark { font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.mark::after { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-inline-start: 4px; vertical-align: middle; }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: .8em 1.6em; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem;
  cursor: pointer; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s; line-height: 1.4;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: .45em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
button.link.danger, .danger { color: var(--bad); }

/* ---------------- Landing ---------------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 241, 233, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.top-nav a:not(.btn) { color: var(--ink-2); }
.top-nav a:not(.btn):hover { color: var(--ink); }

.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 8vw, 110px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.eyebrow { font-size: .85rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: .8em; }
.title { font-size: clamp(4rem, 11vw, 8.5rem); font-weight: 900; line-height: 1; letter-spacing: -.035em; margin-bottom: .18em; }
.byline { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 1.4em; }
.byline strong { color: var(--ink); font-weight: 700; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 30em; line-height: 2; }
.price-row { display: flex; align-items: baseline; gap: .5em; margin: 1.8em 0 1.4em; flex-wrap: wrap; }
.price-row .price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.price-row .cur { color: var(--muted); }
.price-row .list { color: var(--muted); font-size: 1.05rem; }
.price-row .off { background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; padding: .15em .7em; border-radius: 99px; align-self: center; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-cover { margin: 0; position: relative; justify-self: center; perspective: 1400px; }
.hero-cover::before { content: ""; position: absolute; inset: 8% -18% -6% -18%; background: radial-gradient(closest-side, rgba(166, 90, 38, .22), transparent 70%); z-index: -1; filter: blur(10px); }
.hero-cover img {
  width: min(380px, 78vw); height: auto; border-radius: 4px 10px 10px 4px;
  box-shadow: -1px 0 0 rgba(255, 255, 255, .35) inset, 0 2px 4px rgba(40, 25, 10, .12), 0 24px 60px -12px rgba(60, 35, 15, .45), 0 50px 90px -40px rgba(60, 35, 15, .5);
  transform: rotateY(-8deg) rotateX(2deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.hero-cover:hover img { transform: rotateY(-2deg) rotateX(0); }

.lexicon { border-block: 1px solid var(--line); background: var(--paper); }
.lex-in { display: grid; grid-template-columns: 1fr 1fr; }
.lex { padding: 44px 0; padding-inline-end: 48px; }
.lex + .lex { border-inline-start: 1px solid var(--line); padding-inline: 48px 0; }
.lex dfn { font-style: normal; font-weight: 800; font-size: 1.6rem; color: var(--sky); display: block; margin-bottom: .3em; }
.lex p { color: var(--ink-2); margin: 0; }

section.about, section.excerpt, section.why, section.specs, section.buy { padding: clamp(64px, 9vw, 120px) 0; }
.sec-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.2em; letter-spacing: -.01em; }
.sec-title::before { content: ""; display: block; width: 32px; height: 2px; background: var(--accent); margin-bottom: 18px; }
.prose p { font-size: 1.12rem; line-height: 2.15; color: var(--ink-2); }
.prose p:first-child { color: var(--ink); font-size: 1.22rem; }
.pull { margin: 2.2em 0 0; padding: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.9; font-weight: 600; color: var(--sky); border: 0; }

.excerpt { background: var(--sky); color: #f3ede3; }
.excerpt .sec-title { color: #fff; }
.excerpt .sec-title::before { background: #e3a777; }
.excerpt-body p { font-size: clamp(1.12rem, 1.9vw, 1.3rem); line-height: 2.25; color: #e9e2d6; }
.excerpt-body p:last-child { margin: 0; }

.why-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
.why h3 { font-size: 1.25rem; margin-bottom: .7em; }
.why p { color: var(--ink-2); font-size: 1.06rem; margin: 0; }

.specs { background: var(--paper); border-top: 1px solid var(--line); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.spec-grid > div { padding: 22px 0; border-bottom: 1px solid var(--line); padding-inline-end: 16px; }
.spec-grid dt { font-size: .85rem; color: var(--muted); }
.spec-grid dd { margin: .2em 0 0; font-weight: 700; font-size: 1.1rem; }

.event { padding: clamp(56px, 8vw, 96px) 0; text-align: center; border-top: 1px solid var(--line); }
.event-text { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; margin-bottom: .6em; }
.event-guests { color: var(--muted); margin: 0; }

/* Buy */
.buy { background: var(--sand); }
.buy-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.buy-form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: start; }
.buy-summary { padding: clamp(24px, 4vw, 40px); background: #fbf7f0; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.field { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea, select {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .7em .9em; line-height: 1.6;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23847a6e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: 14px 50%; background-repeat: no-repeat; padding-left: 34px; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166, 90, 38, .14); }
input:disabled { background: var(--bg); color: var(--muted); cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: #b6ab9c; }
input[dir="ltr"]::placeholder { direction: rtl; text-align: right; }
.ferr { color: var(--bad); font-weight: 500; font-size: .82rem; }
.field:has(.ferr) input, .field:has(.ferr) textarea { border-color: var(--bad); }

.sum-book { display: flex; gap: 14px; align-items: center; }
.sum-book img { width: 56px; border-radius: 2px 5px 5px 2px; box-shadow: 0 6px 16px -6px rgba(60, 35, 15, .45); }
.sum-book strong { display: block; font-size: 1.15rem; }
.sum-book span { color: var(--muted); font-size: .9rem; }
.qty { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); border-radius: 50%; }
.stepper button:hover { background: var(--sand); }
.stepper input { width: 44px; text-align: center; border: 0; padding: 0; background: none; font-weight: 700; }
.stepper input:focus { box-shadow: none; }
.code { display: flex; gap: 8px; }
.code input { text-transform: uppercase; }
.code-msg { font-size: .85rem; margin: -10px 0 0; min-height: 1.3em; }
.code-msg.good { color: var(--ok); }
.code-msg.bad { color: var(--bad); }
.sum-lines { margin: 0; display: grid; gap: 8px; border-top: 1px dashed var(--line); padding-top: 16px; }
.sum-lines div { display: flex; justify-content: space-between; color: var(--ink-2); }
.sum-lines dd { margin: 0; font-weight: 600; }
.sum-lines .disc { color: var(--ok); }
.sum-lines .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.sum-lines .total dd { font-weight: 800; }
.secure { text-align: center; color: var(--muted); font-size: .82rem; margin: -6px 0 0; }
.secure::before { content: "🔒 "; filter: grayscale(1); }
.closed { background: var(--paper); border-radius: 22px; padding: 48px; text-align: center; }

.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.foot p { color: var(--muted); font-size: .9rem; margin: .6em 0 0; max-width: 40em; }

.flash { padding: 12px 16px; border-radius: 10px; font-size: .92rem; font-weight: 500; background: #e7f1ea; color: var(--ok); border: 1px solid #cfe3d6; }
.flash-err { background: #f8e9e6; color: var(--bad); border-color: #efd0ca; }

/* buyer accounts */
.top-nav a.acct { color: var(--ink); font-weight: 600; }
.gate { display: grid; gap: 14px; align-content: center; min-height: 100%; padding: 12px 0; }
.gate h3 { font-size: 1.35rem; }
.gate p { margin: 0; line-height: 2; }
.who { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.who div { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.who .muted { font-size: .85rem; }
.who [dir="ltr"] { color: var(--ink-2); font-size: .92rem; }
.center-card.wide { width: min(560px, 100%); }
.alt { text-align: center; margin: 0; font-size: .92rem; }
.account { margin: 32px auto 80px; display: grid; gap: 22px; }
.account .phead h1 { font-size: 1.6rem; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------- Card pages ---------------- */
.cardpage { background: var(--sand); }
.center-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.center-card { width: min(460px, 100%); background: var(--paper); border-radius: 22px; padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.h-card { font-size: 1.45rem; }
.stack { display: grid; gap: 14px; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; padding: .3em .9em; border-radius: 99px; justify-self: start; }
.state .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state.ok { background: #e7f1ea; color: var(--ok); }
.state.wait { background: #f7efdc; color: var(--warn); }
.state.bad { background: #f8e9e6; color: var(--bad); }
.kv { margin: 0; display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.kv dt { color: var(--muted); flex-shrink: 0; }
.kv dd { margin: 0; font-weight: 600; text-align: left; }

/* ---------------- Panels ---------------- */
.panel { background: #f4efe7; font-size: 15px; line-height: 1.75; }
.pbar { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.pbar-in { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 28px; min-height: 60px; flex-wrap: wrap; }
.pbrand { display: flex; align-items: baseline; gap: 10px; }
.pbrand-sub { color: var(--muted); font-size: .85rem; }
.pnav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.pnav a { color: var(--ink-2); padding: .35em .9em; border-radius: 99px; font-size: .93rem; }
.pnav a:hover { background: var(--sand); color: var(--ink); }
.pnav a.on { background: var(--ink); color: var(--paper); }
.plogout { margin-inline-start: auto; }
.pmain { width: min(1240px, 100% - 32px); margin: 28px auto 80px; display: grid; gap: 22px; }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.phead h1 { font-size: 1.55rem; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; }
.box h2 { font-size: 1.08rem; margin-bottom: 14px; }
.box-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.box-h h2 { margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; }
.stat-l { color: var(--muted); font-size: .86rem; }
.stat-v { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.stat-s { color: var(--muted); font-size: .8rem; }
.stat.hl { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stat.hl .stat-l, .stat.hl .stat-s { color: #c9bfb1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.form-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.span2 { grid-column: span 2; }
.span3 { grid-column: 1 / -1; }
.form-grid.g3 .span2 { grid-column: span 2; }
.form-grid .hint { font-weight: 400; }
.hint { color: var(--muted); font-size: .84rem; margin: 10px 0 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.check input { width: auto; -webkit-appearance: auto; appearance: auto; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stack-l { display: grid; gap: 22px; }
.sticky-save { position: sticky; bottom: 16px; display: flex; justify-content: flex-end; }
.sticky-save .btn { box-shadow: var(--shadow); }
.cover-edit { display: flex; gap: 20px; align-items: center; }
.cover-edit img { width: 90px; border-radius: 3px; box-shadow: 0 6px 16px -6px rgba(60, 35, 15, .45); }

.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: .35em .9em; border-radius: 99px; color: var(--ink-2); font-size: .9rem; border: 1px solid var(--line); background: var(--paper); }
.tabs a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs small { opacity: .7; }
.search { display: flex; gap: 8px; }
.search input, .search select { padding: .45em .8em; font-size: .9rem; min-width: 200px; }

.tbl-wrap { overflow-x: auto; border-radius: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: start; font-weight: 600; color: var(--muted); font-size: .8rem; padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid #efe7da; vertical-align: top; }
.tbl tbody tr:hover { background: #fbf7f0; }
.tbl tr.dim { opacity: .5; }
.nowrap { white-space: nowrap; }
.empty { color: var(--muted); text-align: center; padding: 28px 0; margin: 0; }
.inline { display: inline; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2em .7em; border-radius: 99px; white-space: nowrap; }
.b-paid { background: #e7f1ea; color: var(--ok); }
.b-shipped { background: #e4ecf3; color: var(--sky); }
.b-pending { background: #f7efdc; color: var(--warn); }
.b-failed, .b-cancelled { background: #f3e7e4; color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 99px; padding: .3em .8em; font-size: .85rem; }
.chip.dim { opacity: .5; }
.chip { display: inline-flex; gap: 8px; align-items: center; }
.chip span { color: var(--muted); }
code.copy { cursor: copy; }
code.copied { background: #e7f1ea; color: var(--ok); }
.danger-zone { text-align: left; }

/* Shipping quick edit */
.ship-box { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.ship-now h2 { margin-bottom: 6px; }
.ship-now p { margin: 0; color: var(--ink-2); }
.ship-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.ship-form .field { min-width: 190px; }

/* Partner hero */
.share-hero { background: var(--ink); color: var(--paper); border-radius: 22px; padding: clamp(28px, 5vw, 52px); text-align: center; position: relative; overflow: hidden; }
.share-hero::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(166, 90, 38, .45), transparent); pointer-events: none; }
.share-l { color: #c9bfb1; margin: 0 0 .4em; font-size: 1rem; position: relative; z-index: 1; }
.share-v { margin: 0; font-weight: 900; line-height: 1.1; position: relative; z-index: 1; }
.share-v span { font-size: clamp(3rem, 10vw, 5.8rem); letter-spacing: -.03em; }
.share-v small { font-size: 1.2rem; font-weight: 500; color: #c9bfb1; margin-inline-start: .4em; }
.share-s { color: #c9bfb1; margin: .9em 0 0; position: relative; z-index: 1; }
.share-split { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.share-split div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 22px; display: grid; }
.share-split span { font-size: .8rem; color: #c9bfb1; }
.code-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.code-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; justify-items: start; }
.code-card code { font-size: 1.15rem; font-weight: 700; }
.code-card span { color: var(--muted); font-size: .86rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-cover { order: -1; }
  .hero-cover img { width: min(260px, 62vw); transform: none; }
  .hero-text { text-align: center; }
  .lede { margin-inline: auto; }
  .price-row, .cta-row { justify-content: center; }
  .buy-card { grid-template-columns: 1fr; }
  .buy-summary { border-inline-start: 0; border-top: 1px solid var(--line); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .form-grid.g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .top-nav a:not(.btn):not(.acct) { display: none; }
  .top-nav { gap: 16px; }
  .lex-in, .why-in { grid-template-columns: 1fr; }
  .lex, .lex + .lex { padding: 28px 0; border: 0; }
  .lex + .lex { border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .form-grid, .form-grid.g3 { grid-template-columns: 1fr; }
  .span2, .form-grid.g3 .span2 { grid-column: auto; }
  .search input { min-width: 0; }
  .pbar-in { gap: 10px; padding-block: 8px; }
}
.eyebrow .sep { display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 10px; opacity: .6; }

/* author, reader voices, event photos */
.author { padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--line); }
.voices { padding: clamp(64px, 9vw, 110px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.voice { margin: 0; padding: 26px 26px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 14px; align-content: space-between; }
.voice blockquote { margin: 0; font-size: 1.06rem; line-height: 2; color: var(--ink); }
.voice figcaption { color: var(--muted); font-size: .9rem; }
.voice figcaption::before { content: "— "; }
.event-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 300px)); justify-content: center; gap: 12px; margin-top: 36px; }
.event-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.sub-h { font-size: .98rem; margin: 22px 0 10px; }
.photo-edit { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.photo-edit img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; display: block; }
.photo-edit .ph { display: grid; gap: 4px; font-size: .82rem; color: var(--ink-2); }
.photo-edit .ph input { width: auto; -webkit-appearance: auto; appearance: auto; }
