@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@500;600;700&display=swap');

:root {
  --green: #173d2d;
  --green-dark: #0d2a1e;
  --red: #d83a2e;
  --cream: #f5efe3;
  --ink: #231f20;
  --paper: #fffdf8;
  --line: rgba(35,31,32,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans KR", sans-serif; word-break: keep-all; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p, figure, blockquote { margin: 0; }
h1, h2, blockquote { font-family: "Noto Serif KR", serif; font-weight: 600; letter-spacing: -.045em; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.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; }
.section-pad { padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 7vw, 8rem); }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.red { color: var(--red); }
.section-index { font: 600 .75rem/1 "Noto Sans KR", sans-serif; letter-spacing: .1em; color: var(--red); }
.section-index.light { color: #f5b5ae; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 4vw, 4.5rem); color: white; border-bottom: 1px solid rgba(255,255,255,.24); transition: .35s ease; }
.site-header.scrolled { height: 70px; background: rgba(13,42,30,.94); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .8rem; font-size: .85rem; font-weight: 700; letter-spacing: .18em; }
.brand img { width: 158px; height: 94px; object-fit: contain; filter: invert(1); }
.site-header { height: 108px; }
.site-header.scrolled { height: 96px; }
.brand { order: 1; }
.site-nav { order: 2; }
.channel-links { order: 3; display: flex; align-items: center; gap: 8px; }
.channel-links a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(13,42,30,.3); transition: background .2s; }
.channel-links a:hover, .channel-links a:focus-visible { background: var(--red); outline-offset: 4px; }
.channel-links svg { width: 21px; height: 21px; }
.channel-links img { width: 60%; height: 60%; object-fit: contain; filter: brightness(0) invert(1); }
.menu-toggle { order: 4; }
.footer-info { line-height: 1.9; font-size: .875rem; letter-spacing: 0; }
.footer-info address { font-style: normal; }
.site-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.25rem); font-size: .83rem; font-weight: 600; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--red); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; padding: .5rem; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: white; background: var(--green); }
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { animation: heroZoom 14s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(10,35,24,.68), rgba(10,35,24,.2) 70%), linear-gradient(0deg, rgba(4,20,13,.52), transparent 55%); }
.hero-copy { position: relative; z-index: 2; padding: 10rem clamp(1.5rem, 7vw, 8rem) clamp(4rem, 8vw, 7rem); }
.hero-copy h1 { max-width: 900px; margin: 1.5rem 0 2.4rem; font-size: clamp(2.9rem, 7vw, 7rem); line-height: 1.08; text-shadow: 0 4px 30px rgba(0,0,0,.18); }
.round-link { width: 118px; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: .65rem; letter-spacing: .13em; transition: .3s ease; }
.round-link:hover { background: var(--red); border-color: var(--red); transform: rotate(-6deg); }
.hero-side { position: absolute; z-index: 2; right: 2rem; top: 50%; writing-mode: vertical-rl; font-size: .62rem; letter-spacing: .22em; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.story { position: relative; display: grid; grid-template-columns: .35fr 1.1fr .95fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; background: var(--cream); overflow: hidden; }
.story h2, .tomato-copy h2, .place-copy h2, .closing h2 { font-size: clamp(2.3rem, 4.5vw, 5rem); line-height: 1.14; }
.story-heading .eyebrow { margin-bottom: 1.4rem; }
.story-body { padding-top: 2.4rem; max-width: 530px; }
.story-body p { font-size: .95rem; line-height: 1.95; color: #5c5653; }
.story-body .lead { margin-bottom: 1.7rem; color: var(--ink); font-family: "Noto Serif KR", serif; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.75; }
.stamp { position: absolute; right: 5vw; bottom: -1.2rem; width: 115px; height: 115px; display: grid; place-items: center; color: var(--red); border: 1px solid var(--red); border-radius: 50%; transform: rotate(8deg); font: 700 2.4rem/1 serif; opacity: .8; }
.stamp small { display: block; font: 600 .6rem/1 sans-serif; letter-spacing: .12em; }

.tomato-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--green); color: white; }
.tomato-photo { overflow: hidden; }
.tomato-photo img { height: 100%; object-fit: cover; transition: transform 1s ease; }
.tomato-photo:hover img { transform: scale(1.025); }
.tomato-copy { display: flex; flex-direction: column; justify-content: center; }
.tomato-copy h2 { margin: 1.5rem 0 2rem; }
.tomato-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.74); line-height: 1.95; }
.tomato-copy blockquote { margin-top: clamp(3rem, 7vw, 6rem); color: #f4b54a; font-size: clamp(1.7rem, 3vw, 3.2rem); line-height: 1.35; }

.table-story { position: relative; display: grid; grid-template-columns: .25fr .75fr 1.2fr .65fr; grid-template-rows: auto auto; gap: clamp(1.5rem, 3.5vw, 4rem); background: var(--red); color: white; overflow: hidden; }
.table-title { grid-column: 2 / 4; }
.table-title h2 { margin: 1.2rem 0 2.5rem; font-size: clamp(2.5rem, 5.4vw, 5.7rem); line-height: 1.08; }
.dish-main { grid-column: 2 / 4; }
.dish-main img { aspect-ratio: 16/9; object-fit: cover; }
.image-note { margin-top: .8rem; font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.dish-detail { grid-column: 4; align-self: end; margin-bottom: -5rem; }
.dish-detail img { aspect-ratio: 1; object-fit: cover; border: 8px solid var(--cream); }
.table-note { grid-column: 2 / 3; max-width: 420px; line-height: 1.9; color: rgba(255,255,255,.8); padding-top: 1rem; }

.place { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--cream); }
.place-photo img { height: 100%; min-height: 720px; object-fit: cover; }
.place-copy { align-self: center; }
.place-copy h2 { margin: 1.4rem 0 2rem; }
.place-copy > p:not(.eyebrow) { color: #5c5653; line-height: 1.95; max-width: 520px; }
.place-meta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 3rem; }
.place-meta span { border: 1px solid var(--green); border-radius: 2rem; padding: .6rem 1rem; color: var(--green); font-size: .63rem; letter-spacing: .13em; }

.kitchen-section { position: relative; min-height: 72vh; display: grid; place-items: center; overflow: hidden; color: white; }
.kitchen-section > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.kitchen-section::after { content: ""; position: absolute; inset: 0; background: rgba(9,31,22,.55); }
.kitchen-overlay { position: relative; z-index: 1; text-align: center; padding: 2rem; }
.kitchen-overlay h2 { margin-top: 1.5rem; font-size: clamp(2.5rem, 5vw, 5.6rem); line-height: 1.16; }

.closing { text-align: center; background: var(--paper); }
.closing h2 { margin: 1.5rem 0 3rem; }
.closing em { color: var(--red); font-style: normal; }
.text-link { display: inline-flex; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 600; }

.site-footer { padding: 3rem clamp(1.5rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; background: var(--green-dark); color: rgba(255,255,255,.65); font-size: .68rem; letter-spacing: .05em; }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: white; font-size: .85rem; font-weight: 700; letter-spacing: .15em; }
.footer-brand img { width: 188px; height: 112px; object-fit: contain; filter: invert(1); }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.hero-location { margin: -1rem 0 2rem; font-size: 1rem; letter-spacing: .04em; }
.place-copy > p + p { margin-top: 1rem; }

@media (max-width: 900px) {
  .site-header, .site-header.scrolled { height: 88px; }
  .brand img { width: 124px; height: 74px; }
  .brand span { display: none; }
  .channel-links { margin-left: auto; margin-right: 1rem; }
  .menu-toggle { display: grid; gap: 7px; }
  .menu-toggle span:not(.sr-only) { width: 26px; height: 1px; background: currentColor; transition: .25s ease; }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; background: var(--green-dark); font: 600 1.65rem/1.2 "Noto Serif KR", serif; opacity: 0; visibility: hidden; transition: .25s ease; }
  .site-header.menu-open .site-nav { opacity: 1; visibility: visible; }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .hero-side { display: none; }
  .story { grid-template-columns: 1fr; gap: 2rem; }
  .story-body { padding-top: 0; }
  .story .section-index { position: absolute; top: 3rem; }
  .tomato-grid, .place { grid-template-columns: 1fr; }
  .tomato-photo { max-height: 70vh; }
  .tomato-photo img { min-height: 580px; }
  .place-photo img { min-height: 56vh; }
  .table-story { grid-template-columns: 2rem 1fr 1fr; }
  .table-story .section-index { grid-column: 1; }
  .table-title { grid-column: 2 / 4; }
  .dish-main { grid-column: 2 / 4; }
  .dish-detail { grid-column: 3; margin: -4rem 1rem 0 0; }
  .table-note { grid-column: 2 / 4; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 560px) {
  .channel-links { gap: 5px; margin-right: .5rem; }
  .channel-links a { width: 30px; height: 30px; }
  .brand span { display: none; }
  .hero-copy { padding-bottom: 3rem; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .round-link { width: 94px; height: 94px; }
  .stamp { width: 90px; height: 90px; opacity: .45; }
  .table-story { grid-template-columns: 1fr; }
  .table-story .section-index, .table-title, .dish-main, .dish-detail, .table-note { grid-column: 1; }
  .dish-detail { width: 54%; justify-self: end; margin: -4rem 1rem 0 0; }
  .table-note { padding-right: 1.5rem; }
  .tomato-photo img { min-height: 480px; }
}

@media (max-width: 360px) {
  .site-header { padding-left: .75rem; padding-right: .75rem; }
  .channel-links { gap: 4px; }
  .channel-links a { width: 26px; height: 26px; }
  .menu-toggle { padding: .25rem; }
}

@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; }
}
