@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-3-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
* { box-sizing: border-box; }
:root {
  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --green: #102911;
  --gold: #aa711e;
  --cream: #fbe9c9;
  --light: #fff2d8;
}
:root {
  --site-ink: var(--green);
  --site-page: var(--cream);
  --site-line: var(--gold);
  --site-header: radial-gradient(ellipse at 25% 30%, #fff0d0, #f8dfb4);
  --site-nav: var(--cream);
  --site-hero: radial-gradient(ellipse at 25% 40%, #fff0d0, #f6dfb8);
  --site-about: radial-gradient(ellipse at top, #18391b, #0b210e);
  --site-about-ink: var(--light);
  --site-button: var(--green);
  --site-button-ink: var(--light);
  --site-button-hover: #244326;
  --site-card: #fff5e2;
  --site-card-label: #fff2d8;
  --site-note: #fff3dc;
  --site-note-ink: var(--green);
  --site-field: #fff9eb;
  --site-field-ink: var(--green);
  --site-footer: var(--green);
  --header-wash: #fbe9c9;
  --menu-cover-background: var(--site-hero);
  --menu-cover-ink: var(--site-ink);
  --menu-cover-transition: linear-gradient(to right, transparent, #000 44%);
  --hero-photo-width: 56%;
  --hero-mask: linear-gradient(to right, transparent, #000 5%);
}
[data-theme="dark"] {
  --site-ink: #fff2d8;
  --site-page: #112414;
  --site-line: #d5a453;
  --dark-header-green: #0b1b06;
  --dark-hero-green: #071102;
  --header-wash: var(--dark-header-green);
  --site-header: radial-gradient(ellipse at 22% 28%, #10220a, var(--dark-header-green) 74%);
  --site-nav: var(--dark-header-green);
  --site-hero: var(--dark-hero-green);
  --site-about: radial-gradient(ellipse at 42% 25%, #fff1d5, #f1d9ad);
  --site-about-ink: #142713;
  --site-button: #f7e1b8;
  --site-button-ink: #122514;
  --site-button-hover: #fff0d3;
  --site-card: #1d3620;
  --site-card-label: #1a301b;
  --site-note: #254127;
  --site-note-ink: #fff2d8;
  --site-footer: #0d1f0f;
  --hero-photo-width: 66%;
  --hero-mask: linear-gradient(to right, transparent 5%, #0002 11%, #0008 17%, #000e 23%, #000 28%);
}

body {
  margin: 0;
  color: var(--site-ink);
  background: var(--site-page);
  font-family: var(--font-body);
  font-weight: 400;
}
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { font-family: var(--font-heading); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--site-line); outline-offset: 5px; }
.header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 5.7%;
  background: var(--site-header);
  border-bottom: 4px double var(--site-line);
}
.brand { display: block; flex: 0 0 auto; width: clamp(165px, 19vw, 250px); aspect-ratio: 1752 / 897; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
nav { display: flex; gap: clamp(24px, 4vw, 64px); }
nav a {
  padding: 12px 4px 10px;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}
nav a:hover, nav a[aria-current="page"] { border-color: var(--site-line); }
.toggle { display: none; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(440px, 41vw, 620px);
  background: var(--site-hero);
}
.intro {
  width: min(46%, 640px);
  padding: 38px 2% 50px 6%;
}
h1, h2, p { margin: 0; }
h1, h2 { font-style: italic; }
h1 { font-size: clamp(58px, 7.4vw, 118px); line-height: .91; letter-spacing: -.035em; }
.divider, .about-heading { display: flex; align-items: center; gap: 12px; }
.divider { margin: 13px 0; max-width: 475px; }
.divider::before, .divider::after, .about-heading::before, .about-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  color: var(--site-line);
}
.intro p { font-style: normal; font-size: clamp(24px, 2.75vw, 42px); line-height: 1.25; max-width: 510px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  margin-top: 30px;
  min-height: 55px;
  padding: 9px 40px;
  border: 2px solid #be861f;
  border-radius: 13px;
  background: var(--site-button);
  color: var(--site-button-ink);
  font-size: clamp(22px, 2.15vw, 32px);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
}
.cta:hover { background: var(--site-button-hover); }
.food {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: var(--hero-photo-width);
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  mask-image: var(--hero-mask);
}
.about {
  padding: 23px 6% 42px;
  border-top: 4px double #d5a453;
  background: var(--site-about);
  color: var(--site-about-ink);
  text-align: center;
}
.about-heading { justify-content: center; gap: clamp(10px, 2vw, 24px); }
.about-heading h2 { font-size: clamp(36px, 4.25vw, 62px); }
.about p { max-width: 720px; margin: 16px auto 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.65; font-weight: 400; }
.placeholder { padding: 50px 6%; }
.placeholder p { margin-top: 20px; font-size: 20px; }
@media (max-width: 700px) {
  .header { padding: 0 6%; }
  .brand { width: clamp(148px, 46vw, 208px); }
  .toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .toggle span {
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    box-shadow: 0 -9px currentColor, 0 9px currentColor;
  }
  nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 8px 6% 14px;
    background: var(--site-nav);
    border-bottom: 2px solid var(--site-line);
  }
  .toggle[aria-expanded="true"] + nav { display: grid; gap: 0; }
  .hero { display: block; min-height: 0; }
  .intro { width: auto; padding: 20px 7% 19px; text-align: center; }
  h1 { font-size: clamp(44px, 13vw, 72px); }
  .divider { margin: 10px auto; max-width: 300px; }
  .intro p { margin: auto; max-width: 300px; font-size: clamp(21px, 6vw, 30px); }
  .cta { width: min(100%, 278px); margin-top: 17px; min-height: 45px; }
  .food {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1.49;
    object-position: center bottom;
    mask-image: none;
    border-radius: 13px 13px 0 0;
  }
  .about { padding: 12px 6% 24px; }
  .about-heading::before, .about-heading::after { display: none; }
  .about-heading h2 { font-size: clamp(30px, 9vw, 46px); }
  .about p { margin-top: 10px; font-size: 17px; line-height: 1.4; }
}


.twig { display: block; flex: none; width: clamp(48px, 5.3vw, 76px); height: auto; }
.divider .twig, .about-heading .twig:first-child { transform: scaleX(-1); }

.inner { width: 100%; max-width: 1160px; margin-inline: auto; padding: clamp(35px, 5vw, 74px) clamp(20px, 6vw, 80px) 65px; }
.inner h1 { font-size: clamp(48px, 6.5vw, 88px); line-height: 1; }
.page-intro { margin-top: 16px; font-size: clamp(20px, 2.2vw, 28px); }
.notice { margin-top: 22px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--site-note); color: var(--site-note-ink); line-height: 1.4; }
.inquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.contact { max-width: 880px; }
.inquiry { margin-top: 24px; }
.inquiry .wide { grid-column: 1 / -1; }
.inquiry label { display: grid; align-content: start; gap: 7px; font-size: 19px; }
.inquiry :is(input, select, textarea) {
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #a47b40;
  border-radius: 6px;
  background: var(--site-field);
  color: var(--site-field-ink);
  font: inherit;
}
.inquiry textarea { resize: vertical; }
.inquiry .cta { width: auto; margin-top: 0; font: inherit; font-size: 21px; cursor: pointer; }
#form-status:not(:empty) { margin-top: 14px; line-height: 1.4; }
@media (max-width: 700px) {
  .inquiry { grid-template-columns: minmax(0, 1fr); }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 6%;
  border-top: 4px double var(--site-line);
  background: var(--site-footer);
  color: var(--light);
}
.site-footer span { color: #e3b056; padding-inline: .35em; }
.site-footer a { text-underline-offset: .2em; }

.page-divider { max-width: 320px; }
.contact .inquiry .notice { margin-top: 0; }
body:has(> .site-footer) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.site-footer { margin-top: auto; }
@media (max-width: 700px) {
  .page-divider { margin-inline: 0; }
}

[hidden] { display: none !important; }
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
  margin-top: 28px;
}
.gallery-status:not(:empty) { padding: 20px 0; font-size: 20px; }
.album-card {
  display: grid;
  align-content: start;
  gap: 9px;
  max-width: 470px;
  min-width: 0;
  border: 1px solid #c89a58;
  background: var(--site-card);
  padding: 12px 12px 17px;
  text-align: left;
  color: var(--site-ink);
  font: inherit;
  cursor: pointer;
}
.album-card img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.album-card strong { font-size: 25px; overflow-wrap: anywhere; }
.album-card:hover { border-color: var(--site-ink); }
.album-viewer {
  width: min(850px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: clamp(14px, 3vw, 30px);
  color: var(--green);
  background: #fff1d4;
  border: 4px double var(--gold);
}
.album-viewer::backdrop { background: #101d13bc; }
.viewer-header, .viewer-controls, .admin-toolbar, .admin-actions, .photo-order {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.viewer-header, .admin-toolbar { justify-content: space-between; }
.viewer-header h2 { font-size: clamp(25px, 4vw, 40px); overflow-wrap: anywhere; }
.album-viewer figure { margin: 15px 0 10px; }
.album-viewer img { display: block; width: 100%; height: min(56dvh, 550px); object-fit: contain; background: #163119; touch-action: pan-y; }
.album-viewer figcaption { padding-top: 8px; text-align: center; overflow-wrap: anywhere; }
.viewer-controls { justify-content: center; }
.album-viewer button, .admin-page button:not(.cta) {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: #fff8e8;
  color: var(--green);
  font: inherit;
  cursor: pointer;
}
.viewer-controls button { min-width: 44px; font-size: 24px; }
.admin-page button:disabled { opacity: .5; cursor: default; }
.admin-page fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.admin-form { display: grid; gap: 12px; align-items: end; margin: 16px 0; }
.admin-form label { display: grid; gap: 6px; min-width: 0; }
.admin-form input:not([type="radio"]) {
  width: 100%;
  min-width: 0;
  padding: 10px;
  min-height: 44px;
  background: #fff9eb;
  border: 1px solid #a47b40;
  border-radius: 6px;
  color: var(--green);
  font: inherit;
}
.admin-form .cta { width: fit-content; max-width: 100%; margin: 0; min-height: 44px; padding: 8px 17px; font: inherit; cursor: pointer; }
#admin-status:not(:empty) { margin: 18px 0; }
.admin-albums { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-albums button { overflow-wrap: anywhere; }
.admin-albums button[aria-pressed="true"] { background: var(--green); color: var(--light); }
.album-editor { border-top: 1px solid var(--gold); padding-top: 16px; }
.admin-photos { display: grid; gap: 10px; }
.admin-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 12px; padding: 10px; background: #fff5e2; border: 1px solid #c89a58; }
.admin-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-fields { display: grid; gap: 6px; min-width: 0; }
.admin-form .cover-choice { display: flex; align-items: center; min-height: 30px; }
@media (min-width: 701px) {
  #admin-login { grid-template-columns: minmax(0, 460px) auto; justify-content: start; }
}


.panel-toolbar { margin: 20px 0; padding-bottom: 12px; border-bottom: 1px solid var(--gold); }
.admin-sections { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-sections button[aria-pressed="true"] { background: var(--green); color: var(--light); }
#admin-dishes { margin: 14px 0; }
.admin-form :is(select, textarea) {
  width: 100%;
  padding: 10px;
  min-height: 44px;
  background: #fff9eb;
  border: 1px solid #a47b40;
  border-radius: 6px;
  color: var(--green);
  font: inherit;
}
.admin-form textarea { resize: vertical; }

.album-card {
  padding: 0;
  gap: 0;
  grid-template-rows: auto 1fr;
}
.album-card-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 9px 12px 11px;
  border-top: 1px solid #c89a58;
  background: var(--site-card-label);
}
.album-card-info > span { white-space: nowrap; }
.album-card strong { font-size: clamp(19px, 2vw, 23px); }

body:has(.public-viewer[open]) { overflow: hidden; }
.public-viewer {
  --viewer-edge: clamp(12px, 2.6vw, 40px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--viewer-edge);
  border: 0;
  background: #141311;
  color: #fff4df;
}
.public-viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.public-viewer::backdrop { background: #141311; }
.public-viewer .viewer-header { flex-wrap: nowrap; }
.public-viewer .viewer-header h2 { min-width: 0; font-size: clamp(20px, 2.2vw, 30px); }
.public-viewer button {
  background: #252321;
  color: inherit;
  border: 1px solid #877455;
  flex: none;
}
.public-viewer button:hover { background: #3c352b; }
.public-viewer figure {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  margin: 0;
}
.viewer-stage {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  flex: 1;
  min-height: 0;
  gap: clamp(10px, 2vw, 28px);
}
.viewer-photo { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); height: 100%; min-height: 0; grid-column: 2; }
.public-viewer img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: transparent;
}
.public-viewer [data-step] { font-size: 30px; line-height: 1; padding: 0; }
.public-viewer [data-step="1"] { grid-column: 3; }
.public-viewer figcaption { max-height: 18dvh; overflow: auto; }
.public-viewer figcaption:empty { display: none; }
.public-viewer .photo-count { text-align: center; color: #e5d4b7; }
@media (max-width: 700px) {
  .viewer-stage { grid-template-columns: minmax(0, 1fr); }
  .viewer-photo { grid-column: 1; }
  .public-viewer [data-step] { position: absolute; z-index: 1; width: 44px; background: #252321eb; }
  .public-viewer [data-step="-1"] { left: 0; }
  .public-viewer [data-step="1"] { right: 0; grid-column: auto; }
}

.admin-shell { background: #f9ecd4; }
.admin-header {
  display: flex;
  align-items: center;
  gap: 8px clamp(14px, 3vw, 45px);
  padding: 7px max(4%, calc((100% - 1180px) / 2));
  border-bottom: 1px solid #c59b5e;
  background: #fff3db;
  font-family: var(--font-body);
}
.admin-brand { flex: none; width: clamp(102px, 12vw, 156px); }
.admin-brand img { display: block; width: 100%; height: auto; }
.admin-header-links { display: flex; align-items: center; gap: 6px 18px; margin-left: auto; }
.admin-header-links a { padding: 10px 0; text-underline-offset: 3px; }
.admin-header button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 7px 13px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.admin-header button:hover { border-color: #a98048; }
.admin-header .admin-sections button[aria-pressed="true"] { background: var(--green); color: #fff4da; }
.admin-shell .admin-page {
  width: min(100%, 1240px);
  padding: clamp(20px, 3vw, 45px) clamp(14px, 4vw, 46px) 60px;
  font-family: var(--font-body);
}
.admin-page :is(h1, h2, h3) { font-family: var(--font-heading); }
.admin-page h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; overflow-wrap: anywhere; }
.admin-page h2 { font-size: clamp(23px, 3vw, 32px); }
.admin-title { gap: 12px; margin-bottom: 16px; }
.admin-title .cta { margin: 0; width: auto; min-height: 44px; padding: 8px 16px; font: inherit; cursor: pointer; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.admin-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #cfae7d;
  border-radius: 8px;
  overflow: hidden;
  background: #fff6e5;
}
.admin-card-image { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-bottom: 1px solid #cfae7d; }
.admin-card-body { display: grid; align-content: start; justify-items: start; gap: 9px; padding: 14px; flex: 1; }
.admin-card-body h3 { margin: 0; overflow-wrap: anywhere; font-size: clamp(20px, 2vw, 26px); }
.admin-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
.admin-badge { display: inline-block; padding: 3px 8px; border-radius: 20px; background: #efdfbf; color: #4e3617; font: 600 13px/1.35 var(--font-body); }
.admin-badge.is-positive { background: #deebd9; color: #213e26; }
.admin-editor { max-width: 820px; align-items: start; gap: 15px; margin-top: 0; }
.admin-page .admin-back { justify-self: start; border-color: transparent; padding-left: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.admin-editor .admin-title { margin: 0; }
.album-actions { padding: 10px 0 12px; border-bottom: 1px solid #cfae7d; }
#admin-status:not(:empty) {
  position: sticky;
  top: 8px;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 9px 13px;
  border: 1px solid #b48e52;
  border-radius: 6px;
  background: #fff7e4;
}
.admin-image-section { display: grid; gap: 10px; min-width: 0; }
#admin-photo-count { font: 600 15px var(--font-body); color: #664c24; margin-left: 5px; }
.admin-photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 105px), 1fr)); gap: 9px; }
.admin-page .admin-thumb {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
}
.admin-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-page .admin-thumb[aria-pressed="true"] { outline: 3px solid var(--green); outline-offset: 0; }
.admin-thumb span { position: absolute; bottom: 4px; left: 4px; padding: 3px 6px; border-radius: 3px; background: var(--green); color: var(--light); font-size: 12px; }
.admin-image-section .photo-fields { padding: 12px; border: 1px solid #cfae7d; border-radius: 6px; background: #fff6e5; gap: 8px; }
.photo-fields h3 { margin: 0; font-size: 21px; }
.admin-menu-group { margin-bottom: 22px; }
.admin-menu-group h2 { margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #cfae7d; }
.admin-shell .cover-choice { gap: 8px; justify-content: flex-start; }
.admin-shell input[type="checkbox"] { margin: 0; width: 17px; height: 17px; accent-color: var(--green); }
@media (max-width: 600px) {
  .admin-header { flex-wrap: wrap; padding: 6px 14px 9px; font-size: 13px; }
  .admin-header-links { gap: 5px 9px; }
  .admin-header button { padding-inline: 8px; }
  .admin-header .admin-sections { order: 1; flex-basis: 100%; gap: 6px; }
  .admin-header .admin-sections button { min-height: 38px; padding-inline: 14px; }
  .admin-page .album-actions { gap: 6px; }
  .admin-page .album-actions button { padding-inline: 8px; font-size: 13px; }
  .admin-card.with-image { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .admin-card-image { height: 100%; aspect-ratio: auto; min-height: 124px; border-bottom: 0; border-right: 1px solid #cfae7d; }
  .admin-card-body { padding: 10px; gap: 6px; }
  .admin-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.album-title-line { justify-content: flex-start; align-items: baseline; gap: 6px 10px; }
.admin-upload { display: grid; justify-items: start; gap: 6px; }
#upload-status:not(:empty) { padding: 6px 0; }

#hero-title { white-space: pre-line; overflow-wrap: anywhere; }
.intro p, [data-about-text], [data-footer-text], .site-contact-links span { white-space: pre-line; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0 12px; }
.hero-actions #home-video { font-family: inherit; cursor: pointer; }
.about-photo { display: block; max-width: min(100%, 800px); max-height: 520px; border-radius: 12px; margin: 24px auto 0; }
#video-dialog video { width: 100%; max-height: 70dvh; display: block; margin-top: 16px; background: #161411; }
.site-preview-status { padding: 9px 6%; border-bottom: 1px solid var(--gold); background: #fff6de; }
.site-footer-content { min-width: 0; }
.site-footer [data-footer-name] { font-weight: 400; }
.site-footer [data-footer-text] { color: inherit; padding: 0; }
.site-footer [data-footer-text]:not(:empty)::before { content: ' · '; color: #e3b056; }
.site-contact-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; overflow-wrap: anywhere; }
.site-footer .site-contact-links span { padding: 0; color: inherit; }
.contact-details { border-top: 1px solid var(--gold); margin-top: 26px; padding-top: 14px; }
.site-editor { max-width: 820px; align-items: start; margin-top: 0; }
.site-editor label small { font-size: 13px; }
.site-publish-actions { padding-top: 2px; }
.site-publish-actions a { font-size: 14px; text-underline-offset: 3px; padding: 10px 2px; }
.site-image-control { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; min-width: 0; }
.site-image-control img { width: 138px; max-height: 106px; object-fit: contain; border: 1px solid #cfae7d; border-radius: 6px; }
.site-image-control .admin-upload { min-width: 0; }
@media (max-width: 700px) {
  .hero-actions { justify-content: center; }
}

#photo-order-help, #photo-order-status { font-size: 14px; line-height: 1.45; }
#photo-order-status:empty { display: none; }
.photo-order-touch { display: none; }
.admin-page .admin-thumb {
  cursor: grab;
  user-select: none;
  -webkit-touch-callout: none;
}
.admin-thumb img { pointer-events: none; }
.admin-page .admin-thumb.is-drag-placeholder {
  opacity: .36;
  outline: 2px dashed var(--gold);
  outline-offset: -2px;
}
.admin-photos.is-reordering .admin-thumb { cursor: grabbing; }
.admin-drag-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  display: block;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: var(--cream);
  color: var(--site-ink);
  box-shadow: 0 8px 23px #1729176b;
}
.admin-drag-ghost img { display: block; height: 100%; width: 100%; object-fit: cover; }
.admin-drag-ghost span { position: absolute; bottom: 4px; left: 4px; padding: 3px 6px; border-radius: 3px; background: var(--green); color: var(--light); font-size: 12px; }
@media (pointer: coarse) {
  .photo-order-desktop { display: none; }
  .photo-order-touch { display: inline; }
}

.logo-library { display: grid; gap: 12px; min-width: 0; }
.logo-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  padding: 4px 4px 12px;
  scrollbar-width: auto;
  scrollbar-color: #96703d #eee0c5;
}
.logo-card { position: relative; flex: 0 0 clamp(178px, 43vw, 232px); min-width: 0; }
.admin-page .logo-option {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 132px;
  place-items: center;
  padding: 14px;
  border: 2px solid #c6a976;
  background: #fff8e8;
}
.admin-page .logo-option[aria-pressed="true"] { border-color: var(--green); }
.logo-option img { width: 100%; height: 106px; object-fit: contain; }
.logo-check {
  position: absolute;
  top: 7px;
  left: 7px;
  display: none;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--green);
  color: var(--light);
}
.logo-option[aria-pressed="true"] .logo-check { display: grid; }
.logo-menu { position: absolute; top: 6px; right: 6px; z-index: 1; }
.logo-menu summary {
  display: grid;
  margin-left: auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #cfb689;
  border-radius: 5px;
  background: #fff8e8;
  list-style: none;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.logo-menu summary::-webkit-details-marker { display: none; }
.admin-page .logo-menu button {
  position: absolute;
  top: 39px;
  right: 0;
  white-space: nowrap;
  box-shadow: 0 3px 9px #2e271f30;
}
.logo-help, #logo-feedback { font-size: 14px; }
#logo-feedback:empty, #delete-logo-feedback:empty { display: none; }
.logo-confirm {
  width: min(430px, calc(100% - 28px));
  padding: 20px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: #fff3db;
  color: var(--green);
}
.logo-confirm::backdrop { background: #17140fa8; }
.logo-confirm img {
  display: block;
  width: 100%;
  height: min(30vh, 170px);
  object-fit: contain;
  margin: 14px 0;
  background: #fff8e8;
}
.logo-confirm p { margin-bottom: 12px; }
.admin-page .logo-confirm .admin-actions { justify-content: flex-end; }
.admin-page #confirm-logo-delete { border-color: #a26154; color: #7c2920; }


.menu-page { background: radial-gradient(ellipse at 45% 26%, #fff5e3, #faecd4 72%); color: var(--green); }
.menu-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(280px, 22vw, 340px);
  background: var(--menu-cover-background);
  color: var(--menu-cover-ink);
  overflow: hidden;
}
.menu-cover-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  /* The transparent edge reveals the same theme background as the title. */
  mask-image: var(--menu-cover-transition);
}
.menu-cover-copy {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 28px 53% 28px 6%;
}
.menu-cover h1 { font-size: clamp(64px, 8vw, 120px); line-height: 1; font-weight: 400; overflow-wrap: normal; word-break: normal; hyphens: none; }
.menu-cover .divider { max-width: 420px; margin: clamp(12px, 1.6vw, 23px) 0 0; }
.menu-cover .divider::before, .menu-cover .divider::after { color: var(--site-line); }
.menu-cover p { margin-top: 10px; max-width: 420px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.25; overflow-wrap: anywhere; }
.menu-content { width: min(89%, 1280px); margin: 0 auto; padding-bottom: clamp(25px, 4vw, 52px); }
.menu-category-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  flex-wrap: wrap;
  padding-block: 7px;
  border-bottom: 1px solid #bd9149;
}
#menu-category-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
#menu-category-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  min-height: 44px;
  font-size: clamp(16px, 1.9vw, 24px);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
#menu-category-links a + a::before { content: ''; position: absolute; left: -8px; height: 50%; border-left: 1px solid #a77528; }
#menu-category-links a:hover, #menu-category-links a[aria-current] { border-color: #a77528; }
#menu-category-links a[aria-current] { font-style: italic; font-weight: 700; }
#menu-examples { font-size: clamp(13px, 1.25vw, 16px); font-style: italic; max-width: 370px; }
.menu-section { scroll-margin-top: 12px; margin-top: clamp(20px, 3vw, 38px); }
.menu-section h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(29px, 3.6vw, 46px); margin-bottom: 12px; }
.menu-section h2::after { content: ''; flex: 1; border-bottom: 1px solid #aa711e; transform: translateY(3px); }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(22px, 3vw, 42px); }
.dish { min-width: 0; }
.dish-photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 55%; border-radius: 3px; background: #ead8b8; }
.dish-details { padding: 6px 4px 0; overflow-wrap: anywhere; }
.dish h3 { margin: 0; font-style: normal; font-weight: 400; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; }
.dish p { margin-top: 7px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; font-weight: 400; }
.dish-inquiry { display: inline-flex; align-items: center; margin-top: 6px; padding: 10px 8px 10px 0; min-height: 48px; font-size: 18px; font-weight: 400; font-style: normal; text-decoration: none; }
.dish-inquiry > span { padding-bottom: 3px; border-bottom: 1px solid var(--gold); }
.dish-inquiry:hover > span { border-bottom-color: var(--green); }
.menu-cover-editor { border: 1px solid #cfae7d; border-radius: 8px; padding: 12px; background: #fff6e5; margin-bottom: 20px; }
.menu-cover-editor summary { cursor: pointer; font-weight: 600; }
.menu-cover-editor form { margin: 15px 0 0; }
@media (max-width: 700px) {
  .menu-cover { min-height: 0; --menu-cover-transition: linear-gradient(to right, transparent, #000 52%); }
  .menu-cover-copy { padding: 22px 43% 22px 6%; }
  .menu-cover h1 { font-size: clamp(42px, 13vw, 66px); }
  .menu-cover-photo { width: 71%; object-position: 62% center; }
  .menu-cover .divider { gap: 6px; margin-top: 9px; }
  .menu-cover .twig { width: 37px; }
  .menu-cover p { font-size: 14px; }
  .menu-category-bar { row-gap: 2px; }
  #menu-category-links { gap: 0 11px; }
  #menu-category-links a { padding-inline: 7px; }
  #menu-category-links a + a::before { left: -6px; }
  .dish-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .dish-photo { aspect-ratio: 3 / 2; }
  .dish-inquiry { padding-right: 16px; }
}

html[data-theme="dark"] #home-video { background: transparent; border-color: var(--site-ink); color: var(--site-ink); }
html[data-theme="dark"] #home-video:hover { background: #254127; }
html[data-theme="dark"] .site-preview-status { color: var(--green); }

.theme-settings { display: grid; justify-items: start; gap: 12px; padding: 16px 0; border-block: 1px solid #cfae7d; }
.theme-options { display: grid; width: min(100%, 560px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-page .theme-option {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 2px solid #c6a976;
  padding: 0;
  text-align: left;
  background: #fff8e8;
}
.admin-page .theme-option[aria-pressed="true"] { border-color: var(--green); }
.theme-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 8px;
  font-size: clamp(13px, 2.3vw, 16px);
  font-weight: 600;
}
.theme-check { color: var(--green); visibility: hidden; }
.theme-option[aria-pressed="true"] .theme-check { visibility: visible; }
.theme-preview { display: block; font-family: var(--font-body); color: var(--preview-site-ink); }
.theme-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 3px 7px;
  min-height: 33px;
  border-bottom: 1px solid var(--preview-site-line);
  background: var(--preview-site-header);
  font-size: 8px;
}
.theme-preview-logo { width: 31%; height: 26px; object-fit: contain; }
.theme-preview-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(60px, 12vw, 99px);
  padding: 6px 5%;
  background: var(--preview-site-hero);
}
.theme-preview-food {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: var(--preview-hero-photo-width);
  height: 100%;
  object-fit: cover;
  mask-image: var(--preview-hero-mask);
}
.theme-preview-copy { display: grid; gap: 5px; width: 55%; }
.theme-preview-headline { white-space: pre-line; overflow-wrap: anywhere; font-style: italic; font-weight: 700; font-size: clamp(12px, 2.5vw, 21px); line-height: 1; }
.theme-preview-cta {
  justify-self: start;
  padding: 2px 4px;
  border: 1px solid var(--preview-site-line);
  border-radius: 3px;
  background: var(--preview-site-button);
  color: var(--preview-site-button-ink);
  font-size: 8px;
}
.theme-preview-about { display: block; padding: 5px; text-align: center; border-top: 1px solid var(--preview-site-line); background: var(--preview-site-about); color: var(--preview-site-about-ink); font-family: var(--font-heading); font-style: italic; font-size: 11px; }
#theme-feedback:empty { display: none; }

.hero-media { display: contents; }


.home-page .intro h1 { font-size: clamp(61px, 6.55vw, 100px); }
.home-page .intro p { font-size: clamp(24px, 2.56vw, 37px); }
.home-page .intro .divider { margin-block: 19px 15px; }
.hero-actions > a {
  border: 4px double #b67f2b;
  font-size: clamp(21px, 1.85vw, 29px);
  font-weight: 700;
  padding-inline: clamp(22px, 3vw, 45px);
}
.hero-actions #home-video {
  min-height: 52px;
  font-size: clamp(20px, 1.65vw, 25px);
  padding-inline: 18px;
}
@media (min-width: 701px) {
  .hero-media {
    position: absolute;
    display: block;
    z-index: -1;
    inset: 0;
    overflow: hidden;
  }
  .hero-media .food {
    position: absolute;
    inset: 0;
    z-index: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    mask-image: none;
  }
  .home-page .intro {
    width: min(46%, 680px);
    padding: clamp(30px, 3vw, 44px) 2% clamp(30px, 3vw, 44px) 6%;
  }
  .hero-actions .cta { margin-top: 26px; }
}
@media (max-width: 700px) {
  .home-page .intro { padding: 20px 7% 17px; }
  .home-page .intro h1 { font-size: clamp(42px, 12.7vw, 64px); }
  .home-page .intro p { font-size: clamp(21px, 6vw, 27px); }
  .home-page .intro .divider { margin-block: 10px 8px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 8px; margin-top: 15px; }
  .hero-actions .cta { margin: 0; min-height: 44px; }
  .home-page .food { aspect-ratio: 1.53; object-fit: cover; object-position: right center; }
}

.header-texture, .theme-preview-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
html[data-theme="dark"] .header,
.theme-preview-header { position: relative; isolation: isolate; }
.theme-preview .theme-preview-food {
  width: 100%;
  mask-image: none;
  object-position: right center;
}
.theme-texture-editor { display: grid; gap: 10px; width: min(100%, 560px); min-width: 0; }
.theme-texture-editor h3 { margin: 0; font-size: 22px; }
#theme-texture-preview { display: block; width: 100%; height: 60px; object-fit: cover; border-radius: 5px; }
#theme-texture-feedback:empty { display: none; }

.admin-header { position: relative; isolation: isolate; }

html[data-theme="dark"] .admin-shell {
  --admin-surface: #1a321c;
  --admin-field: #203d23;
  --admin-border: #ad8a52;
  background: #102413;
  color: #fff2d8;
  color-scheme: dark;
}
html[data-theme="dark"] .admin-header { background: var(--site-header); border-color: var(--site-line); }
html[data-theme="dark"] .admin-header .admin-sections button[aria-pressed="true"] { background: #f7e1b8; color: #122514; box-shadow: inset 0 -3px #b48a44; }
html[data-theme="dark"] .admin-page :is(.admin-card, .photo-fields, .menu-cover-editor, .logo-option, .logo-menu summary, .logo-confirm) { background: var(--admin-surface); color: #fff2d8; border-color: var(--admin-border); }
html[data-theme="dark"] .admin-page :is(.admin-form input:not([type="checkbox"]):not([type="radio"]), .admin-form select, .admin-form textarea) { background: var(--admin-field); color: #fff2d8; border-color: var(--admin-border); }
html[data-theme="dark"] .admin-page input::placeholder, html[data-theme="dark"] .admin-page textarea::placeholder { color: #d7ccb5; opacity: 1; }
html[data-theme="dark"] .admin-page button:not(.cta) { background: #234426; color: #fff2d8; border-color: var(--admin-border); }
html[data-theme="dark"] .admin-page button:not(.cta):hover { background: #315734; }
html[data-theme="dark"] .admin-page .admin-back { background: transparent; }
html[data-theme="dark"] .admin-page :is(.logo-option[aria-pressed="true"], .theme-option[aria-pressed="true"]) { border-color: #f3d394; outline: 2px solid #f3d394; outline-offset: -2px; }
html[data-theme="dark"] .admin-page .theme-option { background: var(--admin-surface); }
html[data-theme="dark"] .theme-check { color: #f3d394; }
html[data-theme="dark"] .admin-page .admin-thumb[aria-pressed="true"] { outline-color: #f3d394; }
html[data-theme="dark"] .admin-badge { background: #4b412a; color: #fff1cb; }
html[data-theme="dark"] .admin-badge.is-positive { background: #315b36; color: #fff2d8; }
html[data-theme="dark"] #admin-photo-count { color: #e8d3a8; }
html[data-theme="dark"] #admin-status:not(:empty) { background: #234426; color: #fff2d8; border-color: var(--admin-border); }
html[data-theme="dark"] .admin-shell :is(input[type="checkbox"], input[type="radio"]) { accent-color: #efd29b; }
html[data-theme="dark"] .admin-page #confirm-logo-delete { color: #ffd2c7; border-color: #d99a86; }
html[data-theme="dark"] .logo-confirm img { background: #182e1a; }
html[data-theme="dark"] .logo-row { scrollbar-color: #c5a568 #1a321c; }
html[data-theme="dark"] .admin-page :is(.album-actions, .admin-menu-group h2, .theme-settings, .site-image-control img) { border-color: var(--admin-border); }
html[data-theme="dark"] .admin-page button:disabled { opacity: .65; }

.theme-preview[data-theme="light"] {
  --preview-site-ink: #102911;
  --preview-site-line: #aa711e;
  --preview-site-header: #fae8c6;
  --preview-site-hero: radial-gradient(ellipse at 25% 40%, #fff0d0, #f6dfb8);
  --preview-site-about: radial-gradient(ellipse at top, #18391b, #0b210e);
  --preview-site-about-ink: #fff2d8;
  --preview-site-button: #102911;
  --preview-site-button-ink: #fff2d8;
  --preview-hero-photo-width: 56%;
  --preview-hero-mask: linear-gradient(to right, transparent, #000 5%);
}
.theme-preview[data-theme="dark"] {
  --preview-site-ink: #fff2d8;
  --preview-site-line: #d5a453;
  --preview-site-header: #0b1b06;
  --preview-site-hero: #071102;
  --preview-site-about: radial-gradient(ellipse at 42% 25%, #fff1d5, #f1d9ad);
  --preview-site-about-ink: #142713;
  --preview-site-button: #f7e1b8;
  --preview-site-button-ink: #122514;
  --preview-hero-photo-width: 100%;
  --preview-hero-mask: none;
}
.admin-shell { padding-bottom: 118px; }
.live-admin-bar {
  position: fixed; inset: auto 0 0; z-index: 6;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 12px max(14px, 3vw) max(12px, env(safe-area-inset-bottom));
  background: #fff3db; border-top: 1px solid #b9955f;
  color: #102911; font: 14px var(--font-body);
  box-shadow: 0 -3px 15px #14220f15;
}
.live-admin-bar > div { margin-right: auto; }
.live-admin-bar button, .live-preview-toolbar button, .live-preview-toolbar select {
  min-height: 44px; padding: 8px 12px; border: 1px solid #a7844c;
  border-radius: 6px; font: inherit; background: #fff8e8; color: #102911; cursor: pointer;
}
.live-admin-bar #live-save { background: #102911; color: #fff2d8; font-weight: 600; }
#live-save-status { margin-top: 5px; font-weight: 600; }
.live-preview-panel {
  position: fixed; right: 0; top: 0; bottom: 80px; z-index: 5;
  width: 54%; display: flex; flex-direction: column; background: #e4dfd3;
  border-left: 1px solid #a7844c; font: 14px var(--font-body); color: #102911;
}
.live-preview-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px; background: #fff3db; }
.live-preview-toolbar strong { margin-right: auto; }
.live-preview-toolbar label { display: flex; align-items: center; gap: 6px; }
.live-frame-scroll { flex: 1; overflow: auto; }
#website-preview { display: block; border: 0; height: 100%; min-height: 100%; width: 1440px; background: #fff; }
#website-preview[data-width="mobile"] { width: 390px; margin-inline: auto; }
.live-preview-open .admin-header { width: 46%; flex-wrap: wrap; }
.live-preview-open .admin-header .admin-sections { flex-basis: 100%; }
.live-preview-open .admin-header-links { margin-left: 0; }
.live-preview-open .admin-page { width: 46%; margin-left: 0; padding-inline: 18px; }
html[data-theme="dark"] :is(.live-admin-bar, .live-preview-toolbar) { background: #142b16; color: #fff2d8; }
html[data-theme="dark"] .live-admin-bar button, html[data-theme="dark"] .live-preview-toolbar :is(button,select) { background: #234426; color: #fff2d8; }
html[data-theme="dark"] .live-admin-bar #live-save { background: #f7e1b8; color: #102911; }
@media(max-width: 900px) {
  .live-admin-bar { flex-wrap: wrap; gap: 6px; padding: 8px 12px; font-size: 13px; }
  .live-admin-bar > div { flex-basis: 100%; }
  .live-admin-bar #open-live-preview { flex: 1; }
  .live-preview-panel { width: 100%; bottom: 118px; }
  .live-preview-open .admin-header, .live-preview-open .admin-page { width: 100%; }
}

.live-preview-panel { bottom: var(--live-bar-height, 110px); }
.admin-shell { padding-bottom: calc(var(--live-bar-height, 110px) + 20px); }
.live-admin-bar button:disabled { opacity: .6; cursor: default; }

.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; }
body.live-preview-open { overflow: hidden; padding: 0; --editor-width: 390px; }
.live-preview-open #live-admin-bar { display: none; }
#live-work-toolbar {
  position: fixed; inset: 0 0 auto; z-index: 8;
  min-height: 58px; padding: 7px 12px; gap: 7px;
  border-bottom: 1px solid #a7844c; font: 13px var(--font-body); color: #102911;
}
#live-work-toolbar button, #live-work-toolbar select { min-height: 40px; padding: 6px 9px; }
#work-save-status { margin-left: auto; font-size: 12px; max-width: 300px; }
#live-work-toolbar #work-save { background: #102911; color: #fff2d8; min-width: 65px; }
.live-mode-switch { display: none; gap: 5px; }
.live-preview-open #admin-editor-shell {
  position: fixed; inset: var(--work-toolbar-height, 58px) auto 0 0; width: var(--editor-width);
  overflow: auto; border-right: 1px solid #a7844c; overscroll-behavior: contain;
}
.live-preview-open .admin-header { width: 100%; padding: 10px 14px; display: block; }
.live-preview-open .admin-brand, .live-preview-open .admin-header-links { display: none; }
.live-preview-open .admin-header .admin-sections { display: flex; flex-wrap: wrap; gap: 5px; }
.live-preview-open .admin-header button { min-height: 36px; padding: 6px 8px; font-size: 12px; }
.live-preview-open .admin-page { width: 100%; margin: 0; padding: 16px 14px 24px; font-size: 14px; }
.live-preview-open .admin-page h1 { font-size: 30px; }
.live-preview-open .admin-page h2 { font-size: 24px; }
.live-preview-open .admin-page h3 { font-size: 19px; }
.live-preview-open .admin-page .admin-form { gap: 12px; }
.live-preview-open .admin-page .admin-form input, .live-preview-open .admin-page .admin-form textarea, .live-preview-open .admin-page .admin-form select { font-size: 14px; }
.live-preview-open .admin-page .album-actions { gap: 6px; }
.live-preview-open .admin-page .album-actions button { font-size: 12px; padding: 6px 8px; }
.live-preview-open .admin-page .admin-title { flex-wrap: wrap; gap: 8px; }
.live-preview-open #admin-status { position: static; }
.live-preview-open .live-preview-panel {
  inset: var(--work-toolbar-height, 58px) 0 0 var(--editor-width); width: auto; border: 0;
}
.live-preview-open .live-frame-scroll { overscroll-behavior: contain; }
.live-preview-open.preview-inspection #admin-editor-shell { display: none; }
.live-preview-open.preview-inspection .live-preview-panel { left: 0; }
html[data-theme="dark"] #live-work-toolbar { color: #fff2d8; background: #142b16; }
html[data-theme="dark"] #live-work-toolbar #work-save { color: #102911; background: #f7e1b8; }
@media(max-width: 900px) {
  #live-work-toolbar { flex-wrap: wrap; font-size: 12px; gap: 5px; padding: 6px 8px; }
  #live-work-toolbar button, #live-work-toolbar select { font-size: 12px; min-height: 36px; padding: 5px 7px; }
  .live-mode-switch { display: flex; }
  .live-mode-switch [aria-pressed="true"] { box-shadow: inset 0 -3px #b48a44; font-weight: 700; }
  #work-save-status { max-width: 200px; flex: 1; }
  .live-preview-open #admin-editor-shell { width: 100%; }
  .live-preview-open .live-preview-panel { left: 0; }
  .live-preview-open[data-work-view="edit"] .live-preview-panel { visibility: hidden; pointer-events: none; }
  .live-preview-open[data-work-view="preview"] #admin-editor-shell { visibility: hidden; pointer-events: none; }
}

/* All public pages use public-header.html and the same reserved logo geometry. */
html { scrollbar-gutter: stable; }
.header { flex-shrink: 0; }
.header nav, .header .toggle { flex-shrink: 0; }
#website-preview[data-width="compact"] { width: 1024px; }
@media (max-width: 700px) {
  html { scrollbar-gutter: auto; scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
}

.live-preview-pending body { visibility: hidden; }
.live-preview-open .admin-page :is(h1,h2,h3) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.live-preview-open .admin-page h1 { font-size: 25px; line-height: 1.15; }
.live-preview-open .admin-page h2 { font-size: 21px; line-height: 1.2; }
.live-preview-open .admin-page h3 { font-size: 18px; line-height: 1.2; }
.live-preview-open .admin-title { display: grid; grid-template-columns: minmax(0,1fr); justify-items: start; }
.live-preview-open .site-publish-actions { display: grid; justify-items: stretch; width: 100%; }
.live-preview-open .admin-actions:not(.photo-order) { flex-wrap: wrap; }
.live-preview-open .admin-page .admin-form input,
.live-preview-open .admin-page .admin-form select,
.live-preview-open .admin-page .admin-form textarea { max-width: 100%; min-width: 0; }
.live-preview-open .site-image-control { display: grid; grid-template-columns: minmax(0,1fr); }
.live-preview-open .site-image-control img { width: 100%; max-width: 180px; }
.live-preview-open .theme-options { grid-template-columns: minmax(0,1fr); width: 100%; }
.live-preview-open .theme-preview-hero { min-height: 105px; }
.live-preview-open .theme-preview-headline { font-size: 24px; }
.live-preview-open .theme-preview-header { min-height: 42px; }
.live-preview-open .admin-header button { white-space: normal; overflow-wrap: normal; }
.live-preview-open .admin-upload { width: 100%; min-width: 0; }
.live-preview-open .theme-texture-editor .admin-actions { display: grid; grid-template-columns: minmax(0,1fr); }

/* Preview-specific page editor. Original controls are moved, never duplicated. */
.live-preview-open { --editor-width: 380px !important; }
.live-preview-open .admin-header,
.live-preview-open #admin-status,
.live-preview-open #admin-fields > :not(#page-editor-panel) { display: none; }
.live-preview-open .admin-page { padding: 0; }
#page-editor-panel { padding: 12px; }
.live-preview-open #page-editor-panel :is(h1,.admin-title,.site-publish-actions,.album-actions,.admin-back) { display: none; }
.live-preview-open #page-editor-panel :is(#save-logo,#save-theme,#save-theme-texture,#live-save) { display: none; }
.live-preview-open #page-editor-panel .logo-help { display: none; }
.live-preview-open #page-editor-panel .site-editor,
.live-preview-open #page-editor-panel .admin-editor { margin: 0; gap: 10px; }
.page-editor-group { border: 1px solid #cbb48c; border-radius: 7px; background: #fff7e8; overflow: clip; }
.page-editor-group summary { cursor: pointer; padding: 11px 12px; font: 600 14px var(--font-body); }
.page-editor-group-content { display: grid; gap: 12px; padding: 0 12px 12px; min-width: 0; }
.page-editor-group-content > label { font-size: 13px; }
.live-preview-open .page-editor-group-content :is(.logo-library,.theme-settings) { padding: 0; border: 0; }
.live-preview-open .page-editor-group-content :is(.logo-library,.theme-settings) > h2 { display: none; }
.live-preview-open .page-editor-group-content .logo-row { gap: 7px; padding: 3px 3px 9px; }
.live-preview-open .page-editor-group-content .logo-card { flex-basis: 116px; }
.live-preview-open .page-editor-group-content .logo-option { min-height: 82px; padding: 8px; }
.live-preview-open .page-editor-group-content .logo-option img { height: 62px; }
.live-preview-open .page-editor-group-content .logo-check { width: 18px; height: 18px; font-size: 12px; top: 4px; left: 4px; }
.live-preview-open .page-editor-group-content .logo-menu { top: 3px; right: 3px; }
.live-preview-open .page-editor-group-content .logo-menu summary { width: 26px; height: 26px; padding: 0; font-size: 19px; }
.live-preview-open .page-editor-group-content .theme-options { gap: 10px; }
.live-preview-open .page-editor-group-content .theme-preview { aspect-ratio: 2.9; display: grid; grid-template-rows: 25% 58% 17%; }
.live-preview-open .page-editor-group-content .theme-preview-header { min-height: 0; font-size: 7px; padding: 2px 6px; }
.live-preview-open .page-editor-group-content .theme-preview-logo { height: 23px; }
.live-preview-open .page-editor-group-content .theme-preview-hero { min-height: 0; padding: 4px 6%; }
.live-preview-open .page-editor-group-content .theme-preview-headline { font-size: 17px; }
.live-preview-open .page-editor-group-content .theme-preview-about { padding: 2px; font-size: 9px; }
.live-preview-open .page-editor-group-content .theme-preview-cta { font-size: 6px; padding: 1px 3px; }
.live-preview-open .page-editor-group-content .theme-option-label { padding: 5px 9px; font-size: 12px; }
.live-preview-open .page-editor-group-content .theme-texture-editor h3 { font: 600 13px var(--font-body); }
.live-preview-open .page-editor-group-content :is(button,input,select,textarea) { font-size: 13px; }
.live-preview-open .page-editor-group-content .site-image-control img { max-height: 75px; width: 100%; max-width: 100%; }
.live-preview-open .menu-cover-editor { padding: 0; border: 0; margin: 0; background: none; }
.live-preview-open .menu-cover-editor > summary { display: none; }
.live-preview-open .menu-cover-editor > form { margin: 0; }
.live-preview-open #menu-overview > .admin-toolbar { display: flex; justify-content: flex-end; }
.live-preview-open #menu-overview > .admin-toolbar h1 { display: none; }
.live-preview-open #admin-dishes .admin-cards { grid-template-columns: minmax(0,1fr); }
.live-preview-open #admin-dishes .admin-card-image { aspect-ratio: 3 / 1; max-height: 95px; }
.live-preview-open #album-overview > .admin-title { display: flex; }
.live-preview-open #album-overview > .admin-title h1 { display: none; }
.live-preview-open .live-frame-scroll { background: #e6e6e3; padding: 24px; }
#website-preview { margin-inline: auto; box-shadow: 0 3px 16px #0002; }
.live-preview-open.editor-hidden #admin-editor-shell { display: none; }
.live-preview-open.editor-hidden .live-preview-panel { left: 0; }
html[data-theme="dark"] .page-editor-group { background: #1a321c; border-color: #6e704f; }
@media(max-width:900px) {
  #toggle-page-editor { display: none; }
  .live-preview-open #admin-editor-shell { width: 100%; }
  .live-preview-open .live-frame-scroll { padding: 12px; }
  #work-page { max-width: 180px; }
}
.live-preview-open #page-editor-panel form > h2 { display: none; }

.live-preview-open #dish-editor > button[type="submit"] { display: none; }
.live-preview-open #page-editor-panel #back-to-menu,
.live-preview-open #page-editor-panel #album-editor > [data-back-albums] {
  display: inline-block; font-size: 12px; padding: 4px 0; min-height: 32px;
}

#live-preview-notice {
  position: absolute; inset: 12px 12px auto; z-index: 4;
  padding: 14px; border: 1px solid #ae8b51; border-radius: 7px;
  background: #fff3db; color: #102911; font: 14px/1.5 var(--font-body);
}
#live-preview-notice button { margin-top: 8px; padding: 8px 12px; min-height: 40px; cursor: pointer; }
#preview-recovery {
  margin: 15px; padding: 18px; border: 1px solid #ad8a52;
  background: #fff3db; color: #102911; font: 16px/1.5 var(--font-body);
}
#preview-recovery button { padding: 8px 12px; margin-top: 10px; }
#admin-version-notice {
  position: fixed; z-index: 20; bottom: 16px; left: 16px; right: 16px;
  padding: 13px 16px; border: 1px solid #ad8a52; border-radius: 7px;
  background: #fff3db; color: #102911; font: 14px/1.5 var(--font-body);
  box-shadow: 0 2px 14px #0003;
}
#admin-version-notice a { font-weight: 600; }
#admin-version-notice button { margin-left: 15px; min-height: 36px; }

body:has(> .site-footer) > main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
.site-footer-content { flex: 1 1 280px; }
.site-contact-links { align-items: baseline; line-height: 1.5; }
.home-page .hero-actions { gap: 10px 14px; margin-top: 26px; }
.home-page .hero-actions .cta { margin-top: 0; min-height: 56px; padding: 8px 22px; font-size: clamp(20px, 1.75vw, 26px); font-weight: 600; line-height: 1.2; }
.home-page .hero-actions .cta-outline {
  border: 1px solid var(--site-line);
  background: #fff2d8;
  color: var(--green);
}
.home-page .hero-actions .cta-outline:hover { background: #fff8eb; }
@media(max-width: 700px) {
  .home-page .hero { min-height: 0; }
  .home-page .hero-actions { margin-top: 16px; gap: 9px; align-items: center; }
  .home-page .hero-actions .cta { width: min(100%, 278px); min-height: 48px; padding: 8px 18px; font-size: 20px; }
}

.menu-categories-editor { padding: 14px; margin: 16px 0; border: 1px solid #cfae7d; border-radius: 7px; }
.menu-categories-editor > summary { cursor: pointer; font-weight: 600; }
.menu-category-row { display: grid; gap: 10px; padding: 12px 0; border-bottom: 1px solid #cfae7d; }
.menu-category-actions, .dish-order-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.menu-categories-editor > button { margin: 8px 8px 0 0; }
.dish-photo-upload { display: grid; gap: 8px; min-width: 0; }
.dish-photo-upload img { width: min(100%, 300px); max-height: 180px; object-fit: contain; }
.live-preview-open .menu-categories-editor { padding: 10px; }
.live-preview-open .menu-categories-save { display: none; }
html[data-theme="dark"] .menu-categories-editor,
html[data-theme="dark"] .menu-category-row { border-color: #6e704f; }

.gallery-content-editor { margin: 15px 0; padding: 12px; border: 1px solid #cfae7d; border-radius: 7px; }
.gallery-content-editor > summary { cursor: pointer; font-weight: 600; }
.live-preview-open .gallery-content-editor { border: 0; padding: 0; margin: 0 0 14px; }
.live-preview-open .gallery-content-editor > summary { display: none; }
html[data-theme="dark"] .gallery-content-editor { border-color: #6e704f; }

/* Shared public sections keep the same geometry in both site themes. */
.header, .admin-header { isolation: isolate; }
.header::after, .admin-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-wash);
  opacity: .22;
  pointer-events: none;
}
.theme-preview-title { font-family: var(--font-heading); }
.about-content { max-width: 1120px; margin-inline: auto; }
.about.has-image .about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  margin-top: 26px;
  text-align: left;
}
.about.has-image [data-about-text] { margin: 0; max-width: none; font-weight: 400; }
.about-content .about-photo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  margin: 0;
  object-fit: cover;
  object-position: var(--image-focus-desktop, center);
  border-radius: 4px;
}
.kitchen { padding-block: clamp(32px, 4vw, 58px); background: var(--site-page); color: var(--site-ink); }
.kitchen-inner { width: min(89%, 1280px); margin-inline: auto; text-align: center; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 24px); }
.section-heading::before, .section-heading::after { content: ""; flex: 1; height: 1px; background: var(--site-line); }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3.7vw, 52px); line-height: 1.15; }
.section-heading .twig:first-child { transform: scaleX(-1); }
.kitchen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.3vw, 30px); margin-top: 26px; }
.kitchen-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
.kitchen-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.kitchen-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--image-focus-desktop, center); border: 1px solid var(--site-line); border-radius: 4px; }
.kitchen .kitchen-link { margin-top: 24px; min-height: 48px; padding: 10px 24px; font-size: 19px; border-width: 1px; border-radius: 7px; }
body.home-page:has(> .site-footer) { min-height: 0; }
body.home-page:has(> .site-footer) > main { flex: 0 0 auto; }
.home-page > .site-footer { margin-top: 0; }
.home-page .hero-media .food { object-position: var(--image-focus-desktop, right bottom); }
.menu-cover-photo { object-position: var(--image-focus-desktop, center 45%); }
.dish-photo { object-position: var(--image-focus-desktop, center 55%); }
.dish-admin-photo-preview, .admin-card-image { object-position: var(--image-focus-desktop, center); }
.dish-price { font-weight: 600; }
.admin-header-links { flex-wrap: wrap; }
#admin-unsaved-summary { font-size: 13px; font-weight: 600; }
.gallery-page .album-card > img { object-position: var(--image-focus-desktop, center); }
@media (max-width: 700px) {
  .about.has-image .about-content { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 18px; text-align: center; }
  .about.has-image [data-about-text] { max-width: 720px; margin-inline: auto; }
  .about-content .about-photo { max-height: none; object-position: var(--image-focus-mobile, center); }
  .kitchen-grid, .kitchen-grid:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .section-heading { gap: 8px; }
  .section-heading::before, .section-heading::after { display: none; }
  .section-heading .twig { width: 37px; }
  .home-page .hero-media .food { object-position: var(--image-focus-mobile, right center); }
  .menu-cover-photo { object-position: var(--image-focus-mobile, 62% center); }
  .dish-photo { object-position: var(--image-focus-mobile, center 55%); }
  .kitchen-photo, .gallery-page .album-card > img { object-position: var(--image-focus-mobile, center); }
}
