/* Corporate Surprises site styles. The visual system is taken from the BEloved cohort landing page
   (website/design-ref/beloved-landing.html): cream ground with the tiled doodle pattern, giant faint
   watermark words, Poppins heavy headings, Inter body, Caveat orange handwritten notes, photo-real
   images in 2px+ ink frames with a hard offset shadow and ONE organically rounded corner, numbered
   circle badges, yellow/blue marker highlights, yellow stickers, hard-shadow orange pill buttons,
   dark ink contrast bands, a sticky bottom CTA bar, alternating photo-and-text split rows. */
:root {
  color-scheme: light;
  --cream: #FBF7EF;
  --paper: #FFFFFF;
  --sand: #F3EADA;
  --ink: #14110E;
  --body: #4A423A;
  --muted: #8B8177;
  --line: #E6DCCB;
  --orange: #F97316;
  --orange-d: #C2570C;
  --orange-soft: #FFD9B0;
  --blue: #188BF6;
  --blue-d: #0B63B8;
  --blue-soft: #CFE6FF;
  --mark: #FFD25E;
  --shadow: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font: 400 17px/1.62 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; position: relative; z-index: 1; }
.narrow { width: min(720px, 100% - 44px); margin-inline: auto; position: relative; z-index: 1; }
h1, h2, h3, h4 {
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.022em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 800; margin-bottom: 22px; }
h2 { font-size: clamp(26px, 3.3vw, 40px); line-height: 1.12; font-weight: 800; }
h3 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; font-weight: 700; }
h4 { font-size: 19px; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1.05em; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
a:hover { color: var(--orange-d); }
.eyebrow {
  display: block;
  font: 700 12.5px/1.3 Inter, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.rule { display: none; }

/* ---- marker highlights, hand notes, ghost words, doodle wallpaper ---- */
.mk { position: relative; z-index: 0; white-space: nowrap; }
.mk::before {
  content: ""; position: absolute; left: -.18em; right: -.18em; top: .08em; bottom: .02em;
  background: var(--mark); border-radius: .6em .3em .7em .35em; transform: rotate(-1.1deg); z-index: -1;
}
.mk.b::before { background: var(--blue-soft); transform: rotate(.8deg); border-radius: .35em .7em .3em .6em; }
.hand { font-family: Caveat, cursive; font-weight: 700; color: var(--orange); line-height: 1.1; font-size: 22px; }
.ghost {
  position: absolute; font-family: Poppins, sans-serif; font-weight: 800; color: var(--ink);
  opacity: .04; letter-spacing: -.05em; pointer-events: none; user-select: none; white-space: nowrap; z-index: 0;
  line-height: .9;
}
.marks {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("../img/cohort/doodle-light.decdc9fba998.png") repeat; background-size: 520px 520px;
}
.sticker {
  display: inline-block; font: 700 11.5px/1 Inter, sans-serif; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink); background: var(--mark); padding: 9px 14px; border: 2px solid var(--ink);
  border-radius: 3px 12px 4px 11px; transform: rotate(-1.4deg);
}

/* ---- buttons: orange pill with hard offset shadow ---- */
.btn {
  display: inline-block; background: var(--orange); color: #fff; font: 700 17px/1 Poppins, sans-serif;
  padding: 18px 30px; border-radius: 999px; border: 2.5px solid var(--ink); box-shadow: var(--shadow);
  text-decoration: none; transition: transform .12s, box-shadow .12s; cursor: pointer; text-align: center;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); color: #fff; }
.btn.secondary { background: var(--paper); color: var(--ink); }
.btn.secondary:hover { color: var(--ink); }
.btn.whatsapp { background: #1F7A43; }
.btn.small { padding: 12px 20px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--ink); }
.cta-row { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; margin-top: 26px; }

/* ---- site chrome ---- */
.draft-banner {
  background: var(--ink); color: var(--mark); font: 700 11.5px/1.4 Inter, sans-serif;
  text-align: center; padding: 6px 10px; letter-spacing: .08em;
}
.placeholder-banner {
  background: var(--orange-soft); color: var(--orange-d); font: 600 12px/1.4 Inter, sans-serif;
  padding: 5px 0; border-bottom: 1.5px solid var(--ink);
}
.placeholder-banner .wrap { display: block; }
.ph {
  background: var(--orange-soft); color: var(--orange-d); border: 1.5px dashed var(--orange);
  border-radius: 5px; padding: 1px 6px; font-weight: 700;
}
.tok {
  background: var(--blue-soft); color: var(--blue-d); border: 1.5px dashed var(--blue);
  border-radius: 5px; padding: 1px 6px; font-weight: 700;
}
header.site {
  padding-block: 12px; border-bottom: 2.5px solid var(--ink); background: var(--cream);
  position: sticky; top: 0; z-index: 40;
}
header.site .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
header.site .brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
header.site .brand img { height: 30px; width: auto; display: block; }
header.site nav { display: flex; align-items: center; gap: 22px; }
header.site nav .links { display: flex; align-items: center; gap: 22px; }
header.site nav a.navlink { font: 600 14.5px/1 Inter, sans-serif; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2.5px solid transparent; }
header.site nav a.navlink:hover, header.site nav a.navlink.on { border-bottom-color: var(--orange); color: var(--ink); }
footer.site { background: var(--ink); color: #A79D90; padding: 48px 0 110px; font-size: 14px; position: relative; overflow: hidden; }
footer.site strong { color: #fff; }
footer.site .links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; }
footer.site a { color: var(--mark); text-decoration-color: rgba(255, 210, 94, .4); }
/* Floating WhatsApp chat bubble: pinned bottom right on every page. */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 10px 20px 10px 12px; font: 700 15px/1 Poppins, sans-serif; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink); transition: bottom .2s, transform .15s;
}
.whatsapp-fab .wa-icon { width: 30px; height: 30px; flex: none; }
.whatsapp-fab:hover { color: #fff; transform: translateY(-2px); }
.whatsapp-fab:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; }
body.sticky-on .whatsapp-fab { bottom: 84px; }

/* ---- sticky bottom CTA bar ---- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff;
  padding: 12px 22px; display: none; align-items: center; justify-content: space-between; gap: 14px;
  z-index: 35; border-top: 3px solid var(--mark);
}
.sticky.on { display: flex; }
.sticky .s1x { font: 600 14.5px Inter, sans-serif; }
.sticky .s1x b { color: var(--mark); }
.sticky a {
  background: var(--orange); color: #fff; font: 700 14.5px Poppins, sans-serif; padding: 11px 20px;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
}

/* ---- sections ---- */
.block { position: relative; padding: 80px 0; overflow: clip; }
.block.cream { background: var(--cream); }
.block.sand { background: var(--sand); }
.block.paper { background: var(--paper); }
.block.ink { background: var(--ink); color: #DDD5C8; }
.block.ink h2, .block.ink h3, .block.ink h4 { color: #fff; }
.block.ink .eyebrow { color: var(--mark); }
.block.ink a { color: var(--mark); }
.block.ink a.btn { color: #fff; }
.block.ink a.btn.secondary { color: var(--ink); }
.block.ink .btn.secondary { color: var(--ink); }
.block.ink .ghost { color: #fff; opacity: .06; }
.block.tight { padding: 56px 0; }
.lede { font-size: 19.5px; max-width: 34em; }
.sub { font-size: 19.5px; line-height: 1.6; max-width: 34em; }
.hero { padding: 54px 0 70px; }
.herogrid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; }
.herogrid.rev { grid-template-columns: .88fr 1.12fr; }
.facts { display: flex; gap: 10px 26px; flex-wrap: wrap; font-size: 15px; color: var(--muted); border-top: 2px dashed var(--line); padding-top: 16px; margin-top: 22px; }
.facts b { color: var(--ink); }

/* ---- framed photos: ink border, hard offset shadow, ONE organic rounded corner ---- */
.frame { position: relative; margin: 0; }
.frame img {
  width: 100%; height: auto; display: block; border: 3px solid var(--ink); background: var(--sand);
  object-fit: cover; box-shadow: 8px 8px 0 var(--orange); transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.frame:hover img { transform: scale(1.015); }
.frame.ink img { box-shadow: 8px 8px 0 var(--ink); }
.frame.mk-y img { box-shadow: 8px 8px 0 var(--mark); }
.frame.c1 img { border-radius: 190px 14px 14px 14px; }
.frame.c2 img { border-radius: 14px 190px 14px 14px; }
.frame.c3 img { border-radius: 14px 14px 14px 190px; }
.frame.c4 img { border-radius: 14px 14px 190px 14px; }
.frame.ar-sq img { aspect-ratio: 1 / 1; }
.frame.ar-tall img { aspect-ratio: 4 / 5; }
.frame.ar-cover img { aspect-ratio: 2 / 3; }
.frame.ar-wide img { aspect-ratio: 3 / 2; }
.frame.ar-band img { aspect-ratio: 21 / 9; }
.frame.top img { object-position: 50% 12%; }
.frame.contain img { object-fit: contain; background: #FBF7EF; }
.frame .num {
  position: absolute; top: -18px; left: -18px; width: 62px; height: 62px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); display: grid; place-items: center; z-index: 2;
  font: 800 24px/1 Poppins, sans-serif; color: var(--ink); box-shadow: 3px 3px 0 var(--orange);
}
.frame .stick { position: absolute; right: -10px; bottom: 22px; z-index: 2; }
.frame figcaption, .frame .cap { font-family: Caveat, cursive; font-weight: 700; font-size: 23px; line-height: 1.1; color: var(--orange); margin-top: 18px; display: block; transform: rotate(-1deg); }
.tape { position: absolute; background: var(--mark); opacity: .85; border: 1.5px solid rgba(20, 17, 14, .22); width: 100px; height: 28px; z-index: 2; }

/* ---- split rows: photo + text, alternating ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .frame.ar-sq img { aspect-ratio: 5 / 4; }
.split + .split { margin-top: 84px; }
.split.tall { align-items: start; }
.split.tall .frame { position: sticky; top: 96px; }
.split.flip .frame, .split.flip .splitart { order: 2; }
.split .numlabel { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.numlabel .n { font: 800 13px/1 Poppins, sans-serif; color: var(--orange); letter-spacing: .12em; }
.numlabel .hr { flex: 0 0 56px; height: 3px; background: var(--orange); border-radius: 3px; }
.textlink { display: inline-block; font: 700 16px Poppins, sans-serif; margin-top: 4px; }
.notes { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.notes svg { flex: 0 0 auto; }

/* ---- contrast band ---- */
.band-ink { text-align: center; }
.band-ink .cta-row { justify-content: center; }
.dropgrid .frame { max-width: 300px; margin-inline: auto; width: 100%; }
.dropgrid .cta-row { justify-content: flex-start; }
.dropgrid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; text-align: left; }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 38px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 2.5px solid var(--ink); position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: var(--body); transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s;
}
.card:nth-child(3n+1) { border-radius: 22px 6px 22px 6px; }
.card:nth-child(3n+2) { border-radius: 6px 22px 6px 22px; }
.card:nth-child(3n) { border-radius: 22px 22px 6px 6px; }
a.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 6px 8px 0 var(--orange); color: var(--body); }
.card .pic { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2.5px solid var(--ink); border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .txt { padding: 20px 22px 24px; }
.card h4 { margin-bottom: 8px; }
.card p { font-size: 15.5px; margin: 0; }
.card .tag { font: 700 11.5px Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 8px; }
.card.hl { background: var(--mark); }
.wnum { font: 800 13px/1 Inter, sans-serif; letter-spacing: .14em; color: var(--orange); display: block; margin-bottom: 12px; }
.pcard { color: var(--body); background: var(--paper); border: 2.5px solid var(--ink); padding: 24px; position: relative; }
.pcard:nth-child(odd) { border-radius: 20px 6px 20px 6px; }
.pcard:nth-child(even) { border-radius: 6px 20px 6px 20px; }
.pcard.hl { background: var(--mark); }
.pcard.no { background: #FFF4EA; border-style: dashed; }
.pcard p { font-size: 16px; margin: 0 0 .7em; }
.pcard p:last-child { margin-bottom: 0; }

/* ---- lists: numbered circles, not bullets in a box ---- */
.ruled-list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.ruled-list li { counter-increment: n; position: relative; padding: 15px 0 15px 54px; border-top: 2px dashed var(--line); }
.ruled-list li:last-child { border-bottom: 2px dashed var(--line); }
.ruled-list li::before {
  content: counter(n); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--ink); display: grid; place-items: center;
  font: 800 15px/1 Poppins, sans-serif; color: var(--ink); box-shadow: 2px 2px 0 var(--orange);
}
.ruled-list.plain li { padding-left: 0; }
.ruled-list.plain li::before { display: none; }
.ruled-list li b { color: var(--ink); font-family: Poppins, sans-serif; }
.num-steps { counter-reset: n; list-style: none; margin: 0; padding: 0 0 0 54px; position: relative; }
.num-steps::before { content: ""; position: absolute; left: 20px; top: 12px; bottom: 30px; border-left: 3px dashed var(--line); }
.num-steps li {
  counter-increment: n; position: relative; background: var(--paper); border: 2.5px solid var(--ink);
  border-radius: 18px 6px 18px 6px; padding: 15px 20px; margin-bottom: 15px; font-size: 16.5px;
}
.num-steps li:nth-child(even) { border-radius: 6px 18px 6px 18px; }
.num-steps li:nth-child(6) { background: var(--mark); }
.num-steps li::before {
  content: counter(n); position: absolute; left: -54px; top: 10px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); display: grid; place-items: center; z-index: 2;
  font: 800 16px/1 Poppins, sans-serif; color: var(--ink); box-shadow: 3px 3px 0 var(--orange);
}
.num-steps li:nth-child(6)::before { background: var(--orange); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
table.ruled { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
table.ruled th { text-align: left; font: 700 11.5px/1.3 Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 12px 14px; }
table.ruled td { border-top: 1px solid var(--line); padding: 13px 14px; vertical-align: top; }
.refund-box { border: 2.5px solid var(--ink); border-radius: 20px 6px 20px 6px; padding: 24px; background: var(--paper); box-shadow: var(--shadow); }
.refund-box p:last-child { margin-bottom: 0; }
.gate-note { border: 2.5px solid var(--ink); border-radius: 14px; padding: 16px 20px; background: var(--blue-soft); color: var(--ink); font-size: 15.5px; margin-top: 20px; }
.gate-note.key { background: var(--mark); }
.gate-note p:last-child { margin-bottom: 0; }
.price-line { font: 800 26px/1.25 Poppins, sans-serif; color: var(--ink); margin: 6px 0 14px; }
.price-line small { display: block; font: 400 15px/1.5 Inter, sans-serif; color: var(--muted); margin-top: 4px; }
.badge-ok { display: inline-block; font: 700 12px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: #DDF3E6; color: #1F8A4C; border: 2px solid var(--ink); padding: 8px 12px; border-radius: 3px 12px 4px 11px; transform: rotate(-1.2deg); }
.fine { font-size: 14px; color: var(--muted); }

/* ---- faq ---- */
details.q { border-bottom: 2px solid var(--line); padding: 18px 0; }
details.q:first-of-type { border-top: 2px solid var(--line); }
details.q summary { font: 700 18px Poppins, sans-serif; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font: 800 26px Poppins, sans-serif; color: var(--orange); line-height: 1; }
details.q[open] summary::after { content: "\2013"; }
details.q p { margin: 12px 0 0; font-size: 16.5px; }

/* ---- forms ---- */
.tick-row { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.tick-row input[type="checkbox"] { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--orange); }
.field { margin-bottom: 18px; }
.field > label { display: block; font: 700 15px/1.35 Inter, sans-serif; color: var(--ink); margin-bottom: 7px; }
.field textarea, .field input[type="text"], .field input[type="email"], .field select {
  width: 100%; border: 2.5px solid var(--ink); border-radius: 12px; background: #fff; padding: 12px 14px;
  font: 400 16px/1.5 Inter, sans-serif; color: var(--ink);
}
.field textarea { min-height: 96px; }
.field textarea:focus, .field input:focus { outline: 3px solid var(--mark); outline-offset: 1px; }
.formcard { background: var(--paper); border: 3px solid var(--ink); border-radius: 22px 6px 22px 6px; padding: 32px; box-shadow: 8px 8px 0 var(--mark); }
.formgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.formgrid .frame { position: sticky; top: 100px; }

/* ---- founder ---- */
.whogrid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; }

/* ---- directory list cards: empty state ---- */
.empty { max-width: 560px; }

@media (max-width: 900px) {
  body { font-size: 16.5px; padding-bottom: 0; }
  header.site { padding-block: 10px 0; }
  header.site .row { flex-wrap: wrap; gap: 8px 12px; }
  header.site .brand img { height: 26px; }
  header.site nav a.navlink { font-size: 13px; }
  header.site nav { display: contents; }
  header.site nav .btn { order: 2; padding: 10px 16px; font-size: 13.5px; box-shadow: 3px 3px 0 var(--ink); }
  header.site nav .links {
    order: 3; flex: 0 0 100%; overflow-x: auto; gap: 16px; justify-content: flex-start; padding: 10px 22px 10px; margin: 0 -22px;
    width: calc(100% + 44px); scrollbar-width: none; border-top: 1.5px solid var(--line); white-space: nowrap;
  }
  header.site nav .links::-webkit-scrollbar { display: none; }
  .herogrid, .herogrid.rev, .split, .whogrid, .formgrid, .dropgrid { grid-template-columns: 1fr; gap: 38px; }
  .split .frame.ar-sq img { aspect-ratio: 5 / 4; }
.split + .split { margin-top: 64px; }
  .split.flip .frame, .split.flip .splitart { order: 0; }
  .split.tall .frame { position: static; }
  .cards, .cards.two { grid-template-columns: 1fr; gap: 26px; }
  .ghost { display: none; }
  .dropgrid .frame { max-width: 230px; }
  .block { padding: 56px 0; }
  .hero { padding: 34px 0 52px; }
  .frame.c1 img, .frame.c2 img, .frame.c3 img, .frame.c4 img { border-radius: 14px; }
  .frame.c1 img { border-top-left-radius: 110px; }
  .frame.c2 img { border-top-right-radius: 110px; }
  .frame.c3 img { border-bottom-left-radius: 110px; }
  .frame.c4 img { border-bottom-right-radius: 110px; }
  .frame img { box-shadow: 6px 6px 0 var(--orange); }
  .frame.ink img { box-shadow: 6px 6px 0 var(--ink); }
  .frame.mk-y img { box-shadow: 6px 6px 0 var(--mark); }
  .frame.ar-tall img { aspect-ratio: 4 / 4.4; }
  .split .frame.ar-sq img { aspect-ratio: 1 / 1; }
  .frame.ar-band img { aspect-ratio: 16 / 9; }
  .frame .num { top: -14px; left: -8px; width: 52px; height: 52px; font-size: 20px; }
  .formgrid .frame { position: static; order: -1; }
  .formcard { padding: 22px; box-shadow: 6px 6px 0 var(--mark); }
  .btn { font-size: 16px; padding: 16px 24px; }
  .price-line { font-size: 22px; }
  .lede, .sub { font-size: 18px; }
  .sticky { padding: 10px 14px; }
  .sticky .s1x { font-size: 13px; }
  .sticky a { padding: 10px 16px; font-size: 13.5px; }
  .whatsapp-fab { right: 14px; bottom: 14px; width: 60px; height: 60px; padding: 0; justify-content: center; }
  .whatsapp-fab .wa-icon { width: 34px; height: 34px; }
  .whatsapp-fab .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  footer.site { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
footer.site .ghost { color: #fff; opacity: .05; }
footer.site { border-top: 3px solid var(--mark); }
.frame.sm.c1 img { border-radius: 14px; border-top-left-radius: 100px; }
.frame.sm.c2 img { border-radius: 14px; border-top-right-radius: 100px; }
.frame.sm.c3 img { border-radius: 14px; border-bottom-left-radius: 100px; }
.frame.sm.c4 img { border-radius: 14px; border-bottom-right-radius: 100px; }
.btn .ph { display: block; margin-top: 8px; background: #fff; color: var(--orange-d); font: 700 11px/1.3 Inter, sans-serif; white-space: normal; }
.cards.one { grid-template-columns: 1fr; max-width: 880px; }
.cards.one .card { flex-direction: row; }
.cards.one .card .pic { width: 46%; flex: 0 0 46%; aspect-ratio: auto; border-bottom: 0; border-right: 2.5px solid var(--ink); border-radius: 0; }
.cards.one .card .txt { align-self: center; padding: 28px; }
@media (max-width: 900px) {
  .cards.one .card { flex-direction: column; }
  .cards.one .card .pic { width: 100%; flex-basis: auto; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 2.5px solid var(--ink); }
}
.herogrid > *, .split > *, .formgrid > *, .whogrid > *, .dropgrid > * { min-width: 0; }
@media (max-width: 900px) {
  header.site nav .links { gap: 10px; }
  header.site nav a.navlink { font-size: 12.5px; }
}
@media (max-width: 900px) {
  header.site nav .links { gap: 8px; padding-inline: 22px; }
  header.site nav a.navlink { font-size: 12px; letter-spacing: -0.01em; }
}

/* The studio photograph is 3:2; preserve the full hardcover in both placements. */
.frame.book img { aspect-ratio: 3 / 2; border-radius: 8px; object-fit: contain; }
.frame.book { max-width: 500px; margin-inline: auto; width: 100%; }
.dropgrid .frame.book { max-width: 430px; }
@media (max-width: 900px) { .dropgrid .frame.book { max-width: 300px; } }
.intro-edition { scroll-margin-top: 90px; }

/* ---- Intro Edition signup ---- */
.intro-form { max-width: 520px; }
.intro-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intro-form .consent { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.intro-msg { border: 3px solid var(--ink); border-radius: 14px 4px 14px 4px; background: #fff; padding: 14px 18px; margin: 0 0 16px; font-weight: 600; }
.intro-msg.ok { box-shadow: 5px 5px 0 var(--mark); font-size: 19px; }
.intro-msg.err { box-shadow: 5px 5px 0 var(--orange); }

/* ---- legal pages (privacy, terms) ---- */
.legal { max-width: 820px; }
.legal h2 { font: 800 26px/1.2 Poppins, sans-serif; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 700 18px/1.3 Poppins, sans-serif; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid rgba(20,17,14,.14); }
.legal th { font-family: Poppins, sans-serif; font-weight: 700; border-bottom: 2.5px solid var(--ink); }
@media (max-width: 640px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td:first-child { font-weight: 700; border-bottom: none; padding-bottom: 2px; } }

/* ---- cookie consent banner ---- */
.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; width: calc(100% - 32px); max-width: 600px;
  display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap;
  background: var(--cream); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink); padding: 14px 16px;
}
.consent-text { margin: 0; flex: 1 1 260px; font: 400 14px/1.5 Inter, system-ui, sans-serif; color: var(--ink); }
.consent-text a { color: var(--orange-d); font-weight: 600; white-space: nowrap; }
.consent-btns { display: flex; gap: 10px; flex: none; }
.consent-btn {
  font: 700 14.5px/1 Poppins, sans-serif; padding: 11px 22px; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.consent-btn:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.consent-btn:focus-visible { outline: 3px solid var(--blue-d); outline-offset: 3px; }
.consent-link {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--mark); cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(255, 210, 94, .4);
}
.consent-link:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; }
@media (max-width: 900px) {
  body.consent-on .whatsapp-fab { bottom: calc(var(--consent-h, 0px) + 28px); }
}
@media (max-width: 600px) {
  .cookie-consent { left: 12px; width: calc(100% - 24px); bottom: 12px; }
  .consent-btns { width: 100%; }
  .consent-btn { flex: 1; }
  body.consent-on .whatsapp-fab { bottom: calc(var(--consent-h, 0px) + 24px); }
}

/* ---- blog ---- */
.byline { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.byline b { color: var(--ink); }
.article { max-width: 720px; margin-inline: auto; }
.article h2 { font: 800 30px/1.2 Poppins, sans-serif; margin: 46px 0 14px; scroll-margin-top: 90px; }
.article h3 { font: 700 21px/1.3 Poppins, sans-serif; margin: 30px 0 10px; scroll-margin-top: 90px; }
.article p, .article li { font-size: 19px; line-height: 1.72; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 1.1em; }
.article li { margin-bottom: 8px; }
.article blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--orange); color: var(--ink); font-size: 20px; }
.article img { max-width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 12px 4px 12px 4px; box-shadow: 6px 6px 0 var(--ink); margin: 14px 0; }
.article pre { background: var(--ink); color: #f1e9db; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 15px; }
.article code { font-size: .92em; background: var(--sand); padding: 1px 6px; border-radius: 5px; }
.article pre code { background: none; padding: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid rgba(20,17,14,.14); }
.article th { font-family: Poppins, sans-serif; border-bottom: 2.5px solid var(--ink); }
.article-extras { max-width: 720px; margin: 46px auto 0; border-top: 2.5px solid var(--ink); padding-top: 8px; }
.article-extras h2 { font: 800 24px/1.2 Poppins, sans-serif; margin: 28px 0 12px; }
.article-extras li { font-size: 16.5px; line-height: 1.55; margin-bottom: 8px; word-break: break-word; }
.article-extras ul, .article-extras ol { padding-left: 22px; }
.pager { display: flex; gap: 14px; justify-content: space-between; margin-top: 44px; flex-wrap: wrap; }
.empty-note { font-size: 19px; max-width: 34em; }
@media (max-width: 640px) {
  .article h2 { font-size: 25px; margin-top: 36px; }
  .article p, .article li { font-size: 18px; }
}
/* Principles table: stack each row on phones so the "Held up?" column is never clipped. */
@media (max-width: 640px) {
  table.ruled.stack, table.ruled.stack tbody, table.ruled.stack tr, table.ruled.stack td { display: block; width: 100%; }
  table.ruled.stack thead { display: none; }
  table.ruled.stack tr { border-top: 1px solid var(--line); padding: 12px 0; }
  table.ruled.stack td { border-top: 0; padding: 4px 14px; }
  table.ruled.stack td[data-label]::before { content: attr(data-label); display: block; font: 700 11px/1.3 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
}

/* Quiz choices: big tap targets, one per line on the stacked list. */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices.stack { flex-direction: column; align-items: flex-start; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); font-weight: 600; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--orange); margin: 0; }
.choice:has(input:checked) { background: var(--mark); box-shadow: 3px 3px 0 var(--ink); }

/* Members area and cohort pages. */
.memtable { width: 100%; border-collapse: collapse; margin: 12px 0 24px; }
.memtable th, .memtable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.badge { display: inline-block; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--paper); }
.badge.open { background: var(--mark); }
.badge.locked { background: var(--sand); color: var(--muted); }
.flash { border: 2px solid var(--ink); border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; background: var(--blue-soft); }
.flash.err { border-color: #b3261e; color: #b3261e; background: #fff; }
.field input[type="text"], .field input[type="email"], .field input[type="date"], .field input[type="file"], .field select, .field textarea { width: 100%; }
