/* ============================================================
   THE ONLINE SKATEPARK
   One stylesheet for every page.

   BRAND — change these four and the whole site follows:
   ============================================================ */
@font-face {
  font-family: "Sapiens";
  src: url("/assets/fonts/sapiens-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sapiens";
  src: url("/assets/fonts/sapiens-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* ---- BRAND PALETTE ----
     #f7f2e9 bone   #ead6b5 sand    #c9a882 tan     #e5771f orange
     #9c451a rust   #6e361d cocoa   #2f170c bark    #6fa592 sage
     #94d2bd mint   #d4af37 gold    #cd0002 red                      */
  --paper:      #f7f2e9;   /* page background  */
  --soft:       #ead6b5;   /* panels           */
  --ink:        #2f170c;   /* main text        */
  --muted:      #6e361d;   /* secondary text   */
  --line:       #d8c3a3;   /* hairlines        */
  --accent:     #e5771f;   /* buttons, links   */
  --accent-ink: #2f170c;   /* text on accent   */
  --accent-2:   #9c451a;   /* accent, pressed  */
  --sage:       #6fa592;   /* secondary mark   */

  --display: "Sapiens", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 900px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#2f170c; --soft:#40200f; --ink:#f7f2e9; --muted:#c9a882;
    --line:#4d2814; --accent:#e5771f; --accent-ink:#2f170c; --accent-2:#f08c3a; --sage:#94d2bd;
  }
}
:root[data-theme="dark"] {
  --paper:#2f170c; --soft:#40200f; --ink:#f7f2e9; --muted:#c9a882;
  --line:#4d2814; --accent:#e5771f; --accent-ink:#2f170c; --accent-2:#f08c3a; --sage:#94d2bd;
}

*,*::before,*::after { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--body);
       font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased; }
img { max-width:100%; height:auto; display:block; }
a { color:inherit; }
h1,h2,h3 { font-family:var(--display); margin:0; line-height:1.12; letter-spacing:-0.045em; text-wrap:balance; }
h1 { font-size:clamp(2.1rem,6.5vw,3.4rem); font-weight:700; }
h2 { font-size:clamp(1.5rem,3.8vw,2.1rem); font-weight:700; }
h3 { font-size:1.1rem; font-weight:700; }
p  { margin:0; }
strong { font-weight:650; }

.wrap { width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:20px; }
.narrow { max-width:640px; }
section { padding-block:clamp(2.4rem,6vw,4rem); }
.lead { color:var(--muted); margin-top:1rem; max-width:58ch; }
.label { font-family:var(--display); font-size:0.72rem; font-weight:700; letter-spacing:0.15em;
         text-transform:uppercase; color:var(--muted); margin:0 0 0.8rem; }
.rule { border:0; border-top:1px solid var(--line); margin:0; }
.stack > * + * { margin-top:1.1rem; }

/* header */
header.site { position:sticky; top:env(safe-area-inset-top,0px); z-index:30;
  background:color-mix(in srgb,var(--paper) 92%,transparent); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line); }
.bar { display:flex; align-items:center; gap:1.2rem; min-height:58px; }
.logo { font-family:var(--display); margin-right:auto; display:flex; align-items:center; gap:.6rem;
        text-decoration:none; font-weight:700; letter-spacing:-0.02em; font-size:.92rem; }
.logo img { height:28px; width:auto; }
.bar nav { display:none; gap:1.3rem; }
.bar nav a { font-size:.86rem; text-decoration:none; color:var(--muted); }
.bar nav a:hover { color:var(--ink); }
@media (min-width:800px){ .bar nav { display:flex; } }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; text-align:center;
  font-family:var(--display); font-weight:700; font-size:.95rem; text-decoration:none;
  padding:.85rem 1.4rem; border-radius:8px; border:1.5px solid transparent; cursor:pointer; }
.btn-primary { background:var(--accent); color:var(--accent-ink); }
.btn-primary:hover { background:var(--accent-2); color:var(--paper); }
.btn-plain { border-color:var(--line); color:var(--ink); background:transparent; }
.btn-plain:hover { background:var(--soft); }
.btn-sm { padding:.5rem .9rem; font-size:.84rem; }
.btn-big { padding:1.05rem 2rem; font-size:1.08rem; width:100%; }
@media (min-width:520px){ .btn-big { width:auto; } }
.btn-row { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.6rem; }

/* hero */
.hero { padding-block:clamp(2.6rem,7vw,4.5rem) clamp(2rem,5vw,3rem); }
.pricebar { display:flex; flex-wrap:wrap; align-items:baseline; gap:.6rem 1rem; margin-top:2rem; }
.pricebar .amt { font-family:var(--display); font-weight:700; font-size:2.6rem; letter-spacing:-0.04em; }
.pricebar .note { color:var(--muted); font-size:.9rem; }
.micro { font-size:.85rem; color:var(--muted); margin-top:.9rem; }

/* blocks */
.panel { background:var(--soft); border-radius:14px; padding:clamp(1.4rem,4vw,2rem); }
.grid { display:grid; gap:1rem; margin-top:1.8rem; }
@media (min-width:640px){ .grid-2 { grid-template-columns:1fr 1fr; } }
@media (min-width:700px){ .grid-3 { grid-template-columns:repeat(3,1fr); } }
.card { border:1px solid var(--line); border-radius:12px; padding:1.3rem;
        display:flex; flex-direction:column; gap:.5rem; }
.card p { color:var(--muted); font-size:.93rem; }
.card .price { font-family:var(--display); font-weight:700; font-size:1.4rem; letter-spacing:-0.02em; }
.card .price small { font-weight:400; font-size:.78rem; color:var(--muted); }
.card .btn { margin-top:auto; align-self:flex-start; }

/* ticked list */
ul.ticks { list-style:none; padding:0; margin:1.6rem 0 0; display:grid; gap:.75rem; }
ul.ticks li { display:flex; gap:.75rem; align-items:flex-start; font-size:.97rem; }
ul.ticks li::before { content:"✓"; color:var(--accent); font-weight:700; flex:none; line-height:1.5; }

/* guarantee */
.guarantee { border:2px solid var(--accent); border-radius:14px; padding:clamp(1.4rem,4vw,2rem); }
.guarantee h2 { margin-bottom:.8rem; }
.guarantee p { color:var(--muted); max-width:52ch; }

/* forms */
form.signup { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem; }
form.signup input[type=email] { flex:1 1 240px; min-width:0; padding:.8rem .95rem; font:inherit;
  font-size:.95rem; border:1.5px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); }
form.signup input[type=email]:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:transparent; }
/* The bot trap. display:none, not off-screen: Chrome and iPhone autofill fill off-screen fields, which silently dropped Theo's own sign-ups (8 Oct 2026). Bots still fill it. */
.hp { display:none !important; }

/* faq */
details { border-bottom:1px solid var(--line); }
details:first-of-type { border-top:1px solid var(--line); }
summary { cursor:pointer; list-style:none; padding-block:1rem; font-weight:650; display:flex; gap:1rem; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; margin-left:auto; color:var(--accent); font-weight:700; }
details[open] summary::after { content:"–"; }
details p { padding-bottom:1.1rem; color:var(--muted); max-width:60ch; font-size:.95rem; }

/* course */
.lesson-rows { margin-top:1.6rem; border-top:1px solid var(--line); }
.lesson-row { display:flex; align-items:center; gap:1rem; padding-block:.8rem;
  border-bottom:1px solid var(--line); text-decoration:none; }
.lesson-row.locked { color:var(--muted); cursor:default; }
.lesson-row:not(.locked):hover { background:var(--soft); }
.lesson-row .num { font-variant-numeric:tabular-nums; font-weight:700; font-size:.78rem;
  color:var(--muted); min-width:2.1rem; }
.lesson-row .t { font-weight:600; font-size:.96rem; }
.lesson-row .meta { margin-left:auto; font-size:.8rem; color:var(--muted); display:flex; gap:.5rem; align-items:center; }
.tag { font-size:.66rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  border:1px solid var(--line); border-radius:4px; padding:.1rem .35rem; color:var(--muted); }
.tag.free { border-color:var(--sage); color:var(--sage); }
.player { aspect-ratio:16/9; width:100%; background:#000; border-radius:12px; overflow:hidden; margin-top:1.4rem; }
.player iframe { width:100%; height:100%; border:0; display:block; }
.placeholder { width:100%; height:100%; display:grid; place-items:center; text-align:center;
  color:var(--muted); font-size:.9rem; padding:1.4rem; background:var(--soft); }
.lesson-nav { display:flex; justify-content:space-between; gap:1rem; margin-top:2rem; }
.crumb { font-size:.85rem; color:var(--muted); text-decoration:none; }
.notes { margin-top:1.6rem; max-width:62ch; }
.notes p { color:var(--muted); }

/* sticky mobile buy bar */
.buybar { position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; gap:.8rem;
  align-items:center; padding:.7rem 16px; padding-bottom:calc(.7rem + env(safe-area-inset-bottom,0px));
  background:color-mix(in srgb,var(--paper) 96%,transparent); backdrop-filter:blur(8px);
  border-top:1px solid var(--line); }
.buybar .p { font-family:var(--display); font-weight:700; font-size:1.05rem; }
.buybar .btn { margin-left:auto; }
@media (min-width:800px){ .buybar { display:none; } }
body.has-buybar { padding-bottom:76px; }
@media (min-width:800px){ body.has-buybar { padding-bottom:0; } }

/* footer */
footer.site { border-top:1px solid var(--line); padding-block:2.2rem; margin-top:1rem; }
.foot { display:flex; flex-wrap:wrap; gap:1rem 1.3rem; align-items:center; }
.foot a { font-size:.87rem; color:var(--muted); text-decoration:none; }
.foot a:hover { color:var(--ink); }
.fine { margin-top:1.4rem; font-size:.78rem; color:var(--muted); max-width:70ch; }

/* consent banner */
#consent { position:fixed; left:12px; right:12px; bottom:12px; z-index:60; display:none;
  background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:1rem 1.1rem;
  box-shadow:0 8px 30px rgba(0,0,0,.14); max-width:440px; }
#consent p { font-size:.86rem; color:var(--muted); }
#consent .row { display:flex; gap:.6rem; margin-top:.8rem; }

a:focus-visible, summary:focus-visible, .btn:focus-visible, button:focus-visible {
  outline:2px solid var(--accent); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){ *{transition:none!important;animation:none!important;} }

/* ---- brand mark ---- */
.logo { gap:0; }
.logo .wordmark { height:26px; width:auto; display:block; }
@media (min-width:600px){ .logo .wordmark { height:30px; } }
.logo .on-dark { display:none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .on-light { display:none; }
  :root:not([data-theme="light"]) .logo .on-dark  { display:block; }
}
:root[data-theme="dark"] .logo .on-light { display:none; }
:root[data-theme="dark"] .logo .on-dark  { display:block; }

/* portrait */
.about-row { display:grid; gap:1.6rem; align-items:start; margin-top:1.6rem; }
@media (min-width:720px){ .about-row { grid-template-columns:300px 1fr; gap:2.4rem; } }
.portrait { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover;
            border-radius:14px; border:1px solid var(--line); }
.hero-mark { position:absolute; inset:auto -60px -40px auto; width:260px; opacity:.16;
  pointer-events:none; border-radius:18px; }
.hero { position:relative; overflow:hidden; }
@media (max-width:700px){ .hero-mark { width:170px; inset:auto -50px -30px auto; opacity:.12; } }
.guarantee { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 7%,transparent); }
ul.ticks li::before { color:var(--accent-2); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) ul.ticks li::before { color:var(--accent); } }

/* ---- photography ---- */
.shot { width:100%; height:auto; border-radius:14px; border:1px solid var(--line); }
.caption { margin-top:.7rem; font-size:.85rem; color:var(--muted); }

/* ============================================================
   WHOLE-SITE PAGES (home, lessons, free stuff, about, contact)
   Added Oct 2026 when the site moved off Squarespace.
   ============================================================ */

/* Hide the online course everywhere in one go: uncomment the line below.
   Every course link on the site carries class="course-item". */
/* .course-item { display:none !important; } */

.bar nav a[aria-current="page"] { color:var(--ink); font-weight:600; }
.menu { position:relative; }
.menu summary { list-style:none; min-height:44px; min-width:44px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:8px; padding:0 .8rem; font-size:.86rem; font-weight:600; }
.menu summary::-webkit-details-marker { display:none; }
.menu summary::after { content:none; }
.menu[open] summary { background:var(--soft); }
.menu .drop { position:absolute; right:0; top:calc(100% + 6px); background:var(--paper);
  border:1px solid var(--line); border-radius:12px; padding:.4rem; min-width:210px;
  box-shadow:0 10px 30px rgba(0,0,0,.12); display:grid; }
.menu .drop a { padding:.75rem .9rem; border-radius:8px; text-decoration:none; font-size:.95rem; min-height:44px; }
.menu .drop a:hover { background:var(--soft); }
details.menu { border:0; }
details.menu:first-of-type { border-top:0; }
@media (min-width:800px){ .menu { display:none; } }
.bar .btn-book { white-space:nowrap; }
@media (max-width:420px){ .bar .btn-book { display:none; } }

.paths { display:grid; gap:1rem; margin-top:1.8rem; }
@media (min-width:760px){ .paths { grid-template-columns:repeat(3,1fr); } }
.paths .card h3 { font-size:1.25rem; }
.card .btn { min-height:48px; }

.offer { border:1px solid var(--line); border-radius:14px; padding:clamp(1.3rem,4vw,1.8rem); }
.offer + .offer { margin-top:1rem; }
.offer.feature { border:2px solid var(--accent); background:color-mix(in srgb,var(--accent) 7%,transparent); }
.offer .top { display:flex; flex-wrap:wrap; align-items:baseline; gap:.4rem 1rem; }
.offer .top h3 { font-size:1.3rem; margin-right:auto; }
.offer .amt { font-family:var(--display); font-weight:700; font-size:1.6rem; letter-spacing:-0.03em; }
.offer .amt small { font-family:var(--body); font-weight:400; font-size:.82rem; color:var(--muted); letter-spacing:0; }
.offer p { color:var(--muted); margin-top:.7rem; max-width:62ch; }

.freebie { border:1px solid var(--line); border-radius:14px; padding:1.3rem; display:flex; flex-direction:column; gap:.6rem; }
.freebie.soon { border-style:dashed; }
.freebie p { color:var(--muted); font-size:.94rem; }
.freebie .btn { align-self:flex-start; min-height:48px; margin-top:auto; }

/* forms */
.form { display:grid; gap:.9rem; margin-top:1.2rem; max-width:520px; }
.form label { display:grid; gap:.35rem; font-weight:600; font-size:.92rem; }
.form input[type=text], .form input[type=email], .form textarea {
  font:inherit; font-size:1rem; padding:.8rem .95rem; min-height:48px; border:1.5px solid var(--line);
  border-radius:8px; background:var(--paper); color:var(--ink); width:100%; }
.form textarea { min-height:140px; resize:vertical; }
.form input:focus, .form textarea:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:transparent; }
.form .tick { display:flex; gap:.6rem; align-items:flex-start; font-weight:400; font-size:.9rem; color:var(--muted); }
.form .tick input { width:22px; height:22px; margin-top:.15rem; flex:none; }
.form .btn { justify-self:start; min-height:48px; }
.form-msg { font-size:.92rem; margin-top:.2rem; }
.form-msg.ok { color:var(--sage); font-weight:600; }
.form-msg.err { color:var(--accent-2); font-weight:600; }
.consent-note { font-size:.8rem; color:var(--muted); max-width:60ch; }

/* newsletter strip in the footer */
.newsletter { border-top:1px solid var(--line); padding-block:2rem; }
.newsletter h2 { font-size:1.3rem; }
.newsletter .form { grid-template-columns:1fr; }
@media (min-width:640px){ .newsletter .form { grid-template-columns:1fr 1fr auto; align-items:end; max-width:none; } }
.foot .social { display:flex; gap:1rem; flex-wrap:wrap; }
