/* Hallmark · shape: Record · genre: playful · theme: custom (job: catering quotes for the truck; brand: Pizza Doctor HQ site pizzadoctor.kr: white sheet, black bar, one brand red #E60216, Pretendard) · job: join · draw: 3471f3
 * hero: Billboard (truck photo slides, text on the photo's own dark side) · nav: black bar · footer: index columns · imagery: photographs (the owner's own trucks at work, cut-out pizzas, reviews, true colour) · signature: the HQ red marquee band and the black numbered process card, carried over from the owner's head-office site
 * axes: light/text-heavy/neutral · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the owner asked to match the head-office site, so the system is the brand's, not a fresh one */
/* Hallmark · waive 38iii · one red line in the intro head · the head-office site sets its second head line in brand red ("피자닭터가 처방해 드립니다"); the franchise page keeps that voice once */
/* Hallmark · dismissed 23 · the red marquee band is the head-office site's own device, used once */
/* Hallmark · dismissed 11 · the owner asked for motion; photos and pizzas answer the pointer with one gentle scale or spin each, still under reduced motion */
/* Hallmark · dismissed 42 · the black bar nav copies the head-office site so both read as one brand */
/* Hallmark · answered F15 · the owner asked for animation: one slide crossfade in the hero, one marquee, one scroll reveal family; all stop under reduced motion */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 64px;
  --input-h: 52px;
}

body { background: var(--color-paper); color: var(--color-ink-2); word-break: keep-all; padding-bottom: var(--space-3xl); }
h1, h2, h3 { color: var(--color-ink); line-height: var(--lh-tight); font-weight: var(--display-weight); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* buttons: the head-office red pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-pill); background: none; color: var(--color-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--secondary { border-color: currentColor; background: transparent; }
.btn--secondary:hover { background: var(--color-accent-ink); border-color: var(--color-accent-ink); color: var(--color-ink); }

/* nav: the head-office black bar */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-night); }
.nav__bar { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-3xs); color: var(--color-night-ink); text-decoration: none; }
.brand svg { width: 50px; height: auto; }
.brand span { color: var(--color-accent); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
.brand__tag { margin-left: var(--space-xs); padding-left: var(--space-sm); border-left: 1px solid var(--color-night-2); color: var(--color-night-muted); font-size: var(--text-sm); font-weight: 600; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a { font-size: var(--text-sm); font-weight: 600; color: var(--color-night-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-accent-soft); }
.nav .btn { min-height: 36px; padding-inline: var(--space-md); font-size: var(--text-sm); }

/* hero: the head-office truck photos, text on their dark side */
.hero { position: relative; height: clamp(520px, 72svh, 720px); overflow: clip; background: var(--color-night); color: var(--color-night-ink); }
.slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.slides li { position: absolute; inset: 0; transition: opacity 1200ms var(--ease-in-out); }
html:not(.js) .slides li + li { display: none; }
.js .slides li { opacity: 0; }
.js .slides li.is-on { opacity: 1; }
.slides img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); transition: transform 7000ms linear; }
.slides li.is-on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--scrim); pointer-events: none; }
.hero__text { position: relative; z-index: var(--z-raised); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.display { font-size: var(--text-display); color: var(--color-night-ink); max-width: none; }
.display > span { display: block; white-space: nowrap; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-night-ink); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero .btn--secondary { color: var(--color-night-ink); }
.dots { position: absolute; z-index: var(--z-raised); left: 50%; bottom: var(--space-lg); translate: -50% 0; display: flex; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--color-night-ink); opacity: 0.45; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.dots button[aria-current="true"]::before { transform: scaleX(2.5); opacity: 1; }
.dots button:focus-visible { outline: 2px solid var(--color-night-ink); border-radius: var(--radius-pill); }

/* section heads: red eyebrow, black head, grey sub, centred, as on the head-office site */
.section { padding-block: var(--section-gap-s); }
.head { text-align: center; }
.head h2 { margin-inline: auto; font-size: var(--text-section); }
.head h2 em { font-style: normal; color: var(--color-accent-text); }
.head p { margin: var(--space-md) auto 0; max-width: 44ch; color: var(--color-muted); font-size: var(--text-lead); }

/* quick cards: photo on top, red base, like the head-office front page */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.quick a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; box-shadow: var(--shadow-card); transition: transform var(--dur-long) var(--ease-out); }
.quick a:hover { transform: translateY(-6px); }
.quick a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.quick figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.quick img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.quick a:hover img { transform: scale(1.06); }
.quick div { padding: var(--space-lg) var(--space-lg) var(--space-xl); text-align: center; }
.quick h3 { color: var(--color-accent-ink); font-size: var(--text-xl); margin-inline: auto; }
.quick p { margin-top: var(--space-2xs); font-size: var(--text-sm); }
.quick span { display: inline-block; margin-top: var(--space-md); font-size: var(--text-sm); font-weight: 800; text-decoration: underline; text-underline-offset: 0.25em; }

/* the head-office red marquee band */
.marquee { overflow: clip; background: var(--color-accent); color: var(--color-accent-ink); }
.marquee__track { display: flex; width: max-content; animation: run 28s linear infinite; }
.marquee p { display: flex; gap: var(--space-xl); padding: var(--space-sm) var(--space-xl) var(--space-sm) 0; font-size: var(--text-sm); font-weight: 700; white-space: nowrap; max-width: none; }
.marquee b { font-weight: 700; opacity: 0.6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* menu: three cut-out pizzas in white cards */
.band--soft { background: var(--color-paper-2); }
.pizzas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; text-align: center; }
.pizzas li { padding: var(--space-xl) var(--space-lg); background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.pizzas img { width: 88%; margin-inline: auto; height: auto; transition: transform var(--dur-long) var(--ease-out); }
.pizzas li:hover img { transform: rotate(12deg) scale(1.05); }
.pizzas h3 { margin: var(--space-lg) auto 0; font-size: var(--text-2xl); }
.tag { display: inline-block; margin-top: var(--space-sm); padding: var(--space-2xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent-deep); font-size: var(--text-sm); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-xl) 0 0; }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: var(--space-2xs); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); text-align: center; }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: 0; font-size: var(--text-3xl); font-weight: 800; line-height: 1.1; color: var(--color-ink); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.02em; }
.facts .hot-num { color: var(--color-accent-text); }

/* roles: who does what */
.photo { margin: 0; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.photo:hover > img { transform: scale(1.04); }

/* process: the head-office black card with outlined numerals */
.process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-3xl); margin: var(--space-2xl) 0 0; padding: var(--space-3xl) var(--space-2xl); list-style: none; border-radius: 28px; background: var(--color-night); color: var(--color-night-muted); }
.process li { display: grid; gap: var(--space-xs); }
.process small { color: var(--color-accent-soft); font-size: var(--text-sm); font-weight: 700; }
.process b { display: flex; align-items: center; gap: var(--space-md); font-size: clamp(3rem, 4vw, 4.25rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--color-night-muted); font-variant-numeric: tabular-nums; }
.process b::after { content: ""; flex: 1; border-top: 1px dashed var(--color-night-2); }
.process h3 { color: var(--color-night-ink); font-size: var(--text-xl); margin-top: var(--space-xs); }
.process p { font-size: var(--text-md); max-width: 40ch; }

/* field log: the trucks at work, a scrolling rail */
.rail-wrap { position: relative; margin-top: var(--space-2xl); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 30%); gap: var(--gap-columns); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding: var(--space-xs) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) var(--space-lg); margin: 0; list-style: none; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--color-ink-2) transparent; }
.rail > li { scroll-snap-align: start; }
.rail figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.rail li:hover img { transform: scale(1.05); }
.rail small { display: block; margin-top: var(--space-md); color: var(--color-accent-text); font-size: var(--text-sm); font-weight: 700; }
.rail h3 { margin-top: var(--space-2xs); font-size: var(--text-lg); font-weight: 700; }
.rail:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.rail-nav { display: flex; justify-content: flex-end; gap: var(--space-xs); margin-top: var(--space-md); }
.rail-nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--color-rule); border-radius: 50%; background: var(--color-card); color: var(--color-ink); font-size: var(--text-lg); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.rail-nav button:hover { background: var(--color-ink); color: var(--color-paper); }
.rail-nav button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.reviews li { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--dur-long) var(--ease-out); }
.reviews li:hover { transform: translateY(-6px); }
.reviews img { width: 100%; height: auto; }

/* the enquiry form on the soft red band */
.band--tint { background: var(--color-accent-soft); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.apply-grid__side h2 { font-size: var(--text-section); }
.apply-grid__side .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.call { display: inline-flex; flex-direction: column; margin-top: var(--space-xl); color: var(--color-ink); text-decoration: none; }
.call small { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.call strong { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; color: var(--color-accent-text); font-variant-numeric: tabular-nums; }
.poster { margin: var(--space-xl) 0 0; max-width: 340px; }
.poster img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.poster figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.poster figcaption b { display: block; color: var(--color-ink); }
.apply-grid__side .photo { margin-top: var(--space-xl); aspect-ratio: 16 / 10; }
.apply { padding: var(--space-xl); background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.apply form { display: grid; gap: var(--space-md); }
.apply__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); min-width: 0; }
.field > label, .seg legend { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: var(--input-h); padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; box-sizing: border-box; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid] { border-color: var(--color-error); }
.seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.seg legend { margin-bottom: var(--space-2xs); padding: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.seg label:hover { border-color: var(--color-ink-2); }
.seg input:checked + label { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.seg input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.consent { display: flex; gap: var(--space-xs); align-items: flex-start; font-size: var(--text-sm); color: var(--color-ink-2); cursor: pointer; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: var(--space-3xs) 0 0; accent-color: var(--color-accent); }
.consent input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.consent input[aria-invalid] { outline: 2px solid var(--color-error); outline-offset: 2px; }
.apply .btn--primary { width: 100%; }
.apply__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.apply__help.is-error { color: var(--color-error); }


/* consent block with full-text windows */
.agree { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.agree__row { font-size: var(--text-sm); color: var(--color-ink-2); }
.agree__view { margin-left: var(--space-2xs); padding: 0; border: 0; background: none; color: var(--color-accent-text); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.agree__view:hover { color: var(--color-accent-deep); }
.agree__view:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.consent--all { margin-top: var(--space-xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-input); background: var(--color-paper-2); font-size: var(--text-md); color: var(--color-ink); }
.consent--all input { width: 22px; height: 22px; margin-top: 1px; }
.agree__items { display: grid; gap: var(--space-xs); padding-left: var(--space-md); }
.consent em { font-style: normal; color: var(--color-muted); font-weight: 600; }
.consent em.req { color: var(--color-accent-text); }
.footer__legal .agree__view { color: var(--color-ink-2); font-weight: 600; }
.doc { width: min(36rem, calc(100% - 2 * var(--space-md))); max-height: min(80svh, 44rem); padding: 0; border: 0; border-radius: var(--radius-card); background: var(--color-card); color: var(--color-ink-2); box-shadow: var(--shadow-card); }
.doc::backdrop { background: var(--scrim-dialog); }
.doc[open] { display: flex; flex-direction: column; }
.doc__head { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) var(--space-md); background: var(--color-card); border-bottom: 1px solid var(--color-rule); }
.doc__head h2 { font-size: var(--text-xl); max-width: none; }
.doc__close { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-xl); line-height: 1; cursor: pointer; }
.doc__close:hover { background: var(--color-paper-3); }
.doc__close:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.doc__body { display: grid; gap: var(--space-xs); overflow-y: auto; overscroll-behavior: contain; padding: var(--space-md) var(--space-lg) var(--space-xl); font-size: var(--text-sm); line-height: 1.65; }
.doc__body h3 { margin-top: var(--space-sm); font-size: var(--text-md); }

/* floating call-to-action, as on the head-office truck page */
.float { position: fixed; z-index: var(--z-sticky); left: 50%; bottom: var(--space-lg); translate: -50% 0; display: flex; align-items: center; gap: var(--space-xs); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.float.is-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.float .btn { min-height: 56px; padding-inline: var(--space-xl); box-shadow: var(--shadow-float); }
.float__tel { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-card); color: var(--color-accent-text); box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out); }
.float__tel:hover { transform: translateY(-2px); }
.float__tel:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.float__tel svg { width: 24px; height: 24px; }

/* footer */
.footer { padding-block: var(--space-2xl) var(--space-xl); border-top: 1px solid var(--color-rule); }
.footer__cols { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap-columns); }
.footer__mark { font-size: var(--text-2xl); font-weight: 800; color: var(--color-ink); }
.footer__mark + p { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
.footer h2 { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); margin-bottom: var(--space-sm); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.footer a { color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.footer a:hover { color: var(--color-accent-text); }
.biz { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: var(--space-xl) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.biz > div { display: flex; gap: var(--space-xs); }
.biz dt { font-weight: 600; color: var(--color-ink-2); }
.biz dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer__legal { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }


/* catering: the thin top bar, the number strip, the event chips, the log, the questions */
.topbar { background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: var(--space-md); min-height: 40px; }
.topbar p { max-width: none; }
.topbar b { font-weight: 800; margin-right: var(--space-xs); }
.topbar a { padding: var(--space-3xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-night); color: var(--color-night-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar a:hover { background: var(--color-accent-deep); }
.facts--strip { position: relative; z-index: var(--z-raised); margin-top: calc(-1 * var(--space-2xl)); }
.pizzas--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pizzas--four li { padding: var(--space-lg) var(--space-md); }
.facts--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.note { margin: var(--space-lg) auto 0; text-align: center; color: var(--color-muted); font-size: var(--text-sm); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); max-width: 60rem; margin: var(--space-2xl) auto 0; padding: 0; list-style: none; }
.chips li { padding: var(--space-sm) var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font-weight: 700; box-shadow: var(--shadow-card); }
.areas { max-width: 60rem; margin: var(--space-2xl) auto 0; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }
.areas h3 { margin: 0; font-size: var(--text-title); }
.areas > p { margin: var(--space-xs) 0 0; color: var(--color-muted); }
.areas dl { display: grid; gap: var(--space-sm); margin: var(--space-lg) 0 0; }
.areas dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); }
.areas dt { font-weight: 700; color: var(--color-accent-deep); }
.areas dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 40rem) { .areas { padding: var(--space-lg); } .areas dl > div { grid-template-columns: 1fr; gap: var(--space-3xs); } }
.chips li:nth-child(3n+1) { background: var(--color-accent-soft); border-color: var(--color-accent-soft); color: var(--color-accent-deep); }
.section--flush { padding-top: 0; }
.log { width: 100%; max-width: 52rem; margin: var(--space-2xl) auto 0; border-collapse: collapse; background: var(--color-card); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); font-size: var(--text-md); }
.log caption { padding-bottom: var(--space-md); font-size: var(--text-xl); font-weight: 800; color: var(--color-ink); text-align: left; }
.log th { padding: var(--space-sm) var(--space-lg); background: var(--color-night); color: var(--color-night-ink); font-size: var(--text-sm); font-weight: 700; text-align: left; }
.log td { padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-ink-2); }
.log td:first-child { color: var(--color-accent-text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.log.is-folded tbody tr:nth-child(n+6) { display: none; }
.log__more { display: none; margin: var(--space-lg) 0 0; text-align: center; }
.js .log__more { display: block; }
.log__more[hidden] { display: none; }
.log__more button { padding: var(--space-xs) var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font: inherit; font-size: var(--text-sm); font-weight: 700; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.log__more button:hover { border-color: var(--color-accent); color: var(--color-accent-text); }
.log__more button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.log td:nth-child(2) { color: var(--color-ink); font-weight: 700; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.head--left { text-align: left; }
.head--left h2, .head--left p { margin-inline: 0; }
.faq { display: grid; gap: var(--space-sm); }
.faq details { border-radius: 16px; background: var(--color-card); box-shadow: var(--shadow-card); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-lg); font-weight: 700; color: var(--color-ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent-deep); font-weight: 800; transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 var(--space-lg) var(--space-lg); color: var(--color-ink-2); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-2xl); }
.field textarea { min-height: 96px; padding-block: var(--space-sm); resize: vertical; line-height: 1.5; }
.field textarea, .field select { font: inherit; }
.opt { color: var(--color-muted); font-weight: 400; }
@media (max-width: 60rem) {
  .topbar__in { justify-content: space-between; }
  .topbar b { display: block; margin: 0; }
  .facts--strip { margin-top: var(--space-xl); }
  .pizzas--four { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .log th, .log td { padding-inline: var(--space-sm); }
  .log { font-size: var(--text-sm); }
}

/* motion: hero lines rise in, then arrivals as the page scrolls (transform and opacity only) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="spin"] img { transform: rotate(-120deg) scale(0.7); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 100ms); }
.js [data-reveal="spin"].is-in img { transform: none; }
.js [data-reveal="spin"].is-in:hover img { transform: rotate(12deg) scale(1.05); }
.js .quick a[data-reveal].is-in:hover, .js .reviews li[data-reveal].is-in:hover { transform: translateY(-6px); }

@media (max-width: 60rem) {
  :root { --gutter: 20px; }
  .nav__links, .brand__tag { display: none; }
  .nav__bar { justify-content: space-between; }
  .hero { height: auto; aspect-ratio: 3 / 4; max-height: 88svh; }
  .hero::after { background: var(--scrim-mo); }
  .slides img { object-position: 50% 100%; }
  .hero__text { justify-content: flex-start; padding-top: var(--space-xl); }
  .display { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .hero .lead { margin-top: var(--space-sm); }
  .hero__actions { display: none; }
  .quick, .reviews { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(15rem, 78%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: var(--space-xs) var(--gutter) var(--space-lg); scroll-padding-inline: var(--gutter); }
  .quick > li, .reviews > li { scroll-snap-align: start; }
  .pizzas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); }
  .pizzas li { padding: var(--space-lg) var(--space-sm); }
  .pizzas:not(.pizzas--four) li:last-child { grid-column: 1 / -1; }
  .facts--three > div:first-child { grid-column: 1 / -1; }
  .poster { max-width: 220px; margin-top: var(--space-lg); }
  .pizzas:not(.pizzas--four) li:last-child img { width: 50%; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); padding: var(--space-xl) var(--space-lg); gap: var(--space-xl); }
  .rail { grid-auto-columns: minmax(15rem, 78%); }
  .apply-grid, .footer__cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  .section { padding-block: var(--space-3xl); }
  .apply { padding: var(--space-lg); }
  .apply__pair, .roles { grid-template-columns: minmax(0, 1fr); }
  .facts dd { font-size: var(--text-2xl); }
  .pizzas h3 { font-size: var(--text-xl); }
  .float { width: calc(100% - 2 * var(--gutter)); }
  .float .btn { flex: 1; padding-inline: var(--space-md); }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="spin"] img { opacity: 1; transform: none; transition: none; }
  .slides li, .slides img { transition: none; transform: none; }
  .marquee__track { animation: none; }
  .btn:hover, .photo:hover > img, .rail li:hover img, .pizzas li:hover img, .quick a:hover, .quick a:hover img, .reviews li:hover { transform: none; }
}

/* 행사별 안내 페이지 (sports-day, school-festival, corporate-catering, food-truck-booking) */
.chips li:has(a) { padding: 0; }
.chips a { display: block; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.chips a:hover { color: var(--color-accent-text); }
.chips a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.areas a, .more a { color: var(--color-accent-text); font-weight: 700; text-underline-offset: 0.2em; }
.areas a:focus-visible, .more a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-input); }
.hero--page { height: clamp(460px, 62svh, 620px); }
.hero--page .display { font-size: clamp(2.25rem, 3.4vw + 0.75rem, 4rem); overflow-wrap: break-word; min-width: 0; }
.hero--page .display > span { white-space: normal; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.points li { padding: var(--space-xl) var(--space-lg); border-top: var(--rule-bar) solid var(--color-accent); background: var(--color-card); border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: var(--shadow-card); }
.points h3 { font-size: var(--text-xl); }
.points p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.points + .areas { margin-top: var(--space-2xl); }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
.cta__actions .btn { min-width: 240px; }
.cta__actions .call { margin-top: 0; align-items: center; }
.more { max-width: 52rem; margin: var(--space-3xl) auto 0; padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); text-align: center; }
.more h3 { font-size: var(--text-lg); }
.more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-lg); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.footer a[aria-current="page"] { font-weight: 800; }
@media (max-width: 60rem) { .points { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .hero--page .display { font-size: clamp(2rem, 9vw, 2.75rem); } }
