* { box-sizing: border-box; }

:root {
  --ink: #1f1813;
  --ink-deep: #120d09;
  --paper: #f4efe6;
  --paper-deep: #e8dcc9;
  --sand: #d5c1a6;
  --line: rgba(31, 24, 19, 0.18);
  --cream: #fff8ef;
  --gold: #c49a62;
  --red: #8a3326;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans KR", sans-serif;
  --kr-serif: "Noto Serif KR", serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  word-break: keep-all;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  color: #fff;
  transition: background .35s ease, color .35s ease, height .35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 24, 19, 0.08);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  letter-spacing: -.03em;
}

.brand-ko {
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.08em;
}

.brand-en {
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .15em;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-family: var(--serif);
  font-size: .92rem;
  letter-spacing: .08em;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform .25s ease;
}

.menu-button[aria-expanded="true"] span:not(.sr-only):first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.branch-image {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-size: cover;
  will-change: transform;
}

.hero-media {
  background-image: url("./images/soesimjul/exterior-wide.webp");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 12, 8, .74) 0%, rgba(16, 12, 8, .34) 44%, rgba(16, 12, 8, .62) 100%),
    linear-gradient(180deg, rgba(6, 4, 2, .18), rgba(6, 4, 2, .66));
}

.hero-copy {
  position: absolute;
  left: 7vw;
  bottom: 15vh;
  z-index: 3;
  max-width: 700px;
}

.hero-label,
.eyebrow {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .22em;
}

.eyebrow.dark,
.hero-label { color: rgba(255, 248, 239, .78); }
.eyebrow.dark { color: #6b5c4c; }

.hero h1,
.story h2,
.brand-note h2,
.branch h2,
.gallery h2,
.closing-message h2,
.reservation h2,
.faq-head h2 {
  margin: 0;
  font-family: var(--kr-serif);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.8vw, 6.8rem);
}

.hero h1 span { display: block; }

.hero-text {
  max-width: 520px;
  margin: 30px 0 0;
  font-size: clamp(.98rem, 1.1vw, 1.12rem);
  line-height: 1.95;
  letter-spacing: -.035em;
  color: rgba(255, 248, 239, .88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-actions a,
.reservation-inner a,
.fixed-call a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.hero-actions a:first-child,
.reservation-inner a,
.fixed-call a:first-child { background: var(--cream); color: var(--ink); }
.hero-actions a:last-child { border: 1px solid rgba(255, 248, 239, .42); }

.hero-food-card {
  position: absolute;
  z-index: 3;
  right: 6vw;
  bottom: 12vh;
  width: min(34vw, 520px);
  min-width: 340px;
  height: min(42vh, 410px);
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 248, 239, .18);
}

.hero-food-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .74));
}

.hero-food-card figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.hero-food-card span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--gold);
}

.hero-food-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.38;
  letter-spacing: -.055em;
}

.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 8vh;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: rotate(90deg);
  transform-origin: right center;
  font-family: var(--serif);
  font-size: .7rem;
  letter-spacing: .2em;
}

.scroll-cue i { display: block; width: 74px; height: 1px; background: currentColor; }

.section-pad { padding: 150px 8vw; }

.story-index,
.cafe-info-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .15em;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .65fr);
  gap: 10vw;
  align-items: start;
}

.story h2,
.brand-note h2,
.gallery h2,
.closing-message h2,
.reservation h2,
.faq-head h2 {
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.story-body {
  max-width: 480px;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 2.05;
}

.story-body p { margin: 0 0 38px; }
.story-title { margin-top: -24px; }

.breath {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  color: #fff;
}

.breath-image {
  position: absolute;
  inset: -8%;
  background: linear-gradient(rgba(14, 10, 7, .05), rgba(14, 10, 7, .22)), url("./images/soesimjul/gate-close.webp") center / cover no-repeat;
  will-change: transform;
}

.breath-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 13, 9, .18), rgba(18, 13, 9, .64));
}

.breath-copy {
  position: absolute;
  left: 8vw;
  bottom: 12vh;
  z-index: 2;
}

.section-number,
.branch-number,
.faq-section-no,
.cafe-card-no {
  margin: 0 0 42px;
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .2em;
}

.breath-copy h2 { margin: 0; font-family: var(--kr-serif); font-size: clamp(4rem, 8vw, 8rem); letter-spacing: -.08em; line-height: 1; }
.head-lead { margin: 30px 0 0; font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.7; }

.brand-note {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.15fr);
  gap: 8vw;
  align-items: center;
  background: var(--paper-deep);
}

.brand-note-copy { max-width: 500px; }
.brand-note-copy h2 { max-width: 560px; }

.brand-letter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(74vh, 760px);
  padding: 22px;
  background: rgba(255, 255, 255, .26);
  box-shadow: 0 24px 60px rgba(32, 35, 29, .12);
}

.brand-letter {
  width: 100%;
  max-width: 700px;
  min-height: 560px;
  padding: 66px 56px;
  background: #eadcc0;
  color: #2a2117;
  box-shadow: inset 0 0 0 1px rgba(74, 56, 34, .08);
  font-family: var(--kr-serif);
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.9;
  letter-spacing: -.055em;
}

.brand-letter p { margin: 0 0 28px; }
.letter-to,
.letter-from { font-weight: 700; font-size: clamp(1.45rem, 2vw, 1.9rem); }
.letter-from { margin-top: 42px; }

.space-message {
  min-height: 78vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(244,239,230,.74), rgba(244,239,230,.9)),
    url("./images/soesimjul/gate-night.webp") center 46% / cover no-repeat;
}

.space-message-inner { max-width: 980px; }
.space-message h2 { margin: 0 0 34px; font-family: var(--kr-serif); font-size: clamp(3rem, 6vw, 6.4rem); letter-spacing: -.075em; line-height: 1.05; }
.space-lead { font-size: clamp(1.5rem, 2.6vw, 2.8rem); line-height: 1.35; letter-spacing: -.06em; }
.space-description { max-width: 620px; margin-top: 28px; }

.branch {
  position: relative;
  min-height: 108svh;
  overflow: hidden;
  color: #fff;
}

.branch-soup .branch-image {
  background-image:
    linear-gradient(rgba(15, 11, 8, .08), rgba(15, 11, 8, .25)),
    url("./images/soesimjul/food-table.webp");
}

.branch-table .branch-image {
  background-image:
    linear-gradient(rgba(15, 11, 8, .06), rgba(15, 11, 8, .18)),
    url("./images/soesimjul/exterior-wide.webp");
}

.branch-panel {
  position: absolute;
  z-index: 2;
  left: 7vw;
  bottom: 7vh;
  width: min(590px, 88vw);
  padding: 48px;
  background: rgba(31, 24, 19, .9);
  backdrop-filter: blur(8px);
}

.branch-panel-light { color: var(--ink); background: rgba(244, 239, 230, .94); }
.branch h2 { font-size: clamp(2.8rem, 5.4vw, 5.8rem); }
.branch-panel > p:not(.branch-number) { max-width: 430px; margin: 24px 0 0; }
.branch-lead { font-size: 1.06rem; font-weight: 500; }

.branch-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.branch-tags li { padding: 7px 11px; border: 1px solid currentColor; border-radius: 999px; font-size: .73rem; opacity: .82; }
.branch-actions { margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: .9rem; }

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 90px;
}

.gallery h2 { font-size: clamp(2.8rem, 5.2vw, 5.6rem); line-height: 1.12; }
.gallery-intro { max-width: 420px; }
.gallery-intro p { margin: 0 0 22px; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-auto-rows: 34vw; gap: 2.6vw; }
.gallery-item { margin: 0; }
.gallery-item-large { grid-row: span 2; }
.gallery-item figcaption { margin-top: 13px; font-family: var(--serif); font-size: .72rem; letter-spacing: .16em; }

.closing-message {
  display: flex;
  min-height: 84vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper-deep);
}

.closing-inner { max-width: 1000px; }
.closing-inner > p:last-child { max-width: 560px; margin: 36px auto 0; }

.cafe-info { color: #f3efe8; background: var(--ink-deep); }
.cafe-info-label { border-bottom-color: rgba(255,255,255,.18); }
.cafe-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cafe-info-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.cafe-card { padding: clamp(32px, 5vw, 58px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.cafe-card-head h2 { margin: 0; font-family: var(--kr-serif); font-size: clamp(2.4rem, 4.6vw, 4.8rem); letter-spacing: -.075em; line-height: 1.08; }
.cafe-description { max-width: 660px; margin: 34px 0 40px; }
.cafe-details { font-style: normal; }
.cafe-details div { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.cafe-details span { color: rgba(255,255,255,.55); font-size: .78rem; }
.cafe-details strong { font-weight: 400; font-size: .92rem; }
.cafe-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.cafe-links a { display: inline-flex; gap: 10px; align-items: center; padding: 12px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: .84rem; }

.reservation { background: var(--paper); }
.reservation-inner { max-width: 860px; margin: 0 auto; padding: clamp(42px, 6vw, 72px); text-align: center; background: var(--paper-deep); box-shadow: 0 24px 70px rgba(31,24,19,.12); }
.reservation h2 { font-size: clamp(3rem, 6vw, 6.2rem); }
.reservation p { max-width: 560px; margin: 26px auto 34px; }

.faq-section { background: var(--paper-deep); }
.faq-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 80px; }
.faq-head h2 { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 6rem); }
.faq-intro { max-width: 420px; }
.faq-intro p { margin: 0 0 10px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 70px 1fr 28px; gap: 24px; align-items: center; padding: 28px 0; cursor: pointer; }
.faq-no { font-family: var(--serif); font-size: .82rem; letter-spacing: .14em; color: rgba(31,24,19,.55); }
.faq-question { font-weight: 500; letter-spacing: -.035em; }
.faq-toggle { position: relative; width: 24px; height: 24px; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-width: 780px; padding: 0 0 34px 94px; color: rgba(31,24,19,.72); }
.faq-answer p { margin: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 28px;
  padding: 65px 4vw 45px;
  background: #11100e;
  color: rgba(255,255,255,.7);
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .12em;
}
.footer-brand { margin: 0 0 4px; color: #fff; font-family: var(--sans); font-size: .95rem; letter-spacing: -.03em; }
.site-footer p { margin-top: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-meta { justify-self: end; text-align: right; }
.copyright { margin-bottom: 10px; }
.gma-credit { display: inline-block; max-width: 460px; color: inherit; font-family: var(--sans); font-size: .62rem; font-weight: 400; line-height: 1.7; letter-spacing: .055em; opacity: .58; transition: opacity .2s ease; }
.gma-credit:hover, .gma-credit:focus-visible { opacity: 1; }

.fixed-call { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; overflow: hidden; border-radius: 999px; box-shadow: 0 18px 54px rgba(0,0,0,.24); }
.fixed-call a { border-radius: 0; }
.fixed-call a:last-child { background: var(--ink); color: var(--cream); }

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

@media (max-width: 1120px) {
  .hero-food-card { width: min(42vw, 480px); right: 5vw; }
  .hero-copy { max-width: 610px; }
}

@media (max-width: 900px) {
  .site-header { height: 76px; padding: 0 22px; }
  .brand-en { display: none; }
  .menu-button { display: block; position: relative; z-index: 60; }
  .site-header.menu-open { z-index: 90; height: 76px; color: #f5f0e8; background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
  .brand, .menu-button { position: relative; z-index: 2; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(15px, 3.2vh, 28px);
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    margin: 0;
    padding: 100px 28px 46px;
    color: #f5f0e8;
    background: var(--ink-deep);
    font-size: clamp(2.15rem, 10vw, 3.5rem);
    line-height: 1.02;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(0,0,0); }
  .hero { min-height: 100svh; }
  .hero-media { background-position: 48% center; }
  .hero-copy { left: 24px; right: 24px; bottom: 30vh; max-width: none; }
  .hero h1 { font-size: clamp(2.65rem, 12.5vw, 4.8rem); }
  .hero-food-card { left: 24px; right: 24px; bottom: 80px; width: auto; min-width: 0; height: 23vh; border-radius: 22px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions a { min-height: 44px; padding: 0 15px; font-size: .8rem; }
  .desktop-break { display: none; }
  .scroll-cue { display: none; }
  .section-pad { padding: 96px 24px; }
  .story-index, .cafe-info-label { margin-bottom: 56px; }
  .story-grid, .brand-note, .gallery-head, .faq-head { grid-template-columns: 1fr; display: grid; gap: 36px; }
  .story-title { margin-top: 0; }
  .story h2, .brand-note h2, .gallery h2, .closing-message h2, .reservation h2 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .brand-letter { min-height: auto; padding: 42px 30px; }
  .brand-letter-wrap { min-height: 0; }
  .breath, .branch { min-height: 94svh; }
  .breath-copy { left: 24px; right: 24px; }
  .branch-panel, .branch-panel-light { left: 24px; right: 24px; bottom: 28px; width: auto; padding: 32px; }
  .branch h2 { font-size: clamp(2.3rem, 11vw, 4.2rem); }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 72vw; gap: 44px; }
  .gallery-item-large { grid-row: auto; }
  .cafe-info-grid, .cafe-info-grid.single { grid-template-columns: 1fr; }
  .cafe-details div { grid-template-columns: 78px 1fr; }
  .reservation-inner { padding: 40px 26px; }
  .faq-item summary { grid-template-columns: 42px 1fr 24px; gap: 14px; padding: 23px 0; }
  .faq-answer { padding-left: 56px; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding-bottom: 110px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer-meta { justify-self: start; text-align: left; }
  .fixed-call { left: 14px; right: 14px; bottom: 14px; }
  .fixed-call a { flex: 1; }
}

@media (max-width: 520px) {
  .hero-copy { bottom: 32vh; }
  .hero-text { margin-top: 22px; font-size: .92rem; }
  .hero-food-card figcaption { left: 18px; right: 18px; bottom: 16px; }
  .hero-food-card strong { font-size: 1rem; }
  .story-body { font-size: 1rem; }
  .section-number, .branch-number, .faq-section-no, .cafe-card-no { margin-bottom: 30px; }
  .space-lead { font-size: 1.35rem; }
  .cafe-card { padding: 28px 22px; }
}
