:root {
  color-scheme: light;
  --wine: #55251f;
  --ink: #34241d;
  --muted: #625047;
  --rule: #ae9079;
  --paper: #f5e9d7;
  --serif: "Noto Serif KR", "Noto Serif CJK KR", Batang, AppleMyungjo, "Nanum Myeongjo", serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 20% 4%, #fff7e9 0%, transparent 60%),
    repeating-linear-gradient(105deg, #6e4c2c06 0 1px, transparent 1px 4px),
    repeating-linear-gradient(10deg, #fff6 0 1px, transparent 1px 5px);
  font: 1rem/1.8 var(--serif);
  overflow-wrap: break-word;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--wine); font-weight: 600; line-height: 1.35; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(71rem, 100% - 3rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1; inset: 0 auto auto 1rem; transform: translateY(-150%); padding: .6rem 1rem; background: var(--paper); }
.skip-link:focus { transform: none; }

.site-header { color: var(--wine); background: #fff4e3; }
.site-footer { color: #fff4e3; background: #62332b; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { width: min(81rem, 100% - 3rem); margin: auto; min-height: 4.5rem; }
.wordmark { display: block; flex: 0 0 auto; width: clamp(4rem, 9vw, 5.5rem); }
.wordmark img { height: auto; }
.site-header .wordmark img { filter: brightness(0) saturate(100%) invert(16%) sepia(24%) saturate(1737%) hue-rotate(324deg) brightness(93%) contrast(92%); }
nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.65rem); }
nav a { font-size: .92rem; text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .3em; }

.hero { display: grid; min-height: clamp(24rem, 46vw, 38rem); position: relative; isolation: isolate; background: #442b1f; }
.hero::before, .hero-image, .hero-heading { grid-area: 1 / 1; }
.hero::before { content: ""; z-index: 1; background: radial-gradient(ellipse at center, #25160ed9, #25160e28 86%); }
.hero-heading { z-index: 2; align-self: center; text-align: center; color: #fff4e3; padding: 2rem 1rem; text-shadow: 0 2px 12px #21120d; }
.since { font: 700 .85rem/1.5 var(--serif); letter-spacing: .28em; }
.hero .since { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.hero .since::before, .hero .since::after { content: ""; width: min(9vw, 5rem); border-top: 1px solid currentColor; }
.hero h1 { color: inherit; font-size: clamp(1.85rem, 5.5vw, 3.65rem); margin-top: .42em; word-break: keep-all; }
.hero-description { margin-top: .65rem; }
.hero-image { position: absolute; inset: 0; height: 100%; object-position: center 55%; }

.story, .menu, .visit { margin-block: clamp(3.65rem, 8vw, 7rem); }
.story-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(.5rem, 5vw, 4.5rem); }
.story-copy { text-align: left; }
.story-copy p { max-width: 38rem; line-height: 1.85; word-break: keep-all; }
.story-copy p + p { margin-top: .7rem; }
.story-copy .story-quote { color: var(--wine); font-weight: 600; margin-block: .7rem .45rem; }
.story-photos { display: grid; width: min(100%, 24rem); justify-self: end; gap: clamp(.35rem, 1.2vw, .85rem); }
.story-photos img {
  height: auto;
  aspect-ratio: 1.45;
  mask-image: linear-gradient(to right, transparent 0%, #000 23%);
}
.story-entrance { object-position: center 61%; }
.story-kitchen { object-position: center 43%; }
.text-link { text-decoration: underline; text-underline-offset: .25em; font-size: .9rem; }

.ruled-heading { display: flex; align-items: center; gap: clamp(.7rem, 3vw, 2rem); text-align: center; margin-bottom: 1.7rem; }
.ruled-heading::before, .ruled-heading::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.menu-table { position: relative; width: min(53rem, 100%); margin-inline: auto; }
.menu-table img { height: auto; }
.menu-table figcaption {
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: clamp(.72rem, 2.65vw, 1.6rem);
  font-weight: 600;
  text-shadow: 0 1px 3px rgb(0 0 0 / 45%);
}
.menu-label { position: absolute; white-space: nowrap; }
.menu-label-gambas { top: 4%; left: 5%; }
.menu-label-lasagna { top: 18%; right: 4%; }
.menu-label-paella { bottom: 5%; left: 6%; }
.branch-list p { color: var(--muted); margin-top: .3rem; }
.menu-action { margin-top: 1.65rem; text-align: center; }
.button { display: inline-block; padding: .6rem 1.2rem; border: 1px solid var(--wine); color: var(--wine); text-decoration: none; }
.button:hover { color: #fff4e3; background: var(--wine); }

.branch-list .text-link { color: var(--wine); }
.footer-inner { min-height: 6rem; flex-wrap: wrap; padding-block: 1rem; }

@media (max-width: 44rem) {
  .wrap, .header-inner { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; gap: .65rem; }
  nav { gap: clamp(.5rem, 3vw, 1rem); }
  nav a { font-size: .875rem; }
  .hero { min-height: clamp(19rem, 76vw, 26rem); }
  .story { margin-top: 2.6rem; }
  .story-intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .story-copy p { word-break: normal; }
  .story-photos img { aspect-ratio: 4 / 5; }
}

@media (max-width: 22rem) {
  .header-inner { width: calc(100% - 1.25rem); }
}

.branch-list { list-style: none; padding: 0; margin: 0 auto; max-width: 53rem; }
.branch-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 4vw, 2.5rem);
  padding-block: clamp(.85rem, 3vw, 1.75rem);
}
.branch-list li + li { border-top: 1px solid var(--rule); }
.branch-list li:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.branch-list li:nth-child(even) img { grid-column: 2; grid-row: 1; }
.branch-list li:nth-child(even) .branch-copy { grid-column: 1; grid-row: 1; }
.branch-list img { display: block; width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; }
.branch-copy::before { content: ""; display: block; width: 1.75rem; border-top: 1px solid var(--wine); margin-bottom: .55rem; }
.branch-copy h3 { color: var(--wine); font-size: clamp(1rem, 3vw, 1.65rem); }
.branch-copy p { font-size: clamp(.75rem, 1.7vw, .95rem); word-break: keep-all; }
.branch-copy .text-link { display: inline-block; margin-top: .55rem; font-size: .85rem; }
