/* Crafty — atelier landing */

:root {
  --paper: #f4efe6;
  --paper-2: #fffbf6;
  --ink: #1c1915;
  --muted: #6b645a;
  --soft: #8f877c;
  --clay: #c45c26;
  --clay-soft: #f4d8c4;
  --forest: #1f4a46;
  --forest-deep: #163835;
  --sage: #5e8a7a;
  --gold: #c4a574;
  --line: #e4dcd0;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(28, 25, 21, 0.16);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

::selection {
  background: var(--clay-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 560px at 8% -8%, rgba(196, 165, 116, 0.22), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(94, 138, 122, 0.14), transparent 50%),
    radial-gradient(700px 420px at 90% 80%, rgba(196, 92, 38, 0.08), transparent 45%),
    var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}
.kicker.light { color: var(--gold); }

h1, h2, h3, .brand span, .foot-brand strong {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.nav.is-stuck {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-size: 28px; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--paper-2) 70%, transparent); }
.nav-cta {
  background: var(--clay) !important;
  color: var(--paper) !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--forest) !important; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn.is-open span:first-child { top: 21px; transform: rotate(40deg); }
.menu-btn.is-open span:last-child { top: 21px; transform: rotate(-40deg); }

/* Hero */
.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 28px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 40px;
  align-items: center;
  min-height: calc(100svh - 88px);
}

.hero-copy h1 {
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.98;
  font-weight: 600;
  max-width: 11ch;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
}
.lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 38ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  background: var(--clay);
  color: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease;
}
.cta:hover { transform: translateY(-2px); background: #a84c1e; color: var(--paper); }
.cta.forest { background: var(--forest); }
.cta.forest:hover { background: var(--forest-deep); }
.cta.light { background: var(--paper); color: var(--ink); }
.cta.light:hover { background: var(--paper-2); color: var(--ink); }
.cta.secondary {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.cta.secondary:hover { background: var(--paper); color: var(--ink); }

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease;
}
.store:hover { transform: translateY(-2px); background: #2a2622; }
.store svg { width: 22px; height: 22px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; font-size: 18px; font-weight: 600; }
.store small { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.8; }
.store.light { background: var(--paper); color: var(--ink); }
.store.light:hover { background: var(--paper-2); }

.text-link {
  color: var(--forest);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--forest) 35%, transparent);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--forest); }

.hero-stage {
  position: relative;
  height: 620px;
  perspective: 1200px;
  z-index: 1;
}

.crafty-hero-mark {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 168px;
  height: 168px;
  border-radius: 38px;
  box-shadow: 0 18px 32px rgba(22, 56, 53, 0.28);
  animation: drift 9s ease-in-out infinite;
}

.device {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 268px;
  height: 548px;
  transform: translate(-52%, -50%);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
  z-index: 3;
}
a.device {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.device-bezel {
  width: 100%;
  height: 100%;
  background: #1c1915;
  border-radius: 42px;
  padding: 11px;
  box-shadow:
    0 40px 80px rgba(28, 25, 21, 0.28),
    inset 0 0 0 1px #3d3732;
}
.island {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 86px;
  height: 24px;
  background: #1c1915;
  border-radius: 20px;
  transform: translateX(-50%);
  z-index: 2;
}
.screen {
  position: relative;
  height: 100%;
  background: var(--paper);
  border-radius: 32px;
  overflow: hidden;
}

.ui {
  position: absolute;
  inset: 0;
  padding: 52px 16px 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.ui.is-on { opacity: 1; transform: none; }
.ui-kicker {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.ui h2 {
  font-size: 26px;
  line-height: 1.1;
  margin: 6px 0 14px;
}
.ui-search {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--soft);
}
.ui-chips {
  display: flex;
  gap: 6px;
  margin: 12px 0;
  overflow: hidden;
}
.ui-chips span {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.ui-chips .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ui-feature .cover.tall {
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}
.ui-free {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 999px;
}
.ui-feature strong { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.ui-step { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.ui-progress {
  height: 4px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}
.ui-progress i { display: block; height: 100%; background: var(--clay); }
.ui-btn {
  background: var(--clay);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
}

.cover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--g1), var(--g2));
  border-radius: 18px;
}
.hero-stage .cover svg,
.float-card .cover svg,
.piece .cover svg {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  opacity: 0.92;
}
.orb {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  right: -18%;
  top: -18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.float-card {
  position: absolute;
  width: 168px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 8px 12px;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
  z-index: 4;
}
.float-card .cover { height: 150px; }
.float-meta { padding: 8px 6px 0; }
.float-meta b { display: block; font-family: var(--serif); font-size: 14px; line-height: 1.2; }
.float-meta span { font-size: 11px; color: var(--soft); }
.float-card.c1 { left: 0; top: 36px; transform: rotate(-11deg); animation: drift 8s ease-in-out infinite; }
.float-card.c2 { right: 0; top: 86px; transform: rotate(9deg); animation: drift 10s ease-in-out infinite reverse; }
.float-card.c3 { left: 28px; bottom: 18px; transform: rotate(-5deg); z-index: 5; animation: drift 9s 1s ease-in-out infinite; }

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 88%, var(--paper));
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  z-index: 6;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  padding: 0 28px;
  color: var(--forest);
  position: relative;
}
.marquee-track span::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--gold);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Week */
.week, .how, .studio, .browse {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px;
  scroll-margin-top: 88px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .studio-copy h2, .join h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.piece {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
}
a.piece:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.piece:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.piece .cover { height: 200px; border-radius: 0; }
.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 340px;
}
.featured .cover {
  flex: 0 0 54%;
  height: auto;
  min-height: 340px;
}
.piece .cover svg { width: 52px; height: 52px; }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 1;
}
.piece-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.featured .piece-body {
  justify-content: center;
  padding: 36px 40px;
  gap: 12px;
}
.featured .piece-body h3 { font-size: clamp(28px, 3vw, 40px); }
.featured .piece-body p { font-size: 16px; max-width: 46ch; }
.cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
}
.piece-body h3 { font-size: 22px; line-height: 1.2; }
.piece-body p { color: var(--muted); font-size: 14.5px; }
.meta { margin-top: auto; font-size: 12px; color: var(--soft); }

/* How */
.how { padding-top: 40px; }
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps span {
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}
.steps h3 { font-size: 28px; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 52ch; font-size: 17px; }

/* Studio */
.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.studio-copy p { color: var(--muted); font-size: 17px; margin: 16px 0 24px; max-width: 46ch; }
.studio-copy .cta { margin-top: 8px; }
.perks { list-style: none; display: grid; gap: 12px; }
.perks li {
  padding-left: 22px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
}
.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.studio-shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  transform: rotate(-2deg);
}
.shelf-card {
  min-height: 180px;
  border-radius: 20px;
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, var(--g1), var(--g2));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.shelf-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  right: -20px;
  top: -24px;
}
.shelf-card:nth-child(2) { translate: 0 18px; }
.shelf-card:nth-child(3) { translate: 0 -8px; }
.shelf-card b { font-family: var(--serif); font-size: 20px; position: relative; z-index: 1; }
.shelf-card span { font-size: 12px; opacity: 0.85; margin-top: 6px; position: relative; z-index: 1; }

/* Join */
.join {
  margin: 24px 18px 0;
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(196, 165, 116, 0.18), transparent 50%),
    var(--forest-deep);
  color: var(--paper);
  border-radius: 32px;
  padding: 88px 28px;
  scroll-margin-top: 88px;
}
.join-inner { max-width: 720px; margin: 0 auto; }
.join h2 { margin-bottom: 16px; }
.join p { color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: 18px; max-width: 46ch; }
.join ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 32px 0 36px;
}
.join li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
}
.join li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.join .hero-actions { margin-top: 8px; }
.join .cta { box-shadow: none; }

/* Footer */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 40px;
  display: grid;
  gap: 22px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.foot-brand img { width: 48px; height: 48px; border-radius: 12px; }
.foot-brand strong { font-size: 28px; display: block; }
.foot-brand p { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--forest); font-size: 14px; font-weight: 500; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copy { color: var(--soft); font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; }

/* Reveal — content stays visible if JS/IO never fires */
.reveal.is-in {
  animation: rise 0.7s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Legal */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.legal-wrap h1 { font-size: 42px; margin: 12px 0 8px; }
.legal-wrap h2 { font-size: 22px; margin: 28px 0 8px; }
.legal-wrap p, .legal-wrap li { color: var(--muted); margin-bottom: 12px; }
.legal-wrap a { color: var(--clay); }

.open-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.open-card {
  max-width: 420px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.open-card img { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 16px; }
.open-card h1 { font-size: 40px; margin-bottom: 10px; }
.open-card p { color: var(--muted); margin-bottom: 22px; }

/* Homepage browse IA */
.browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.browse-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.browse-card h3 {
  font-size: 26px;
  line-height: 1.15;
}
.browse-card h3 a {
  text-decoration: none;
}
.browse-card h3 a:hover { color: var(--forest); }
.browse-card > p { color: var(--muted); font-size: 15px; }
.browse-links {
  list-style: none;
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.browse-links a {
  color: var(--forest);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.browse-links a:hover { text-decoration: underline; }

/* Content articles (hubs, spokes, how-tos) */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px 96px;
}
.article.directory { max-width: 980px; }
.dir-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 28px;
  margin: 0 0 44px;
}
.dir-lead .lede { margin: 0; flex: 1 1 320px; }
.need, .facts-wrap {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 20px 0 28px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0;
  list-style: none;
}
.facts li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0;
}
.facts b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
  font-family: var(--sans);
}
.ideas { display: grid; gap: 14px; margin: 22px 0 36px; }
.idea {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px 1fr;
}
.idea .cover { min-height: 112px; height: 100%; border-radius: 0; }
.idea-body { padding: 14px 18px 16px; }
.idea-body h3 { margin: 0 0 6px; font-size: 20px; }
.idea-body p { font-size: 15px; color: var(--muted); margin: 0; max-width: none; }
.article h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  margin: 8px 0 16px;
}
.article .lede {
  font-size: 20px;
  max-width: 46ch;
  margin: 0 0 32px;
  color: var(--ink);
}
.article h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 40px 0 12px;
}
.article h3 {
  font-size: 22px;
  margin: 28px 0 8px;
}
.article p,
.article li {
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--ink);
}
.article p a,
.article li a { color: var(--forest); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumbs a { color: var(--forest); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--soft); }

.toc {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
  margin: 0 0 36px;
}
.toc ol {
  margin: 0 0 0 1.15em;
}
.toc a {
  color: var(--forest);
  text-decoration: none;
}
.toc a:hover { text-decoration: underline; }

.faq {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  font-family: var(--serif);
  font-size: 20px;
  cursor: pointer;
}
.faq details p { margin: 10px 0 0; }

.related {
  display: grid;
  gap: 10px;
  margin-top: 40px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.related a {
  color: var(--forest);
  font-weight: 500;
  text-decoration: none;
}
.related a:hover { text-decoration: underline; }

.howto-steps {
  list-style: none;
  margin: 24px 0 32px;
  counter-reset: step;
}
.howto-steps li {
  counter-increment: step;
  padding: 20px 0 20px 72px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.howto-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.dir-groups {
  display: grid;
  gap: 36px;
  margin-top: 12px;
}
@media (min-width: 720px) {
  .dir-groups { grid-template-columns: 1fr 1fr; gap: 28px 48px; }
}
.dir-groups h2 { font-size: 22px; margin-bottom: 10px; }
.dir-groups ul { list-style: none; display: grid; gap: 8px; }
.dir-groups a {
  color: var(--forest);
  font-weight: 500;
  text-decoration: none;
}
.dir-groups a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 40px;
  }
  .hero-stage { height: 540px; }
  .week-grid, .browse-grid { grid-template-columns: 1fr 1fr; }
  .featured { flex-direction: column; }
  .featured .cover { flex: none; width: 100%; min-height: 260px; height: 260px; }
  .featured .piece-body { padding: 24px; }
  .studio { grid-template-columns: 1fr; }
  .studio-shelf { transform: none; }
}

@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .menu-btn { display: block; }
  .nav-links {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero, .week, .how, .studio, .browse, .article, .foot { padding-left: 18px; padding-right: 18px; }
  .hero-copy h1 { max-width: none; }
  .hero-stage { height: 500px; overflow: hidden; }
  .device { width: 210px; height: 430px; }
  .float-card { width: 132px; }
  .float-card .cover { height: 110px; }
  .float-card.c2 { display: none; }
  .crafty-hero-mark { width: 120px; height: 120px; border-radius: 28px; }
  .week-grid, .browse-grid { grid-template-columns: 1fr; }
  .featured .cover { height: 220px; min-height: 220px; }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .join { margin: 0; border-radius: 0; padding: 64px 18px; }
  .join ul { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .idea { grid-template-columns: 1fr; }
  .idea .cover { min-height: 96px; height: 96px; }
  .studio-shelf { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .crafty-hero-mark, .float-card, .marquee-track { animation: none !important; }
  .reveal.is-in { animation: none; }
  .ui { transition: none; }
}
