/* =====================================================================
   CAST ON TOGETHER — single warm light look, painted explicitly.
   Palette: warm paper · raspberry · pine-teal · honey · espresso ink.
   Motif: the running stitch — dashed rules, stitched spines, knit texture.
   ===================================================================== */
:root {
  --bg:        #FBF4EA;
  --surface:   #FFFDFA;
  --surface-2: #F4E9D7;
  --surface-3: #EEDFC9;
  --ink:       #33241D;
  --ink-soft:  #766759;
  --ink-faint: #A79684;
  --border:    #E9DAC1;
  --line:      #D8C4A4;
  --accent:    #C33A60;
  --accent-ink:#A22C4E;
  --accent-2:  #2E7A6C;
  --sage:      #3C8B78;
  --gold:      #D9982F;
  --thread:    #D6C2A2;

  --shadow-1: 0 1px 2px rgba(74,45,30,.06), 0 4px 12px -4px rgba(74,45,30,.12);
  --shadow-2: 0 2px 6px rgba(74,45,30,.08), 0 18px 40px -18px rgba(74,45,30,.24);
  --shadow-3: 0 30px 70px -34px rgba(74,45,30,.36);

  --radius: 16px;
  --maxw: 1140px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --knitV: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cg fill='none' stroke='%2333241D' stroke-opacity='0.06' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M0 2 L14 16 L28 2'/%3E%3Cpath d='M-14 20 L0 34 L14 20 L28 34 L42 20'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* fine paper grain over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* a living backdrop: a slow, breathing field of knitted stitches behind the whole page,
   drifting sideways forever underneath every section — this is what makes the page feel
   dimensional instead of flat, and every glass surface below floats over it. */
.ambient-wrap { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#ambient { position: absolute; top: 0; left: 0; width: 200%; height: 100%;
  opacity: 0.55; animation: driftx 100s linear infinite; }
@keyframes driftx { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { #ambient { animation: none; } }
header, main, footer { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500; line-height: 1.08; margin: 0;
  text-wrap: balance; font-optical-sizing: auto;
}
h1 { font-size: clamp(3rem, 7.4vw, 5rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.05rem); letter-spacing: -0.014em; }
h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.006em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #FFF3EF; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 88px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.15rem, 5vw, 3.2rem); }
.section { padding-block: clamp(4.2rem, 9vw, 7.5rem); }
.section--tint {
  background-color: color-mix(in srgb, var(--surface-2) 88%, transparent);
  background-image: var(--knitV);
  background-size: 28px 36px;
  backdrop-filter: blur(10px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: "Karla", sans-serif;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 0;
  border-top: 2px dashed currentColor;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 42ch; }

/* running-stitch divider */
.stitchrule { height: 0; border: 0; margin: 0;
  border-top: 2px dashed var(--line); opacity: 0.9; }

/* ---------- buttons ---------- */
.btn {
  --arrow: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: "Karla", sans-serif; font-size: 1rem; font-weight: 700;
  padding: 0.9rem 1.7rem; border-radius: 999px; cursor: pointer;
  border: 1.6px solid transparent; white-space: nowrap;
  transition: transform .16s var(--ease), background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn svg { width: 15px; height: 15px; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #FFF5F1; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #FFFDFA; color: var(--accent-ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--sm { padding: 0.58rem 1.15rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold)); z-index: 60; transition: width .1s linear; }

/* ---------- header: a floating pill, not a bar ---------- */
header { position: sticky; top: 0; z-index: 50; padding: 14px clamp(1rem, 4vw, 2rem) 0; }
.nav { display: flex; align-items: center; gap: 1.4rem; height: 66px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 0.6rem 0 1.5rem;
  border-radius: 999px; border: 1.5px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-1); transition: box-shadow .2s ease, transform .2s ease; }
header.stuck .nav { box-shadow: var(--shadow-2); }
.brand { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.012em; display: flex; align-items: center; gap: 0.6rem; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav-links a { position: relative; color: var(--ink-soft); font-size: 0.94rem; font-weight: 600;
  padding: 0.2rem 0; transition: color .16s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .22s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { right: 0; }
.nav-links a[aria-current="true"] { color: var(--ink); }
.nav-cta { margin-left: 1.9rem; }
.nav-links + .nav-cta { margin-left: 1.9rem; }
.nav > .nav-cta:last-child { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; --parallax: 0px;
  padding-top: clamp(2.6rem, 6vw, 4.6rem); padding-bottom: clamp(3rem, 7vw, 5.2rem); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(70px); pointer-events: none; transform: translateY(var(--parallax)); }
.hero::before { width: 440px; height: 440px; top: -140px; left: -180px; background: var(--accent); opacity: .13; }
.hero::after  { width: 380px; height: 380px; bottom: -160px; right: -120px; background: var(--accent-2); opacity: .13; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.6rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .em { font-style: italic; font-weight: 400; color: var(--accent);
  display: inline-block; }
.hero .lede { font-size: 1.28rem; max-width: 44ch; margin-bottom: 2rem; }

.proof { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.9rem; flex-wrap: wrap; }
.stack { display: flex; }
.stack .av { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -12px; display: grid; place-items: center; color: #FFF5F1;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-1); }
.stack .av:first-child { margin-left: 0; }
.proof-text { font-size: 0.92rem; color: var(--ink-soft); }
.proof-text b { color: var(--ink); }
.proof-text .stars { color: var(--gold); letter-spacing: 1px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.4rem 0.85rem; box-shadow: var(--shadow-1); }
.chip svg { width: 14px; height: 14px; color: var(--accent-2); flex: none; }

.hero-panel { position: relative; perspective: 1400px; }
.videocard { border-radius: 22px; border: 1.6px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-3); background: var(--surface); transform-style: preserve-3d;
  transition: transform .25s var(--ease); will-change: transform; }
.vc-thumb { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
#knit { display: block; width: 100%; height: 100%; }
.vc-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(51,36,29,0) 42%, rgba(51,36,29,.6) 100%),
    linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,0) 30%); }
.vc-tag, .vc-time { position: absolute; z-index: 2; font-size: 0.7rem; font-weight: 700;
  color: #FFF5F1; background: rgba(51,36,29,.58); backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem; border-radius: 999px; }
.vc-tag { left: 12px; top: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem; }
.vc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6BE0B0;
  box-shadow: 0 0 0 0 rgba(107,224,176,.7); animation: pulse 2.2s infinite; }
.vc-time { right: 12px; bottom: 12px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.vc-play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,253,250,.95); border: 0; z-index: 2; cursor: pointer; color: var(--accent);
  display: grid; place-items: center; box-shadow: var(--shadow-2); transition: transform .18s var(--ease); }
.vc-play:hover { transform: scale(1.08); }
.vc-play svg { width: 22px; height: 22px; margin-left: 3px; }
.vc-info { padding: 1.1rem 1.3rem 1.3rem; }
.vc-info .vc-sub { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.vc-info h4, .vc-info .vc-title { font-family: "Fraunces", serif; font-size: 1.06rem; font-weight: 600; margin: 0.35rem 0 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(107,224,176,0); } 100% { box-shadow: 0 0 0 0 rgba(107,224,176,0); } }

/* wave transition out of the hero */
.wave { line-height: 0; margin-top: -2px; position: relative; z-index: 1; }
.wave svg { display: block; width: 100%; height: 34px; }
.wave path { fill: var(--surface); }

/* sticky mini enroll bar */
.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  transform: translateY(120%); transition: transform .3s var(--ease);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px);
  border-top: 1.5px solid var(--border); box-shadow: 0 -10px 30px -18px rgba(74,45,30,.35); }
.stickycta.show { transform: translateY(0); }
.sc-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem clamp(1.15rem, 5vw, 3.2rem); }
.sc-text { display: flex; flex-direction: column; line-height: 1.25; }
.sc-text strong { font-family: "Fraunces", serif; font-size: 1.02rem; }
.sc-text span { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 480px) { .sc-text span { display: none; } }

.badge { position: absolute; background: color-mix(in srgb, var(--surface) 74%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); border: 1.6px solid color-mix(in srgb, var(--surface) 55%, var(--border));
  border-radius: 15px; padding: 0.75rem 1rem; box-shadow: var(--shadow-3);
  display: flex; align-items: center; gap: 0.7rem; animation: float 5s ease-in-out infinite; }
.badge b { font-family: "Fraunces", serif; font-size: 1.55rem; font-weight: 600; line-height: 1; }
.badge span { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.25; max-width: 12ch; }
.badge--a { top: -20px; left: -24px; }
.badge--a b { color: var(--accent-2); }
.badge--b { bottom: -22px; right: -20px; animation-delay: -2.5s; }
.badge--b b { color: var(--accent); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* page-load rise (only with JS; never hides content without it) */
.js .rise { opacity: 0.001; transform: translateY(18px);
  transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js body.ready .rise { opacity: 1; transform: none; }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(10px); }
.trust ul { list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.6rem 1.8rem; }
.trust li { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  display: flex; align-items: center; gap: 1.8rem; }
.trust li::after { content: "✳"; color: var(--thread); }
.trust li:last-child::after { display: none; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 0.7rem 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee-track span { font-family: "Fraunces", serif; font-style: italic; font-size: 0.98rem;
  color: var(--ink-faint); white-space: nowrap; padding-right: 2.4rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- specs ---------- */
.specs-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.specs-grid h2 { margin-bottom: 1rem; }
.specs-grid > div > p { color: var(--ink-soft); max-width: 44ch; }
.specbox { background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(14px);
  border: 1.6px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-2); overflow: hidden; }
.specbox h4, .specbox .specbox-h { font-family: "Karla", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); padding: 1.1rem 1.4rem 0.9rem; }
.specbox dl { margin: 0; padding: 0 1.4rem 1.2rem; }
.specrow { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0.5rem;
  padding: 0.62rem 0; border-top: 1px dashed var(--border); }
.specrow:first-of-type { border-top: 0; }
.specrow dt { color: var(--ink-soft); font-size: 0.95rem; }
.specrow .dots { border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.specrow dd { margin: 0; font-family: "Fraunces", serif; font-weight: 600; font-variant-numeric: tabular-nums; }

.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 2.4rem; }
.statband .s { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(12px);
  padding: 1.7rem 1rem; text-align: center; }
.statband b { display: block; font-family: "Fraunces", serif; font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; font-variant-numeric: tabular-nums; }
.statband span { font-size: 0.83rem; color: var(--ink-soft); }

/* ---------- curriculum ---------- */
.curriculum h2 { margin-bottom: 0.9rem; }
.curriculum > .wrap > .lede { margin-bottom: 3.4rem; }
.timeline { position: relative; display: grid; gap: 1.1rem; }
.timeline::before { content: ""; position: absolute; top: 34px; bottom: 34px; left: 27px; width: 0;
  border-left: 2px dashed var(--line); }
@media (min-width: 861px) { .timeline::before { left: 37px; } }
.month { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem;
  background: var(--surface); border: 1.4px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow-1);
  transition: transform .16s var(--ease), box-shadow .16s ease, border-color .16s ease; }
@media (min-width: 861px) { .month { grid-template-columns: 74px 1fr; gap: 1.9rem; padding: 1.8rem 2rem; } }
.month:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--thread); }
.month-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Fraunces", serif; font-size: 1.5rem; color: #FFF5F1; background: var(--sage);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--sage) 16%, transparent); position: relative; z-index: 1;
  font-variant-numeric: tabular-nums; }
@media (min-width: 861px) { .month-num { width: 74px; height: 74px; font-size: 2rem; } }
.month-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); }
.month-body h3 { font-family: "Fraunces", serif; font-size: clamp(1.28rem, 2.5vw, 1.58rem); font-weight: 600;
  margin: 0.45rem 0 0.55rem; }
.month-focus { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 54ch; }
.classlist { display: flex; flex-wrap: wrap; gap: 0.42rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.classlist li { font-size: 0.83rem; background: var(--surface-2); border: 1px solid var(--border);
  padding: 0.28rem 0.72rem; border-radius: 999px; color: var(--ink-soft); transition: background .14s ease, color .14s ease; }
.month:hover .classlist li { background: var(--surface-3); }
.month-foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: baseline;
  padding-top: 0.9rem; border-top: 1px dashed var(--border); font-size: 0.9rem; }
.month-foot .made { color: var(--ink); }
.month-foot .made b { color: var(--sage); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.month-foot .hrs { color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ---------- drip ---------- */
.drip { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
.drip h2 { margin-bottom: 1rem; }
.drip p { color: var(--ink-soft); max-width: 46ch; }
.weekgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.weekcol { background: var(--surface); border: 1.4px solid var(--border); border-radius: 13px;
  padding: 1rem 0.75rem; text-align: center; box-shadow: var(--shadow-1); }
.weekcol h4, .weekcol .wk { font-family: "Karla", sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.75rem; }
.weekcol i { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px;
  margin-bottom: 0.42rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); }
.weekcol i svg { width: 13px; height: 13px; }
.weekcol i:last-child { margin-bottom: 0; }

/* ---------- projects ---------- */
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.6rem;
  margin-bottom: 2.8rem; flex-wrap: wrap; }
.projects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.project { position: relative; background: var(--surface); border: 1.4px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform .16s var(--ease), box-shadow .16s ease, border-color .16s ease; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); border-color: var(--thread); }
.project .swatch { height: 138px; position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M0 2 L14 16 L28 2'/%3E%3Cpath d='M-14 20 L0 34 L14 20 L28 34 L42 20'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.14' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M0 4 L14 18 L28 4'/%3E%3Cpath d='M-14 22 L0 36 L14 22 L28 36 L42 22'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 28px 36px; }
.project .swatch::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.14)); }
.project .pat { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #33241D; background: rgba(255,253,250,.9);
  padding: 0.24rem 0.55rem; border-radius: 999px; }
.project .meta { padding: 1.1rem 1.25rem 1.35rem; }
.project .tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.project h4, .project h3 { font-family: "Fraunces", serif; font-size: 1.12rem; font-weight: 600; margin: 0.35rem 0 0.3rem; }
.project p { font-size: 0.87rem; color: var(--ink-soft); }

/* ---------- pricing ---------- */
.pricing { text-align: center; }
.pricecard { position: relative; max-width: 540px; margin: 2.8rem auto 0;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(16px) saturate(1.3);
  border: 2px dashed var(--line); border-radius: 24px; padding: 3rem 2.6rem 2.6rem;
  box-shadow: var(--shadow-3); text-align: left; }
.pricecard .seal { position: absolute; top: -34px; right: -20px; width: 92px; height: 92px; color: var(--sage);
  background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-2); }
.pricecard .seal svg { width: 100%; height: 100%; }
.ribbon { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1.2rem; }
.pricebig { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.3rem; }
.pricebig b { font-family: "Fraunces", serif; font-size: 3.7rem; font-weight: 600; }
.pricebig span { color: var(--ink-soft); font-size: 1.05rem; }
.value-note { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 1.1rem; }
.pricecard .sub { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.9rem; }
.includes { list-style: none; padding: 0; margin: 0 0 1.9rem; display: grid; gap: 0.78rem; }
.includes li { display: grid; grid-template-columns: 24px 1fr; gap: 0.6rem; font-size: 0.98rem; align-items: start; }
.includes li svg { width: 18px; height: 18px; color: var(--sage); margin-top: 0.2rem; }
.guarantee { text-align: center; font-size: 0.84rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- faq ---------- */
.faq-list { margin-top: 2.6rem; border-top: 2px dashed var(--line); max-width: 800px; }
.faq-list details { border-bottom: 2px dashed var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 20px; height: 20px; position: relative; transition: transform .2s var(--ease);
  background:
    linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 100% no-repeat; }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list .ans { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 64ch; }
.faq-list details[open] .ans { animation: fadeIn .28s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- final cta ---------- */
.finalcta { background: var(--accent); color: #FFF3EF; text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M0 2 L14 16 L28 2'/%3E%3Cpath d='M-14 20 L0 34 L14 20 L28 34 L42 20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 28px 36px; }
.finalcta h2 { color: #fff; margin-bottom: 1rem; }
.finalcta p { color: #FCE3E9; margin-bottom: 2rem; font-size: 1.12rem; }

/* ---------- footer ---------- */
footer { border-top: 2px dashed var(--line); padding: 3rem 0 2.4rem;
  background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(10px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid .brand { margin-bottom: 0.8rem; }
.foot-grid p { font-size: 0.9rem; color: var(--ink-soft); max-width: 34ch; }
.foot-grid h5, .foot-grid .foot-h { font-family: "Karla", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 0.9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-grid ul a { font-size: 0.92rem; color: var(--ink-soft); }
.foot-grid ul a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.foot-base small { font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 430px; margin-inline: auto; }
  .specs-grid, .drip { grid-template-columns: 1fr; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; }
  .month { grid-template-columns: 44px 1fr; }
  .month-num { width: 44px; height: 44px; font-size: 1.2rem; }
  .badge--a { left: -8px; }
  .badge--b { right: -6px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   MULTI-PAGE ADDITIONS (shared header menu, hub, shop, forms, legal)
   ===================================================================== */
.knit-canvas { display: block; width: 100%; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--ink); color: #FFF5F1;
  padding: 0.6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }
a.inline, .prose a, .faq-list .ans a, .notice a, .form-note a, .lede a { color: var(--accent-ink);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* header: current page + mobile menu */
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { right: 0; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface); padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s ease; }
header.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
header.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
header.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { max-width: var(--maxw); margin: 0.6rem auto 0; padding: 0.8rem;
  border-radius: 22px; border: 1.5px solid var(--border);
  background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-2); display: grid; gap: 0.2rem; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) { padding: 0.8rem 1rem; border-radius: 12px; font-weight: 600; color: var(--ink-soft); }
.mobile-nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.mobile-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2);
  box-shadow: inset 3px 0 0 var(--accent); }
.mobile-nav .btn { margin-top: 0.5rem; }
@media (max-width: 1000px) {
  .nav { padding-right: 0.5rem; gap: 0.8rem; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav > .nav-cta { margin-left: auto; }
  .nav > .nav-cta + .menu-btn { margin-left: 0; }
}
@media (max-width: 480px) { .nav-cta { display: none; } .nav { padding-left: 1.1rem; } }

/* footer: four columns */
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 1.6rem; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .foot-grid { grid-template-columns: 1fr; } }

/* smaller page hero */
.page-hero { padding-top: clamp(2.4rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.1rem; }
.page-hero .lede { font-size: 1.2rem; max-width: 52ch; }
.page-hero .hero-cta { margin: 1.8rem 0 0; }

/* hero side panel (home) */
.hub-panel .vc-thumb { aspect-ratio: 1 / 1; }
.hub-panel .vc-thumb::after { background: linear-gradient(180deg, rgba(51,36,29,0) 55%, rgba(51,36,29,.45) 100%),
  linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,0) 30%); }

/* home: four doors */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.hub-card { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 1.3rem; align-items: start;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(14px);
  border: 1.6px solid var(--border); border-radius: 22px; padding: 1.8rem 1.8rem 1.7rem;
  box-shadow: var(--shadow-1); transition: transform .18s var(--ease), box-shadow .18s ease, border-color .18s ease; }
.hub-card:hover, .hub-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--thread); }
.hub-card .icon { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; color: #FFF5F1;
  background-image: var(--knitV); background-size: 28px 36px; box-shadow: var(--shadow-1); }
.hub-card .icon svg { width: 34px; height: 34px; }
.hub-card .kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.hub-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 500; margin: 0.3rem 0 0.55rem; }
.hub-card p { color: var(--ink-soft); font-size: 0.98rem; }
.hub-card .go { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; font-weight: 700; color: var(--accent-ink); }
.hub-card .go svg { width: 15px; height: 15px; transition: transform .18s var(--ease); }
.hub-card:hover .go svg { transform: translateX(4px); }
.hub-card a.go::before { content: ""; position: absolute; inset: 0; border-radius: 22px; } /* whole card clickable */
.hub-card .meta-line { display: block; margin-top: 0.7rem; font-size: 0.86rem; font-weight: 700; color: var(--accent-2); }
@media (max-width: 860px) { .hub-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hub-card { grid-template-columns: 1fr; padding: 1.5rem; } .hub-card .icon { width: 58px; height: 58px; border-radius: 16px; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: s; }
.steps li { position: relative; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px);
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-1); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--sage); color: #FFF5F1; font-family: "Fraunces", serif; font-size: 1.3rem;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--sage) 16%, transparent); margin-bottom: 1rem; }
.steps li:first-child::before { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent); }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* two-column info cards */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 2.4rem; }
.info-card { background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px);
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-1); }
.info-card h3 { margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--accent-2); flex: none; }
.info-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.info-card li { position: relative; padding-left: 1.3rem; color: var(--ink-soft); font-size: 0.97rem; }
.info-card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.info-card li.no::before { background: var(--ink-faint); }
.info-card li b { color: var(--ink); }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.filter-chip { font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; color: var(--ink-soft);
  background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 0.5rem 1.1rem; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.filter-chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #FFF5F1; }
.shop-status { font-size: 0.88rem; color: var(--ink-faint); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1.4px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform .16s var(--ease), box-shadow .16s ease, border-color .16s ease; }
.product[hidden] { display: none; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--thread); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.product-media svg, .product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-media .pat { position: absolute; top: 10px; right: 10px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: rgba(255,253,250,.92);
  padding: 0.24rem 0.6rem; border-radius: 999px; }
.photo-hint { position: absolute; left: 10px; bottom: 10px; font-size: 0.7rem; font-weight: 700; color: var(--ink-soft);
  background: rgba(255,253,250,.88); border: 1px dashed var(--line); padding: 0.2rem 0.6rem; border-radius: 999px; }
.product-body { padding: 1.15rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.55rem; }
.tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem;
  border-radius: 999px; border: 1px solid var(--border); color: var(--ink-soft); background: var(--surface-2); }
.tag--knit { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.tag--crochet { color: #1F5E52; background: color-mix(in srgb, var(--accent-2) 11%, var(--surface)); border-color: color-mix(in srgb, var(--accent-2) 28%, transparent); }
.product h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.product-body > p:not(.product-tags) { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding-top: 0.9rem; border-top: 1px dashed var(--border); }
.price { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 600; }
.price.is-soon, .is-soon { font-family: "Karla", sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--ink-faint); }
.btn:disabled, .btn[disabled] { cursor: not-allowed; background: var(--surface-3); color: var(--ink-soft);
  border-color: var(--border); box-shadow: none; transform: none; }
@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .shop-grid { grid-template-columns: 1fr; } }

.callout { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; margin-top: 2.6rem;
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 2px dashed var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.callout svg { width: 26px; height: 26px; color: var(--accent); }
.callout p { color: var(--ink-soft); font-size: 0.96rem; }
.callout b { color: var(--ink); }

/* ---------- price box (custom pattern) ---------- */
.paybox { position: relative; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px) saturate(1.3);
  border: 2px dashed var(--line); border-radius: 24px; padding: 2rem 1.9rem; box-shadow: var(--shadow-3); }
.paybox .pricebig b { font-size: 2.8rem; }
.paybox .pricebig b.is-soon { font-family: "Fraunces", serif; font-size: 1.7rem; font-weight: 500; color: var(--ink-soft); }
.paybox .includes { margin-bottom: 1.5rem; }
.paybox .guarantee { margin-top: 0.9rem; }

/* ---------- forms ---------- */
.form-card { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px);
  border: 1.6px solid var(--border); border-radius: 22px; padding: clamp(1.3rem, 4vw, 2.4rem); box-shadow: var(--shadow-2); }
.form-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 0.6rem; }
.form-card > p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field > label, .field > .label, legend.label { font-weight: 700; font-size: 0.94rem; color: var(--ink); padding: 0; }
.field .hint { font-size: 0.83rem; color: var(--ink-faint); font-weight: 400; }
.req { color: var(--accent); }
input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 0.72rem 0.9rem;
  transition: border-color .15s ease, box-shadow .15s ease; }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23766759' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #B23A3A; }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { background: var(--surface-2); color: var(--ink-faint); cursor: not-allowed; }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radios label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0.5rem 0.95rem; }
.radios label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.radios input, .check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; cursor: pointer; font-weight: 600; }
.check input { margin-top: 0.2rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.form-note { font-size: 0.86rem; color: var(--ink-faint); }
.paid-box { background: color-mix(in srgb, var(--accent-2) 8%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--accent-2) 30%, transparent);
  border-radius: 16px; padding: 1.1rem 1.2rem; margin-bottom: 1.4rem; display: grid; gap: 0.9rem; }
.lock-note { display: flex; gap: 0.6rem; align-items: center; font-size: 0.92rem; color: var(--ink-soft);
  background: var(--surface-2); border-radius: 12px; padding: 0.7rem 0.9rem; margin-bottom: 1.2rem; }
.lock-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.lock-note[hidden] { display: none; }
form.is-locked #orderFields { opacity: 0.6; }

.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: 0.3rem;
  border: 2px dashed var(--line); border-radius: 16px; padding: 1.6rem 1rem; cursor: pointer;
  background: color-mix(in srgb, var(--surface-2) 60%, var(--surface)); transition: border-color .15s ease, background .15s ease; }
.dropzone svg { width: 32px; height: 32px; color: var(--accent); }
.dropzone strong { font-size: 1rem; }
.dropzone span { font-size: 0.85rem; color: var(--ink-faint); }
.dropzone.is-over, .dropzone:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
fieldset:disabled .dropzone, fieldset:disabled .dropzone input { cursor: not-allowed; }
.thumbs { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.7rem; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; border: 1.4px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs .t-name { display: block; font-size: 0.72rem; color: var(--ink-soft); padding: 0.35rem 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbs .t-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(51,36,29,.72); color: #FFF5F1; font-size: 1.1rem; line-height: 1; display: grid; place-items: center; }
.thumbs .t-remove:hover { background: var(--accent); }
.photo-count { font-size: 0.84rem; color: var(--ink-faint); }
.field-error { font-size: 0.88rem; color: #9E2F2F; font-weight: 600; }
.field-error[hidden] { display: none; }

.notice { border-radius: 14px; padding: 1rem 1.15rem; margin-top: 1.3rem; font-size: 0.97rem; border: 1.5px solid; }
.notice[hidden] { display: none; }
.notice--info { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.notice--success { background: color-mix(in srgb, var(--accent-2) 10%, var(--surface)); border-color: color-mix(in srgb, var(--accent-2) 40%, transparent); }
.notice--error { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.notice:focus { outline: none; }

/* split layout: form + aside */
.split { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.split > * { min-width: 0; }
.split aside { display: grid; gap: 1.2rem; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
.contact-card { background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px);
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-1); }
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { color: var(--ink-soft); font-size: 0.97rem; }
.contact-card .big-mail { display: inline-block; margin-top: 0.7rem; font-weight: 700; color: var(--accent-ink);
  word-break: break-all; text-decoration: underline; text-underline-offset: 3px; }
.promise b { display: block; font-family: "Fraunces", serif; font-size: 1.6rem; font-weight: 600; color: var(--accent-2); line-height: 1.15; margin-bottom: 0.3rem; }

/* ---------- legal pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2.4rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 0.9rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.45rem; margin: 0.8rem 0 0; }

@media (prefers-reduced-motion: reduce) {
  .hub-card, .product { transition: none !important; }
}
.promise b::first-letter { text-transform: uppercase; }
/* keep decorative glow blobs from widening the page on phones */
main { overflow-x: clip; }
.hub-panel .badge--b { bottom: auto; top: 54%; }
@media (max-width: 480px) { .nav > .nav-cta + .menu-btn { margin-left: auto; } }
.pricebig:has(.is-soon) > span { display: none; }
.wrap.prose { max-width: var(--maxw); }
.wrap.prose > * { max-width: 72ch; }
.hub-panel .vc-tag { left: auto; right: 12px; }

/* ---------- brand, legal details ---------- */
.brand .brand-mark { filter: drop-shadow(0 1px 1px rgba(51,36,29,.12)); }
.brand .brand-name { white-space: nowrap; }
.brand .amp { color: var(--accent); }
.foot-legal { font-size: 0.8rem; color: var(--ink-faint); margin-top: 1rem; max-width: 80ch; }
.tba { font-style: italic; color: var(--ink-faint); }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
.prose ol { padding-left: 1.3rem; display: grid; gap: 0.45rem; margin: 0.8rem 0 0; }
.prose ol li, .prose ul li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.legal-meta { color: var(--ink-soft); font-size: 0.95rem; margin-top: 1rem; }
.legal-toc { margin: 1.4rem 0 0; padding: 1.1rem 1.3rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent); max-width: 72ch; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 0.5rem; font-family: "Karla", sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2 16rem; column-gap: 2rem; }
.legal-toc li { margin: 0.15rem 0; }
.legal-toc a { color: var(--accent-ink); }
.check-terms { margin-top: 1.2rem; }
.check-terms a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.shop-legal { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1.4rem; display: flex; gap: 0.55rem; align-items: flex-start; }
.shop-legal svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; color: var(--accent-2); }
.shop-legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
body[data-page="course"] .vc-tag { left: auto; right: 12px; }
body[data-page="course"] .hero-panel .badge--b { bottom: auto; top: 54%; }
.prose ul + p, .prose ol + p { margin-top: 0.9rem; }
#every-week h2 { margin-bottom: 0.9rem; }

/* =====================================================================
   COURSE: week-by-week titles inside each month card
   ===================================================================== */
.weeklist { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.55rem; }
.weeklist li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.2rem 0.9rem; align-items: baseline;
  padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
  transition: background .14s ease; }
.month:hover .weeklist li { background: color-mix(in srgb, var(--surface-3) 70%, var(--surface-2)); }
.weeklist .wk-n { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage);
  font-variant-numeric: tabular-nums; }
.weeklist h4 { font-family: "Karla", sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; color: var(--ink); }
.weeklist .wk-classes { grid-column: 2; font-size: 0.86rem; color: var(--ink-soft); }
.weeklist .wk-guide { grid-column: 2; font-size: 0.86rem; }
.weeklist .wk-guide a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .weeklist li { grid-template-columns: 1fr; padding: 0.7rem 0.8rem; }
  .weeklist .wk-classes, .weeklist .wk-guide { grid-column: 1; }
}
.help-strip { margin-top: 2.4rem; }

/* =====================================================================
   HELP GUIDES (guides/*.html)
   ===================================================================== */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0.45rem; margin: 0 0 1.4rem; padding: 0;
  font-size: 0.9rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--ink-faint); }
.crumbs a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.2px; text-underline-offset: 3px; }
.guide-meta { margin-top: 1.2rem; font-size: 0.92rem; color: var(--ink-soft); }
.guide-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.guide p + p, .guide p + ul, .guide p + ol, .guide ul + p, .guide ol + p, .guide p + .fix-table { margin-top: 0.9rem; }
.guide h2 { scroll-margin-top: 88px; }
.guide .answer-first { font-size: 1.12rem; color: var(--ink); background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1.5px solid var(--border); border-left: 4px solid var(--accent); border-radius: 14px; padding: 1.1rem 1.3rem; }
.guide ol.howto { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1rem; margin: 1rem 0 0; }
.guide ol.howto > li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.6rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1.4px solid var(--border); border-radius: 14px; }
.guide ol.howto > li::before { content: counter(step); position: absolute; left: 1rem; top: 0.95rem; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #FFF5F1;
  font: 600 1rem "Fraunces", serif; }
.guide ol.howto > li > b:first-child { display: block; color: var(--ink); margin-bottom: 0.2rem; }
.guide .fig { margin: 1.4rem 0; padding: 1rem; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); }
.guide .fig figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.6rem; text-align: center; }
.guide .fig > svg { display: block; width: 100%; height: auto; max-height: 260px; }
.guide .panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; }
.guide .panel { text-align: center; padding: 0.6rem; border-radius: 12px; background: var(--surface-2); }
.guide .panel svg { display: block; width: 100%; height: auto; max-height: 170px; margin: 0 auto; }
.guide .panel .verdict { font-weight: 700; margin-top: 0.4rem; color: var(--ink); }
.guide .panel.good .verdict { color: var(--accent-2); }
.guide .panel.bad .verdict { color: var(--accent-ink); }
.guide .panel .cap { font-size: 0.84rem; color: var(--ink-soft); }
.guide .tip { margin: 1.3rem 0; padding: 1rem 1.2rem; border: 2px dashed var(--line); border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); }
.guide .tip p { color: var(--ink-soft); }
.guide .tip b { color: var(--ink); }
.fix-table { width: 100%; border-collapse: collapse; margin: 1rem 0 0; font-size: 0.97rem;
  background: var(--surface); border: 1.5px solid var(--border); }
.fix-table th, .fix-table td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); }
.fix-table th { background: var(--surface-2); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.fix-table td:first-child { font-weight: 700; color: var(--ink); width: 38%; }
.fix-table td { color: var(--ink-soft); }
.fix-table tr:last-child td { border-bottom: 0; }
@media (max-width: 620px) {
  .fix-table thead { display: none; }
  .fix-table, .fix-table tbody, .fix-table tr, .fix-table td { display: block; width: 100%; }
  .fix-table tr { border-bottom: 1px solid var(--border); padding: 0.4rem 0; }
  .fix-table tr:last-child { border-bottom: 0; }
  .fix-table td { border: 0; padding: 0.3rem 0.9rem; }
  .fix-table td:first-child { width: 100%; }
}
.course-box { margin: 2.6rem 0 0; padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--surface);
  border: 1.5px solid var(--border); border-top: 5px solid var(--sage); box-shadow: var(--shadow-1); }
.course-box .kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); }
.prose .course-box h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0.4rem 0 0.6rem; }
.course-box p { color: var(--ink-soft); }
.course-box .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
.course-box .actions .btn { white-space: normal; text-align: center; }
.guide-faq { margin-top: 1rem; border-top: 2px dashed var(--line); }
.guide-faq > div { padding: 1.1rem 0; border-bottom: 2px dashed var(--line); }
.prose .guide-faq h3 { font-family: "Karla", sans-serif; font-size: 1.06rem; font-weight: 700; margin: 0 0 0.4rem; line-height: 1.35; }
.guide-faq p { color: var(--ink-soft); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.guide-card { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1.5px solid var(--border); box-shadow: var(--shadow-1);
  transition: transform .16s var(--ease), box-shadow .16s ease, border-color .16s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--thread); }
.guide-card .kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.guide-card h3 { font-size: 1.22rem; line-height: 1.2; }
.guide-card h3 a { color: var(--ink); }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.guide-card p { font-size: 0.94rem; color: var(--ink-soft); }
.guide-card .wk { margin-top: auto; padding-top: 0.4rem; font-size: 0.82rem; color: var(--sage); font-weight: 700; }
.guide-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.guide-card h3 a:focus-visible { outline: none; }
.guide-group + .guide-group { margin-top: 3.2rem; }
.guide-group > h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
@media (prefers-reduced-motion: reduce) { .guide-card { transition: none !important; } }

/* 404 */
.notfound .hero-cta { margin-top: 1.8rem; }
.fix-table.vs-table td:first-child { width: 22%; }
@media (max-width: 620px) { .fix-table.vs-table td[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--ink); } .fix-table.vs-table td:first-child { width: 100%; } }
.guide .panel .cap b { display: block; color: var(--ink); }
.guide .panel--note { display: flex; align-items: center; text-align: left; padding: 1rem 1.1rem; }
.guide .panel .note { font-size: 0.92rem; color: var(--ink-soft); }
.guide .panel .note .nt { display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }

/* =====================================================================
   PATTERN PAGES (patterns/*.html) + static shop cards
   (both generated by tools/build-shop.js)
   ===================================================================== */
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.product .details { font-size: 0.9rem; font-weight: 700; color: var(--accent-ink); text-decoration: underline;
  text-underline-offset: 3px; margin: -0.5rem 0 1rem; align-self: flex-start; }
.pp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.pp-media { border-radius: var(--radius); border: 1.4px solid var(--border); box-shadow: var(--shadow-2); }
.pp-buy { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-1); }
.pp-buy .pp-desc { color: var(--ink-soft); margin: 0.2rem 0 1rem; }
.pp-buy .product-foot { margin: 0 0 1.1rem; padding: 0.9rem 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); }
.pp-buy .shop-legal { margin: 0; font-size: 0.86rem; }
.pp-quick { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--ink-soft); }
.pp-quick b { color: var(--ink); }
.pp-body { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 0; font-size: 0.97rem; background: var(--surface);
  border: 1.5px solid var(--border); }
.spec-table caption { text-align: left; font-weight: 700; color: var(--ink); padding: 0 0 0.5rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); }
.spec-table tbody th { width: 34%; color: var(--ink); font-weight: 700; }
.spec-table td { color: var(--ink-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.size-scroll { overflow-x: auto; margin-top: 1.4rem; -webkit-overflow-scrolling: touch; }
.size-table { min-width: 560px; }
.size-table thead th { background: var(--surface-2); font-size: 0.85rem; color: var(--ink); }
.size-table tbody th { width: auto; white-space: nowrap; }
.size-table td { text-align: center; white-space: nowrap; }
.pp-guides { margin-top: 1rem; }
@media (max-width: 860px) { .pp-top { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .spec-table tbody th, .spec-table td { display: block; width: 100%; }
  .spec-table tbody th { border-bottom: 0; padding-bottom: 0.1rem; }
  .size-table tbody th, .size-table td { display: table-cell; width: auto; }
  .size-table tbody th { border-bottom: 1px solid var(--border); padding-bottom: 0.7rem; }
}
.month-foot .made a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.month-foot .made a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
/* buttons inside article text keep their own colours (".prose a" would otherwise win) */
.prose a.btn { text-decoration: none; }
.prose a.btn--primary { color: #FFF5F1; }
.prose a.btn--ghost { color: var(--ink); }

/* =====================================================================
   BACKEND PAGES: enrol modal, buy messages, student page, thank-you page
   ===================================================================== */
.modal { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 2rem)); width: 100%;
  max-height: calc(100dvh - 2rem); overflow: auto; color: var(--ink); }
.modal::backdrop { background: rgba(51,36,29,.55); backdrop-filter: blur(3px); }
html:has(dialog.modal[open]) { overflow: hidden; }
.modal-card { position: relative; background: var(--surface); border: 2px dashed var(--line); border-radius: 24px;
  padding: clamp(1.4rem, 4vw, 2.1rem); box-shadow: var(--shadow-3); }
.modal-card h2 { font-size: clamp(1.6rem, 4.6vw, 2.1rem); margin: 0.2rem 2rem 0.5rem 0; }
.modal-sub { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1.1rem; }
.modal-x { position: absolute; top: 0.8rem; right: 0.8rem; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface-2); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--surface-3); }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (max-width: 480px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }
.lang-opt { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 600; font-size: 0.97rem;
  border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 0.62rem 0.75rem; min-height: 44px; }
.lang-opt:hover { border-color: var(--ink-soft); }
.lang-opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.lang-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.modal-price { margin: 1.1rem 0 0.2rem; font-size: 0.93rem; color: var(--ink-soft); }
.modal-price b { color: var(--ink); }
.modal-card .btn--block { margin-top: 1rem; }
.modal-card .guarantee { margin-top: 0.8rem; }
.modal-card .notice { margin-top: 1rem; }
.buy-msg { font-size: 0.88rem; color: #9E2F2F; margin: 0.6rem 0 0; }
.buy-msg:empty { display: none; }
.buy-msg a { color: var(--accent-ink); text-decoration: underline; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.pay-state { margin: 0 0 1.2rem; }

/* student page */
.learn-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 1.6rem; }
.learn-bar[hidden] { display: none; }
.learn-bar label { font-weight: 700; font-size: 0.94rem; }
.learn-bar select { width: auto; min-width: 12rem; }
.chip-state { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1.5px solid; }
.chip-state.is-ok { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 40%, transparent); background: color-mix(in srgb, var(--accent-2) 8%, var(--surface)); }
.chip-state.is-warn { color: #8A5A0B; border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.chip-state.is-off { color: var(--ink-soft); border-color: var(--border); background: var(--surface-2); }
.learn-hero .notice { max-width: 72ch; }
#weeksSection[hidden] { display: none; }
.week-cards { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 980px) { .week-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .week-cards { grid-template-columns: 1fr; } }
.wk-card { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.15rem 1.25rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1.5px solid var(--border); box-shadow: var(--shadow-1); }
.wk-card.is-open { border-top: 5px solid var(--sage); }
.wk-card.is-locked { background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: none; border-style: dashed; }
.wk-card.is-locked h3, .wk-card.is-locked .wk-cls { color: var(--ink-faint); }
.wk-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.wk-card h3 { font-size: 1.12rem; line-height: 1.3; }
.wk-cls { font-size: 0.86rem; color: var(--ink-soft); }
.wk-card .btn { margin-top: auto; align-self: flex-start; }
.wk-lock { margin-top: auto; display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 700; color: var(--ink-faint); }
.wk-lock svg { width: 16px; height: 16px; }

/* thank-you page */
.ty-box { margin-top: 1.8rem; display: grid; gap: 1rem; max-width: 760px; }
.ty-box[hidden] { display: none; }
.ty-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1.5px solid var(--border); border-left: 5px solid var(--accent); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; box-shadow: var(--shadow-1); }
.ty-item h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); }
.ty-item .eyebrow { margin-bottom: 0.2rem; }
.ty-note { font-size: 0.9rem; color: var(--ink-soft); }
.ty-note a, .notice a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* custom-pattern job page */
.turnstile { margin-top: 1.2rem; min-height: 0; }
.turnstile:empty { display: none; }
.job-wait { margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem; max-width: 640px; padding: 1.1rem 1.3rem;
  background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.job-wait[hidden] { display: none; }
.job-wait p { color: var(--ink-soft); }
.job-yarn { display: flex; gap: 6px; flex: none; }
.job-yarn span { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); animation: jobdot 1.2s ease-in-out infinite; }
.job-yarn span:nth-child(2) { background: var(--gold); animation-delay: .15s; }
.job-yarn span:nth-child(3) { background: var(--sage); animation-delay: .3s; }
@keyframes jobdot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .job-yarn span { animation: none; opacity: 1; } }
.job-grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(1.4rem, 4vw, 2.6rem); align-items: start; }
.job-grid[hidden] { display: none; }
@media (max-width: 860px) { .job-grid { grid-template-columns: minmax(0, 1fr); } }
.job-preview { margin: 0; }
.job-preview-frame { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-2); overflow: hidden; aspect-ratio: 794 / 1123; }
.job-preview-frame img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.job-preview figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.7rem; }
.job-buy h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0.4rem 0 0.6rem; }
.job-buy .includes { margin-bottom: 1.3rem; }
.job-hero .notice { max-width: 72ch; }

/* ---------- custom patterns switched off (server adds data-custom-off to <body>) ---------- */
.custom-soon { display: none !important; }
body[data-custom-off] .custom-live, body[data-custom-off] #orderForm { display: none !important; }
body[data-custom-off] .custom-soon { display: block !important; }
body[data-custom-off] .btn.custom-soon, body[data-custom-off] .soon-badge.custom-soon { display: inline-flex !important; }
.soon-card .ribbon { margin-bottom: 1rem; }
.soon-card h2 { overflow-wrap: break-word; }
.soon-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin: 0.2rem 0 1.2rem; }
.soon-actions .big-mail { font-weight: 700; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.soon-card > p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.soon-badge { align-items: center; margin-left: 0.5rem; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.66rem; letter-spacing: 0.12em;
  color: #8A5A0B; background: color-mix(in srgb, var(--gold) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); vertical-align: 1px; }

/* =====================================================================
   CUSTOMER ACCOUNTS: log in / sign up / password pages, My Library, settings
   ===================================================================== */
.nav-account { font-size: 0.94rem; font-weight: 700; color: var(--ink-soft); margin-right: 1.1rem; white-space: nowrap; }
.nav-account:hover { color: var(--ink); }
.nav-account[aria-current="page"] { color: var(--ink); }
@media (min-width: 481px) { .nav-cta { display: flex; align-items: center; } }
@media (max-width: 1000px) { .nav-account { margin-right: 0.9rem; } }
.mobile-nav .nav-account-m { font-weight: 700; }

.auth-section { padding-block: clamp(2rem, 6vw, 4.5rem); }
.auth-wrap { max-width: 560px; }
.auth-card { padding: clamp(1.5rem, 5vw, 2.6rem); }
.auth-card h1 { font-size: clamp(2.1rem, 6vw, 2.9rem); margin-bottom: 0.6rem; }
.auth-card .eyebrow { margin-bottom: 0.6rem; }
.auth-lede { color: var(--ink-soft); margin-bottom: 1.4rem; }
.auth-card .notice { margin: 0 0 1.3rem; }
.auth-forgot { margin: 0.9rem 0 0; font-size: 0.95rem; }
.auth-switch { margin-top: 1.5rem; text-align: center; color: var(--ink-soft); font-size: 0.97rem; }
.auth-alt[hidden] { display: none; }
.auth-or { display: flex; align-items: center; gap: 0.9rem; margin: 1.5rem 0 1.1rem; color: var(--ink-faint); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.google-btn { background: var(--surface); gap: 0.7rem; white-space: normal; }
.google-btn .g-logo { width: 20px; height: 20px; flex: none; }
.btn:hover .g-logo { transform: none; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.6rem; }
.pw-toggle { position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font: inherit;
  font-size: 0.85rem; font-weight: 700; color: var(--accent-ink); padding: 0.45rem 0.6rem; border-radius: 8px; cursor: pointer; }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
[data-captcha][hidden] { display: none; }
.check a { font-weight: 700; }

.acct-hero .notice { max-width: 72ch; }
.acct-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.acct-tabs[hidden] { display: none; }
.acct-tabs a { padding: 0.5rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 0.93rem; color: var(--ink-soft); background: var(--surface); }
.acct-tabs a:hover { color: var(--ink); border-color: var(--ink); }
.lib-group { margin-top: 2.2rem; }
.lib-group h3 { margin-bottom: 0.9rem; }
.lib-list { display: grid; gap: 0.85rem; max-width: 860px; }
.lib-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.2rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.05rem 1.25rem; box-shadow: var(--shadow-1); }
.lib-item > div { min-width: 0; flex: 1 1 260px; }
.lib-item h4 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.2rem; line-height: 1.25; margin: 0 0 0.2rem; overflow-wrap: anywhere; }
.lib-meta { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.lib-item .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-left: auto; }
.lib-empty { color: var(--ink-soft); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0; max-width: 860px; }
.lib-empty a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.lib-bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 0.55rem; max-width: 320px; }
.lib-bar span { display: block; height: 100%; background: var(--sage); border-radius: 99px; }

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.8rem; align-items: start; }
@media (max-width: 860px) { .settings-grid { grid-template-columns: minmax(0, 1fr); } }
.set-card { padding: 1.4rem 1.5rem; }
.set-card h3 { margin-bottom: 0.5rem; }
.set-card .field { margin-top: 0.9rem; }
.set-card .form-actions { margin-top: 1.1rem; }
.set-note { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.set-card[hidden] { display: none; }
.danger-card details summary { cursor: pointer; font-weight: 700; color: #9E2F2F; margin-top: 0.9rem; }
.btn--danger { background: #9E2F2F; color: #FFF5F1; }
.btn--danger:hover { background: #7E2222; transform: translateY(-2px); }
.acct-cta { margin-top: 1.4rem; max-width: 760px; }
