:root {
  --ink: #1c1915;
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --copper: #8e3b12;
  --copper-deep: #732f0e;
  --pine: #16352c;
  --brass: #e8c98a;
  --muted: #4e4942;
  --line: rgba(28, 25, 21, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  color-scheme: light;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-560.woff2") format("woff2");
  font-weight: 560;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic-520.woff2") format("woff2");
  font-weight: 520;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-440.woff2") format("woff2");
  font-weight: 440;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-560.woff2") format("woff2");
  font-weight: 560;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 440;
  font-size: 1.0625rem;
  line-height: 1.55;
  border-top: 4px solid var(--copper);
}
body::before {
  content: "";
  position: fixed;
  inset: 10px;
  border: 1px solid rgba(28, 25, 21, 0.16);
  pointer-events: none;
  z-index: 40;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(2.45rem, 11vw, 7.1rem); margin: 0; }
h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); margin: 0 0 0.6rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); margin: 0; }
p { margin: 0 0 0.9rem; }
a { color: var(--copper); }
a:hover { color: var(--copper-deep); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}
.skip:focus { top: 0.6rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.kicker {
  margin: 0 0 0.7rem;
  color: var(--copper);
  font-weight: 560;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lede { font-size: clamp(1.05rem, 2.4vw, 1.28rem); max-width: 38rem; }
.fine { color: var(--muted); font-size: 0.95rem; }
.token { font-weight: 560; border-bottom: 1px dashed var(--copper); }

.preview {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: var(--pine);
  color: var(--paper);
  padding: 0.65rem var(--gutter);
}
.preview p { margin: 0; }
.preview button, .btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--copper);
  background: var(--copper);
  color: #fff;
  font: inherit;
  font-weight: 560;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover, .preview button:hover { background: var(--copper-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-brass { background: var(--brass); color: var(--pine); border-color: var(--brass); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0 0.4rem; }

.header, .footer-grid, .hero, .block { position: relative; z-index: 1; }
.header-bar { border-bottom: 1px solid var(--line); }
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.7rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-name { display: block; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; }
.logo-full { display: none; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-desktop, .header-cta { display: none; }
.nav-desktop { gap: 1rem; align-items: center; }
.nav-desktop a { color: var(--ink); text-decoration: none; font-weight: 560; }
.nav-desktop a[aria-current="page"] { color: var(--copper); }
.drawer summary {
  list-style: none;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 560;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer nav { display: grid; gap: 0.2rem; padding: 0.6rem 0 0.2rem; }
.drawer nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; font-weight: 560; }

.hero { padding: 1.4rem 0 1.2rem; }
.hero h1 em { font-style: italic; font-weight: 520; color: var(--copper); }
.band {
  background: var(--pine);
  color: var(--paper);
  padding: 1.6rem 0 1.8rem;
}
.band .kicker { color: var(--brass); }
.band :focus-visible { outline-color: var(--brass); }
.band h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
.bench-note { color: #d5ddd8; max-width: 40rem; }
.controls { display: grid; gap: 0.8rem; margin: 1rem 0; }
.controls fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.controls legend { color: var(--brass); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 560; margin-bottom: 0.4rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.clip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pills label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(246, 241, 231, 0.4);
  border-radius: 999px;
  cursor: pointer;
}
.bench input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 3px; }
.bench input:checked + label { background: var(--brass); color: var(--pine); border-color: var(--brass); }
.trade, .scene { display: none; }
#answer-bench:has(#trade-barber:checked) #panel-barber,
#answer-bench:has(#trade-restaurant:checked) #panel-restaurant,
#answer-bench:has(#trade-plumber:checked) #panel-plumber { display: block; }
#answer-bench:has(#eng-chatgpt:checked) .scene-chatgpt,
#answer-bench:has(#eng-google:checked) .scene-google,
#answer-bench:has(#eng-perplexity:checked) .scene-perplexity { display: block; }
.ask { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 0.8rem; }
.scene-chatgpt .ask {
  background: rgba(246, 241, 231, 0.08);
  border-radius: 1rem 1rem 1rem 0.25rem;
  padding: 0.8rem 1rem;
}
.overview-label { color: var(--brass); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; font-weight: 560; }
.split { display: grid; gap: 0.7rem; }
.col { background: rgba(246, 241, 231, 0.06); border-radius: 0.9rem; padding: 0.9rem 1rem 1rem; }
.col.yes { background: rgba(232, 201, 138, 0.12); box-shadow: inset 0 0 0 1px rgba(232, 201, 138, 0.5); }
.col-k { margin: 0 0 0.35rem; color: var(--brass); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 560; }
.pull { font-family: var(--serif); font-style: italic; font-weight: 520; font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.25; color: var(--brass); margin: 0 0 0.55rem; }
.engine-note { color: #d5ddd8; margin-bottom: 0; }
.sources { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.7rem 0 0; }
.sources li { border: 1px solid rgba(232, 201, 138, 0.6); border-radius: 999px; padding: 0.25rem 0.7rem; color: var(--brass); font-size: 0.92rem; }

.block { padding: 2.4rem 0; }
.index { list-style: none; margin: 0; padding: 0; }
.index a {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.15rem 0.8rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.index li:last-child a { border-bottom: 1px solid var(--line); }
.index .num { color: var(--copper); font-weight: 560; }
.index h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.index .sum { grid-column: 2; color: var(--muted); margin: 0; }
.index .price { grid-column: 1 / -1; font-weight: 560; }
.rules { display: grid; gap: 1rem; }
.rules article { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.rules span { color: var(--copper); font-weight: 560; }
.steps { display: grid; gap: 1rem; }
.paper-2 { background: var(--paper-2); }
.rate { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.rate-top { display: grid; gap: 0.35rem; }
.price { font-weight: 560; font-size: 1.05rem; }
.price.on-sale { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.price .promo { color: var(--copper); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.price del { color: var(--muted); font-weight: 440; text-decoration-thickness: 2px; }
.on-sale .now { color: var(--copper); font-size: 1.2rem; }
.rate-bundle { background: var(--paper-2); border-left: 4px solid var(--copper); border-bottom: 0; border-radius: 0.8rem; padding: 1rem; margin: 0.7rem 0; }
.math { color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--muted); }
.page-head { padding-top: 1.4rem; }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6rem; }
.split-copy { display: grid; gap: 1.2rem; }
.notice, .callout { background: var(--paper-2); border-left: 4px solid var(--copper); padding: 0.85rem 1rem; }
.faq-jump { padding-left: 1.1rem; }
.faq-jump a { color: var(--ink); }
.qa { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.qa h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }

form { max-width: 40rem; }
.field { margin: 0 0 0.9rem; }
.field label, .checkline { font-weight: 560; display: block; }
.req { color: var(--copper); font-weight: 560; }
.help, .optional { font-weight: 440; color: var(--muted); }
input, textarea, select {
  width: 100%;
  margin-top: 0.3rem;
  min-height: 48px;
  border: 1px solid #5c564e;
  background: #fff;
  color: var(--ink);
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--copper); }
.consent, .checkline.row {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 440;
}
.consent input, .checkline.row input { width: 1.25rem; height: 1.25rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--copper); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.choice { display: grid; gap: 0.45rem; }
.choice label { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; font-weight: 440; }
.choice input { width: 1.15rem; min-height: 0; margin: 0; }
.thanks { background: var(--pine); color: var(--paper); border-radius: 1rem; padding: 1.1rem 1.15rem; }
.thanks a { color: var(--brass); }
.thanks :focus-visible { outline-color: var(--brass); }
.pending-note { color: var(--muted); }

.progress { height: 6px; background: rgba(28, 25, 21, 0.12); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--copper); width: 0; }
.day {
  display: grid;
  gap: 0.4rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.day-name { font-weight: 560; }
.repeat-row { border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.8rem; margin: 0 0 0.7rem; background: #fff; }
.intake-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 70%, transparent);
}
.intake-actions .btn { flex: 1; }
.step-error { background: #fff; border: 1px solid var(--copper); padding: 0.7rem 0.8rem; border-radius: 0.6rem; }

.drop {
  border: 1.5px dashed var(--copper);
  border-radius: 1rem;
  padding: 1.3rem 1rem;
  background: #fff;
  text-align: center;
}
.drop.hot { background: var(--paper-2); }
.file-card { border-top: 1px solid var(--line); padding: 0.8rem 0; }
.file-card progress { width: 100%; height: 0.7rem; accent-color: var(--copper); }

.footer { background: var(--ink); color: var(--paper); padding: 2rem 0 2.4rem; position: relative; z-index: 1; }
.footer a { color: var(--paper); }
.footer a:hover { color: var(--brass); }
.footer .token { border-bottom-color: var(--brass); }
.footer-grid { display: grid; gap: 1.2rem; }
.footer h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--sans); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.25rem 0; }
.legal { color: #d4cbbc; font-size: 0.92rem; }

@media (min-width: 720px) {
  .logo-full { display: block; margin-top: 0.15rem; }
  .hero { padding-top: 2.4rem; }
  .split, .rules, .steps, .split-copy { grid-template-columns: 1fr 1fr; }
  .index a { grid-template-columns: 3rem 1fr auto; align-items: baseline; }
  .index .sum { grid-column: 2; }
  .index .price { grid-column: 3; grid-row: 1 / span 2; text-align: right; }
  .rate-top { grid-template-columns: 1fr auto; align-items: baseline; }
  .price.on-sale { align-items: flex-end; }
  .day { grid-template-columns: 7rem 1fr 1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  body::before { display: block; }
}
@media (max-width: 719px) {
  body::before { display: none; }
  .actions .btn { flex: 1 1 100%; }
}
@media (min-width: 1080px) {
  .drawer { display: none; }
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo svg { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .logo:hover svg { transform: rotate(45deg); }
  .logo svg { transition: transform 0.25s ease; }
}

.admin-body { background: var(--paper); }
.admin-top { display: flex; justify-content: space-between; gap: 1rem; align-items: end; padding: 1rem 0; }
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.board { display: grid; gap: 0.8rem; }
.task { background: #fff; border-radius: 0.8rem; padding: 0.8rem; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.7rem; }
.gallery figure { margin: 0; background: #fff; border-radius: 0.7rem; overflow: hidden; border: 1px solid var(--line); }
.gallery img, .gallery video { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters select, .admin-top input { width: auto; min-width: 8rem; }
