/* Hallmark · shape: Marquee Hero · genre: playful · theme: Sticker (deal 3/3, seed rogow-indonesia-roti-kopi-2fab·da013a84·2026-11-30·r0) · job: buy · draw: 431a91
 * hero: Ledge · nav: masthead · footer: colophon block · imagery: one product slot (Butter Coffee), no library photos · signature: the Rp6.000 price as a maroon die-cut sticker slapped across the headline · sticker: sheet, brand maroon for pink, peach for lime
 * axes: light/display-heavy/chromatic-magenta · posture: full-palette · contrast: pass · fold: pass · brand: Rogow (spec 2026-11-30) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R (rhythm), the ink band and peach close keep heavy and light alternating */
/* waive 85: draw asked for "how it is made" as a Pinned run; no process facts or photos were given, so the order control and the schools sheet carry the page */
/* answered 23: the peach disc behind the 3D roti is the Sticker theme's mark fill under a full-palette posture */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 var(--space-lg);
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink);
  font-weight: 700; font-size: var(--text-md); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 0 0 2px var(--color-ink);
  transition: translate var(--dur-micro) var(--ease-out), rotate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--color-paper-2); translate: 0 -2px; }
.btn:active { translate: 0 1px; }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.btn:disabled { opacity: .55; cursor: not-allowed; translate: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 5px var(--color-white), var(--shadow-card); }
.btn--primary:hover { background: var(--color-accent-deep); translate: 0 -2px; rotate: -1deg; }
.btn--primary:active { translate: 4px 5px; rotate: 0deg; box-shadow: 0 0 0 5px var(--color-white), var(--shadow-press); }
.btn--small { height: 42px; padding: 0 var(--space-md); font-size: var(--text-sm); }

.diecut { border: 6px solid var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.diecut--photo { border-radius: 22px; background: var(--color-slot); }
.fill { border: 6px solid var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: var(--color-accent); color: var(--color-accent-ink); }
.tag { display: inline-block; padding: var(--space-xs) var(--space-md); border: 4px solid var(--color-white); border-radius: var(--radius-pill); background: var(--color-accent-2); color: var(--color-ink); font-weight: 700; box-shadow: var(--shadow-card); }

/* ---------- masthead ---------- */
.mast { border-bottom: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); }
.mast__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.mast__mark { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; text-decoration: none; color: var(--color-accent); }
.mast__mark:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.mast__nav { display: flex; align-items: center; gap: var(--space-lg); }
.mast__nav > a:not(.btn) { font-weight: 600; text-decoration: none; }
.mast__nav > a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.mast__nav > a:not(.btn):focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }

/* ---------- hero (marquee, ledge) ---------- */
.hero { position: relative; min-height: calc(100dvh - 74px); display: flex; align-items: flex-end; padding-block: var(--space-xl) var(--space-2xl); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--space-lg) var(--gap-columns); }
.hero__head { max-width: 9ch; font-size: clamp(3.25rem, 8.2vw, 8.5rem); line-height: 1.0; color: var(--color-ink); }
.hero__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.roti3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; border-radius: 50%; background: radial-gradient(circle at 50% 55%, var(--color-accent-2) 0 46%, transparent 46.5%); }
.roti3d:active { cursor: grabbing; }
.roti3d:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 6px; }
.roti3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__price {
  position: absolute; left: -6%; bottom: 8%; z-index: 2; margin: 0; padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4rem); line-height: 1; rotate: -8deg;
}
.badge { position: absolute; top: 0; right: 0; width: 26%; z-index: 2; animation: spin 18s linear infinite; }
.badge circle { fill: var(--color-ink); stroke: var(--color-white); stroke-width: 6; }
.badge text { fill: var(--color-paper); font-family: var(--font-display); font-size: 19px; letter-spacing: 0.03em; }
.hero__hint { position: absolute; right: 8%; bottom: 2%; z-index: 2; font-weight: 700; font-size: var(--text-sm); color: var(--color-muted); rotate: 4deg; }
.hero__foot { grid-column: 1 / -1; }
@keyframes spin { to { rotate: 360deg; } }

/* coffee-bean stickers, die-cut */
.bean { position: absolute; width: 56px; height: 76px; fill: var(--color-bean); stroke: var(--color-bean-line); filter: drop-shadow(0 0 0 var(--color-white)) drop-shadow(3px 0 0 var(--color-white)) drop-shadow(-3px 0 0 var(--color-white)) drop-shadow(0 3px 0 var(--color-white)) drop-shadow(0 -3px 0 var(--color-white)) drop-shadow(4px 5px 0 var(--color-ink)); animation: float 6s ease-in-out infinite; }
.bean use { stroke: var(--color-bean-line); }
.hero__deco, .band__deco, .close__deco { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
.bean--1 { top: 9%; left: 46%; rotate: -24deg; }
.bean--2 { top: 62%; left: 3%; width: 38px; height: 52px; rotate: 32deg; animation-delay: -2s; }
.bean--3 { top: 14%; right: 3%; width: 34px; height: 46px; rotate: 70deg; animation-delay: -4s; }
.bean--4 { bottom: 26%; left: 52%; width: 30px; height: 42px; rotate: -60deg; animation-delay: -3s; }
.bean--b1 { top: 18%; right: 18%; rotate: 20deg; }
.bean--b2 { bottom: 20%; right: 32%; width: 36px; height: 50px; rotate: -40deg; animation-delay: -2s; }
.bean--b3 { top: 30%; right: 6%; width: 30px; height: 42px; rotate: 80deg; animation-delay: -4s; }
.bean--c1 { top: 16%; left: 48%; rotate: -15deg; }
.bean--c2 { bottom: 14%; left: 40%; width: 36px; height: 50px; rotate: 45deg; animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ticker */
.ticker { background: var(--color-accent); color: var(--color-accent-2); border-block: var(--rule-bar) solid var(--color-ink); overflow: clip; rotate: -1.5deg; margin-block: calc(-1 * var(--space-sm)); position: relative; z-index: 2; }
.ticker__track { display: flex; align-items: center; gap: var(--space-lg); width: max-content; padding-block: var(--space-sm); animation: tick 26s linear infinite; }
.ticker span { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 2rem); white-space: nowrap; }
.tbean { width: 22px; height: 30px; fill: var(--color-paper); stroke: var(--color-accent); flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { translate: -50% 0; } }

/* paper grain */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: var(--z-toast); opacity: .07; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__price span { font-size: .45em; vertical-align: .9em; margin-right: .1em; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-bar) dashed var(--color-ink); }
.hero__foot .lead { max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* ---------- the offer ---------- */
.offer { background: var(--color-paper-2); padding-block: var(--section-gap-s); border-top: var(--rule-bar) solid var(--color-ink); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.offer__photo { margin: 0; aspect-ratio: 4 / 5; rotate: -3deg; display: grid; place-items: center; }
.slot-note { text-align: center; color: var(--color-muted); font-weight: 600; font-size: var(--text-sm); }
.offer__box { display: grid; gap: var(--space-lg); justify-items: start; }
.offer__box h2 { font-size: min(var(--text-section), 3.25rem); color: var(--color-ink); }
.offer__line { font-size: var(--text-lead); max-width: 34ch; }
.offer__price { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; color: var(--color-ink); }
.offer__price small { font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); color: var(--color-muted); }

.order { display: grid; gap: var(--space-md); justify-items: start; padding: var(--space-lg); background: var(--color-white); border: 2px solid var(--color-ink); border-radius: var(--radius-card); rotate: 1deg; }
.order__label { font-weight: 700; font-size: var(--text-sm); color: var(--color-muted); }
.stepper { display: inline-flex; align-items: center; gap: var(--space-xs); }
.stepper input { width: 4.5rem; height: 52px; text-align: center; font-family: var(--font-display); font-size: var(--text-xl); border: 2px solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.stepper__btn { width: 52px; height: 52px; border: 0; border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-xl); font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 2px var(--color-ink); transition: translate var(--dur-micro) var(--ease-out); }
.stepper__btn:hover { translate: 0 -2px; }
.stepper__btn:active { translate: 0 1px; }
.stepper__btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.order__total { font-size: var(--text-lg); }
.order__total b { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); color: var(--color-ink); }

/* ---------- ink band statement ---------- */
.band { position: relative; overflow: clip; background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }
.band__inner { position: relative; z-index: 1; }
.band__line { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: 1.02; max-width: 14ch; overflow-wrap: break-word; }
.band__tag { position: absolute; right: var(--gutter); bottom: -1rem; rotate: -5deg; }

/* ---------- schools sheet ---------- */
.schools { padding-block: var(--section-gap-s); }
.schools__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.schools__top h2 { font-size: min(var(--text-section), 3.25rem); color: var(--color-ink); }
.schools__top p { font-size: var(--text-lead); max-width: 28ch; color: var(--color-ink-2); }
.sheet { list-style: none; margin: 0; padding: var(--space-2xl) var(--space-xl); display: flex; flex-wrap: wrap; gap: var(--space-xl) var(--space-lg); align-items: center; border: var(--rule-bar) dashed var(--color-ink); border-radius: var(--radius-card); }
.sticker { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.1; padding: var(--space-md) var(--space-lg); border: 6px solid var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: var(--color-accent); color: var(--color-accent-ink); }
.sticker:nth-child(1) { rotate: -4deg; }
.sticker--mark { background: var(--color-accent-2); color: var(--color-ink); rotate: 3deg; }
.sticker--ink { background: var(--color-ink); color: var(--color-paper); rotate: -2deg; }
.sticker--ask { background: var(--color-white); color: var(--color-ink); font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); rotate: 2deg; }
.sticker--ask a { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.sticker--ask a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }

/* ---------- facts ---------- */
.facts { padding-block: 0 var(--section-gap-s); }
.facts__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); border-top: var(--rule-bar) dashed var(--color-ink); padding-top: var(--space-2xl); }
.facts__grid h2 { font-size: min(var(--text-section), 3.25rem); color: var(--color-ink); }
.facts__list { margin: 0; display: grid; }
.facts__list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts__list dt { font-weight: 700; font-size: var(--text-sm); color: var(--color-muted); }
.facts__list dd { margin: 0; font-size: var(--text-lg); font-weight: 600; }
.facts__list a { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.facts__list a:hover { color: var(--color-accent); }

/* ---------- close ---------- */
.close { position: relative; overflow: clip; background: var(--color-accent-2); padding-block: var(--section-gap-s); border-block: var(--rule-bar) solid var(--color-ink); }
.close__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.close h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); color: var(--color-ink); max-width: 12ch; }

/* ---------- footer, colophon block ---------- */
.foot { padding-block: var(--space-2xl) var(--space-3xl); }
.foot .container { display: grid; gap: var(--space-md); }
.foot__mark { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-accent); line-height: 1; }
.foot__text { max-width: 52ch; color: var(--color-ink-2); }
.foot__text a { text-decoration-color: var(--color-accent); }
.foot__legal { font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .offer__grid, .facts__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .offer__photo { max-width: 26rem; }
  .band__tag { position: static; margin-top: var(--space-lg); }
}
@media (max-width: 40rem) {
  .mast__nav > a:not(.btn) { display: none; }
  .sheet { padding: var(--space-xl) var(--space-md); }
  .facts__list > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn--primary:hover, .stepper__btn:hover { translate: none; rotate: none; }
}

/* offer extras */
.tag--hot { background: var(--color-accent); color: var(--color-accent-ink); rotate: -4deg; font-size: var(--text-sm); }
.offer__photo { position: relative; }
.offer__photo::after { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; translate: -50% 0; rotate: -4deg; background: color-mix(in oklab, var(--color-paper-3) 70%, transparent); outline: 1px solid var(--color-rule); z-index: 2; }

/* school stickers: tape + peel on hover */
.sticker { position: relative; transition: rotate var(--dur-short) var(--ease-out), translate var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.sticker::before { content: ""; position: absolute; top: -12px; left: 50%; width: 64px; height: 20px; translate: -50% 0; rotate: 3deg; background: color-mix(in oklab, var(--color-paper-3) 70%, transparent); outline: 1px solid var(--color-rule); }
.sticker:hover { rotate: 0deg; translate: 0 -4px; box-shadow: 8px 10px 0 var(--color-ink); }

@media (max-width: 60rem) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { justify-self: center; max-width: 420px; }
  .hero__price { left: 0; }
  .bean--1 { left: auto; right: 6%; top: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .badge, .bean, .ticker__track { animation: none; }
  .sticker:hover { translate: none; }
}
@media (max-width: 40rem) {
  .bean--1, .bean--4, .bean--2 { display: none; }
  .bean--3 { top: 44%; }
}
