:root {
  --bg: #f3eadc;
  --paper: #fffaf3;
  --ink: #2a2118;
  --muted: #5e4d3c;
  --gold: #8d5a22;
  --gold-deep: #5c3b18;
  --line: #e4d5bf;
  --footer: #241910;
  --hero-ink: #fff8ef;
  --shadow: 0 18px 40px rgba(60, 36, 12, 0.08);
  --page: 1180px;
  --measure: 740px;
  --serif: "Noto Serif KR", "Times New Roman", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(212, 164, 84, 0.18), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; }
h1 { font-size: 32px; margin: 0 0 12px; }
h2 { font-size: 25px; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 1.15em 0 8px; }

.wrap { width: min(var(--page), calc(100% - 48px)); margin: 0 auto; }
.measure { max-width: var(--measure); }
.wrap.measure { max-width: none; }
.wrap.measure > * { max-width: var(--measure); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { font-size: 1em; }
.note { color: var(--muted); font-size: 1em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  min-height: 76px;
  padding: 0 max(24px, calc((100% - var(--page)) / 2));
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.logo {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 0.72em;
  max-width: 100%;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.logo strong,
.logo em { display: inline; line-height: 1; }
.logo strong { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.logo em { font-style: normal; font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--gold-deep); }
.logo-rule { width: 1px; height: 0.82em; align-self: center; background: #c4a27a; flex: 0 0 auto; }
.site-nav { justify-self: center; display: flex; align-items: center; justify-content: center; gap: 44px; min-width: 0; margin: 0; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.site-nav a[aria-current="page"] { color: var(--gold-deep); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }
.lang {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 36px;
  text-decoration: none;
  color: var(--gold-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.hero {
  position: relative;
  min-height: min(70vh, 760px);
  display: grid;
  align-items: end;
  background: #1b130d center/cover no-repeat;
  color: var(--hero-ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 14, 8, 0.78) 0%, rgba(22, 14, 8, 0.42) 48%, rgba(22, 14, 8, 0.12) 100%),
    linear-gradient(180deg, rgba(22, 14, 8, 0.15), rgba(22, 14, 8, 0.45));
}
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 72px; }
.hero .wrap > * { max-width: var(--measure); }
.hero.home-hero h1 { max-width: none; }
.hero .eyebrow { color: #f0d7a4; }
.hero h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.04em; font-size: 34px; line-height: 1.15; }
.hero p { font-size: 16px; line-height: 1.75; max-width: 36em; }
.home-hero {
  min-height: min(78vh, 820px);
  align-items: center;
  background-position: 72% center;
}
.home-hero::after {
  background: linear-gradient(90deg, rgba(36, 20, 10, 0.72) 0%, rgba(36, 20, 10, 0.46) 24%, rgba(36, 20, 10, 0.12) 46%, rgba(36, 20, 10, 0) 62%);
}
.home-hero .wrap { padding: 72px 0; }
.home-hero .eyebrow { letter-spacing: 0.14em; white-space: nowrap; }
.home-hero h1 { font-size: 42px; margin-bottom: 18px; overflow-wrap: normal; }
.home-hero .hero-copy {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  max-width: none;
  color: #fff8ef;
}
.home-hero .hero-copy span { display: block; }
.page-hero { min-height: 0; background-position: center; }
.page-hero .wrap { padding: 56px 0 42px; }
.page-hero h1 { font-size: 32px; letter-spacing: -0.03em; }

.section { padding: 76px 0; }
.section.paper { background: rgba(255, 250, 243, 0.72); }
.section.band {
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.2), rgba(255, 248, 236, 0.65)),
    #efe2cc;
}
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }
.split > .frame,
.split > .copy { width: 100%; min-width: 0; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .copy { order: 2; }
.frame {
  margin: 0;
  background: var(--paper);
  padding: 12px;
  box-shadow: var(--shadow);
}
.frame img { width: 100%; }
.facts {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 18px;
  margin: 18px 0 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--gold-deep); font-weight: 600; }
.facts dd { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.gallery figure { margin: 0; background: var(--paper); padding: 10px; box-shadow: var(--shadow); }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f6efe4; }

.hero.page-hero.route-hero h1 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; max-width: none; }
.journey-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 36px; align-items: start; margin-top: 28px; }
.journey-board .map-frame { grid-column: 1 / -1; margin: 0; }
.stage-name { margin: 0 0 6px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; }
.stage-visual { margin: 0 0 14px; background: #f6efe4; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.stage-visual img { width: 100%; height: 240px; object-fit: contain; }
.map-frame { position: relative; margin: 0 0 14px; background: #f6efe4; }
.map-frame img { width: 100%; height: auto; display: block; }
.map-label {
  position: absolute;
  transform: translate(-50%, calc(-100% - 14px));
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: rgba(246, 239, 228, 0.92);
  padding: 2px 5px;
}
.map-label.e { transform: translate(8px, -50%); }
.map-label.w { transform: translate(calc(-100% - 8px), -50%); }
.map-label.s { transform: translate(-50%, 16px); }
.map-label.pin { transform: translate(-50%, -50%); }
.map-key { display: none; margin: 10px 0 0; color: var(--gold-deep); font-size: 13px; font-weight: 600; line-height: 1.5; }
.note.sources { font-size: 14px; line-height: 1.7; }

.evidence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.trust .frame {
  margin: 0;
  padding: 8px;
  height: auto;
  background: var(--paper);
}
.trust button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.trust .frame img { width: 100%; height: auto; object-fit: contain; }
.record { margin-top: 42px; }
.doc {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.doc strong { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.doc span { color: var(--muted); }

.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.form-link {
  display: block;
  padding: 26px 24px;
  background: var(--gold-deep);
  color: #fff8ef;
  text-decoration: none;
}
.form-link strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.form-link span { display: block; margin-top: 6px; color: #f3e2c8; }

.site-footer { background: var(--footer); color: #f6ecdf; padding: 40px 0 24px; font-size: 14px; line-height: 1.7; }
.site-footer a { color: #f0d7a4; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.site-footer h2 { color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin: 0 0 8px; }
.site-footer p { margin: 0 0 8px; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; font-size: 14px; }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 248, 239, 0.15); color: #d9cbb8; font-size: 14px; }

#lightbox { width: min(960px, calc(100% - 32px)); border: 0; padding: 0; background: transparent; }
#lightbox::backdrop { background: rgba(20, 12, 8, 0.82); }
#lightbox img { width: 100%; max-height: 82vh; object-fit: contain; background: #111; }
#lightbox button {
  margin-top: 8px;
  border: 0;
  background: #fffaf3;
  color: var(--ink);
  padding: 8px 14px;
  font: inherit;
}

.pull {
  margin: 28px 0;
  padding: 28px 32px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
}
@media (max-width: 1680px) and (min-width: 861px) {
  .logo-en { gap: 0.5em; }
  .logo-en strong { font-size: 19px; letter-spacing: -0.04em; }
  .logo-en em { font-size: 15px; letter-spacing: -0.03em; }
}
@media (max-width: 1360px) and (min-width: 861px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 36px;
  }
  .site-nav { justify-self: center; gap: 40px; min-width: 0; }
  .site-nav a { font-size: 17px; }
  .logo strong { font-size: 20px; }
  .logo em { font-size: 16px; }
  .logo-en strong { font-size: 20px; letter-spacing: -0.03em; }
  .logo-en em { font-size: 16px; letter-spacing: -0.02em; }
}

@media (min-width: 861px) {
  .text-first .copy { order: 1; }
  .text-first .frame { order: 2; }
}

@media (max-width: 860px) {
  .site-header { display: flex; padding: 0 24px; column-gap: 8px; }
  .logo { gap: 0.42em; }
  .logo strong { font-size: 15px; }
  .logo em { font-size: 12px; letter-spacing: -0.03em; }
  .logo-en strong { font-size: 10.5px; }
  .logo-en em { font-size: 10px; letter-spacing: -0.04em; }
  .site-nav { min-width: 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; align-items: center; min-height: 40px; }
  .lang { margin-left: 8px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: #fffaf3;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(36, 25, 16, 0.08);
  }
  .site-nav.is-open { display: flex; width: 100%; left: 0; right: 0; align-self: stretch; }
  .site-nav a { justify-content: flex-start; width: 100%; padding: 16px 22px; border-top: 1px solid var(--line); white-space: normal; }
  .hero { min-height: min(62vh, 560px); }
  .hero .wrap { padding: 72px 0 36px; }
  .home-hero { min-height: 540px; align-items: end; background-position: center 22%; }
  .home-hero::after {
    background: linear-gradient(180deg, rgba(28, 16, 8, 0.12) 0%, rgba(28, 16, 8, 0) 36%, rgba(28, 16, 8, 0.5) 64%, rgba(28, 16, 8, 0.78) 100%);
  }
  .home-hero .wrap { padding: 0 0 28px; }
  .home-hero .eyebrow { font-size: 11px; letter-spacing: 0.08em; }
  .home-hero h1 { font-size: 42px; }
  .home-hero .hero-copy { font-size: 17px; max-width: none; }
  .page-hero { min-height: 0; }
  .page-hero .wrap { padding: 32px 0 24px; }
  .hero p { font-size: 16px; }
  .section { padding: 48px 0; }
  .split, .split.reverse, .evidence, .trust, .enquiry-grid, .footer-grid, .gallery, .journey-board { grid-template-columns: 1fr; }
  .hero.page-hero.route-hero h1 { font-size: 21px; letter-spacing: -0.045em; white-space: nowrap; }
  .map-label { display: none; }
  .map-label.keep { display: block; font-size: 11px; padding: 1px 3px; }
  .map-key { display: block; }
  .split.reverse .copy { order: 0; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts div { margin-bottom: 10px; }
}

@media (min-width: 861px) {
  body { font-size: 17px; }
  h1, .hero h1 { font-size: 46px; }
  .page-hero h1 { font-size: 44px; }
  .hero.page-hero.route-hero h1 { font-size: 56px; white-space: nowrap; }
  .home-hero h1 { font-size: 72px; white-space: nowrap; }
  .home-hero .hero-copy { font-size: 20px; max-width: none; }
  .home-hero .hero-copy span { white-space: nowrap; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  .hero p { font-size: 17px; }
  .doc strong, .form-link strong, .pull { font-size: 22px; }
  .site-footer, .site-footer p, .site-footer li, .site-footer a, .site-footer h2, .legal { font-size: 14px; }
}

/* Cheongwon Food contact form. Scoped additions preserve the approved site design. */
.contact-hero { background: #f8efdf; border-bottom: 1px solid var(--line); }
.contact-hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 64px; align-items: center; padding-block: 36px; }
.contact-hero h1 { font-size: 42px; line-height: 1.35; margin: 0 0 16px; }
.contact-hero p:not(.eyebrow) { max-width: 35em; margin-bottom: 0; }
.contact-brand-photo { margin: 0; }
.contact-brand-photo img { width: 100%; height: 210px; object-fit: contain; }
.contact-section { padding: 56px 0 72px; scroll-margin-top: 96px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.contact-info { padding: 30px; border-top: 3px solid var(--gold); background: #eee0c9; }
.contact-info h2 { font-size: 27px; margin-bottom: 24px; }
.contact-info dl { margin: 0 0 28px; }
.contact-info dt { font-size: 13px; color: var(--gold-deep); margin: 18px 0 5px; font-weight: 600; }
.contact-info dd { margin: 0; font-size: 15px; }
.contact-info h3 { font-family: var(--sans); font-size: 16px; margin-top: 28px; }
.contact-info ul { padding-left: 20px; margin: 10px 0 24px; font-size: 15px; }
.contact-brochure { font-size: 14px; text-underline-offset: 5px; }
html:has(.contact-page) { scroll-behavior: auto; }
.contact-form-panel { min-width: 0; scroll-margin-top: 96px; }
.contact-form-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.contact-field { display: block; min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field > span { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.contact-field small { margin-left: 7px; color: var(--muted); font-size: 12px; font-weight: 400; }
.contact-required { color: #955026; font-weight: 600; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #c8b89f; border-radius: 0; padding: 12px 14px; color: var(--ink); background: var(--paper); font: inherit; font-size: 16px; line-height: 1.6; }
.contact-field input, .contact-field select { min-height: 50px; }
.contact-field textarea { resize: vertical; min-height: 184px; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.contact-field ::placeholder { color: #897962; opacity: 1; }
.contact-availability { margin: 0 0 24px; padding: 15px 18px; border-left: 3px solid var(--gold); background: #eadcc3; color: var(--gold-deep); font-size: 14px; line-height: 1.75; }
.contact-field-note { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.contact-privacy { margin: 24px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.contact-privacy summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.contact-privacy dl { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.contact-privacy dt { color: var(--gold-deep); font-weight: 600; margin-top: 12px; }
.contact-privacy dd { margin: 3px 0 10px; }
.contact-consent { display: flex; align-items: start; gap: 11px; font-size: 14px; line-height: 1.8; cursor: pointer; }
.contact-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold-deep); }
.contact-security-note { margin: 12px 0 0 31px; color: var(--muted); font-size: 12px; }
.contact-captcha { margin: 18px 0; min-height: 80px; }
.captcha-retry { border: 1px solid var(--line); padding: 8px 12px; background: var(--paper); color: var(--gold-deep); font: inherit; font-size: 13px; cursor: pointer; margin-top: 10px; }
.contact-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; min-width: 190px; margin-top: 24px; padding: 13px 26px; border: 1px solid var(--gold-deep); background: var(--gold-deep); color: #fffaf3; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.contact-submit:hover:not(:disabled) { background: #754c20; }
.contact-submit:disabled { cursor: not-allowed; background: #d5c7b1; border-color: #d5c7b1; color: #615744; }
.contact-submit:focus-visible, .captcha-retry:focus-visible, .contact-consent input:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.contact-result { margin: 18px 0 0; padding: 13px 16px; background: #efe2c9; color: var(--gold-deep); font-size: 14px; line-height: 1.8; }
.contact-result[data-state="error"] { border-left: 3px solid #9b4d2a; background: #fae9dc; color: #73351b; }
.contact-result[data-state="success"] { border-left: 3px solid #596344; }
.contact-success { width: min(480px, calc(100% - 40px)); border: 1px solid var(--line); background: var(--paper); padding: 36px; color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.contact-success::backdrop { background: rgba(36,25,16,.65); }
.contact-success h2 { font-size: 27px; }
.contact-success p { font-size: 16px; line-height: 1.8; }
.contact-success-mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 20px; border: 1px solid #bba274; border-radius: 50%; color: var(--gold-deep); font-size: 26px; }
.contact-success .contact-submit { margin-top: 8px; }
.contact-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-page [hidden], .contact-success[hidden] { display: none; }
@media (max-width: 860px) {
  .contact-hero-inner, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-hero-inner { padding-block: 28px; }
  .contact-brand-photo { order: -1; }
  .contact-brand-photo img { height: 170px; }
  .contact-hero h1 { font-size: 30px; }
  .contact-section { padding: 32px 0 48px; scroll-margin-top: 92px; }
  .contact-info { padding: 22px; }
  .contact-info h2 { font-size: 24px; margin-bottom: 16px; }
  .contact-layout { gap: 32px; }
  .contact-form-panel { grid-row: 1; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .contact-submit { width: 100%; }
  .contact-availability { padding: 13px 15px; }
  .contact-success { padding: 28px 24px; }
}
