:root {
  --paper: #f7f2e8;
  --paper-2: #fbf8f1;
  --ink: #29251f;
  --ink-soft: #544d43;
  --line: rgba(57, 47, 35, 0.22);
  --gold: #927039;
  --gold-light: #c5a96f;
  --olive: #716d5b;
  --deep: #1d1b18;
  --white: #fffdf8;
  --serif: "Noto Serif KR", "Batang", serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --shell: min(1240px, calc(100% - 48px));
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { color: var(--paper-2); background: var(--gold); }

.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: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--deep);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: background .35s ease, color .35s ease, height .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  height: 76px;
  color: var(--ink);
  background: rgba(247, 242, 232, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(35, 29, 22, .07);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 600;
  letter-spacing: .04em;
}
.brand-sub {
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .24em;
}
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 42px); }
.primary-nav a {
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
}
.primary-nav a:not(.nav-reserve)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-reserve {
  padding: 12px 19px;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease;
}
.nav-reserve:hover,
.nav-reserve:focus-visible { color: var(--deep); background: var(--white); }
.site-header.is-scrolled .nav-reserve:hover,
.site-header.is-scrolled .nav-reserve:focus-visible { color: var(--white); background: var(--deep); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  color: var(--white);
  background: var(--deep);
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(.65) sepia(.12) contrast(1.04);
  transform: scale(1.02);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,18,15,.82) 0%, rgba(20,18,15,.49) 43%, rgba(20,18,15,.18) 72%, rgba(20,18,15,.35) 100%),
    linear-gradient(0deg, rgba(12,11,9,.58) 0%, transparent 48%);
}
.hero__topline {
  position: absolute;
  top: calc(var(--header-h) + 20px);
  left: 4vw;
  right: 4vw;
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  opacity: .82;
}
.hero__content {
  position: absolute;
  left: max(4vw, calc((100vw - 1240px) / 2));
  bottom: 12vh;
  width: min(720px, calc(100% - 48px));
}
.eyebrow, .kicker {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow { color: #e1d2ad; }
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero h1 em {
  color: #dcc79b;
  font-family: var(--display);
  font-size: 1.12em;
  font-weight: 400;
}
.hero__lead {
  width: min(590px, 100%);
  margin: 28px 0 0;
  color: rgba(255,253,248,.9);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.85;
}
.hero__actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid transparent;
  transition: transform .2s ease, color .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { color: var(--white); background: transparent; border-color: var(--white); }
.button--dark { color: var(--white); background: var(--deep); border-color: var(--deep); }
.button--dark:hover { color: var(--deep); background: transparent; }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid currentColor;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link--light { color: var(--white); }
.hero__index {
  position: absolute;
  right: 4vw;
  bottom: 11vh;
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}
.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .2em;
}
.scroll-cue i { width: 46px; height: 1px; background: currentColor; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleX(.4); transform-origin: left; opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }

.section { padding: clamp(90px, 11vw, 160px) 0; }
.section-shell { width: var(--shell); margin: 0 auto; }
.section--paper { background: var(--paper-2); }
.kicker { color: var(--gold); }
.kicker--light { color: #dfc894; }

.editorial {
  position: relative;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(121,97,58,.08) 50%, transparent 50.1%),
    var(--paper);
}
.editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: repeating-linear-gradient(0deg, rgba(79,67,50,.06) 0, rgba(79,67,50,.06) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
}
.issue-line {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .17em;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.issue-line span:last-child { text-align: right; }
.editorial__title {
  position: relative;
  padding: clamp(56px, 7vw, 90px) 0 45px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.editorial h2, .cake-menu h2, .atelier h2, .visit h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.25;
  letter-spacing: -.05em;
  font-weight: 500;
}
.deck { margin: 18px 0 0; color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 23px); }
.editorial__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  padding-top: 48px;
}
.editorial__body p { margin: 0; }
.editorial__body blockquote {
  grid-column: 1 / -1;
  margin: 14px auto 0;
  padding: 30px 8vw 0;
  color: var(--gold);
  font-size: clamp(24px, 2.5vw, 36px);
  text-align: center;
  border-top: 1px solid var(--line);
}
.drop-cap::first-letter {
  float: left;
  margin: 10px 12px 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 5.2em;
  line-height: .72;
}

.cake-menu {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.cake-menu__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  padding-bottom: clamp(42px, 5vw, 68px);
  border-bottom: 2px solid var(--ink);
}
.cake-menu__heading > p {
  margin: 0 0 7px;
  color: var(--ink-soft);
}
.cake-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 50px);
  padding-top: clamp(42px, 5vw, 68px);
}
.cake-card { min-width: 0; }
.cake-card__figure { margin: 0; }
.cake-card__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(103, 78, 42, .3);
  box-shadow: 0 18px 50px rgba(42, 33, 23, .1);
}
.cake-card__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .14em;
}
.cake-card__copy {
  position: relative;
  margin-top: 25px;
  padding: 22px 0 0 48px;
  border-top: 1px solid var(--line);
}
.cake-card__number {
  position: absolute;
  top: 18px;
  left: 0;
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}
.cake-card h3 {
  margin: 0;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.chef-note { margin-top: 22px; }
.chef-note p { margin: 0; }
.chef-note__label {
  margin-bottom: 8px !important;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}
.chef-note p:last-child {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.atelier {
  position: relative;
  min-height: 790px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}
.atelier__media, .atelier__overlay { position: absolute; inset: 0; }
.atelier__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; filter: saturate(.62) sepia(.1) contrast(1.05); }
.atelier__overlay { background: linear-gradient(90deg, rgba(26,23,19,.84) 0%, rgba(26,23,19,.58) 46%, rgba(26,23,19,.22) 100%); }
.atelier__content { position: relative; }
.atelier__content h2 { max-width: 850px; }
.atelier__content > p:not(.kicker):not(.atelier__status) { max-width: 620px; margin-top: 28px; color: rgba(255,253,248,.88); }
.atelier__status { margin-top: 35px; display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; letter-spacing: .05em; }
.atelier__status span { width: 8px; height: 8px; background: #d8bd83; border-radius: 50%; box-shadow: 0 0 0 6px rgba(216,189,131,.15); }

.visit { background: var(--paper); }
.visit__grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(60px, 10vw, 150px); }
.visit__intro > p:not(.kicker) { color: var(--ink-soft); }
.social-link {
  position: relative;
  width: min(calc(100% - 16px), 410px);
  min-height: 82px;
  margin: 34px 8px 0;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, .52);
  border: 1px solid var(--gold);
  outline: 1px solid rgba(146, 112, 57, .36);
  outline-offset: -6px;
  box-shadow: 0 12px 30px rgba(57, 45, 30, .08);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.social-link::before,
.social-link::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgba(146, 112, 57, .38);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.social-link::before { left: -8px; }
.social-link::after { right: -8px; }
.social-link:hover,
.social-link:focus-visible {
  color: var(--deep);
  background: #eee4d2;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(57, 45, 30, .12);
}
.social-link__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #eee3cf;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.social-link__icon svg { width: 22px; height: 22px; }
.social-link__copy { display: flex; flex-direction: column; line-height: 1.25; }
.social-link__copy small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
}
.social-link__copy strong {
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: .04em;
}
.social-link__arrow { color: var(--gold); font-size: 20px; transition: transform .25s ease; }
.social-link:hover .social-link__arrow,
.social-link:focus-visible .social-link__arrow { transform: translate(3px, -3px); }
.visit__info { border-top: 2px solid var(--ink); }
.info-block { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.info-block p { margin: 0; }
.info-block__label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.map-link {
  grid-column: 2;
  width: fit-content;
  min-height: 48px;
  margin-top: -8px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px 9px 11px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.map-link:hover,
.map-link:focus-visible { color: var(--white); background: var(--deep); transform: translateY(-2px); }
.map-link__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #eee3cf;
  border-radius: 50%;
}
.map-link__icon svg { width: 17px; height: 17px; }
.map-link__arrow { margin-left: 4px; font-size: 15px; transition: transform .25s ease; }
.map-link:hover .map-link__arrow,
.map-link:focus-visible .map-link__arrow { transform: translate(2px, -2px); }
.phone { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); line-height: 1.2; }

.site-footer {
  padding: 80px 4vw 35px;
  color: #e8dec8;
  background: var(--deep);
  text-align: center;
}
.site-footer__ornament { display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--gold-light); }
.site-footer__ornament span { width: 70px; height: 1px; background: currentColor; }
.site-footer__ornament i { width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--display); font-style: normal; border: 1px solid currentColor; transform: rotate(7deg); }
.site-footer__name { margin: 30px 0 2px; color: var(--white); font-family: var(--display); font-size: clamp(39px, 5vw, 68px); line-height: 1; letter-spacing: .03em; }
.site-footer > p:not(.site-footer__name) { margin: 10px 0 55px; font-family: var(--sans); font-size: 9px; letter-spacing: .25em; }
.site-footer__meta { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; font-family: var(--sans); font-size: 10px; letter-spacing: .1em; border-top: 1px solid rgba(255,255,255,.16); }
.site-footer__meta a:hover { color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  :root { --header-h: 78px; --shell: min(100% - 40px, 900px); }
  body { font-size: 17px; }
  .menu-toggle {
    position: relative;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    cursor: pointer;
  }
  .menu-toggle__line { width: 22px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .brand { position: relative; z-index: 3; }
  .primary-nav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: calc(var(--header-h) + 36px) 24px max(40px, env(safe-area-inset-bottom));
    color: var(--ink);
    background: var(--paper);
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform .35s ease, visibility .35s;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav a { font-family: var(--serif); font-size: 26px; }
  .nav-reserve { margin-top: 16px; font-family: var(--sans) !important; font-size: 14px !important; }
  .site-header:has(.primary-nav.is-open) {
    height: var(--header-h);
    color: var(--ink);
    background: var(--paper);
    border-bottom-color: var(--line);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero__content { bottom: 12vh; }
  .hero__index { display: none; }
  .visit__grid { grid-template-columns: 1fr; }
  .cake-menu__heading { grid-template-columns: 1fr; gap: 20px; }
  .cake-menu__heading > p { max-width: 620px; }
  .cake-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 16px; line-height: 1.8; }
  .site-header, .site-header.is-scrolled { height: 70px; padding: 0 16px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 7px; }
  .hero { min-height: 680px; }
  .hero__image { object-position: 66% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(20,18,15,.78), rgba(20,18,15,.35)), linear-gradient(0deg, rgba(12,11,9,.65), transparent 58%); }
  .hero__topline { top: 92px; left: 16px; right: 16px; }
  .hero__topline span:last-child { display: none; }
  .hero__content { left: 16px; bottom: 90px; width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero__lead { margin-top: 22px; line-height: 1.72; }
  .hero__actions { gap: 18px; margin-top: 28px; }
  .scroll-cue { display: none; }
  .section { padding: 82px 0; }
  .issue-line { grid-template-columns: 1fr auto; }
  .issue-line span:nth-child(2) { display: none; }
  .editorial { background: var(--paper); }
  .editorial__title { text-align: left; }
  .editorial__body { grid-template-columns: 1fr; gap: 28px; }
  .editorial__body blockquote { padding: 25px 0 0; text-align: left; }
  .cake-menu__grid { grid-template-columns: 1fr; gap: 64px; }
  .cake-card__copy { margin-top: 20px; }
  .cake-card__figure figcaption { font-size: 8px; }
  .atelier { min-height: 700px; }
  .atelier__media img { object-position: 65% center; }
  .atelier__overlay { background: linear-gradient(90deg, rgba(26,23,19,.82), rgba(26,23,19,.4)); }
  .info-block { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .map-link { grid-column: 1; margin-top: 8px; }
  .social-link { width: calc(100% - 16px); }
  .site-footer { padding: 70px 16px 28px; }
  .site-footer__meta { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
