/* Response Demo Week — built on the Response brand tokens */
@font-face { font-family: "Mortend"; src: url("../fonts/Mortend-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mortend"; src: url("../fonts/Mortend-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Ponypoket"; src: url("../fonts/Ponypoket.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --lime: #83EC4C; --black: #000; --white: #fff; --grey: #8A8A8A; --panel: #1A1A1A; --line: #2A2A2A;
  --f-head: "Mortend", "Arial Black", sans-serif;
  --f-body: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Ponypoket", cursive;
  --r: 4px; --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: .98; margin: 0; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 20px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; color: #ddd; }
.muted { color: var(--grey); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 32px 0 clamp(56px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.hero__asterisk { position: absolute; width: min(62vmin, 620px); right: -14vmin; top: -12vmin; pointer-events: none; opacity: 0; transform: rotate(-20deg) scale(.85); animation: spin-in 900ms 150ms cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes spin-in { to { opacity: 1; transform: rotate(0) scale(1); } }
.hero .logo { width: 170px; height: auto; position: relative; }
.hero__title { margin-top: clamp(64px, 12vw, 150px); position: relative; }
.hero h1 { font-size: clamp(3.4rem, 13.5vw, 11rem); line-height: .86; }
.hero h1 span { display: block; }
.hero h1 .w2 { color: var(--lime); }
.hero__dates { font-family: var(--f-head); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, 2.2vw, 1.5rem); margin: 28px 0 8px; }
.hero__venue { color: var(--grey); margin: 0 0 32px; }
.hero .lede { margin: 0 0 36px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border: 0; border-radius: var(--r);
  background: var(--lime); color: var(--black); font: 700 .95rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform 150ms ease-out, background 150ms ease-out; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { background: #3a3a3a; color: var(--grey); cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px #444; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--lime); }

/* ---------- On the floor ---------- */
.floor { padding: clamp(64px, 9vw, 120px) 0; }
.floor__head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 900px) { .floor__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.kit { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kit li { display: grid; gap: 6px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .kit li { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: baseline; padding: 26px 0; } }
.kit h3 { font-size: clamp(1.15rem, 2.4vw, 1.9rem); line-height: 1.05; }
.kit p { margin: 0; color: #cfcfcf; max-width: 34em; }

/* ---------- Booking ---------- */
.book { padding: clamp(64px, 9vw, 120px) 0; background: var(--panel); }
.book__intro { display: grid; gap: 12px; margin-bottom: 40px; position: relative; }
.callout { font-family: var(--f-hand); color: var(--lime); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; transform: rotate(-4deg); display: inline-block; margin: 4px 0 18px 4px; position: relative; justify-self: start; }
.callout::after { content: ""; display: block; height: 12px; margin-top: 4px; background: var(--lime); -webkit-mask: url("../img/24-underline-wavy.svg") left center / contain no-repeat; mask: url("../img/24-underline-wavy.svg") left center / contain no-repeat; }

.step { font: 600 .8rem/1 var(--f-body); color: var(--grey); margin: 0 0 14px; letter-spacing: .02em; }
.step b { color: var(--lime); }

/* the week board */
.board { display: grid; gap: 10px; margin-bottom: 56px; }
@media (min-width: 760px) { .board { grid-template-columns: repeat(5, 1fr); } }
.day { display: grid; grid-template-columns: 74px 1fr 1fr; gap: 8px; align-items: stretch; }
@media (min-width: 760px) { .day { grid-template-columns: 1fr; grid-template-rows: auto 1fr 1fr; } }
.day__label { padding: 8px 0; }
.day__name { font: 500 .85rem/1.2 var(--f-body); color: var(--grey); }
.day__date { font: 700 clamp(1.5rem, 3vw, 2.4rem)/1 var(--f-head); }
.slot { position: relative; text-align: left; display: grid; gap: 4px; align-content: start; min-height: 96px; padding: 14px 14px 12px; border-radius: var(--r);
  background: var(--black); color: var(--white); border: 1px solid #333; font: inherit; cursor: pointer; transition: border-color 150ms ease-out, background 150ms ease-out, color 150ms ease-out; }
.slot:hover:not(:disabled) { border-color: var(--lime); }
.slot__period { font: 400 .78rem/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .05em; }
.slot__time { font-weight: 600; font-size: .95rem; white-space: nowrap; }
@media (max-width: 759px) { .slot { padding: 12px 10px 10px; min-height: 84px; } .slot__period { font-size: .7rem; } .day__date { font-size: 1.35rem; } .day__name { font-size: .74rem; } }
.slot__left { font-size: .82rem; color: var(--grey); margin-top: auto; }
.slot__left.low { color: var(--lime); }
.slot[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--black); }
.slot[aria-pressed="true"] .slot__left { color: var(--black); }
.slot:disabled { cursor: not-allowed; color: #555; background: transparent; border-style: dashed; }
.slot:disabled .slot__time { text-decoration: line-through; }
.board.loading .slot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* form */
.form { display: grid; gap: 20px; max-width: 880px; }
.row { display: grid; gap: 20px; }
@media (min-width: 700px) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .fieldset legend { font-weight: 500; font-size: .95rem; }
.field .opt { color: var(--grey); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1px solid #3a3a3a; background: var(--black); color: var(--white); font: inherit; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
[aria-invalid="true"] { border-color: #ff6b5e !important; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r); border: 1px solid #3a3a3a; font-size: .9rem; cursor: pointer; transition: all 150ms ease-out; }
.chip input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: #ccc; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lime); flex: none; }
.hp { position: absolute; left: -9999px; }
.summary { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.summary__slot { font-weight: 600; }
.error { color: #ff8a7f; font-weight: 500; margin: 0; }

/* confirmation + booking page */
.panel { background: var(--black); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); max-width: 760px; position: relative; overflow: hidden; }
.panel h2 { color: var(--lime); }
.panel dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 24px 0 32px; }
.panel dt { color: var(--grey); }
.panel dd { margin: 0; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.panel__mark { position: absolute; width: 140px; right: -30px; bottom: -36px; opacity: .9; }

footer { padding: 48px 0 64px; color: var(--grey); font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
