/* ==========================================================
   Chalk & Code — shared styles
   Idea: "chalk marks on warm paper". Hand-drawn underlines,
   a rotating sticker, and one loud artwork against a calm page.
   ========================================================== */

:root {
  --bg: #FFF8F0;
  --card: #FFFFFF;
  --ink: #2B1D14;
  --soft: #7A6656;
  --accent: #E2683C;
  --accent-deep: #C9532A;
  --sun: #F4C27A;
  --sun-pale: #FCE9CC;
  --line: #EADCCB;

  --radius: 16px;
  --radius-sm: 10px;
  --section: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 200ms;

  --f-head: "Fraunces", Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --shadow: 0 1px 2px rgba(43, 29, 20, .06), 0 8px 24px rgba(43, 29, 20, .06);
  --shadow-lift: 0 2px 4px rgba(43, 29, 20, .08), 0 18px 40px rgba(43, 29, 20, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 16px; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
h1 { font-size: clamp(48px, 7.4vw, 112px); letter-spacing: -0.035em; }
h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.03em; }
h3 { font-size: clamp(24px, 2.2vw, 32px); }
.it { font-style: italic; }

.wrap { width: min(1280px, 100% - 80px); margin-inline: auto; }
@media (max-width: 700px) { .wrap { width: calc(100% - 40px); } }

.section { padding-block: var(--section); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--soft); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }

.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--soft); max-width: 34ch; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 16px; }

/* Focus — always visible */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Hand-drawn chalk underline */
.chalk { position: relative; white-space: nowrap; display: inline-block; }
.chalk svg {
  position: absolute; left: -4%; bottom: -0.12em; width: 108%; height: .34em;
  overflow: visible; pointer-events: none;
}
.chalk path { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 900ms var(--ease) 250ms; }
.chalk.is-in path, .no-js .chalk path { stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bbg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  background: var(--bbg); color: #FFFFFF;
  font-family: var(--f-body); font-size: 19px; font-weight: 700; letter-spacing: .005em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 0 rgba(43,29,20,.18);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(226,104,60,.35); background: var(--accent-deep); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(43,29,20,.2); background: #B4471F; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateY(2px); }

.btn--ink { --bbg: var(--ink); }
.btn--ink:hover { background: #000; box-shadow: 0 6px 16px rgba(43,29,20,.35); }
.btn--ink:active { background: #000; }
.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:active { background: #000; color: #fff; }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 19px; }

.textlink {
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--accent);
  display: inline-flex; align-items: center; min-height: 44px;
}
.textlink:hover { text-decoration-color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 240, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(43,29,20,.05); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 26px; letter-spacing: -0.02em;
  text-decoration: none; min-height: 44px;
}
.wordmark__amp { color: var(--accent); font-style: italic; }
.wordmark__mark { width: 34px; height: 34px; flex: none; }

.nav__links { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 500; border-radius: 999px;
  transition: background var(--t) var(--ease);
}
.nav__links a:hover { background: var(--sun-pale); }
.nav__links a[aria-current="page"] { background: var(--ink); color: #fff; }

.nav__toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 80px 0 0 0; z-index: 49;
  background: var(--bg); padding: 32px 20px 120px;
  flex-direction: column; gap: 8px;
}
.mobile-menu a:not(.btn) {
  font-family: var(--f-head); font-size: 44px; font-weight: 600; text-decoration: none;
  padding: 8px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em;
}
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu.is-open { display: flex; animation: menuIn var(--t) var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 56px var(--section); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.hero__note { font-size: 16px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 18px; height: 18px; color: var(--accent); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift);
  transform: rotate(1.5deg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; transform: scale(1.35); }

.hero__card {
  position: absolute; left: -48px; bottom: 48px; z-index: 2;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 16px 20px 16px 16px; display: flex; gap: 14px; align-items: center;
  transform: rotate(-3deg);
}
.hero__card-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; }
.hero__card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__card strong { display: block; font-size: 17px; line-height: 1.3; }
.hero__card span { font-size: 15px; color: var(--soft); }

/* Rotating sticker — the memorable detail */
.sticker {
  position: absolute; top: -36px; right: -28px; z-index: 3;
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(43,29,20,.18);
}
.sticker svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker__core { font-family: var(--f-head); font-size: 30px; line-height: .95; text-align: center; font-weight: 600; letter-spacing: -0.02em; }
.sticker__core small { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sticker svg.ring { animation: none; } }

@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { order: -1; margin: 0 8px; }
  .hero__frame { aspect-ratio: 1 / 1; transform: rotate(1deg); }
  .hero__card { left: -8px; bottom: -24px; padding: 12px 16px 12px 12px; }
  .hero__card-thumb { width: 52px; height: 52px; }
  .sticker { width: 112px; height: 112px; top: -20px; right: -12px; }
  .sticker__core { font-size: 22px; }
  .sticker__core small { font-size: 10px; }
}

/* ---------- Proof strip ---------- */
.proof { padding-block: 0 var(--section); }
.proof__in {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 48px;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  padding: 28px 0;
}
.proof__item { display: flex; align-items: center; gap: 14px; }
.proof__big { font-family: var(--f-head); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.proof__small { font-size: 16px; color: var(--soft); line-height: 1.35; }
.stars { display: flex; gap: 2px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; }
.proof__quote { font-family: var(--f-head); font-style: italic; font-size: 24px; line-height: 1.3; margin: 0; padding-left: 48px; border-left: 1.5px solid var(--line); }
.proof__quote cite { display: block; font-family: var(--f-body); font-style: normal; font-size: 16px; color: var(--soft); margin-top: 6px; }
@media (max-width: 1000px) {
  .proof__in { grid-template-columns: 1fr 1fr; gap: 24px; }
  .proof__quote { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1.5px solid var(--line); }
}
@media (max-width: 480px) { .proof__big { font-size: 36px; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--bg); overflow: hidden;
  transform: rotate(-1.2deg); margin: 0 -20px; padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  font-family: var(--f-head); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600;
  padding-right: 40px; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px;
}
.marquee__track span::after { content: ""; width: 14px; height: 14px; background: var(--sun); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Section heads ---------- */
.head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head h2 { margin: 0; }
.head p { color: var(--soft); margin: 0; max-width: 40ch; }
@media (max-width: 800px) { .head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }

/* ---------- Bento offer ---------- */
.bento {
  display: grid; gap: 24px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
}
.tile {
  position: relative; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.tile__art { position: relative; flex: 1; min-height: 200px; overflow: hidden; }
.tile__body { padding: 24px 28px 28px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; }
.tile__body h3 { margin: 0; grid-column: 1; }
.tile__body p { margin: 0; color: var(--soft); grid-column: 1; font-size: 17px; line-height: 1.5; }
.tile__price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-family: var(--f-head); font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
}
.tile__add {
  grid-column: 1 / -1; margin-top: 16px; justify-self: start;
}
.tile__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; letter-spacing: .02em;
}
.tile__tag--sun { background: var(--sun); color: var(--ink); }

.t-planner { grid-column: span 7; grid-row: span 2; }
.t-brush   { grid-column: span 5; grid-row: span 2; }
.t-print   { grid-column: span 4; grid-row: span 2; }
.t-exam    { grid-column: span 4; grid-row: span 2; }
.t-stamps  { grid-column: span 4; grid-row: span 2; }
.t-bundle  { grid-column: span 12; }

.t-planner .tile__art { background: var(--sun-pale); }
.t-brush .tile__art { background: #2B1D14; }
.t-print .tile__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.6); transition: transform 600ms var(--ease); position: absolute; inset: 0; }
.t-print:hover .tile__art img { transform: scale(1.7); }
.t-exam .tile__art { background: #FBE3D6; }
.t-stamps .tile__art { background: var(--bg); }

.t-bundle { background: var(--sun); flex-direction: row; align-items: stretch; }
.t-bundle .tile__body { flex: 1; padding: 40px; grid-template-columns: 1fr auto; align-items: center; }
.t-bundle h3 { font-size: clamp(32px, 3.4vw, 48px); }
.t-bundle p { color: var(--ink); font-size: 19px; max-width: 46ch; }
.t-bundle .tile__price { font-size: clamp(48px, 5vw, 72px); }
.t-bundle .tile__price s { font-size: .4em; color: var(--ink); opacity: .7; display: block; text-align: right; font-weight: 600; }
.t-bundle .tile__art { flex: 0 0 34%; min-height: 0; }
.t-bundle .tile__art img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; }

@media (max-width: 1000px) {
  .t-planner, .t-brush { grid-column: span 12; }
  .t-print, .t-exam, .t-stamps { grid-column: span 6; }
  .t-stamps { grid-column: span 12; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 20px; }
  .bento > .tile { grid-column: auto; grid-row: auto; }
  .tile__art { min-height: 220px; }
  .t-bundle { flex-direction: column-reverse; }
  .t-bundle .tile__art { flex-basis: 200px; }
  .t-bundle .tile__body { padding: 28px; grid-template-columns: 1fr; }
  .t-bundle .tile__price { grid-column: 1; grid-row: auto; }
  .t-bundle .tile__price s { text-align: left; }
}

/* SVG illustration helpers inside tiles */
.illo { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.why__item { padding: 40px 40px 8px 0; }
.why__item + .why__item { padding-left: 40px; border-left: 1.5px solid var(--line); }
.why__num {
  font-family: var(--f-head); font-weight: 600; letter-spacing: -0.05em; line-height: .85;
  font-size: clamp(88px, 10vw, 160px); color: var(--ink); margin-bottom: 24px; display: block;
}
.why__num sup, .why__num small { font-size: .32em; letter-spacing: -0.01em; vertical-align: top; margin-left: 4px; color: var(--accent); }
.why__item h3 { margin-bottom: 8px; }
.why__item p { color: var(--soft); max-width: 32ch; }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 32px 0; border-left: 0; border-bottom: 1.5px solid var(--line); }
}

/* ---------- Steps ---------- */
.steps-bg { background: var(--card); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step {
  position: relative; padding: 32px; border-radius: var(--radius); background: var(--bg);
}
.step__n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-head); font-size: 26px; font-weight: 600;
  background: var(--ink); color: #fff; margin-bottom: 24px;
}
.step:nth-child(2) .step__n { background: var(--sun); color: var(--ink); }
.step:nth-child(3) .step__n { background: var(--accent); color: var(--ink); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--soft); margin: 0; }
.step__arrow { position: absolute; right: -30px; top: 40px; width: 36px; z-index: 2; color: var(--soft); }
.step:last-child .step__arrow { display: none; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step__arrow { display: none; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: start; }
.review {
  background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  margin: 0;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.review:nth-child(1) { background: var(--ink); color: var(--bg); transform: rotate(-1deg); }
.review:nth-child(1):hover { transform: rotate(-1deg) translateY(-4px); }
.review:nth-child(1) .review__who span { color: #D9C8B8; }
.review:nth-child(1) .stars { color: var(--sun); }
.review:nth-child(2) { margin-top: 48px; }
.review:nth-child(3) { margin-top: 16px; }
.review blockquote { margin: 16px 0 24px; font-family: var(--f-head); font-size: 23px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.review:nth-child(1) blockquote { font-size: 30px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-head); font-size: 20px; font-weight: 600; background: var(--sun); color: var(--ink); flex: none;
}
.review__who strong { display: block; line-height: 1.2; }
.review__who span { font-size: 16px; color: var(--soft); }
@media (max-width: 960px) {
  .reviews { grid-template-columns: 1fr; }
  .review:nth-child(n) { margin-top: 0; }
}

/* ---------- CTA band + order form ---------- */
.cta { background: var(--accent); color: var(--ink); border-radius: 32px; padding: 80px; position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(44px, 5.6vw, 84px); margin-bottom: 20px; }
.cta p { font-size: 20px; max-width: 36ch; }
.cta__doodle { position: absolute; right: -60px; top: -60px; width: 320px; opacity: .5; z-index: 0; }

.form { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(43,29,20,.25); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.field input, .field select {
  width: 100%; min-height: 56px; padding: 0 16px;
  font: inherit; font-size: 18px; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%232B1D14' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.field input:hover, .field select:hover { border-color: #D6C2AC; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244,194,122,.6); }
.field__error { display: none; color: #A3341A; font-size: 16px; font-weight: 500; margin-top: 8px; align-items: center; gap: 6px; }
.field.has-error input, .field.has-error select { border-color: #A3341A; background: #FFF1EC; }
.field.has-error .field__error { display: flex; }
.form .btn { width: 100%; }
.form__fine { font-size: 15px; color: var(--soft); margin: 14px 0 0; text-align: center; }
.form__success {
  display: none; text-align: center; padding: 24px 8px;
}
.form__success svg { width: 72px; height: 72px; margin: 0 auto 16px; }
.form__success h3 { font-size: 34px; }
.form__success p { color: var(--soft); }
.form.is-done .form__fields { display: none; }
.form.is-done .form__success { display: block; animation: menuIn 300ms var(--ease); }
.btn.is-loading { pointer-events: none; opacity: .85; }

@media (max-width: 960px) {
  .cta { padding: 48px 24px; border-radius: 24px; }
  .cta__grid { grid-template-columns: 1fr; gap: 32px; }
  .form { padding: 24px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bg); margin-top: var(--section); padding: 80px 0 40px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 48px; }
.footer .wordmark { color: var(--bg); font-size: 32px; }
.footer .wordmark__amp { color: var(--sun); }
.footer__tag { color: #D9C8B8; margin-top: 16px; max-width: 28ch; }
.footer h4 { font-family: var(--f-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 4px; color: #EFE3D6; }
.footer li a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer li svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
.footer__hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; min-height: 32px; }
.map {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10;
  background: #3A2A1F; text-decoration: none;
}
.map svg { width: 100%; height: 100%; display: block; }
.map__label {
  position: absolute; left: 12px; bottom: 12px; background: var(--bg); color: var(--ink);
  font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 999px;
}
.map:hover .map__label { background: var(--sun); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,248,240,.15); color: #D9C8B8; font-size: 16px; }
.footer__big {
  font-family: var(--f-head); font-weight: 600; font-size: clamp(72px, 15vw, 240px); line-height: .8;
  letter-spacing: -0.05em; color: #3A2A1F; margin: 56px 0 0; user-select: none; white-space: nowrap;
}
.footer__big em { color: var(--accent); opacity: .55; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer { padding-top: 56px; padding-bottom: 120px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Sticky mobile buy bar ---------- */
.buybar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 8px 8px 22px;
  align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 12px 32px rgba(43,29,20,.35);
  transform: translateY(140%); transition: transform 300ms var(--ease);
}
.buybar.is-shown { transform: none; }
.buybar__txt { font-size: 15px; line-height: 1.25; }
.buybar__txt strong { display: block; font-size: 17px; }
.buybar .btn { min-height: 52px; padding: 0 22px; font-size: 19px; }
@media (max-width: 900px) { .buybar { display: flex; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================
   Inner pages (About + Arts)
   ========================================================== */
.page-hero { padding: 64px 0 var(--section); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.page-hero h1 { font-size: clamp(52px, 8vw, 128px); margin: 0; }
.page-hero .lede { max-width: 38ch; margin-bottom: 8px; }
@media (max-width: 900px) { .page-hero { padding-top: 32px; } .page-hero__grid { grid-template-columns: 1fr; gap: 24px; } }

/* About */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.story__media { position: relative; }
.story__frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.1; transform: rotate(-1.5deg); box-shadow: var(--shadow-lift); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 30%; transform: scale(1.5); }
.story__note {
  position: absolute; right: -24px; bottom: -28px; background: var(--sun); padding: 20px 24px; border-radius: var(--radius);
  font-family: var(--f-head); font-size: 22px; font-weight: 600; line-height: 1.2; max-width: 240px; transform: rotate(3deg);
  box-shadow: var(--shadow);
}
.story__text p { font-size: 20px; }
.story__text p:first-of-type::first-letter {
  font-family: var(--f-head); font-weight: 600; float: left; font-size: 96px; line-height: .8; padding: 8px 12px 0 0; color: var(--accent);
}
.sign { font-family: var(--f-head); font-style: italic; font-size: 30px; margin-top: 8px; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 64px; }
  .story__note { right: 0; }
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { background: var(--card); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.value__n { font-family: var(--f-head); font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; display: block; margin-bottom: 16px; }
.value__n small { font-size: .4em; color: var(--accent); margin-left: 2px; }
.value p { color: var(--soft); margin: 0; font-size: 17px; }
.value h3 { font-size: 24px; margin-bottom: 8px; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px dashed var(--line); margin-left: 12px; }
.timeline li { position: relative; padding: 0 0 40px 40px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.timeline li:last-child::before { background: var(--sun); }
.timeline time { font-weight: 700; color: var(--soft); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 6px; }
.timeline p { color: var(--soft); max-width: 52ch; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Arts */
.art-feature { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lift); }
.art-feature img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 45%; }
.art-feature__cap {
  position: absolute; left: 24px; bottom: 24px; background: var(--card); border-radius: var(--radius);
  padding: 20px 24px; max-width: 380px; box-shadow: var(--shadow-lift);
}
.art-feature__cap h2 { font-size: 36px; margin-bottom: 4px; }
.art-feature__cap p { color: var(--soft); margin: 0; font-size: 17px; }
@media (max-width: 700px) {
  .art-feature img { aspect-ratio: 1 / 1; }
  .art-feature__cap { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}

.palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.swatch { aspect-ratio: 1 / 1.4; display: flex; align-items: flex-end; padding: 12px; font-size: 14px; font-weight: 700; font-family: var(--f-body); letter-spacing: .04em; }
@media (max-width: 700px) { .palette { grid-template-columns: repeat(4, 1fr); } }

.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail { margin: 0; }
.detail__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.detail__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.2); transition: transform 600ms var(--ease); }
.detail:hover .detail__img img { transform: scale(2.35); }
.detail figcaption { margin-top: 12px; font-size: 16px; color: var(--soft); }
.detail figcaption strong { color: var(--ink); font-size: 18px; display: block; }
@media (max-width: 700px) { .details { grid-template-columns: 1fr 1fr; gap: 16px; } .details .detail:last-child { grid-column: span 2; } }

.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.format {
  background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.format:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.format__shape { height: 120px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 16px; }
.format__shape div { border-radius: 8px; overflow: hidden; box-shadow: 0 6px 16px rgba(43,29,20,.18); }
.format__shape img { width: 100%; height: 100%; object-fit: cover; }
.format h3 { font-size: 24px; margin: 0; }
.format p { color: var(--soft); margin: 0; font-size: 17px; flex: 1; }
.format__row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
.format__price { font-family: var(--f-head); font-size: 30px; font-weight: 600; }
@media (max-width: 1100px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }

.quote-band { text-align: left; }
.quote-band blockquote { font-family: var(--f-head); font-weight: 600; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; max-width: 20ch; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; color: var(--soft); }

@media (max-width: 700px) {
  :root { --section: 72px; }
}

/* ---------- Review fixes ---------- */
.t-planner .tile__art, .t-brush .tile__art { min-height: 340px; }
.t-bundle h3 { margin-bottom: 12px; }
.t-bundle p { margin-bottom: 8px; }
@media (max-width: 640px) { .t-planner .tile__art, .t-brush .tile__art { min-height: 240px; } }
html, body { overflow-x: clip; }
@media (max-width: 640px) {
  .proof__in { grid-template-columns: 1fr; gap: 20px; }
  .proof__item { justify-content: flex-start; }
  .proof__quote { font-size: 22px; }
  .hero__frame img { transform: scale(1.2); }
}
.buybar__txt { white-space: nowrap; font-size: 14px; }
.buybar__txt strong { font-size: 18px; font-family: var(--f-head); font-weight: 600; }
.buybar .btn { white-space: nowrap; padding: 0 20px; }
@media (max-width: 960px) { .cta__doodle { width: 200px; right: -90px; top: -90px; opacity: .35; } }
.mobile-menu { z-index: 70; overscroll-behavior: contain; overflow-y: auto; }
html.menu-open { overflow: hidden; }

/* ---------- Riot Season collection (arts.html) ---------- */
.season__group + .season__group { margin-top: 88px; }
.season__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 24px; }
.season__title span { font-family: var(--f-body); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.season figure { margin: 0; }
.season figcaption { margin-top: 14px; font-size: 16px; color: var(--soft); }
.season figcaption strong { display: block; color: var(--ink); font-size: 19px; }

/* gift wrap: shown repeating so the seamless tile is visible */
.wraps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wrap-card__paper {
  aspect-ratio: 1 / 1; border-radius: var(--radius); border: 3px solid var(--ink);
  background-size: 50% 50%; background-repeat: repeat; box-shadow: var(--shadow);
  transition: background-size 700ms var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.wrap-card:hover .wrap-card__paper { background-size: 34% 34%; transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* posters: hung slightly askew, like real prints */
.posters { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin: 0 auto; }
.poster img {
  width: 100%; border: 10px solid var(--card); outline: 1px solid var(--line);
  box-shadow: var(--shadow-lift); transform: rotate(-1.4deg); transition: transform 400ms var(--ease);
}
.poster:nth-child(2) img { transform: rotate(1.4deg); }
.poster:hover img { transform: rotate(0) scale(1.015); }

/* wallpapers in simple device frames */
.screens { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; align-items: end; }
.screen__frame { overflow: hidden; border: 10px solid var(--ink); box-shadow: var(--shadow-lift); background: var(--ink); }
.screen__frame img { width: 100%; display: block; }
.screen--desk .screen__frame { border-radius: 18px; }
.screen--phone .screen__frame { border-radius: 36px; max-width: 260px; }

@media (max-width: 900px) {
  .wraps { grid-template-columns: 1fr 1fr; }
  .wraps .wrap-card:last-child { grid-column: span 2; }
  .wraps .wrap-card:last-child .wrap-card__paper { aspect-ratio: 2 / 1; background-size: 25% 50%; }
  .screens { grid-template-columns: 1fr; }
  .screen--phone .screen__frame { max-width: 220px; }
}
@media (max-width: 560px) {
  .wraps, .posters { grid-template-columns: 1fr; gap: 32px; }
  .wraps .wrap-card:last-child { grid-column: auto; }
  .wraps .wrap-card:last-child .wrap-card__paper { aspect-ratio: 1 / 1; background-size: 50% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .wrap-card__paper, .poster img { transition: none; }
}

/* ---------- Riot Season shop row (index.html) ---------- */
.season-shop { margin-top: 72px; scroll-margin-top: 96px; }
.season-shop__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
.season-shop__head .eyebrow { width: 100%; margin: 0; }
.season-shop__head h3 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); max-width: 26ch; flex: 1 1 420px; }
.season-shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.season-shop .tile__art { min-height: 260px; }
.season-shop .tile__price s { display: block; font-size: .5em; opacity: .6; font-weight: 600; text-align: right; line-height: 1; }

/* gift wrap: three swatches side by side */
.t-sw__wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.t-sw__wrap span { background-size: 140px 140px; background-repeat: repeat; transition: background-size 700ms var(--ease); }
.t-sw__wrap span + span { border-left: 3px solid var(--ink); }
.t-sw:hover .t-sw__wrap span { background-size: 110px 110px; }

/* poster duo: two prints leaning together */
.t-sp__art { background: var(--sun-pale); display: flex; justify-content: center; align-items: center; gap: 0; }
.t-sp__art img { width: 36%; border: 5px solid #fff; box-shadow: var(--shadow-lift); transition: transform 400ms var(--ease); }
.t-sp__art img:first-child { transform: rotate(-6deg) translateX(10px); }
.t-sp__art img:last-child  { transform: rotate(5deg) translate(-10px, 8px); }
.t-sp:hover .t-sp__art img:first-child { transform: rotate(-9deg) translateX(-4px); }
.t-sp:hover .t-sp__art img:last-child  { transform: rotate(8deg) translate(4px, 8px); }

/* full collection */
.t-sa { background: var(--sun); }
.t-sa .tile__body p { color: var(--ink); }
.t-sa__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.t-sa:hover .t-sa__art img { transform: scale(1.05); }

@media (max-width: 1000px) {
  .season-shop__grid { grid-template-columns: 1fr 1fr; }
  .t-sa { grid-column: span 2; }
}
@media (max-width: 640px) {
  .season-shop__grid { grid-template-columns: 1fr; gap: 20px; }
  .t-sa { grid-column: auto; }
  .season-shop .tile__art { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-sw__wrap span, .t-sp__art img, .t-sa__art img { transition: none; }
}
.season__buy {
  margin-top: 88px; padding: 36px 40px; border-radius: var(--radius); background: var(--sun-pale);
  border: 3px solid var(--ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.season__buy h3 { margin: 0 0 6px; }
.season__buy p { margin: 0; color: var(--soft); }
.season__buy > div:first-child { flex: 1 1 360px; }
.season__buy-actions p { margin-top: 12px; font-size: 16px; }
@media (max-width: 640px) { .season__buy { padding: 28px 24px; } }


/* ---- Real checkout (Payhip) ---- */
.tile__eds { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.is-soon { background: var(--line) !important; color: var(--soft) !important; box-shadow: none !important; cursor: default; pointer-events: none; }
.buylist { background: var(--card); border-radius: var(--radius); padding: 8px 28px 24px; box-shadow: 0 20px 50px rgba(43,29,20,.25); }
.buylist__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.buylist__name { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.3; max-width: none; }
.buylist__name small { display: block; font-weight: 400; color: var(--soft); font-size: 15px; margin-top: 2px; }
.buylist__row .btn { flex: none; min-width: 84px; }
.cta .buylist__name { font-size: 18px; max-width: none; }

.posters--four { grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: none; }
@media (max-width: 900px) { .posters--four { grid-template-columns: 1fr 1fr; } }

.palette--12 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 700px) { .palette--12 { grid-template-columns: repeat(3, 1fr); } }
