/* WriteSmartTech · 2026 redesign. Shares the visual system of cephasmutisyaportfolio.netlify.app */
:root {
  --ink: #10151C;
  --cream: #F7F0E2;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Desk: cream paper, ink type, gold and brick accents */
.theme-desk {
  --bg: #F7F0E2; --bg-2: #F0E6D2; --surface: #FBF7EF; --surface-2: #F3EBDA;
  --text: #10151C; --muted: #4F555D; --faint: #7A7D80;
  --line: rgba(16, 21, 28, 0.10); --line-2: rgba(16, 21, 28, 0.18);
  --gold: #8C6014; --gold-2: #C9973A; --gold-soft: rgba(201, 151, 58, 0.16);
  --red: #A3352B; --red-soft: rgba(163, 53, 43, 0.10);
  --btn-bg: #10151C; --btn-fg: #F7F0E2; --btn-hover: #263140;
  --header-bg: rgba(247, 240, 226, 0.82);
  --shadow: 0 1px 0 rgba(16,21,28,.04), 0 18px 40px -24px rgba(16,21,28,.25);
  color-scheme: light;
}
/* Bots: ink night, cream type, gold and red accents */
.theme-bots {
  --bg: #10151C; --bg-2: #131A23; --surface: #17202B; --surface-2: #1C2734;
  --text: #F7F0E2; --muted: #B8B1A2; --faint: #857F73;
  --line: rgba(247, 240, 226, 0.09); --line-2: rgba(247, 240, 226, 0.16);
  --gold: #E0B45A; --gold-2: #E0B45A; --gold-soft: rgba(224, 180, 90, 0.12);
  --red: #E06A55; --red-soft: rgba(224, 106, 85, 0.14);
  --btn-bg: #E0B45A; --btn-fg: #10151C; --btn-hover: #EBC679;
  --header-bg: rgba(16, 21, 28, 0.80);
  --shadow: 0 24px 60px -30px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.theme-bots .brand img { box-shadow: 0 0 0 1px var(--line-2); }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.switch { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; gap: 2px; background: var(--surface); }
.switch a { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.switch a:hover { color: var(--text); }
.switch a[aria-current="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; font-size: 14.5px; color: var(--muted); border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--gold-soft); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 14px; background: transparent; cursor: pointer; position: relative; color: var(--text); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 22.5px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }
.mobile-panel { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav .switch { display: none; }
  .nav .nav-cta { margin-left: auto; }
  .nav .nav-cta + .nav-toggle { margin-left: 0; }
  .nav-toggle { display: block; }
  .mobile-panel { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 24px var(--pad) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; z-index: 59; }
  .mobile-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .mobile-panel .switch { display: flex; width: 100%; }
  .mobile-panel .switch a { flex: 1; justify-content: center; min-height: 44px; font-size: 15px; }
  .mobile-links { margin-top: 18px; border-top: 1px solid var(--line); }
  .mobile-links a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; }
  .mobile-links a::after { content: "\2192"; font-family: var(--sans); font-size: 16px; color: var(--gold); }
  .mobile-panel .btn { width: 100%; margin-top: 24px; }
  .mobile-meta { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
  body.menu-open { overflow: hidden; }
}

/* Type helpers */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.kicker .dot, .kicker .live-dot { flex-shrink: 0; margin-top: 5px; }
.kicker .dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); display: inline-block; }
.live-dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 7.6vw, 100px); line-height: .98; letter-spacing: -0.02em; }
.display em, .h2 em, .h1 em { font-style: italic; color: var(--gold); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.015em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--text); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.note { font-size: 14.5px; color: var(--muted); margin-top: 18px; }
.link { border-bottom: 1px solid var(--gold-2); transition: color .2s; }
.link:hover { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; text-align: center; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--text); }
.btn-wa .wa-ico { color: #25D366; }
.btn-primary.btn-wa .wa-ico { color: inherit; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 560px) { .actions .btn { width: 100%; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.hero::before { content: ""; position: absolute; inset: -30% -15% auto auto; width: 760px; height: 760px; background: radial-gradient(closest-side, var(--gold-soft), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.hero .lead { margin-top: 26px; }
.portrait { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 400px; }
.portrait picture { display: block; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.float-card { position: absolute; left: -32px; bottom: 30px; max-width: 250px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 3px; }
.float-card .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.float-card .value { font-size: 14.5px; line-height: 1.4; font-weight: 500; }
.portrait figcaption.visually-hidden { }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 420px; }
  .float-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -36px 14px 0; }
}
@media (max-width: 560px) { .portrait { max-width: 100%; } .portrait picture { aspect-ratio: 1 / 1; } .portrait img { object-position: center 4%; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 28px 24px 28px 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dd { margin: 0; font-family: var(--serif); font-size: clamp(44px, 4.8vw, 62px); line-height: 1; color: var(--gold); }
.stat dt { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .stats, .stats.three { grid-template-columns: 1fr 1fr; } .stat:nth-child(odd) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stats.three .stat:last-child { grid-column: 1 / -1; } }

/* Ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 48s linear infinite; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--muted); white-space: nowrap; }
.ticker-track span::after { content: "\2726"; font-style: normal; font-size: 12px; margin-left: 40px; color: var(--gold-2); vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .muted, .section-intro { font-size: 18px; margin-top: 18px; color: var(--muted); max-width: 680px; }
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, var(--gold-soft), transparent 70%); pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero .lead { margin-top: 22px; color: var(--muted); }
.crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card .h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card-num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--gold); margin-bottom: 18px; display: block; }
.card-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 20px; }
.card-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-feature { background: var(--ink); color: var(--cream); border-color: transparent; }
.card-feature p { color: rgba(247,240,226,.75); }
.card-feature .card-ico { background: rgba(224,180,90,.16); color: #E0B45A; }
.theme-bots .card-feature { background: var(--cream); color: var(--ink); }
.theme-bots .card-feature p { color: #4F555D; }
.theme-bots .card-feature .card-ico { background: rgba(140,96,20,.12); color: #8C6014; }
.span-2 { grid-column: span 2; }
@media (max-width: 640px) { .span-2 { grid-column: auto; } }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (min-width: 901px) { .split-aside { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); } .split-about { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14.5px; color: var(--text); transition: border-color .2s, background .2s; }
a.chip:hover { border-color: var(--gold-2); background: var(--gold-soft); }
.chip-group + .chip-group { margin-top: 0; }
.card .chip-label, .chip-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }

.steps { counter-reset: step; }
.step .card-num::before { counter-increment: step; content: "0" counter(step); }

/* Fee band / CTA band */
.cta-band { background: var(--ink); color: var(--cream); border-radius: 28px; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(224,180,90,.22), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2 em { color: #E0B45A; }
.cta-band p { color: rgba(247,240,226,.78); max-width: 640px; }
.cta-band .btn-primary { background: #E0B45A; color: var(--ink); }
.cta-band .btn-primary:hover { background: #EBC679; }
.cta-band .btn-ghost { color: var(--cream); border-color: rgba(247,240,226,.25); }
.cta-band .btn-ghost:hover { border-color: var(--cream); }
.cta-band .kicker { color: #E0B45A; }
.theme-bots .cta-band { background: var(--surface); border: 1px solid var(--line-2); }

/* Bots products */
.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b0f14; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.product:hover .product-shot img { transform: scale(1.03); }
.product-shot .tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(16,21,28,.85); color: var(--cream); }
.product-body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-title img { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 4px; }
.product-title .h3 { margin: 0; }
.product-title small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.badge { display: inline-flex; align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red); }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.price strong { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; color: var(--gold); }
.price span { font-size: 19px; font-weight: 600; }
.product .btn { align-self: flex-start; margin-top: auto; }
.price-panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); }
.price-row { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; transition: background .2s; }
.price-row:hover { background: var(--surface-2); }
.price-row img { width: 44px; height: 44px; border-radius: 11px; background: #fff; padding: 4px; }
.price-row .meta { flex: 1; min-width: 0; }
.price-row .meta b { display: block; font-weight: 600; }
.price-row .meta small { color: var(--muted); font-size: 13.5px; }
.price-row .amt { text-align: right; }
.price-row .amt b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--gold); line-height: 1; display: block; }
.price-row .amt small { color: var(--muted); font-size: 13.5px; }
.price-row + .price-row { border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.panel-foot { padding: 14px 18px 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.panel-foot a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--gold-2); }

.community { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(24px, 4vw, 36px); }
.community-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(37,211,102,.12); color: #25D366; }
.community-ico svg { width: 30px; height: 30px; }
.nav-cta svg, .mobile-bar svg { width: 17px; height: 17px; }
.community .h3 { margin-bottom: 6px; }
.community p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .community { grid-template-columns: 1fr; } .community .btn { width: 100%; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-weight: 600; font-size: 16.5px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: 15.5px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .review-form label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.field input, .field select, .field textarea, .review-form input, .review-form select, .review-form textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 15.5px; padding: 10px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea, .review-form textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px var(--gold-soft); }
.hidden { display: none !important; }
.form-error { color: var(--red); font-size: 14.5px; margin-top: 14px; }
.form-status { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.form-status a { color: var(--text); border-bottom: 1px solid var(--gold-2); }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

/* About */
.about-photo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4/5; max-width: 360px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.prose p { font-size: 17.5px; }
.prose p + p { margin-top: .2em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid.three { grid-template-columns: 1.6fr 1fr 1fr; }
.footer-grid h2 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid li a, .footer-grid li span { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-grid li a:hover { color: var(--text); }
.footer-blurb { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 340px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--faint); }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .footer-grid, .footer-grid.three { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid, .footer-grid.three { grid-template-columns: 1fr; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .ticker-track { animation: none; } }

@media (max-width: 560px) { .nav .nav-cta { display: none; } .nav .nav-cta + .nav-toggle { margin-left: auto; } }
.section-tight-band { padding: clamp(40px, 5vw, 64px) 0; }
/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; gap: 8px; padding: 8px; border-radius: 999px; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .35s var(--ease); }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 46px; padding: 8px 14px; font-size: 14.5px; }
  body { padding-bottom: 0; }
}
