/* Home page */
.section { padding: clamp(72px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin: 0; max-width: 46ch; font-size: 1.08rem; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; margin-top: -64px; padding-top: 64px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to top, var(--ink) 0%, rgba(36,33,29,0.88) 30%, rgba(36,33,29,0.35) 65%, rgba(36,33,29,0.55) 100%); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 7vw, 80px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: end; }
.hero h1 { font-size: clamp(4.2rem, 14vw, 11.5rem); line-height: 0.84; font-variation-settings: "wdth" 62; }
.hero-sub { max-width: 46ch; }
.hero-sub p { font-size: 1.1rem; color: var(--paper); }
.hero-promise { color: var(--amber) !important; font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-img { position: relative; height: 56vw; min-height: 260px; }
  .hero { flex-direction: column; align-items: stretch; }
  .hero::after { background: linear-gradient(to top, var(--ink) 0%, var(--ink) 38%, rgba(36,33,29,0) 70%); }
  .hero-copy { grid-template-columns: 1fr; margin-top: -26vw; }
}

/* Now strip */
.now { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.now-row { display: flex; align-items: center; gap: 28px; min-height: 60px; padding-top: 12px; padding-bottom: 12px; }
.now-label { text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper-3); font-size: 0.7rem; white-space: nowrap; }
.now-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; flex: 1; flex-wrap: wrap; }
.now-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.now-list .mono { color: var(--paper-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--paper-2); flex: 0 0 8px; }
.dot.live { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 0 rgba(224,102,79,0.6); animation: rec 2s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(224,102,79,0.55); } 70% { box-shadow: 0 0 0 8px rgba(224,102,79,0); } 100% { box-shadow: 0 0 0 0 rgba(224,102,79,0); } }
.now-link { text-decoration: none; color: var(--amber); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
@media (max-width: 800px) { .now-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px var(--gutter); } .now-list { flex-direction: column; gap: 8px; } }

/* A/B */
.ab { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--ink-2); overflow: hidden; }
.ab-tabs { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ab-tabs [role=tab] { background: none; border: 0; padding: 8px 14px; border-radius: 999px; cursor: pointer; color: var(--paper-2); font-weight: 600; font-size: 0.95rem; }
.ab-tabs [role=tab][aria-selected=true] { background: var(--ink-3); color: var(--paper); }
.ab-tabs .placeholder-tag { margin-left: auto; }
.ab-body { padding: clamp(20px, 3vw, 36px); min-width: 0; }
.ab-controls { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.ab-switch { position: relative; display: inline-flex; background: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; }
.ab-switch button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; font-weight: 700; font-size: 0.95rem; cursor: pointer; color: var(--paper-2); transition: color 0.2s; font-variation-settings: "wdth" 90; text-transform: uppercase; letter-spacing: 0.04em; }
.ab-switch button[aria-checked=true] { color: var(--amber-ink); }
.ab-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--paper); transition: transform 0.22s cubic-bezier(.3,.7,.3,1), background 0.2s; }
.ab-switch.after .ab-thumb { transform: translateX(100%); background: var(--amber); }
.ab-match { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.92rem; color: var(--paper-2); user-select: none; }
.ab-match input { position: absolute; opacity: 0; }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line-strong); position: relative; transition: background 0.2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); transition: transform 0.2s, background 0.2s; }
.ab-match input:checked + .switch { background: rgba(242,169,59,0.25); border-color: var(--amber); }
.ab-match input:checked + .switch::after { transform: translateX(14px); background: var(--amber); }
.ab-match input:focus-visible + .switch { outline: 2px solid var(--amber); outline-offset: 2px; }
.ab-time { margin-left: auto; color: var(--paper-2); font-size: 0.9rem; }
#abWave { height: 120px; }
.ab-hint { margin: 18px 0 0; }
kbd { font-family: var(--mono); font-size: 0.72rem; border: 1px solid var(--line-strong); border-radius: 3px; padding: 1px 5px; color: var(--paper-2); }
.ab-notes { border-left: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.ab-notes h3 { font-size: 1rem; margin-bottom: 14px; }
.ab-notes ul { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.ab-notes li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; font-size: 0.93rem; color: var(--paper-2); padding: 8px 0; border-top: 1px solid var(--line); }
.ab-notes li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 0.72rem; color: var(--amber); padding-top: 3px; }
@media (max-width: 900px) { .ab { grid-template-columns: 1fr; } .ab-notes { border-left: 0; border-top: 1px solid var(--line); } .ab-hint { display: none; } }
@media (max-width: 520px) { .ab-tabs .placeholder-tag { margin-left: 0; } .ab-time { margin-left: 0; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.svc-title { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.svc-list strong { display: block; font-size: 1.08rem; font-weight: 700; margin-bottom: 3px; }
.svc-list span { color: var(--paper-2); font-size: 0.93rem; display: block; }
.svc-list em { font-style: normal; white-space: nowrap; color: var(--paper); padding-top: 3px; }
.svc-col:last-child .svc-list strong { font-size: 1rem; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.pkg { border: 1px solid var(--line-strong); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; background: var(--ink); }
.pkg header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pkg h3 { font-size: 1.5rem; text-transform: uppercase; font-variation-settings: "wdth" 72; font-weight: 800; }
.pkg-price { font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; margin: 22px 0 22px; font-variation-settings: "wdth" 70; }
.pkg-price .mono { font-size: 1.2rem; vertical-align: top; position: relative; top: 8px; margin-right: 2px; color: var(--paper-2); }
.pkg ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.pkg li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--paper-2); }
.pkg-note { font-size: 0.9rem; color: var(--paper-2); background: var(--ink-3); border-radius: 6px; padding: 12px 14px; }
.pkg-note strong { color: var(--paper); font-weight: 600; }
.pkg .btn { justify-content: center; }
.pkg-feature { border-color: var(--amber); background: linear-gradient(var(--ink-2), var(--ink-2)); }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; } }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.calc-inputs { padding: clamp(22px, 3vw, 36px); }
.calc-inputs h3 { margin-bottom: 20px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.calc-row-stack { flex-direction: column; align-items: flex-start; }
.calc-row label[for], .calc-row .label { font-weight: 600; }
.stepper { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.3rem; color: var(--paper); }
.stepper button:hover { background: var(--ink-3); }
.stepper input { width: 52px; border: 0; background: none; text-align: center; font: 600 1.15rem var(--mono); color: var(--paper); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { background: var(--ink-2); padding: clamp(22px, 3vw, 36px); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.calc-lines { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--paper-2); font-size: 0.8rem; }
.calc-lines li.save { color: var(--green); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0 12px; }
.calc-total strong { font-family: var(--display); font-weight: 800; font-size: 3rem; font-variation-settings: "wdth" 70; line-height: 1; }
.calc-fine { font-size: 0.82rem; }
.calc-out .btn { justify-content: center; margin-top: 8px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--line); } }

/* How */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { padding: 24px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.step-n { color: var(--amber); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.7rem; text-transform: uppercase; font-variation-settings: "wdth" 72; font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--paper-2); font-size: 0.95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li { padding-bottom: 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.portal-preview { display: block; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--ink-2); padding: clamp(20px, 3vw, 32px); max-width: 760px; margin-left: auto; transition: border-color 0.2s, transform 0.2s; transform: rotate(-0.6deg); }
.portal-preview:hover { border-color: var(--amber); transform: rotate(0); }
.pp-head { display: grid; gap: 4px; margin-bottom: 16px; }
.pp-head strong { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; font-variation-settings: "wdth" 72; }
.pp-bar { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.pp-bar i { display: block; height: 100%; background: var(--amber); }
.pp-rows { list-style: none; margin: 0 0 14px; padding: 0; }
.pp-rows li { display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.pp-stage { font-family: var(--mono); font-size: 0.75rem; color: var(--paper-2); }
.pp-stage.done { color: var(--green); }
.pp-stage.warn { color: var(--amber); }
.pp-cta { color: var(--amber); font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin: 0 0 48px; }
.faq-grid > div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-grid dt { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.faq-grid dd { margin: 0; color: var(--paper-2); }
.faq-grid a, .svc-list a { color: var(--amber); }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }
.prep { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--ink-2); }
.prep summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; font-weight: 700; font-size: 1.1rem; }
.prep summary::-webkit-details-marker { display: none; }
.prep summary::after { content: "+"; font: 400 1.6rem var(--mono); color: var(--amber); margin-left: 8px; }
.prep[open] summary::after { content: "−"; }
.prep summary span:first-child { flex: 1; }
.prep ol { margin: 0; padding: 0 26px 26px 50px; color: var(--paper-2); }
.prep li { padding: 6px 0; }
.prep li strong { color: var(--paper); }

/* Studio */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.studio-copy h2 { margin-bottom: 28px; }
.studio-copy p { font-size: 1.08rem; max-width: 48ch; }
.gear { border-top: 1px solid var(--line-strong); }
.gear-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.gear-row span:last-child { font-weight: 600; }
@media (max-width: 860px) { .studio-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Events */
.events { background: var(--amber); color: var(--amber-ink); }
.events-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.events p { margin: 0; font-size: 1.1rem; max-width: 60ch; }
.events .btn { border-color: var(--amber-ink); color: var(--amber-ink); }
.events .btn:hover { background: var(--amber-ink); color: var(--amber); }

/* Start */
.start-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.start-copy h2 { margin-bottom: 24px; }
.start-copy > p { font-size: 1.08rem; max-width: 36ch; }
.start-direct { display: grid; gap: 4px; margin-top: 40px; }
.start-direct .mono { margin-top: 14px; }
.start-direct a { color: var(--amber); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.start-form { display: grid; gap: 20px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { color: var(--paper-2); font-size: 0.95rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.estimate-attached { background: var(--ink-2); border: 1px dashed rgba(242,169,59,0.5); border-radius: 6px; padding: 12px 14px; font-size: 0.93rem; }
.estimate-attached .mono { color: var(--amber); }
.link-btn { background: none; border: 0; color: var(--paper-3); text-decoration: underline; cursor: pointer; font-size: 0.85rem; padding: 0 0 0 6px; }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .form-2 { grid-template-columns: 1fr; } }

/* Anchors land below the sticky bar */
section[id], details[id], div[id="calc"] { scroll-margin-top: 64px; }
@media (max-width: 800px) {
  .now-list li { display: grid; grid-template-columns: 8px 1fr; gap: 2px 12px; align-items: center; }
  .now-list li .mono { grid-column: 2; font-size: 0.72rem; }
  .now-list li .dot { grid-row: 1; }
  .now-list li { grid-auto-flow: row; }
}
@media (max-width: 800px) { .now-list .now-what { grid-column: 2; } }
.ab-credit { margin: -8px 0 16px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 72; font-size: 1.5rem; line-height: 1.05; }
.ab-switch[hidden], .ab-match[hidden], .ab-hint[hidden] { display: none; }
.pkg-vs { margin: -12px 0 20px; color: var(--paper-3); font-size: 0.75rem; }
.pkg-fine { margin: -32px 0 56px; font-size: 0.92rem; max-width: 70ch; }
.pkg-fine a { color: var(--amber); }
