/* ============================================================
   KIYOSHI Izakaya — shared stylesheet
   Palette (from brand guide):
   Light  #F2D6A1   Dark #4C4C4A
   Tints  #DAC191 #918061 #615640 #302B20
   ============================================================ */

:root {
  --cream:        #F2D6A1;
  --cream-soft:   #F7E7C6;   /* lighter tint for page bg */
  --cream-deep:   #EAC98C;
  --sand:         #DAC191;
  --taupe:        #918061;
  --umber:        #615640;
  --espresso:     #302B20;
  --dark:         #4C4C4A;
  --dark-deep:    #3a3a38;
  --ink:          #2b2b29;
  --sun:          #E8756B;   /* hero accent circle */
  --line:         rgba(76,76,74,0.18);

  --font-head: 'Bungee', 'Arial Black', sans-serif;
  --font-script: 'Mansalva', cursive;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--cream-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.script { font-family: var(--font-script); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--taupe);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1.5px solid var(--dark);
  transition: all .25s ease;
  cursor: pointer;
}
.btn-solid { background: var(--dark); color: var(--cream); }
.btn-solid:hover { background: var(--espresso); border-color: var(--espresso); }
.btn-ghost { background: transparent; color: var(--dark); }
.btn-ghost:hover { background: var(--dark); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--dark); border-color: var(--cream); }
.btn-cream:hover { background: var(--cream-deep); border-color: var(--cream-deep); }

.link-underline {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 0.78rem; color: var(--dark);
}
.link-underline::after {
  content: ""; width: 40px; height: 1.5px; background: var(--dark);
  transition: width .25s ease;
}
.link-underline:hover::after { width: 60px; }

/* Fine-dining elegant CTA (thin outline, generous spacing) */
.btn-fine {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 17px 40px; border: 1px solid currentColor; color: var(--dark);
  background: transparent; transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.btn-fine .arrow { transition: transform .4s ease; font-size: 1rem; }
.btn-fine:hover { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.btn-fine:hover .arrow { transform: translateX(6px); }
.btn-fine.on-dark { color: var(--cream); }
.btn-fine.on-dark:hover { background: var(--cream); border-color: var(--cream); color: var(--espresso); }

/* Elegant text link with a drawn underline + arrow (premium "View Menu") */
.link-fine {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--dark);
  padding-bottom: 8px; position: relative;
}
.link-fine::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--dark); transform-origin: left; transition: transform .4s ease;
}
.link-fine .arrow { transition: transform .4s ease; }
.link-fine:hover .arrow { transform: translateX(6px); }
.link-fine:hover::after { transform: scaleX(1.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,231,198,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 500; color: var(--dark); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--dark); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { font-weight: 600; }
.nav-cta { margin-left: 6px; }
.nav-cta .btn-fine { padding: 12px 26px; letter-spacing: 2px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: .3s; }

/* ---------- Fixed background logomark (homepage) ---------- */
.bg-mark {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bg-mark img {
  width: min(46vw, 520px);
  opacity: 0.06;
  filter: grayscale(0.2);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 90px 0 70px;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 14px 0 10px; }
.page-hero p { color: var(--umber); max-width: 560px; margin: 0 auto; }

/* ---------- Home hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  min-height: 640px;
}
.hero-img { position: relative; overflow: hidden; background: var(--espresso); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-kanji {
  position: absolute; top: 26px; right: 26px;
  font-family: 'Yu Mincho', serif; font-size: 5rem; color: var(--cream);
  font-weight: 700;
}
.hero-center {
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 48px; position: relative;
}
.hero-sun {
  width: 148px; height: 148px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #F0938A, var(--sun) 62%, #d95f55);
  filter: blur(2px); margin-bottom: 40px;
  align-self: center;
}
.hero-center h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 22px; }
.hero-center .lead { color: var(--umber); font-size: 1.05rem; max-width: 400px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-right { position: relative; overflow: hidden; background: var(--cream); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Generic content blocks ---------- */
.block { padding: 80px 0; }
.block-cream { background: var(--cream); }
.block-espresso { background: var(--espresso); color: var(--cream); }
.block-espresso h1, .block-espresso h2, .block-espresso h3 { color: var(--cream); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 16px 0 20px; }
.two-col p { color: var(--umber); margin-bottom: 18px; }
.block-espresso .two-col p { color: var(--sand); }

.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.media-pair img, .media-frame {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--sand);
}

/* ---------- Premium chef portrait ---------- */
.chef-portrait { position: relative; max-width: 430px; margin: 0 auto; }
.chef-portrait img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  box-shadow: 0 34px 64px -26px rgba(48,43,32,0.55);
}
/* thin framed accent peeking behind, bottom-right */
.chef-portrait .chef-frame {
  content: ""; position: absolute; z-index: 0;
  top: 26px; left: 26px; right: -24px; bottom: -24px;
  border: 1.5px solid var(--taupe);
}
/* soft warm sheen along the base of the photo for depth */
.chef-portrait .chef-sheen {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(to top, rgba(48,43,32,0.42), rgba(48,43,32,0));
  pointer-events: none;
}
/* editorial caption chip overlapping the corner */
.chef-portrait .chef-chip {
  position: absolute; z-index: 3; left: -16px; bottom: 30px;
  background: var(--espresso); color: var(--cream);
  padding: 14px 22px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 34px -10px rgba(48,43,32,0.6);
}
.chef-portrait .chef-chip .role { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 1px; }
.chef-portrait .chef-chip .place { font-family: var(--font-script); font-size: 0.95rem; color: var(--sand); }
@media (max-width: 980px) { .chef-portrait { max-width: 360px; } .chef-portrait .chef-frame { right: -16px; bottom: -16px; } }

/* ---------- Menu preview strip ---------- */
.menu-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.menu-card { text-align: center; }
.menu-card .ph { aspect-ratio: 1/1; background: var(--espresso); overflow: hidden; }
.menu-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.menu-card h4 { font-family: var(--font-head); font-size: 0.9rem; margin: 14px 0 4px; letter-spacing: .5px; }
.menu-card p { font-size: 0.82rem; color: var(--taupe); }

/* ---------- Full menu (menu.html) ---------- */
.menu-section { margin-bottom: 60px; }
.menu-section > h2 { font-size: 1.8rem; margin-bottom: 6px; }
.menu-section > .sub { color: var(--taupe); font-style: italic; margin-bottom: 30px; }
.menu-list { display: grid; gap: 22px; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px;
  align-items: baseline; padding-bottom: 18px; border-bottom: 1px dashed var(--line);
}
.menu-item .name { font-weight: 600; color: var(--ink); }
.menu-item .price { font-family: var(--font-head); font-size: 0.95rem; color: var(--umber); }
.menu-item .desc { grid-column: 1 / -1; color: var(--taupe); font-size: 0.9rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid .g-item { overflow: hidden; background: var(--espresso); aspect-ratio: 4/5; }
.gallery-grid .g-item.wide { grid-column: span 2; aspect-ratio: 8/5; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.06); }

/* ---------- Reservation ---------- */
.reserve-band { background: var(--cream); }
.reserve-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.reserve-grid h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0 18px; }
.reserve-grid p { color: var(--umber); margin-bottom: 26px; }
.info-list { list-style: none; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico {
  flex: 0 0 44px; height: 44px; border: 1.5px solid var(--dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-list .lbl { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.info-list .val { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.info-list .val a:hover { color: var(--taupe); }
.reserve-card {
  background: var(--espresso); color: var(--cream); padding: 44px; text-align: center;
}
.reserve-card .phone-lg {
  font-family: var(--font-head); font-size: clamp(1.6rem,3.2vw,2.2rem); color: var(--cream);
  margin: 10px 0 6px; display: block; letter-spacing: 1px;
}
.reserve-card .note { color: var(--sand); font-size: 0.9rem; margin-bottom: 26px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cream); padding: 84px 0; position: relative; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px; background: var(--taupe); opacity: 0.5;
}
.cta-band::before { top: 34px; }
.cta-band::after { bottom: 34px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.cta-mark img { height: 92px; margin-bottom: 12px; }
.cta-text .script { display: block; margin-bottom: 6px; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 640px; }
.cta-inner .btn-fine { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--sand); padding: 66px 0 26px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(242,214,161,0.18);
}
.footer-brand .footer-logo img { height: 58px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.86rem; color: var(--taupe); max-width: 300px; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--cream); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.86rem; color: var(--sand); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--cream); padding-left: 4px; }
.footer-contact li { font-size: 0.86rem; color: var(--sand); display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.5; }
.footer-contact .k { color: var(--taupe); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border: 1px solid rgba(242,214,161,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: .25s; font-size: 0.9rem;
}
.footer-social a:hover { background: var(--cream); color: var(--dark); border-color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.74rem; color: var(--taupe); }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--cream); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Placeholder helper ---------- */
.ph-fill {
  width: 100%; height: 100%; min-height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--espresso), var(--espresso) 14px, #35302400 14px, rgba(53,48,36,0) 28px), var(--umber);
  color: var(--sand); font-family: var(--font-script); font-size: 1.1rem; text-align: center; padding: 12px;
}

/* ---------- Menu swipe carousels (menu.html) ---------- */
.menu-cat { margin-bottom: 66px; }
.menu-cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.menu-cat-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.menu-cat-head .sub { color: var(--taupe); font-style: italic; margin-top: 6px; }
.swipe-hint { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--taupe); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.swipe-hint .arrow { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

.menu-carousel {
  display: flex; gap: 22px; overflow-x: auto; padding: 4px 0 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.menu-carousel::-webkit-scrollbar { display: none; }
.mc-card { flex: 0 0 300px; scroll-snap-align: start; }
.mc-card .mc-img { aspect-ratio: 4/5; overflow: hidden; background: var(--espresso); }
.mc-card .mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mc-card:hover .mc-img img { transform: scale(1.06); }
.mc-card .mc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.mc-card .mc-name { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.mc-card .mc-price { font-family: var(--font-head); font-size: 0.9rem; color: var(--umber); white-space: nowrap; }
.mc-card .mc-desc { color: var(--taupe); font-size: 0.88rem; margin-top: 5px; }
@media (max-width: 520px) { .mc-card { flex-basis: 78vw; } }

/* ---------- Desserts strip ---------- */
.dessert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dessert-card { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--espresso); }
.dessert-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dessert-card:hover img { transform: scale(1.07); }
.dessert-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(to top, rgba(48,43,32,0.9), rgba(48,43,32,0));
  color: var(--cream);
}
.dessert-card .cap h4 { font-family: var(--font-head); font-size: 0.9rem; letter-spacing: .5px; color: var(--cream); }
.dessert-card .cap p { font-size: 0.78rem; color: var(--sand); }

/* ---------- Decorative art band (parallax) ---------- */
.art-band {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
  background: var(--espresso);
}
.art-band .art-layer {
  position: absolute; inset: -12% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.art-band .art-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,43,32,0.92) 0%, rgba(48,43,32,0.55) 55%, rgba(48,43,32,0.2) 100%); }
.art-band .container { position: relative; z-index: 2; }
.art-band blockquote {
  font-family: var(--font-script); font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  color: var(--cream); max-width: 620px; line-height: 1.35;
}
.art-band cite { display: block; margin-top: 20px; font-family: var(--font-body); font-style: normal; letter-spacing: 2px; text-transform: uppercase; font-size: 0.76rem; color: var(--sand); }

/* Light-image variant: dark text, stronger left scrim so the quote stays readable */
.art-band.light { background: var(--cream-soft); }
.art-band.light .art-overlay { background: linear-gradient(90deg, rgba(245,227,190,0.97) 0%, rgba(245,227,190,0.95) 30%, rgba(245,227,190,0.72) 52%, rgba(245,227,190,0.25) 74%, rgba(245,227,190,0) 100%); }
.art-band.light blockquote { color: var(--espresso); text-shadow: 0 1px 16px rgba(245,227,190,0.95); }
.art-band.light cite { color: var(--umber); text-shadow: 0 1px 10px rgba(245,227,190,0.9); }

/* ---------- Premium horizontal scroll gallery (Apple-style pinned) ---------- */
.scroll-gallery { position: relative; background: var(--cream-soft); height: 340vh; }
.sg-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.scroll-gallery .sg-head { text-align: center; margin-bottom: 10px; }
.scroll-gallery .sg-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 14px; }
.scroll-gallery .sg-head p { color: var(--umber); max-width: 520px; margin: 12px auto 0; }
.sg-progress { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.sg-progress .bar { width: 46px; height: 2px; background: var(--sand); position: relative; overflow: hidden; }
.sg-progress .bar i { position: absolute; inset: 0; width: 0; background: var(--espresso); }

.sg-row { display: flex; gap: 22px; width: max-content; will-change: transform; }
.sg-row .sg-label {
  position: relative; z-index: 3; align-self: center; flex: 0 0 auto; padding: 0 30px;
  font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 2px; color: var(--taupe);
  writing-mode: initial;
}
.sg-item { flex: 0 0 auto; overflow: hidden; background: var(--espresso); border-radius: 2px; }
.sg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.sg-item:hover img { transform: scale(1.05); }
/* varied premium sizes (kept within one viewport row for the pinned layout) */
.sg-item.s1 { width: 280px; height: 300px; }
.sg-item.s2 { width: 400px; height: 270px; }
.sg-item.s3 { width: 250px; height: 320px; }
.sg-item.s4 { width: 360px; height: 340px; }
.sg-item.s5 { width: 320px; height: 240px; }
.sg-item { align-self: center; }

@media (max-width: 720px) {
  .dessert-grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-gallery { height: 300vh; }
  .sg-item.s1 { width: 180px; height: 210px; }
  .sg-item.s2 { width: 240px; height: 180px; }
  .sg-item.s3 { width: 160px; height: 200px; }
  .sg-item.s4 { width: 220px; height: 230px; }
  .sg-item.s5 { width: 200px; height: 160px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img, .hero-right { min-height: 300px; }
  .hero-center { order: -1; padding: 56px 28px; }
  .two-col, .reserve-grid { grid-template-columns: 1fr; gap: 34px; }
  .menu-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item.wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: var(--cream); padding: 24px 28px; gap: 20px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .bg-mark img { width: 78vw; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 520px) {
  .menu-strip { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .g-item.wide { grid-column: span 1; }
}
