/* ==========================================================================
   Chimaek Festival — rebuilt from the archived Wix site (2026-08)
   Palette + type sampled directly from the original render.
   Display type: Baloo 2 (free stand-in for Freude)
   Body type:    Barlow  (free stand-in for URW DIN)
   ========================================================================== */

:root {
  --red: #db0a01;
  --yellow: #ffd248;
  --blue: #4d4eff;
  --orange: #cc4400;
  --ink: #212121;
  --hairline: rgba(219, 10, 1, 0.45);

  --display: "Baloo 2", "Trebuchet MS", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--red);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 12px 20px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- display type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.site-logo { display: block; flex: none; }
.site-logo img { width: clamp(120px, 14vw, 168px); height: auto; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 54px); }

.nav a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
/* Hover uses an underline, not opacity — fading the red drops contrast to
   3.55:1, below the 4.5:1 needed at this size. */
.nav a:hover { border-bottom-color: var(--red); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav a:focus-visible,
.site-logo:focus-visible,
.btn:focus-visible,
.footer-nav a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.section-red .btn--ghost:focus-visible { outline-color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px; margin-right: -10px;
  color: var(--red);
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 26px;
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-130%);
    /* visibility keeps the off-screen links out of the tab order; without it
       four invisible focus stops sit above the viewport. */
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.4);
  }
  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.28s ease, visibility 0s;
  }
  .nav a {
    padding: 15px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(219, 10, 1, 0.16);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--red); }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero-band { position: relative; }
.hero-band img {
  width: 100%;
  height: clamp(280px, 41vw, 600px);
  object-fit: cover;
  object-position: center 42%;
}
.hero-band::after {
  content: "";
  display: block;
  height: clamp(14px, 1.9vw, 26px);
  background: var(--red);
}

/* ---------- intro block with flanking mascots ---------- */
.intro {
  position: relative;
  text-align: center;
  padding: clamp(52px, 7vw, 92px) 0 clamp(44px, 6vw, 78px);
}
.intro h1 { margin-bottom: 0.5em; }
.intro__lede {
  max-width: 640px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.65;
}

.mascot {
  position: absolute;
  width: clamp(64px, 8.5vw, 122px);
  pointer-events: none;
  user-select: none;
}
.mascot--drumstick { left: clamp(8px, 7vw, 132px); top: 46%; transform: rotate(-8deg); }
.mascot--beer { right: clamp(8px, 7vw, 132px); top: 44%; }

@media (max-width: 720px) {
  .mascot { width: 58px; top: auto; bottom: -10px; }
  .mascot--drumstick { left: 6px; }
  .mascot--beer { right: 6px; }
}

/* ---------- inline waitlist ---------- */
.waitlist-inline {
  max-width: 430px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  text-align: left;
}
.waitlist-inline h2 {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.32rem;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 0.72rem;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.field .req { color: var(--red); }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--red);
  border-radius: 0;
  padding: 9px 11px;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }

.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--orange);
  border: 0;
  padding: 11px 26px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn--block { display: block; width: 100%; }
.btn--red { background: var(--red); }
.btn--pill { border-radius: 999px; padding: 12px 40px; }

/* outline "Load More" */
.btn--ghost {
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
  font-size: 0.8rem;
  padding: 9px 26px;
}
.btn--ghost:hover { background: var(--red); color: #fff; filter: none; }

.form-note {
  font-size: 0.86rem;
  margin-top: 12px;
  min-height: 1.2em;
}
.form-note[data-state="ok"] { color: #157a2b; }
.form-note[data-state="err"] { color: var(--red); }

/* ==========================================================================
   Yellow drip section (home)
   ========================================================================== */
.drip-section {
  position: relative;
  background: var(--yellow);
  padding: clamp(46px, 6vw, 82px) 0 clamp(40px, 5vw, 70px);
  margin-top: clamp(30px, 5vw, 60px);
}
.drip-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: clamp(26px, 3.6vw, 52px);
  background: var(--yellow);
  -webkit-mask: var(--drip) repeat-x bottom / auto 100%;
  mask: var(--drip) repeat-x bottom / auto 100%;
}
:root {
  --drip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34c10-14 22-14 31 0 7 11 17 12 24 1 9-14 23-13 30 2 6 13 18 13 25 1 8-14 22-13 29 2 6 12 17 12 24-1 8-15 22-15 30 0 5 9 14 10 20 3 3-4 5-6 7-8v26z' fill='%23000'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Photo grids / galleries
   ========================================================================== */
.grid {
  display: grid;
  gap: clamp(10px, 1.4vw, 18px);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.grid--square img { aspect-ratio: 1 / 1; }

@media (max-width: 900px) { .grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
}

.grid [data-extra] { display: none; }
.grid[data-expanded="true"] [data-extra] { display: block; }

.center { text-align: center; }
.mt-btn { margin-top: clamp(22px, 3vw, 36px); }

/* ---------- red gallery section ---------- */
.section-red {
  background: var(--red);
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(44px, 5.5vw, 76px);
}
.section-red h2 { color: var(--yellow); text-align: center; margin-bottom: clamp(26px, 3.4vw, 44px); }
.section-red .btn--ghost { background: #fff; border-color: #fff; color: var(--red); }
.section-red .btn--ghost:hover { background: var(--yellow); border-color: var(--yellow); }

.section-plain { padding: clamp(44px, 5.5vw, 76px) 0; }
.section-plain h2 { text-align: center; margin-bottom: clamp(26px, 3.4vw, 44px); }

/* ==========================================================================
   Checkerboard divider
   ========================================================================== */
.checker {
  --sq: clamp(13px, 1.5vw, 19px);
  height: calc(var(--sq) * 2);
  background-color: #fff;
  background-image: conic-gradient(
    var(--yellow) 0 25%, transparent 0 50%,
    var(--yellow) 0 75%, transparent 0);
  background-size: calc(var(--sq) * 2) calc(var(--sq) * 2);
}
.checker--red {
  background-image: conic-gradient(
    var(--red) 0 25%, transparent 0 50%,
    var(--red) 0 75%, transparent 0);
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */
.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: clamp(7px, 1vw, 11px) 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Split (About)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: stretch;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.split__body {
  padding: clamp(34px, 5vw, 72px) var(--gutter);
  max-width: 620px;
}
.split__body h1 { margin-bottom: 0.6em; }
.split__body h2 { margin: 1.6em 0 0.5em; }
.split__body p { font-size: 0.95rem; line-height: 1.62; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media img { min-height: 260px; max-height: 400px; }
}

/* ==========================================================================
   Contact hero
   ========================================================================== */
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
  margin: clamp(28px, 4vw, 56px) 0 clamp(34px, 5vw, 62px);
}
.contact-hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.contact-hero__panel {
  background: var(--red);
  color: #fff;
  padding: clamp(30px, 4.4vw, 58px);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-hero__panel h1 { color: var(--yellow); margin-bottom: 0.55em; }
.contact-hero__panel h2 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  margin-bottom: 0.9em;
}
.contact-hero__panel p { font-size: 0.95rem; }

@media (max-width: 860px) {
  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero__media img { min-height: 220px; max-height: 300px; }
}

.form-narrow { max-width: 520px; margin: 0 auto clamp(50px, 7vw, 88px); }

/* ==========================================================================
   Card hero (Chicken / Brands)
   ========================================================================== */
.card-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 44vw, 560px);
  padding: clamp(30px, 5vw, 64px) var(--gutter);
  background-size: cover;
  background-position: center;
}
.card-hero__card {
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(26px, 3.6vw, 46px) clamp(24px, 3.6vw, 52px);
  max-width: 560px;
  text-align: center;
}
.card-hero__card h1 { margin-bottom: 0.55em; }
.card-hero__card p { font-size: 0.92rem; line-height: 1.6; }

/* ==========================================================================
   Experience — three cards
   ========================================================================== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hairline);
  margin: clamp(26px, 4vw, 46px) 0;
}
.cards-3 > article {
  padding: clamp(22px, 2.8vw, 38px);
  border-right: 1px solid var(--hairline);
}
.cards-3 > article:last-child { border-right: 0; }
.cards-3 img { aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 18px; }
.cards-3 h2 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); margin-bottom: 0.5em; }
.cards-3 p { font-size: 0.85rem; line-height: 1.55; }

@media (max-width: 800px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 > article { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .cards-3 > article:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(34px, 4.4vw, 60px) 0;
  margin-top: clamp(40px, 6vw, 80px);
}
.site-footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: clamp(26px, 3.5vw, 54px);
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand img.f-logo { width: clamp(112px, 12vw, 150px); }
.footer-brand img.f-mascot { width: clamp(34px, 4vw, 48px); }

.footer-nav {
  margin-top: clamp(30px, 5vw, 78px);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.footer-nav a { text-decoration: underline; }
.footer-nav span { opacity: 0.6; margin: 0 5px; }

.footer-h {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.footer-col a.mail { font-size: 0.8rem; text-decoration: none; }
.footer-col a.mail:hover { text-decoration: underline; }

.hosted { margin-top: clamp(26px, 3.6vw, 48px); }
.hosted__logos { display: flex; align-items: flex-end; gap: 22px; margin-top: 10px; }
.hosted__logos img { width: auto; }
.hosted__logos img.dokkaebier { height: clamp(52px, 5.6vw, 68px); }
.hosted__logos img.koreadaily { height: clamp(38px, 4.2vw, 50px); }

.footer-waitlist .footer-h { color: var(--ink); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: none; font-weight: 700; }
.footer-waitlist .sub-row { display: flex; align-items: flex-end; gap: 14px; }
.footer-waitlist .sub-row .field { flex: 1; margin-bottom: 0; }
.footer-waitlist .sub-row input {
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding-inline: 0;
}
.footer-waitlist .sub-row .btn { border-radius: 999px; flex: none; background: var(--red); }

.check-row {
  display: flex; align-items: center; gap: 9px;
  margin-top: 14px;
  font-size: 0.78rem; color: var(--ink);
}
.check-row input { width: 15px; height: 15px; accent-color: var(--red); margin: 0; }

.legal { margin-top: clamp(20px, 2.8vw, 34px); font-size: 0.74rem; line-height: 1.7; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-waitlist { grid-column: 1 / -1; }
  .footer-nav { margin-top: 26px; }
}
@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-waitlist .sub-row { flex-direction: column; align-items: stretch; }
  .footer-waitlist .sub-row .btn { width: 100%; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header,
  .marquee,
  .checker,
  .nav-toggle,
  form,
  .btn,
  .mascot { display: none !important; }

  body { color: #000; background: #fff; font-size: 11pt; }
  .drip-section,
  .section-red { background: #fff !important; padding: 0; }
  .drip-section::before { display: none; }
  .section-red h2,
  .contact-hero__panel,
  .contact-hero__panel h1 { color: #000 !important; background: #fff !important; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid img { break-inside: avoid; }
  section { break-inside: avoid-page; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .site-footer { border: 0; margin-top: 16pt; }
}

/* ==========================================================================
   Forced colours (Windows high contrast)
   ========================================================================== */
@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
  .checker,
  .drip-section::before { forced-color-adjust: none; }
  .nav a[aria-current="page"] { border-bottom-color: Highlight; }
}

.consent-note {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 10px;
}
