/* offcanvas — brand tokens */
:root {
  --dust: #E4E2D8;
  --stone: #CECBC0;
  --ink: #1C1A14;
  --smoke: #55534A;
  --signal: #E8D400;
  --bg: var(--dust);
  --fg: var(--ink);
  --muted: var(--smoke);
  --surface: var(--stone);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* dark surfaces: Ink background */
.dark { --bg: var(--ink); --fg: var(--dust); --muted: var(--stone); --surface: #2a2820; background: var(--bg); color: var(--fg); }

/* type */
.display, h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 0.95; }
h1, .display { font-size: clamp(3.2rem, 11vw, 10rem); }
h2 { font-size: clamp(2.2rem, 6vw, 4.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.1; }
.lede { font-size: clamp(1.1rem, 2vw, 1.5rem); max-width: 38ch; color: var(--muted); }
p { max-width: 62ch; }
.muted { color: var(--muted); }

.label {
  font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.tag {
  font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 0.3em 0.9em; color: var(--muted);
}
/* Signal: use on ONE element per surface */
.signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.hl { background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 92%, transparent 92%); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.4rem; letter-spacing: -0.03em; }
.brand svg, .brand img { width: 36px; height: 36px; } /* min 32px per brand rules */
.nav { display: flex; gap: 28px; list-style: none; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; cursor: pointer; color: var(--fg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 0 0; background: var(--ink); flex-direction: column; gap: 0; padding: var(--gutter); transform: translateX(100%); transition: transform .35s ease; }
  .nav.open { transform: none; }
  .nav a { color: var(--dust); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; text-transform: lowercase; display: block; padding: 10px 0; }
  .nav a[aria-current="page"] { color: var(--dust); }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; font: inherit; font-weight: 500;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 1em 1.6em; border-radius: 999px; border: 1.5px solid var(--fg); color: var(--fg); background: transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--fg); color: var(--bg); }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn.signal:hover { background: var(--ink); color: var(--signal); border-color: var(--ink); }
.dark .btn.signal:hover { background: var(--dust); color: var(--ink); border-color: var(--dust); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* sections */
section { padding: clamp(64px, 10vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.rule { border: 0; border-top: 1px solid var(--surface); }

/* hero */
.hero { padding-top: clamp(48px, 8vw, 96px); position: relative; overflow: hidden; }
.hero h1 { margin: 24px 0 32px; }
.hero h1 .off { display: block; transform: translateX(-0.04em); }
.hero h1 .canvas { display: block; padding-left: clamp(24px, 14vw, 220px); }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.page-hero h1 { font-size: clamp(3rem, 10vw, 8.5rem); margin-top: 20px; }
.page-hero .lede { margin-top: 28px; }

/* broken frame decoration — "off canvas" */
.frame-break { position: absolute; right: var(--gutter); top: 40px; width: clamp(120px, 22vw, 300px); aspect-ratio: 1; border: 2px dashed var(--stone); border-radius: 4px; pointer-events: none; }
.frame-break::after { content: ""; position: absolute; width: 40%; height: 40%; right: -20%; bottom: -20%; background: var(--stone); border-radius: 50%; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--surface); padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: scroll 28s linear infinite; font-weight: 600; font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: -0.02em; }
.marquee-track span::after { content: "✦"; margin-left: 48px; color: var(--muted); font-size: 0.6em; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } html { scroll-behavior: auto; } }

/* grids & cards */
.grid { display: grid; gap: clamp(12px, 2vw, 24px); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--surface); border-radius: 20px; padding: clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px; position: relative; text-decoration: none; transition: transform .25s;
}
a.card:hover { transform: translateY(-4px) rotate(-0.4deg); }
.card .thumb { aspect-ratio: 4/3; border-radius: 12px; background: var(--dust) center/cover no-repeat; display: grid; place-items: center; color: var(--smoke); font-weight: 500; font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; }
.dark .card .thumb { background-color: var(--ink); }
.card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.price { font-weight: 600; font-size: 1.25rem; }
.num { font-weight: 600; font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -0.04em; line-height: 1; }

/* index list (home sections) */
.index-list { list-style: none; border-top: 1px solid var(--surface); }
.index-list a { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px; padding: clamp(18px, 3vw, 32px) 0; border-bottom: 1px solid var(--surface); text-decoration: none; transition: padding .25s; }
.index-list a:hover { padding-left: 16px; }
.index-list .n { font-weight: 500; font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.index-list .t { font-weight: 600; font-size: clamp(1.8rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.index-list .d { color: var(--muted); max-width: 30ch; text-align: right; }
@media (max-width: 700px) { .index-list a { grid-template-columns: 40px 1fr; } .index-list .d { display: none; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 20px; }

/* placeholder notice */
/* .ph marks placeholder copy — search "ph" to find text to replace */
.ph { }
.ph-note { font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* coming soon */
.soon { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.soon h2 { font-size: clamp(3rem, 12vw, 9rem); }

/* faq */
details { border-bottom: 1px solid var(--surface); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--muted); }

/* footer */
.site-footer { padding: clamp(64px, 8vw, 120px) 0 32px; }
.site-footer .big { font-weight: 600; font-size: clamp(4rem, 18vw, 16rem); letter-spacing: -0.05em; line-height: .85; margin: 40px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; }
.footer-links a { text-decoration: none; font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--fg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* contact form */
.contact-form { gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { min-width: min(100%, 200px); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--dust); border: 1.5px solid transparent;
  border-radius: 12px; padding: 14px 16px; width: 100%; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--smoke); border-style: dashed; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: .9rem; }

/* products */
img.thumb { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.product-card .thumb { aspect-ratio: 16/9; }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }
.back { text-decoration: none; }
.product-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.product-intro .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.buy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.product-hero-img { width: 100%; height: auto; border-radius: 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(12px, 2vw, 24px); }
.gallery img { width: 100%; height: auto; border-radius: 16px; background: var(--stone); transition: transform .25s; }
.gallery a:hover img { transform: scale(1.01); }

/* mentor photo */
img.thumb.portrait { aspect-ratio: 1; object-fit: cover; }

/* pricing calculator */
.calc-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.calc-tools select { font: inherit; margin-left: 8px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.calc-card { gap: 12px; }
.calc-card input, .calc-card select { font: inherit; color: var(--ink); background: var(--dust); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; }
.calc-card input:focus { outline: none; border-color: var(--ink); }
.calc-card.field input { font-size: 1.6rem; font-weight: 600; margin-top: auto; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr 130px 32px; gap: 8px; align-items: center; }
.row input[type="number"] { text-align: right; }
.x { background: none; border: 0; font: inherit; font-size: 1.4rem; color: var(--smoke); cursor: pointer; line-height: 1; }
.x:hover { color: var(--ink); }
.row-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--dust); }
.link-btn { background: none; border: 0; font: inherit; font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--ink); padding: 8px 0; }
.calc-advanced { margin-top: 24px; }
.rate-big { font-weight: 600; font-size: clamp(3.5rem, 13vw, 11rem); letter-spacing: -0.05em; line-height: 1; margin: 24px 0 48px; display: flex; align-items: baseline; gap: .2em; flex-wrap: wrap; }
.rate-big .per { font-size: .22em; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.hl-dark { box-shadow: inset 0 -0.14em 0 var(--signal); }
.stats .stat, .result .stat { font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
.formula { margin-top: 40px; max-width: 80ch; font-size: .95rem; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs button { font: inherit; font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .9em 1.4em; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--dust); }
.result { border-top: 1px solid var(--dust); padding-top: 16px; margin-top: 8px; }
.pkg-head, .pkg-row { display: grid; grid-template-columns: 1.4fr 90px 1fr 1.2fr 32px; gap: 8px; align-items: center; }
.pkg-price { font-weight: 600; text-align: right; }
.bar { position: relative; height: 8px; background: var(--dust); border-radius: 999px; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 999px; }
.bar::after { content: attr(data-pct); position: absolute; right: 0; top: 12px; font-size: .75rem; color: var(--smoke); }
.disclaimer { margin-top: 40px; font-size: .85rem; }
@media (max-width: 700px) {
  .row { grid-template-columns: 1fr 96px 28px; }
  .pkg-head { display: none; }
  .pkg-row { grid-template-columns: 1fr 80px 28px; row-gap: 4px; padding-bottom: 20px; }
  .pkg-row .pkg-price { grid-column: 1; text-align: left; }
  .pkg-row .bar { grid-column: 2 / 4; }
}
.pkg-head span:nth-child(2), .pkg-head span:nth-child(3) { text-align: right; }

/* mentorship sessions */
.session-group + .session-group { margin-top: clamp(32px, 5vw, 56px); }
.session-group > .label { display: block; margin-bottom: 16px; }
html { scroll-padding-top: 88px; }

/* mentor card: photo column matches the text column's height */
.mentor-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; gap: clamp(24px, 4vw, 56px); }
.mentor-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 50% 40%; border-radius: 16px; }
.mentor-card .stack { align-self: center; }
.mentor-card p { color: var(--muted); }
@media (max-width: 760px) {
  .mentor-card { grid-template-columns: 1fr; }
  .mentor-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* product about + sale price */
.was { color: var(--smoke); font-weight: 400; margin-right: .2em; }
.about-copy h3 { margin-top: 12px; }
.about-copy ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; max-width: 62ch; }
