/* Dost Cafe, single page. Brand tokens only: green, red, paper, sand. */

/* Fonts are self-hosted subsets (Latin + Turkish); nothing is loaded from third parties. */
@font-face {
  font-family: Fraunces;
  src: url("assets/font/fraunces-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("assets/font/figtree.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #17352B;
  --red: #C93726;
  --paper: #F6F2EA;
  --sand: #E7DCC8;

  --fs-small: 0.9375rem;
  --fs-body: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
  --fs-lead: clamp(1.375rem, 0.9vw + 1.15rem, 1.625rem);
  --fs-h2: clamp(2.5rem, 4.4vw, 3.5rem);
  --fs-h1: clamp(3.5rem, 8.5vw, 6rem);

  --gap: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font-family: Figtree, system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 0;
}

h1, h2 {
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  font-size: var(--fs-lead);
  line-height: 1.1;
  margin: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: clamp(20px, 3vw, 32px); }

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gap);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.35;
  max-width: 34ch;
}

.skip {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  background: var(--green);
  color: var(--paper);
  padding: 12px 20px;
  text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: var(--paper); }

/* Header */

.topline {
  background: var(--green);
  color: var(--paper);
  font-size: var(--fs-small);
}

.topline-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.topline p { margin: 0; }
.topline a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.topline a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topline :focus-visible { outline-color: var(--paper); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: box-shadow 200ms ease;
}

.topbar.is-stuck { box-shadow: 0 1px 0 rgba(23, 53, 43, 0.14), 0 8px 24px -16px rgba(23, 53, 43, 0.4); }

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}

.brand { display: block; line-height: 0; }
.brand img { width: clamp(120px, 11vw, 140px); height: auto; transition: width 200ms ease; }
.topbar.is-stuck .brand img { width: clamp(100px, 9vw, 116px); }

.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
  margin-right: clamp(4px, 2vw, 24px);
}

.nav a {
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  padding-block: 12px;
  white-space: nowrap;
}

.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.nav a:hover::after,
.nav a[aria-current]::after { transform: scaleX(1); }

.btn-wa { gap: 10px; }
.btn-wa svg { flex: none; }

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px clamp(22px, 2.6vw, 32px);
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-family: inherit;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}

.btn:hover { background: var(--green); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding-inline: 20px; }

.dogum .btn:hover,
.footer .btn:hover { background: var(--paper); color: var(--green); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover { text-decoration-thickness: 3px; }

.dogum :focus-visible,
.footer :focus-visible {
  outline-color: var(--paper);
}

/* Hero */

.hero { padding-block: clamp(24px, 3vw, 48px) var(--section-y); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 { max-width: 11ch; margin-bottom: clamp(20px, 3vw, 30px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(24px, 3.4vw, 36px);
}

.hero-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shared media */

.media-4x5,
.media-3x2,
.media-sq {
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.media-4x5 { aspect-ratio: 4 / 5; }
.media-3x2 { aspect-ratio: 3 / 2; }
.media-sq { aspect-ratio: 1 / 1; }

.media-4x5 img,
.media-3x2 img,
.media-sq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-3x2 img { object-position: 50% 100%; }

/* Split sections */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.bahce { background: var(--sand); padding-block: var(--section-y); }
.bahce .media-4x5 { max-height: 560px; }
.bahce p { max-width: 46ch; }

/* Checker band, only here */

.band {
  height: 40px;
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='%23E7DCC8'/%3E%3Crect width='40' height='40' fill='%2317352B'/%3E%3Crect x='40' y='40' width='40' height='40' fill='%2317352B'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Menu */

.menu-sec { background: var(--paper); padding-block: var(--section-y); }

.menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.menu-head h2 { margin-bottom: 0; font-size: var(--fs-h1); }
.menu-head .lead { margin: 0; }

/* Poster carousel: full-bleed rail that starts on the page margin. */

.rail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.rail-hint { margin: 0; font-size: var(--fs-small); }

.rail-btns { display: flex; gap: 10px; margin-left: auto; }

.rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.rail-btn:hover { background: var(--green); color: var(--paper); }
.rail-btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--green); }

.rail {
  --edge: max(var(--gap), calc((100vw - 1180px) / 2 + var(--gap)));
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  margin: 0;
  padding: 4px var(--edge) 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }

.rail-item {
  flex: 0 0 clamp(230px, 24vw, 300px);
  scroll-snap-align: start;
}

.rail-item a {
  display: block;
  text-decoration: none;
}

.rail-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--green);
  border-radius: 14px;
  transition: transform 220ms ease;
}

.rail-item a:hover img { transform: translateY(-4px); }

.rail-item span {
  display: block;
  margin-top: 12px;
  font-weight: 700;
}

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(28px, 4vw, 44px);
}

.menu-note { margin: 0; max-width: 52ch; }
.menu-foot .actions { margin-top: 0; }

/* Birthday */

.dogum {
  background: var(--green);
  color: var(--paper);
  padding-block: var(--section-y);
}

.dogum-lead { max-width: 44ch; margin-bottom: clamp(28px, 4vw, 44px); }
.dogum .menu-note { color: var(--paper); }

.party-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  margin-bottom: clamp(48px, 7vw, 88px);
}

.party-label { font-weight: 600; margin-bottom: 14px; }

.party-opt {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.party-opt img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0.45;
  outline: 4px solid transparent;
  outline-offset: -4px;
  transition: opacity 180ms ease, outline-color 180ms ease, transform 180ms ease;
}

.party-opt:hover img { opacity: 0.75; }
.party-opt[aria-pressed="true"] img { opacity: 1; outline-color: var(--paper); }
.party-opt:active img { transform: scale(0.98); }

.party-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.party-cap::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.party-opt[aria-pressed="true"] .party-cap::before {
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2317352B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.invite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.invite-card {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 480px;
  background: var(--paper);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55);
}

.invite-card svg { display: block; width: 100%; height: auto; }

.card-num { transform-box: fill-box; transform-origin: 50% 80%; }

.invite-form { display: grid; gap: 18px; }

.field { display: grid; gap: 8px; }

.field label,
.field-label,
.color-field legend {
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0;
}

.field input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--green);
  font-family: inherit;
  font-size: var(--fs-body);
}

.field input::placeholder { color: var(--green); opacity: 0.7; }

.dogum .field input { background: var(--paper); }

.age-row {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 12px;
}

.age-btn {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--green);
  font-family: inherit;
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}

.age-btn:hover { background: var(--sand); }
.age-btn:active { transform: translateY(1px); }

.age-out {
  text-align: center;
  font-weight: 600;
}

.color-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.color-field legend { margin-bottom: 8px; }

.color-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.color-opt { position: relative; display: block; cursor: pointer; }

.color-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--green);
  font-weight: 500;
}

.swatch { width: 18px; height: 18px; flex: none; }
.swatch-red { background: var(--red); }
.swatch-green { background: var(--green); }

.color-opt input:checked + .chip {
  background: var(--sand);
  font-weight: 700;
}

.color-opt input:focus-visible + .chip {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.invite-actions { display: grid; gap: 12px; margin-top: 6px; }

.invite-submit { width: 100%; }

.btn-light { background: var(--paper); color: var(--green); }
.dogum .btn-light:hover { background: var(--sand); color: var(--green); }

.invite-hint { font-size: var(--fs-small); margin: 0; }

.form-status {
  font-size: var(--fs-small);
  min-height: 1.6em;
}

/* Instagram */

.ig { background: var(--paper); padding-block: var(--section-y); }

.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.ig-head h2 { margin-bottom: 0; }

.ig-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 1vw, 12px);
}

.ig-grid a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }

.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }

.ig-grid a:hover img { transform: scale(1.04); }

/* Date picker */

.date-pick { display: grid; gap: 8px; }

.date-btn {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  background: var(--paper);
  color: var(--green);
  font-family: inherit;
  font-size: var(--fs-body);
  text-align: left;
  cursor: pointer;
}

.date-btn:not(.has-value) { color: rgba(23, 53, 43, 0.72); }

.cal {
  background: var(--paper);
  color: var(--green);
  border-radius: 24px;
  padding: clamp(16px, 2vw, 22px);
  width: 100%;
  max-width: 400px;
}

.cal-head { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }

.cal-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  font-size: var(--fs-lead);
  line-height: 1.1;
  margin: 0 auto 0 4px;
}

.cal-nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--red);
  cursor: pointer;
}

.cal-nav:hover:not(:disabled) { background: var(--sand); }
.cal-nav:disabled { color: rgba(23, 53, 43, 0.3); cursor: default; }
.cal-next svg { transform: scaleX(-1); }

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.cal-week { font-size: var(--fs-small); font-weight: 600; margin-bottom: 4px; }

.cal-grid { gap: 2px; }

.cal-day {
  aspect-ratio: 1 / 1;
  min-height: 40px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day.is-today { border-color: var(--red); }
.cal-day.is-sel,
.cal-day.is-sel:hover { background: var(--red); color: var(--paper); border-color: var(--red); }
.cal-day:disabled { color: rgba(23, 53, 43, 0.32); cursor: default; }
.cal-day:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }

.dogum .cal-day:focus-visible { outline-color: var(--green); }

/* Reservation */

.rez { background: var(--sand); padding-block: var(--section-y); }

.rez-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.rez-summary {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  font-size: var(--fs-lead);
  line-height: 1.2;
  color: var(--red);
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 22ch;
}

.rez-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.rez-fields { display: grid; gap: 18px; }
.rez-fields .btn { justify-self: start; margin-top: 6px; }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg .chip { justify-content: center; }

.rez .color-opt input:checked + .chip { background: var(--green); color: var(--paper); font-weight: 700; }
.rez .color-opt input:focus-visible + .chip { outline-color: var(--green); }

/* Location */

.konum { background: var(--paper); padding-block: var(--section-y); }

.map-frame { position: relative; z-index: 0; isolation: isolate; }

.map {
  height: clamp(400px, 46vw, 600px);
  background: var(--sand);
  cursor: pointer;
  font-family: inherit;
}

.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.32) contrast(0.92) brightness(1.04); }
.map.leaflet-container { font-family: Figtree, system-ui, sans-serif; font-size: var(--fs-small); }
.map .leaflet-control-attribution { font-size: 13px; background: rgba(246, 242, 234, 0.92); color: var(--green); }
.map .leaflet-control-attribution a { color: var(--green); }
.map .leaflet-bar a,
.map .leaflet-control-zoom-in,
.map .leaflet-control-zoom-out { color: var(--green); font-family: Figtree, system-ui, sans-serif; font-weight: 600; }

.map-card {
  position: absolute;
  left: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 500;
  max-width: 420px;
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 28px);
}

.pin { position: relative; }

.pin-dot {
  display: block;
  width: 64px;
  height: 64px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  overflow: hidden;
  background: var(--red);
}

.pin-dot img { width: 100%; height: 100%; }

.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 62px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top: 16px solid var(--paper);
}

.pin-label {
  position: absolute;
  left: 70px;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 700;
  white-space: nowrap;
}

.address {
  font-size: var(--fs-lead);
  line-height: 1.35;
  max-width: 26ch;
  margin-bottom: 20px;
}

.visit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0; }

/* Menu page */

.mhero { padding-block: clamp(24px, 3vw, 48px) clamp(48px, 6vw, 80px); }

.mhero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.mhero h1 { margin-bottom: clamp(16px, 2.4vw, 26px); }
.mhero .lead { max-width: 30ch; }

.mhero-poster { margin: 0; justify-self: end; width: min(100%, 460px); }

.dish-img {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--green);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
}

.dish-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 260ms ease;
}

.dish-img:hover img { transform: scale(1.03); }

.cat-nav {
  position: sticky;
  top: var(--bar, 112px);
  z-index: 40;
  background: var(--paper);
  border-block: 1px solid rgba(23, 53, 43, 0.14);
}

.cat-nav-in {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 10px;
}

.cat-nav-in::-webkit-scrollbar { display: none; }

.cat-nav a {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.cat-nav a:hover { background: var(--sand); }
.cat-nav a[aria-current] { background: var(--green); color: var(--paper); }

html:has(.cat-nav) { scroll-padding-top: calc(var(--bar, 112px) + 72px); }

.mcat { padding-block: clamp(48px, 6vw, 88px); }
.mcat:nth-of-type(odd) { background: var(--sand); }

.mcat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.mcat-head h2 { margin: 0; }
.mcat-head p { margin: 0; font-size: var(--fs-lead); line-height: 1.35; }

.dishes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2.4vw, 32px);
}

.dish { margin: 0; }

.dish figcaption { padding-top: 14px; }
.dish h3 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); margin-bottom: 6px; }
.dish figcaption p { font-size: var(--fs-small); line-height: 1.5; margin: 0; }
.dish .dish-note { margin-top: 6px; font-weight: 700; color: var(--red); }

.dish-type {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 14px;
  background: var(--green);
  color: var(--paper);
}

.dish-mark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1;
  opacity: 0.55;
}

.dish-mark i { font-style: normal; color: var(--red); opacity: 1; }

.dish-plain figcaption { padding-top: 0; }
.dish-plain h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; margin-bottom: 12px; }
.dish-plain figcaption p { font-size: var(--fs-body); }
.dish-plain .dish-note { color: var(--paper); background: var(--red); display: inline-block; padding: 4px 12px; border-radius: 999px; margin-top: 14px; font-size: var(--fs-small); }

.drinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: 0;
}

.drinks div { padding-block: 16px; border-top: 1px solid rgba(23, 53, 43, 0.18); }
.drinks dt { font-weight: 700; }
.drinks dd { margin: 0; font-size: var(--fs-small); }

.order {
  background: var(--green);
  color: var(--paper);
  padding-block: var(--section-y);
}

.order-in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.order p { max-width: 44ch; }
.order .actions { margin-top: 0; }
.order .btn:hover { background: var(--red); color: var(--paper); }
.order :focus-visible { outline-color: var(--paper); }

.lb {
  width: min(92vw, 560px);
  max-height: 96vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lb::backdrop { background: rgba(10, 24, 19, 0.88); }

.lb-fig { margin: 0; }

.lb-fig img {
  width: 100%;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 14px;
}

.lb-fig figcaption {
  margin-top: 10px;
  color: var(--paper);
  font-weight: 700;
  text-align: center;
}

.lb-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  cursor: pointer;
}

.lb-btn:hover { background: var(--red); color: var(--paper); }
.lb-btn:focus-visible { outline-color: var(--paper); }
.lb-close { top: -12px; right: -12px; }
.lb-prev, .lb-next { top: calc(50% - 40px); }
.lb-prev { left: -64px; }
.lb-next { right: -64px; }

html.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .mhero-grid { grid-template-columns: 1fr; }
  .mhero-poster { justify-self: start; width: min(100%, 420px); }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; bottom: -60px; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lb-fig img { max-height: 74vh; }
}

@media (max-width: 560px) {
  .dishes { gap: 24px 12px; }
  .dish h3 { font-size: 1.1875rem; }
  .dish-plain h3 { font-size: 1.5rem; }
  .dish-plain figcaption p { font-size: var(--fs-small); }
  .dish-type { padding: 14px; }
  .drinks { grid-template-columns: 1fr; }
  .order .actions { width: 100%; }
  .order .btn { width: 100%; }
}

/* Footer */

.footer {
  background: var(--green);
  color: var(--paper);
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  align-items: start;
}

.footer-logo { width: clamp(140px, 16vw, 180px); height: auto; }
.footer .address { font-size: var(--fs-body); max-width: 32ch; margin-bottom: 12px; }

.footer-note { margin-top: clamp(24px, 4vw, 40px); }

.footer-note p {
  font-size: var(--fs-small);
  max-width: 62ch;
}

/* Reveal, only with JS */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--d, 0ms);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Invitation number pop */

@keyframes pop {
  0% { transform: scale(0.72); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.card-num.pop { animation: pop 320ms ease-out; }

/* Responsive */

@media (max-width: 900px) {
  .topbar-in { gap: 4px 16px; flex-wrap: wrap; }
  .nav {
    order: 3;
    flex-basis: 100%;
    min-width: 0;
    margin: 0;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: var(--fs-small); padding-block: 8px; }
  .topbar-in .btn { margin-left: auto; }
  .hero-grid,
  .split,
  .invite,
  .rez-grid {
    grid-template-columns: 1fr;
  }
  .rail-hint { display: none; }
  .hero-media { aspect-ratio: 4 / 5; max-height: 560px; }
  .bahce .media-4x5 { max-height: 520px; }
  .invite-card { max-width: 420px; }
  html { scroll-padding-top: 132px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .rez-form { grid-template-columns: 1fr; }
  .cal { max-width: none; }
  .map { height: 420px; }
  .map-card { position: static; max-width: none; padding: 20px 0 0; }
}

@media (max-width: 560px) {
  .menu-head h2 { font-size: var(--fs-h2); }
  .rail-item { flex-basis: 72vw; }
  .menu-foot .actions { width: 100%; }
  .menu-foot .btn { width: 100%; }
  .brand img { width: 108px; }
  .topbar-in .btn { padding-inline: 16px; }
  .hero-copy h1 { max-width: 9ch; }
  .party-strip { gap: 8px; }
  .party-cap { font-size: var(--fs-small); gap: 6px; }
  .party-cap { font-size: 0.8125rem; justify-content: center; }
  .party-cap::before { display: none; }
}

@media (max-width: 400px) {
  .brand img { width: 100px; }
  .topbar-in .btn { padding-inline: 14px; }
  .chip { padding: 0 10px; gap: 8px; }
  .swatch { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .age-btn,
  .text-link { transition: none; }
  .ig-grid img,
  .cal-day { transition: none; }
  .card-num.pop { animation: none; }
  .party-opt img,
  .nav a::after,
  .brand img { transition: none; }
}
