/* =========================================================================
   AG & UG STUDIO · styles (mobile-first)
   Palette: noir / espresso / cocoa, gold, ivory. Type: Playfair Display + Jost
   ========================================================================= */
@font-face { font-family: "Playfair"; src: url("assets/fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("assets/fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --noir: #0E0B08;
  --noir-2: #15100C;
  --espresso: #1D130C;
  --cocoa: #2A1D15;
  --ivory: #F7F1E5;
  --cream: #EFE5D3;
  --sand: #E3D5BC;
  --ink: #1A120C;
  --ink-soft: #5A4A3C;
  --on-dark: #F5EDDC;
  --on-dark-soft: rgba(245, 237, 220, .72);
  --gold: #C9A24B;
  --gold-2: #E8CB7E;
  --gold-deep: #8F6A24;
  --gold-grad: linear-gradient(135deg, #F1D894 0%, #C9A24B 52%, #9C7A2F 100%);
  --line-dark: rgba(201, 162, 75, .28);
  --line-light: rgba(26, 18, 12, .12);
  --ok: #2F6B45;
  --no: #9B3B2E;
  --serif: "Playfair", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(14, 11, 8, .45);
  --header-h: 64px;
  --pad: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.pkg-price, .bcard-price, .step-num, .signature { font-variant-numeric: lining-nums; }
h2 em, h1 em { font-style: italic; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--noir); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }

/* ---- Buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; text-align: center; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: var(--noir); box-shadow: 0 12px 30px -12px rgba(201, 162, 75, .7); }
.btn-gold:hover { box-shadow: 0 18px 36px -14px rgba(201, 162, 75, .9); }
.btn-line { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn-line:hover { background: rgba(201, 162, 75, .12); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line-dark:hover { background: var(--ink); color: var(--ivory); }
.btn-soon { background: var(--cream); color: var(--ink-soft); border-color: var(--sand); }
.btn-soon:hover { transform: none; background: var(--sand); }

/* ---- Eyebrows & section heads ------------------------------------------ */
.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.section { padding: clamp(72px, 11vw, 120px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 6vw, 56px); }
.section-head h2 { font-size: clamp(34px, 8.6vw, 54px); margin-top: 14px; }
.section-head h2 em { color: var(--gold-deep); }
.section-lede { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.section-lede a { color: var(--gold-deep); }
.section-head--left { text-align: left; margin-left: 0; }

/* ---- Header ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--noir); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; color: var(--on-dark); }
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--noir); font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.nav-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); display: grid; place-items: center; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--noir); border-bottom: 1px solid var(--line-dark); padding: 8px var(--pad) 24px; display: none; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav a { display: block; padding: 14px 0; text-decoration: none; font-size: 17px; letter-spacing: .02em; border-bottom: 1px solid rgba(201, 162, 75, .14); color: var(--on-dark); }
.site-nav a.is-active { color: var(--gold-2); }
.site-nav .nav-cta { margin-top: 16px; border: 0; text-align: center; border-radius: 999px; background: var(--gold-grad); color: var(--noir); font-weight: 600; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 70% at 85% 10%, #3A2618 0%, var(--espresso) 35%, var(--noir) 75%); color: var(--on-dark); padding: 8px 0 56px; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -180px; top: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 162, 75, .28), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.eb-more { display: none; }
.hero .eyebrow { color: var(--gold-2); font-size: 11px; letter-spacing: .22em; }
.hero .eyebrow::before { display: none; }
.hero-title { font-size: clamp(58px, 17vw, 120px); line-height: .95; margin-top: 8px; font-weight: 600; letter-spacing: -.02em; }
.hero-title em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-lede { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--on-dark-soft); max-width: 34ch; }
.hero-lede strong { color: var(--on-dark); font-weight: 500; }
.hero-sub { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-2); }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: "◆"; font-size: 7px; color: var(--gold); }

.hero-visual { position: relative; height: 236px; order: -1; }
.mockup { position: absolute; inset: 0; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.mock-ring { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--line-dark); box-shadow: inset 0 0 0 18px rgba(201, 162, 75, .04); }
.mock { position: absolute; width: 120px; border-radius: 6px; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(201, 162, 75, .25); }
.mock--back-l { transform: translate(-62px, 10px) rotate(-11deg); filter: brightness(.82); }
.mock--back-r { transform: translate(62px, 8px) rotate(9deg); filter: brightness(.85); }
.mock--front { width: 140px; transform: translateY(-4px); z-index: 2; }
.mock-shadow { position: absolute; bottom: 2px; width: 180px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); animation: shadow 6s ease-in-out infinite; }
.badge { position: absolute; z-index: 3; width: 104px; height: 104px; left: 50%; bottom: 0; margin-left: 58px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5)); }
.badge-spin { transform-origin: 70px 70px; animation: spin 18s linear infinite; }
.badge-text { font-family: var(--sans); font-size: 10.6px; font-weight: 600; letter-spacing: .14em; fill: var(--noir); }
.badge-mono { font-family: var(--serif); font-size: 22px; font-weight: 700; fill: var(--gold-2); font-style: italic; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.86); opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- What I build strip ----------------------------------------------- */
.build-strip { background: var(--noir); color: var(--on-dark); padding: 40px 0 44px; border-bottom: 1px solid var(--line-dark); }
.strip-title { text-align: center; font-family: var(--sans); font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--gold-2); display: flex; align-items: center; gap: 16px; }
.strip-title::before, .strip-title::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.strip { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.strip li { display: flex; align-items: center; gap: 12px; padding: 14px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); font-family: var(--serif); font-size: 16.5px; line-height: 1.2; background: rgba(201, 162, 75, .04); }
.strip li:last-child { grid-column: 1 / -1; justify-content: center; background: var(--gold-grad); color: var(--noir); border-color: transparent; font-weight: 600; }
.strip svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.strip li:last-child svg { stroke: var(--noir); }

/* ---- Chooser ---------------------------------------------------------- */
.chooser { background: var(--ivory); }
.choose-grid { list-style: none; display: grid; gap: 14px; }
.choose-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.choose-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); }
.choose-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.choose-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold-deep); letter-spacing: .1em; }
.choose-card h3 { font-size: 25px; }
.choose-card p { color: var(--ink-soft); font-size: 16px; }
.choose-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; letter-spacing: .04em; color: var(--gold-deep); }
.choose-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.choose-card:hover .choose-go svg { transform: translateX(4px); }

/* ---- Shop ------------------------------------------------------------- */
.shop { background: var(--cream); }
.tabs-wrap { margin: 0 calc(var(--pad) * -1); position: sticky; top: var(--header-h); z-index: 20; background: linear-gradient(var(--cream) 80%, rgba(239, 229, 211, 0)); padding: 10px 0 14px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(26, 18, 12, .18); background: var(--ivory); color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.tab span { font-size: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(26, 18, 12, .08); }
.tab[aria-pressed="true"] { background: var(--noir); color: var(--gold-2); border-color: var(--noir); }
.tab[aria-pressed="true"] span { background: var(--gold); color: var(--noir); }
.tab[data-tab="studio"] { border-color: var(--gold); }
.shop-count { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 8px; }

.shelves { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.shelf { min-width: 0; }
.shelf[hidden] { display: none; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(26, 18, 12, .14); }
.shelf-name { font-size: 26px; }
.shelf-n { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--gold-deep); vertical-align: 4px; margin-left: 4px; }
.shelf-blurb { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.shelf--studio .shelf-name::before { content: "✦ "; color: var(--gold); font-size: 20px; vertical-align: 3px; }
.shelf-arrows { display: none; gap: 8px; }
.shelf.is-scrollable .shelf-arrows { display: flex; }
.shelf-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(26, 18, 12, .25); background: var(--ivory); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.shelf-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shelf-arrow--prev svg { transform: rotate(180deg); }
.shelf-arrow:hover:not(:disabled) { background: var(--noir); color: var(--gold-2); }
.shelf-arrow:disabled { opacity: .35; cursor: default; }
.shelf-row { position: relative; list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 18px; margin: 0 calc(var(--pad) * -1); scroll-padding: 0 var(--pad); scrollbar-width: thin; scrollbar-color: var(--gold) transparent; -webkit-overflow-scrolling: touch; }
.shelf-row:focus-visible { outline-offset: -2px; }

.bcard { position: relative; flex: 0 0 82%; max-width: 330px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); box-shadow: 0 10px 30px -22px rgba(14, 11, 8, .5); }
.bcard-cover { position: relative; height: 210px; overflow: hidden; background: radial-gradient(90% 90% at 50% 0%, #3A2618, var(--noir) 70%); padding: 22px 18px 0; display: flex; justify-content: center; align-items: flex-start; }
.bcard-cover img { width: 58%; max-width: 190px; border-radius: 4px; box-shadow: 0 -6px 30px -10px rgba(201, 162, 75, .35); }
.bcard-status { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(245, 237, 220, .12); color: var(--on-dark); border: 1px solid rgba(245, 237, 220, .25); }
.is-building .bcard-status { background: var(--gold-grad); color: var(--noir); border-color: transparent; }
.is-available .bcard-status { background: #E3F0E6; color: var(--ok); border-color: transparent; }
.bcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.bcard-meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.bcard-title { font-size: 22px; margin-top: 8px; }
.bcard-blurb { font-size: 15px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }
.bcard-lic { margin-top: 12px; align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--noir); color: var(--gold-2); }
.bcard-items { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(26, 18, 12, .18); }
.bcard-items-h { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.bcard-items ul { list-style: none; font-size: 14.5px; line-height: 1.45; }
.bcard-items li { position: relative; padding: 3px 0 3px 18px; }
.bcard-items li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.bcard-items details summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--gold-deep); padding: 6px 0; display: inline-flex; }
.bcard-items details summary::-webkit-details-marker { display: none; }
.bcard-items details .less, .bcard-items details[open] .more { display: none; }
.bcard-items details[open] .less { display: inline; }
.bcard-items details[open] summary { order: 2; }
.bcard-items details[open] { display: flex; flex-direction: column; }
.bcard-buy { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcard-price { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); }
.bcard-btn { min-height: 46px; padding: 10px 18px; font-size: 14px; }
.bcard-legal { margin-top: 10px; font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); }
.bcard-legal a { color: var(--gold-deep); }

/* ---- Licence ---------------------------------------------------------- */
.licence { background: var(--noir); color: var(--on-dark); }
.licence .section-head h2 em { color: var(--gold-2); }
.licence .section-lede { color: var(--on-dark-soft); }
.licence-oneline { max-width: 820px; margin: 0 auto 28px; padding: 22px 22px; border-radius: var(--radius); border: 1px solid var(--gold); background: rgba(201, 162, 75, .07); font-size: 17px; line-height: 1.55; }
.licence-oneline .ok { color: #9FD8AE; }
.licence-oneline .no { color: #F0A595; }
.table-wrap { max-width: 920px; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--line-dark); overflow: hidden; }
.lic-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lic-table th, .lic-table td { padding: 12px 8px; border-bottom: 1px solid rgba(201, 162, 75, .16); text-align: center; vertical-align: middle; }
.lic-table tbody tr:last-child th, .lic-table tbody tr:last-child td { border-bottom: 0; }
.lic-table thead th { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-soft); background: var(--noir-2); padding: 14px 6px; }
.lic-table thead th.is-wl { color: var(--noir); background: var(--gold-grad); }
.lic-table tbody th { text-align: left; font-weight: 400; font-size: 14.5px; line-height: 1.4; color: var(--on-dark); width: 52%; padding-left: 14px; }
.lic-table td { padding: 12px 4px; }
.lic-table td { font-size: 0; }
.lic-table td::before { font-size: 18px; font-weight: 700; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.lic-table td.y::before { content: "✓"; color: #9FD8AE; background: rgba(159, 216, 174, .12); }
.lic-table td.n::before { content: "✕"; color: #F0A595; background: rgba(240, 165, 149, .1); font-size: 14px; }
.lic-table td.p { font-size: 11.5px; color: var(--on-dark-soft); line-height: 1.3; }
.lic-table td.is-wl { background: rgba(201, 162, 75, .08); }
.licence-notes { max-width: 920px; margin: 22px auto 0; display: grid; gap: 10px; font-size: 15px; color: var(--on-dark-soft); }
.licence-notes strong { color: var(--on-dark); font-weight: 500; }
.licence-notes a { color: var(--gold-2); }

/* ---- Packages --------------------------------------------------------- */
.packages { background: var(--ivory); }
.pkgs { list-style: none; display: grid; gap: 16px; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); }
.pkg h3 { font-size: 25px; }
.pkg-price { font-family: var(--serif); font-size: 42px; font-weight: 600; margin-top: 10px; line-height: 1; }
.pkg-price span { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; vertical-align: middle; }
.pkg-desc { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }
.pkg-list { list-style: none; margin: 16px 0 22px; display: grid; gap: 8px; font-size: 15px; }
.pkg-list li { position: relative; padding-left: 26px; }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-deep); font-weight: 700; }
.pkg-btn { margin-top: auto; width: 100%; }
.pkg--featured { background: var(--noir); color: var(--on-dark); border: 1px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(14, 11, 8, .7); }
.pkg--featured .pkg-price { color: var(--gold-2); }
.pkg--featured .pkg-price span, .pkg--featured .pkg-desc { color: var(--on-dark-soft); }
.pkg--featured .pkg-list li::before { color: var(--gold); }
.pkg-badge { position: absolute; top: -13px; left: 24px; background: var(--gold-grad); color: var(--noir); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pkg-note { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 14.5px; color: var(--ink-soft); }

/* ---- How it works ----------------------------------------------------- */
.how { background: radial-gradient(100% 80% at 0% 0%, #3A2618 0%, var(--espresso) 50%, var(--noir) 100%); color: var(--on-dark); }
.how .section-head h2 em { color: var(--gold-2); }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 24px 22px 22px 22px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(14, 11, 8, .35); }
.step-num { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 600; color: transparent; -webkit-text-stroke: 1.2px var(--gold); margin-bottom: 12px; }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 8px; color: var(--on-dark-soft); font-size: 15.5px; }

/* ---- About ------------------------------------------------------------ */
.about { background: var(--cream); }
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-visual { display: grid; place-items: center; }
.fan { position: relative; width: 280px; height: 260px; }
.fan img { position: absolute; width: 150px; left: 50%; top: 10px; margin-left: -75px; border-radius: 6px; box-shadow: var(--shadow); transform-origin: 50% 110%; }
.fan img:nth-child(1) { transform: rotate(-16deg) translateX(-30px); }
.fan img:nth-child(2) { transform: rotate(14deg) translateX(30px); }
.fan img:nth-child(3) { z-index: 2; transform: translateY(-6px); }
.about-copy h2 { font-size: clamp(34px, 8.6vw, 52px); margin: 14px 0 18px; }
.about-copy h2 em { color: var(--gold-deep); }
.about-copy p + p { margin-top: 14px; }
.about-copy > p:not(.eyebrow):not(.signature) { font-size: 18px; color: var(--ink-soft); }
.signature { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold-deep); margin-top: 22px !important; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { background: var(--ivory); }
.faq-grid { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line-light); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-family: var(--serif); font-size: 18.5px; font-weight: 600; position: relative; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 20px; color: var(--gold-deep); border: 1px solid var(--gold); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 15.5px; }
.faq-list a { color: var(--gold-deep); }

/* ---- Build request form ----------------------------------------------- */
.build { background: var(--noir); color: var(--on-dark); }
.build .section-head h2 em { color: var(--gold-2); }
.build .section-lede { color: var(--on-dark-soft); }
.form { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(201, 162, 75, .04); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--on-dark); padding: 0; }
.opt { color: var(--on-dark-soft); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--on-dark); background: var(--noir-2); border: 1px solid rgba(201, 162, 75, .35); border-radius: 12px; padding: 14px 14px; min-height: 52px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field ::placeholder { color: rgba(245, 237, 220, .42); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(201, 162, 75, .25); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(201, 162, 75, .45); font-size: 15px; cursor: pointer; }
.choices input:checked + span { background: var(--gold-grad); color: var(--noir); border-color: transparent; font-weight: 600; }
.choices input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-soft); text-align: center; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: #080604; color: var(--on-dark-soft); padding: 56px 0 30px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.footer-top { display: grid; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid rgba(201, 162, 75, .16); }
.footer-tag { max-width: 46ch; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--gold-2); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.policies { display: grid; gap: 0; padding: 12px 0; }
.policies details { border-bottom: 1px solid rgba(201, 162, 75, .12); }
.policies summary { cursor: pointer; padding: 14px 0; color: var(--on-dark); font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.policies summary::after { content: "+"; color: var(--gold); }
.policies details[open] summary::after { content: "–"; }
.policies summary::-webkit-details-marker { display: none; }
.policies p { padding-bottom: 16px; font-size: 14px; line-height: 1.6; }
.policies a { color: var(--gold-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13.5px; }
.footer-bottom a { color: var(--gold-2); }
.to-top { text-decoration: none; }

/* ---- Toast ------------------------------------------------------------ */
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); width: min(92vw, 460px); padding: 14px 18px; border-radius: 14px; background: var(--noir); color: var(--on-dark); border: 1px solid var(--gold); box-shadow: var(--shadow); font-size: 15px; z-index: 90; opacity: 0; transition: opacity .35s, transform .35s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---- Reveal ----------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---- Legal / simple pages --------------------------------------------- */
.page-dark { background: var(--noir); color: var(--on-dark); }
.legal-doc { padding: 56px 0 80px; background: var(--ivory); }
.legal-doc .container { max-width: 820px; }
.legal-doc h1 { font-size: clamp(38px, 9vw, 58px); margin-top: 12px; }
.legal-doc h1 em { color: var(--gold-deep); }
.legal-doc h2 { font-size: 24px; margin: 38px 0 12px; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: 16px; }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul { padding-left: 20px; display: grid; gap: 8px; }
.legal-doc a { color: var(--gold-deep); }
.legal-doc strong { color: var(--ink); }
.legal-updated { margin-top: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.legal-summary { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--noir); color: var(--on-dark); border: 1px solid var(--gold); }
.legal-summary p { color: var(--on-dark-soft) !important; }
.legal-summary strong { color: var(--gold-2) !important; }
.legal-doc .lic-mini { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.legal-doc .lic-mini th, .legal-doc .lic-mini td { border: 1px solid var(--line-light); padding: 10px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-doc .lic-mini thead th { background: var(--cream); color: var(--ink); }
.simple-page { min-height: 100vh; display: grid; place-items: center; padding: 48px 0; background: radial-gradient(120% 70% at 85% 10%, #3A2618 0%, var(--espresso) 35%, var(--noir) 75%); color: var(--on-dark); }
.simple-card { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(14, 11, 8, .5); }
.simple-card .brand { justify-content: center; margin-bottom: 26px; }
.simple-card .eyebrow { color: var(--gold-2); }
.simple-card .eyebrow::before { display: none; }
.simple-card h1 { font-size: clamp(38px, 10vw, 56px); margin-top: 12px; }
.simple-card h1 em { color: var(--gold-2); }
.simple-card .section-lede { color: var(--on-dark-soft); }
.simple-card a:not(.btn):not(.brand) { color: var(--gold-2); }
.dl-files { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.simple-legal { margin-top: 22px; font-size: 13px; color: var(--on-dark-soft); }
.simple-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ======================================================================
   ≥ 600px
   ====================================================================== */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip li:last-child { grid-column: span 2; }
  .choose-grid { grid-template-columns: repeat(3, 1fr); }
  .pkgs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .field--wide { grid-column: 1 / -1; }
  .form-submit { width: auto; justify-self: start; }
  .form-note { text-align: left; }
  .bcard { flex-basis: 300px; }
  .lic-table { font-size: 15px; }
  .lic-table thead th { font-size: 12px; padding: 16px 10px; }
  .lic-table tbody th { padding-left: 22px; font-size: 15.5px; }
  .footer-top { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { grid-column: 1 / -1; }
}

/* ======================================================================
   ≥ 960px (desktop)
   ====================================================================== */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; padding: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 28px; }
  .site-nav a { border: 0; padding: 6px 0; font-size: 15px; letter-spacing: .06em; position: relative; }
  .site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
  .site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0; padding: 10px 22px; }

  .hero { padding: 40px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; min-height: calc(100vh - var(--header-h) - 140px); }
  .hero-visual { order: 0; height: 520px; }
  .hero .eyebrow { font-size: 12.5px; }
  .eb-more { display: inline; }
  .hero-lede { font-size: 21px; }
  .hero-sub { font-size: 22px; }
  .mock-ring { width: 470px; height: 470px; }
  .mock { width: 240px; }
  .mock--front { width: 280px; }
  .mock--back-l { transform: translate(-120px, 20px) rotate(-11deg); }
  .mock--back-r { transform: translate(120px, 16px) rotate(9deg); }
  .mock-shadow { width: 360px; bottom: 30px; }
  .badge { width: 150px; height: 150px; left: auto; right: 6px; bottom: 34px; margin: 0; }

  .strip { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .strip li { flex-direction: column; text-align: center; justify-content: center; padding: 22px 12px; font-size: 18px; }
  .strip li:last-child { grid-column: auto; }

  .tabs-wrap { margin: 0; padding: 12px 0 16px; }
  .tabs { justify-content: center; flex-wrap: wrap; padding: 0; overflow: visible; }
  .shop-count { text-align: center; }
  .shelf-row { margin: 0; padding: 4px 2px 18px; scroll-padding: 0; }
  .bcard { flex-basis: 286px; }

  .pkgs { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  .pkg--featured { transform: translateY(-12px); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .fan { width: 400px; height: 360px; }
  .fan img { width: 210px; margin-left: -105px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mockup, .mock-shadow, .badge-spin { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .choose-card:hover { transform: none; }
}

/* ---- free guide ---- */
.free-guide { padding-top: 24px; padding-bottom: 24px; }
.fg-card { text-align: center; padding: 36px 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: radial-gradient(120% 90% at 85% 10%, #3A2618 0%, var(--espresso) 45%, var(--noir) 90%); color: var(--on-dark); }
.fg-card h2 { color: var(--on-dark); } .fg-card h2 em { color: var(--gold-2); } .fg-card .section-lede { color: var(--on-dark-soft); margin: 10px auto 22px; max-width: 520px; }
.fg-modal[hidden] { display: none; }
.fg-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.fg-backdrop { position: absolute; inset: 0; background: rgba(14, 11, 8, .72); backdrop-filter: blur(3px); }
.fg-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; padding: 34px 26px 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: radial-gradient(120% 80% at 85% 0%, #3A2618 0%, var(--espresso) 45%, var(--noir) 95%); color: var(--on-dark); text-align: center; box-shadow: var(--shadow); animation: fgIn .35s ease; }
@keyframes fgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.fg-box h2 { font-family: var(--serif); font-size: clamp(24px, 6vw, 30px); line-height: 1.15; margin: 6px 0 8px; color: var(--on-dark); } .fg-box h2 em { color: var(--gold-2); }
.fg-sub { color: var(--on-dark-soft); margin: 0 0 18px; }
.fg-x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--on-dark); font-size: 30px; line-height: 1; cursor: pointer; border-radius: 50%; }
.fg-x:hover { background: rgba(201, 162, 75, .15); }
.fg-form { display: grid; gap: 12px; } .fg-label { position: absolute; left: -9999px; }
.fg-form input[type=email] { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(245, 237, 220, .06); color: var(--on-dark); font: 16px var(--sans); box-sizing: border-box; }
.fg-form .btn { width: 100%; } .fg-note { font-size: 12px; color: var(--on-dark-soft); margin: 2px 0 0; }
.fg-price { font-size: 18px; margin: 14px 0 18px; color: var(--on-dark-soft); } .fg-price b { font-family: var(--serif); font-size: 30px; color: var(--gold-2); margin-left: 6px; }
.fg-promo { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-dark); }

.bcard-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
