/* ONGYEOL COFFEE ROASTERS — demo stylesheet */
:root {
  --bg: #F6F1E9;
  --bg-2: #EEE5D7;
  --paper: #FBF8F3;
  --ink: #2B1D14;
  --ink-2: #4E3B2D;
  --muted: #7C6756;
  --line: rgba(43, 29, 20, .14);
  --line-strong: rgba(43, 29, 20, .28);
  --accent: #B4532A;
  --accent-ink: #9A421D;
  --accent-soft: #F0D9C8;
  --dark: #231710;
  --dark-2: #2F2017;
  --on-dark: #F1E6D6;
  --on-dark-muted: #BFAE9A;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--plain::before { display: none; }
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3.05rem);
  line-height: 1.28; letter-spacing: -.02em; margin-top: 18px;
}
.lead { font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); color: var(--ink-2); line-height: 1.85; }
.eyebrow-num { font-family: var(--serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  border: 1px solid var(--b); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent { --b: var(--accent); background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--light { --b: var(--on-dark); background: var(--on-dark); color: var(--dark); }
.btn--light:hover { background: #fff; }
.btn--outline-light { --b: rgba(241, 230, 214, .45); background: transparent; color: var(--on-dark); }
.btn--outline-light:hover { background: var(--on-dark); color: var(--dark); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-ink); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ---------- Media w/ fallback ---------- */
.media {
  position: relative; overflow: hidden; background-color: #CDB79C;
  background-image:
    radial-gradient(120% 90% at 18% 12%, rgba(255, 236, 205, .85) 0%, rgba(255, 236, 205, 0) 55%),
    radial-gradient(90% 80% at 85% 90%, rgba(120, 72, 42, .55) 0%, rgba(120, 72, 42, 0) 60%),
    linear-gradient(135deg, #E2CDB0 0%, #C29C78 55%, #8E6447 100%);
}
.media::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; opacity: .22;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='rotate(-32 32 32)'%3E%3Cellipse cx='32' cy='32' rx='14.5' ry='20.5' fill='none' stroke='%232B1D14' stroke-width='2.5'/%3E%3Cpath d='M32 11.5c-6.5 7-6.5 13.5 0 20.5s6.5 13.5 0 20.5' fill='none' stroke='%232B1D14' stroke-width='2.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media img.is-missing { visibility: hidden; }
.media--dark { background-color: #3A281C; background-image: radial-gradient(100% 80% at 30% 20%, rgba(194, 120, 70, .45), rgba(194, 120, 70, 0) 60%), linear-gradient(150deg, #4A3324, #22160F); }
.media--dark::after { filter: invert(1); opacity: .18; }

figcaption, .caption { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
/* blur lives on a pseudo-element so the fixed mobile nav isn't trapped by backdrop-filter */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 241, 233, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(246, 241, 233, .94); }
body.nav-open .site-header::before { background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__ko { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand__en { font-size: 9.5px; font-weight: 600; letter-spacing: .24em; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 6px 0; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 14px; }
.nav__mobile-extra { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; margin-right: -10px; border-radius: 8px;
}
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--muted); }
.hero__eyebrow strong { color: var(--ink); font-weight: 600; }
.hero__eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 1.35rem + 4.3vw, 5rem);
  line-height: 1.2; letter-spacing: -.035em; margin: 26px 0 28px;
}
.hero__title em { font-style: normal; color: var(--accent-ink); }
.hero__lead { max-width: 30em; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); color: var(--ink-2); line-height: 1.85; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts dt { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.hero__facts dd { font-family: var(--serif); font-size: 15px; font-weight: 600; margin-top: 4px; }

.hero__figure { position: relative; margin: 0; }
.hero__media { aspect-ratio: 6 / 6.4; border-radius: 2px; }
.hero__figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.hero__figure figcaption span:last-child { font-family: var(--serif); font-style: italic; }
.status-card {
  position: absolute; z-index: 2; left: clamp(-36px, -2.5vw, -16px); bottom: 64px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; min-width: 232px; box-shadow: 0 24px 48px -24px rgba(43, 29, 20, .35);
}
.status-card__row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9C8B7B; flex: none; }
.status-dot.is-open { background: #4E8A55; box-shadow: 0 0 0 4px rgba(78, 138, 85, .16); }
.status-card__sub { font-size: 13px; color: var(--muted); margin-top: 2px; padding-left: 16px; }
.status-card__drip { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 12px; color: var(--muted); }
.status-card__drip strong { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink); margin-top: 2px; font-weight: 600; }

/* ---------- Marquee strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.strip__track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: strip 48s linear infinite; }
.strip__item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--serif); font-size: 17px; color: var(--ink-2); white-space: nowrap; }
.strip__item::after { content: "✻"; color: var(--accent); font-size: 14px; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 148px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--tone { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .kicker { color: #E39A6E; }
.section--dark .lead { color: var(--on-dark-muted); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { max-width: 34em; }
.section-head--stack { grid-template-columns: 1fr; max-width: 720px; }

/* Story */
.story__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.story__media { aspect-ratio: 4 / 5; }
.story__figure { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.story__figure figcaption { margin-top: 12px; }
.story__quote {
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.6; font-weight: 500;
  letter-spacing: -.02em; margin: 40px 0 36px; padding-left: 24px; border-left: 2px solid var(--accent);
}
.story__body p + p { margin-top: 18px; }
.story__body p { color: var(--ink-2); line-height: 1.95; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 52px; border-top: 1px solid var(--line); }
.fact { padding: 24px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 24px; }
.fact__num { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.fact__num small { font-size: .5em; margin-left: 2px; color: var(--muted); font-weight: 500; }
.fact__label { font-size: 14px; color: var(--muted); margin-top: 6px; }
.signature { margin-top: 40px; font-size: 14px; color: var(--muted); }
.signature strong { font-family: var(--serif); color: var(--ink); font-size: 16px; margin-left: 6px; }

/* Menu */
.menu__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.menu__visual { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.menu__visual .media { aspect-ratio: 4 / 5; }
.menu__visual .media img { transition: opacity .5s var(--ease); }
.menu__visual figcaption { margin-top: 12px; }
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--bg-2); border-radius: 999px; width: max-content; max-width: 100%; margin-bottom: 36px; }
.tab {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  min-height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-list { border-top: 1px solid var(--line-strong); }
.menu-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu-item__top { display: flex; align-items: baseline; gap: 14px; }
.menu-item__name { font-family: var(--serif); font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; }
.menu-item__lead { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); min-width: 24px; }
.menu-item__price { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.menu-item__desc { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 36em; line-height: 1.7; }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; background: var(--accent-soft); color: var(--accent-ink);
  transform: translateY(-2px); white-space: nowrap;
}
.tag--line { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }
.menu__note { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.menu__note span::before { content: "·"; margin-right: 6px; }

/* Beans */
.beans__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bean {
  position: relative; display: flex; flex-direction: column;
  background: var(--dark-2); border: 1px solid rgba(241, 230, 214, .1); border-radius: var(--radius);
  padding: 28px 24px 24px; transition: border-color .3s, transform .4s var(--ease);
}
.bean:hover { border-color: rgba(227, 154, 110, .5); transform: translateY(-4px); }
.bean__label { font-size: 11px; letter-spacing: .2em; font-weight: 600; color: #E39A6E; text-transform: uppercase; }
.bean__name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.4; margin-top: 14px; letter-spacing: -.02em; }
.bean__origin { font-size: 13.5px; color: var(--on-dark-muted); margin-top: 6px; }
.bean__notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.bean__notes li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(241, 230, 214, .22); color: var(--on-dark); }
.bean__specs { margin-top: 22px; display: grid; gap: 10px; font-size: 13px; }
.bean__specs div { display: flex; justify-content: space-between; gap: 12px; }
.bean__specs dt { color: var(--on-dark-muted); }
.bean__specs dd { text-align: right; }
.roast { display: inline-flex; gap: 4px; align-items: center; }
.roast i { width: 14px; height: 6px; border-radius: 3px; background: rgba(241, 230, 214, .16); }
.roast i.on { background: #E39A6E; }
.bean__price { margin-top: auto; padding-top: 22px; }
.bean__price-inner { border-top: 1px solid rgba(241, 230, 214, .14); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.bean__price-inner strong { font-size: 1.05rem; }
.bean__price-inner span { font-size: 12.5px; color: var(--on-dark-muted); }

.supply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(241, 230, 214, .14); }
.supply__media { aspect-ratio: 4 / 3; margin: 0; }
.supply__media figcaption { color: var(--on-dark-muted); margin-top: 12px; }
.supply h3 { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem); line-height: 1.35; letter-spacing: -.02em; margin-top: 16px; }
.supply__text { color: var(--on-dark-muted); margin-top: 18px; line-height: 1.9; max-width: 36em; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; }
.checks li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.6; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 1.5px solid #E39A6E; border-bottom: 1.5px solid #E39A6E; transform: rotate(-45deg);
}
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid rgba(241, 230, 214, .14); }
.step { padding: 20px 16px 0 0; }
.step__num { font-family: var(--serif); font-style: italic; color: #E39A6E; font-size: 14px; }
.step__title { font-weight: 600; margin-top: 4px; font-size: 15px; }
.step__desc { font-size: 13px; color: var(--on-dark-muted); margin-top: 4px; line-height: 1.6; }
.supply__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.group-order { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: rgba(241, 230, 214, .06); border: 1px solid rgba(241, 230, 214, .12); font-size: 14px; color: var(--on-dark-muted); line-height: 1.7; }
.group-order strong { color: var(--on-dark); }

/* Space */
.floors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); margin-bottom: clamp(40px, 5vw, 64px); }
.floor { padding: 28px 32px 28px 0; }
.floor + .floor { padding: 28px 0 28px 32px; border-left: 1px solid var(--line); }
.floor__no { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); font-weight: 500; }
.floor__title { font-family: var(--serif); font-size: 1.25rem; margin-top: 14px; }
.floor__desc { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.75; }
.floor__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 13vw, 190px); gap: 14px; }
.gallery figure { margin: 0; position: relative; }
.gallery .media { height: 100%; border-radius: 2px; }
.gallery .media img { transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  position: absolute; z-index: 2; left: 12px; bottom: 12px; right: 12px; pointer-events: none;
}
.gallery figcaption span { display: inline-block; background: rgba(251, 248, 243, .92); color: var(--ink); padding: 5px 10px; border-radius: 2px; font-size: 12.5px; }
.g1 { grid-column: span 7; grid-row: span 3; }
.g2 { grid-column: span 5; grid-row: span 2; }
.g3 { grid-column: span 2; grid-row: span 1; }
.g4 { grid-column: span 3; grid-row: span 1; }
.g5 { grid-column: span 5; grid-row: span 2; }
.g6 { grid-column: span 7; grid-row: span 2; }

.rental { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 56px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.rental h3 { font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.35; margin-top: 14px; letter-spacing: -.02em; }
.rental__text { color: var(--ink-2); margin-top: 14px; line-height: 1.85; }
.rental__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.spec-list { border-top: 1px solid var(--line-strong); }
.spec-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list dt { color: var(--muted); font-size: 14px; }
.spec-list dd small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Visit */
.visit__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #EFE6D6; }
.map-card > svg { display: block; width: 100%; height: auto; }
.map-card__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: var(--paper); border-top: 1px solid var(--line); }
.map-card__addr strong { display: block; font-family: var(--serif); font-size: 16px; }
.map-card__addr span { font-size: 13.5px; color: var(--muted); }
.map-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn--naver { --b: #03A94D; background: #03A94D; color: #fff; }
.btn--naver:hover { background: #028a3f; border-color: #028a3f; }
.btn--naver .n { font-weight: 800; font-family: Arial, sans-serif; font-size: 15px; }
.info-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
.info-list > div:first-child { border-top: 1px solid var(--line-strong); }
.info-list dt { font-size: 14px; color: var(--muted); padding-top: 1px; }
.info-list dd { font-size: 15.5px; line-height: 1.75; }
.info-list dd small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 3px 0; font-weight: 400; }
.hours th { width: 64px; color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--accent-ink); }
.hours tr.is-today td::after { content: "오늘"; margin-left: 8px; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; vertical-align: 1px; }
.tel-link { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.tel-link:hover { color: var(--accent-ink); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__aside .lead { margin-top: 20px; }
.faq__aside .text-link { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 4px 24px 0; font-weight: 600; font-size: clamp(1rem, .96rem + .2vw, 1.0875rem); line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { font-family: var(--serif); color: var(--accent); font-style: italic; font-weight: 600; flex: none; width: 22px; }
.faq-item summary .t { flex: 1; }
.faq-item summary .pm { position: relative; width: 16px; height: 16px; flex: none; margin-top: 5px; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq-item summary .pm::after { transform: rotate(90deg); }
.faq-item[open] summary .pm::after { transform: rotate(0deg); }
.faq-item summary:hover .t { color: var(--accent-ink); }
.faq-item__a { padding: 0 40px 26px 40px; color: var(--ink-2); line-height: 1.9; font-size: 15px; }
.faq-item[open] .faq-item__a { animation: panelIn .4s var(--ease); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__lead { margin-top: 20px; }
.contact-points { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.contact-points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-points svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.contact-points strong { display: block; font-size: 15px; }
.contact-points span { font-size: 14px; color: var(--muted); }
.contact-points a { text-decoration: none; }
.contact-points a:hover { color: var(--accent-ink); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 60px -40px rgba(43, 29, 20, .3); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.req { color: var(--accent-ink); margin-left: 2px; }
.opt { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: #fff; font-size: 16px; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #A8978A; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180, 83, 42, .18); }
.select {
  padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%232B1D14' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.textarea { min-height: 140px; resize: vertical; }
.input[type="date"] { min-height: 50px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #B3261E; }
.field__error { font-size: 13px; color: #B3261E; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 12.5px; color: var(--muted); }

.consent { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 16px 18px; }
.consent__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: #fff; flex: none; margin-top: 2px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check__box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .2s; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent.has-error { border-color: #B3261E; }
.consent .field__error { margin-top: 8px; }
.consent.has-error .field__error { display: block; }
.consent__toggle { border: 0; background: none; padding: 2px 0; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent__toggle:hover { color: var(--ink); }
.consent__detail { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.consent__detail table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.consent__detail th, .consent__detail td { text-align: left; vertical-align: top; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.consent__detail th { width: 92px; color: var(--muted); }
.consent__detail a { color: var(--accent-ink); }

.form__submit { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__submit p { font-size: 13px; color: var(--muted); }
.form__submit .btn { min-width: 200px; }
.form-success {
  display: none; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius);
  background: #EDF3EA; border: 1px solid #B8CFB0; color: #2F5A30; font-size: 14.5px; line-height: 1.7;
}
.form-success:focus { outline: none; }
.form-success.is-visible { display: block; animation: panelIn .4s var(--ease); }
.form-success strong { display: block; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 104px) 0 72px; font-size: 14px; }
.footer__word { font-family: var(--serif); color: var(--on-dark); font-size: clamp(2rem, 1rem + 4.6vw, 5.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; }
.footer__word span { color: #E39A6E; font-style: italic; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid rgba(241, 230, 214, .14); }
.footer__col h2 { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; font-family: var(--sans); }
.footer__col p, .footer__col li { line-height: 1.85; }
.footer__col a { text-decoration: none; color: var(--on-dark); }
.footer__col a:hover { color: #E39A6E; }
.footer__col button.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-dark); font-size: 14px; text-align: left; line-height: 1.85; }
.footer__col button.linklike:hover { color: #E39A6E; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(241, 230, 214, .1); font-size: 12.5px; }
.footer__bottom a { color: var(--on-dark); }
.site-footer--slim { padding: 36px 0 72px; }
.site-footer--slim .footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* Mobile action bar */
.action-bar { display: none; }

/* Demo badge */
.demo-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; font-family: var(--sans);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px; border: 1px solid rgba(241, 230, 214, .16);
  background: rgba(35, 23, 16, .86); color: var(--on-dark); font-size: 12px; font-weight: 500; line-height: 1.2;
  cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); transition: background .2s;
}
.demo-badge:hover { background: rgba(35, 23, 16, .96); }
.demo-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: #E39A6E; }
.demo-pop {
  position: fixed; left: 16px; bottom: 60px; z-index: 61; width: min(320px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  padding: 18px 18px 16px; box-shadow: 0 24px 60px -20px rgba(43, 29, 20, .45); font-size: 13.5px; line-height: 1.7;
}
.demo-pop[hidden] { display: none; }
.demo-pop strong { display: block; font-size: 14px; margin-bottom: 6px; }
.demo-pop__close { margin-top: 12px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.demo-pop__close:hover { background: var(--ink); color: var(--paper); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: 14px;
  transition: opacity .3s, transform .3s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Privacy page ---------- */
.doc { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 128px); }
.doc__inner { max-width: 820px; }
.doc h1 { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -.02em; line-height: 1.3; margin-top: 16px; }
.doc__meta { color: var(--muted); margin-top: 14px; font-size: 14px; }
.doc__notice { margin-top: 28px; padding: 16px 18px; background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--radius); font-size: 14px; }
.doc h2 { font-family: var(--serif); font-size: 1.3rem; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink-2); line-height: 1.9; font-size: 15.5px; }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 1.1em; list-style: disc; }
.doc li + li { margin-top: 4px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); line-height: 1.7; }
.doc th { background: var(--bg-2); font-weight: 600; }
.doc .table-wrap { overflow-x: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 22px; }
  .beans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 12px var(--gutter) calc(120px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link .nav__en { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
  .nav__cta { margin-top: 28px; min-height: 54px; font-size: 15px; }
  .nav__mobile-extra { display: block; margin-top: 28px; font-size: 14px; color: var(--muted); line-height: 1.8; }
  .nav__mobile-extra a { color: var(--ink); font-weight: 600; text-decoration: none; }
  body.nav-open { overflow: hidden; }

  .hero__figure { order: 2; }
  .hero__media { aspect-ratio: 3 / 2; }
  .status-card { left: 16px; bottom: 56px; }
  .story__grid, .menu__layout, .visit__grid, .faq__grid, .contact__grid, .supply, .rental, .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .story__figure, .menu__visual, .faq__aside { position: static; }
  .story__media { aspect-ratio: 3 / 2; }
  .menu__visual { display: none; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .supply__media { order: 2; }
}

@media (min-width: 1025px) {
  .nav__en { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hero { padding-top: 20px; }
  .hero__title { margin: 18px 0 20px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
  .hero__facts dd { font-size: 14px; }
  .hero__media { aspect-ratio: 4 / 3.4; }
  .status-card { position: relative; left: auto; bottom: auto; margin: -40px 14px 0; min-width: 0; }
  .hero__figure figcaption { padding: 0 2px; }
  .strip__item { font-size: 15px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(even) { padding-left: 16px; }
  .fact:nth-child(odd) { padding-right: 14px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 10px; }
  .menu-item__top { flex-wrap: wrap; }
  .beans__grid { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .hero__eyebrow .since { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .step { padding-bottom: 16px; }
  .floors { grid-template-columns: minmax(0, 1fr); }
  .floor { padding: 24px 0; }
  .floor + .floor { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 132px; gap: 10px; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2, .g5 { grid-column: span 1; grid-row: span 2; }
  .g3, .g4 { grid-column: span 1; grid-row: span 1; }
  .g6 { grid-column: span 1; grid-row: span 2; }
  .gallery figcaption { left: 8px; bottom: 8px; right: 8px; }
  .gallery figcaption span { font-size: 11.5px; padding: 4px 8px; }
  .spec-list div { grid-template-columns: 92px minmax(0, 1fr); }
  .info-list > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .map-card__actions { width: 100%; }
  .map-card__actions .btn { flex: 1; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__submit .btn { width: 100%; }
  .faq-item__a { padding: 0 0 24px 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand, .footer__col--company { grid-column: 1 / -1; }

  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--dark); padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(241, 230, 214, .12);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px;
    color: var(--on-dark); text-decoration: none; font-size: 12.5px; font-weight: 600;
  }
  .action-bar a + a { border-left: 1px solid rgba(241, 230, 214, .1); }
  .action-bar svg { width: 20px; height: 20px; }
  .action-bar a.is-primary { background: var(--accent); color: #fff; border-left: 0; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .demo-badge {
    left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); justify-content: center;
    height: 28px; padding: 0 12px; border-radius: 0; border: 0; border-top: 1px solid rgba(241, 230, 214, .08);
    font-size: 11.5px; background: #3A2A1F; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .demo-pop { left: 10px; bottom: calc(104px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(108px + env(safe-area-inset-bottom)); }
}

@media (max-width: 400px) {
  .brand__ko { font-size: 16px; }
  .hero__facts dt { font-size: 11px; }
  .tab { font-size: 14px; }
}

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