/* ===================== Lady M Eats & Treats =====================
   Palette + type lifted from the Claude Design reference
   (Lady M Eats and Treats.dc.html)
   ============================================================== */
:root {
  --cream:     #FAF8F5;
  --ink:       #2B2118;
  --gold:      #B8963E;
  --gold-dark: #8f7530;
  --blush:     #EFDCD6;
  --rose:      #E8D5D0;
  --muted:     #5a4f43;
  --muted-2:   #7a6f62;
  --muted-3:   #8A7F72;
  --hair:      rgba(43, 33, 24, .12);
  --hair-2:    rgba(43, 33, 24, .2);
  --wa:        #25D366;
  --err:       #b4442f;
  /* Fraunces carries the personality; Manrope keeps the UI clean and legible.
     The display face is a Fraunces instance with SOFT=75 WONK=1 baked in —
     rounded, slightly wonky letterforms for the biggest headlines only. */
  --serif:         "Fraunces", Georgia, "Times New Roman", serif;
  --serif-display: "Fraunces Soft", "Fraunces", Georgia, serif;
  --sans:          "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --img-radius: 16px;   /* photos, media, cards */
  --ctl-radius: 10px;   /* sharp-cornered controls (filters, chips, inputs) */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

/* Touch: no grey tap flash, no 300ms double-tap delay */
a, button, input, select, textarea, label {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--rose); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.page { animation: fadeUp .4s ease both; }

/* ---------- Layout ---------- */
.wrap        { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-mid    { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 900px;  margin: 0 auto; padding: 0 28px; }
.section     { padding: 90px 28px; }
.center      { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px;
}

.sec-title  { font-family: var(--serif-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); margin: 0; line-height: 1.05; }
.page-title { font-family: var(--serif-display); font-weight: 500; font-size: clamp(34px, 5vw, 58px); margin: 0; }
.page-sub   { color: var(--muted-2); font-size: 15px; margin: 16px auto 0; max-width: 56ch; }
.page-head  { text-align: center; margin-bottom: 40px; }

.prose      { font-size: 16px; line-height: 1.7;  color: var(--muted); margin: 0 0 18px; }
.prose-sm   { font-size: 14px; line-height: 1.6;  color: var(--muted); margin: 0 0 18px; }
.lede       { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; margin: 0 0 32px; }
.fineprint  { font-size: 13px; color: var(--muted-3); line-height: 1.6; margin-top: 22px; }
.mono       { font-family: ui-monospace, monospace; font-size: 12px; }
.dim        { opacity: .6; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head-center { justify-content: center; text-align: center; margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans); font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; padding: 16px 42px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--gold); color: var(--cream); }
.btn-ink   { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ink:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost { background: none; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 12px 28px; font-size: 12px; letter-spacing: .14em; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; }
/* hover never fires on touch — a press still needs visible feedback */
.btn:active, .chip:active, .tile-enquire:active { transform: scale(.97); }

.link-underline {
  background: none; border: none; cursor: pointer; padding: 0 0 3px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.link-underline:hover { color: var(--gold); }

/* arrows slide 4px on hover — small, but it makes every CTA feel finished */
.arr { display: inline-block; transition: transform .25s cubic-bezier(.2, .7, .3, 1); }
.btn:hover .arr, .link-underline:hover .arr { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .arr { transition: none; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 245, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 92px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 13px; text-align: left; }
.nav-brand img { display: block; height: 48px; width: auto; }
.nav-brand-name {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: 21px; line-height: 1; color: var(--ink);
}
.nav-brand-sub {
  display: block; margin-top: 4px;
  font-size: 8px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > button:not(.btn) {
  background: none; border: none; cursor: pointer; padding: 4px 0;
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2);
  border-bottom: 1.5px solid transparent;
}
.nav-links > button:not(.btn):hover { color: var(--ink); }
.nav-links > button.active { color: var(--ink); border-bottom-color: var(--gold); }
.nav-enquire { padding: 9px 22px; font-size: 12px; letter-spacing: .16em; }
/* a 44px hit box — the glyph alone is far too small a target for a thumb */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: none; border: none; border-radius: 50%;
  font-size: 23px; line-height: 1; color: var(--ink); cursor: pointer;
}
.nav-toggle:active { background: var(--blush); }

/* while the menu sheet is open the page behind it must not scroll */
body.menu-open { overflow: hidden; }

/* ---------- Hero ----------
   Two columns on a blush band: words on the left, a circular slideshow on the
   right. Nothing overlaps, so the type needs no wash to stay readable and the
   photos are never dulled to make room for it. */
.hero {
  position: relative;
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--blush);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 540px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 540px; padding: 0; }

.hero-figure {
  display: flex; flex-direction: column; align-items: center;
  gap: 30px;   /* clears the ring, which sits 14px outside the circle */
}

/* The circle. A square box cropped round, with a hairline gold ring set off
   from the edge — the concentric ring reads as a cake stand, and picks up
   the gold already used on the headline and the fact figures. */
.hero-stage {
  position: relative;
  width: 100%; max-width: 540px; margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  background: var(--rose);
  outline: 1px solid rgba(184, 150, 62, .5);
  outline-offset: 14px;
}

/* One row holding every photo side by side. Moving the row is the whole
   transition — no opacity is touched, so nothing ever fades through. */
.hero-track {
  position: absolute; inset: 0; display: flex;
  transition: transform .62s cubic-bezier(.65, .02, .28, 1);
}
.hero-frame {
  flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; border: 0;
  cursor: pointer; background: rgba(43, 33, 24, .26);
  transition: width .3s ease, background .3s ease;
}
.hero-dots button[aria-current="true"] { background: var(--gold); width: 26px; border-radius: 6px; }
.hero-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Reduced motion: the photos still change, they just cut instead of sliding. */
@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}

.hero-title {
  font-family: var(--serif-display); font-weight: 500; color: var(--ink);
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02;
  margin: 0 0 22px; letter-spacing: -.015em; text-wrap: balance;
}
.hero-title em {
  font-style: italic; font-weight: 400; color: var(--gold);
}
.hero-lede {
  font-size: 16.5px; line-height: 1.75; color: var(--muted);
  margin: 0 0 32px; max-width: 42ch;
}
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-facts {
  list-style: none; margin: 0; padding: 26px 0 0;
  border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start;
}
.hero-facts li { display: flex; flex-direction: column; gap: 3px; }
/* gold serif figures — echoes the 01/02/03 process numerals */
.hero-facts strong {
  font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--gold);
}
.hero-facts span {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-3);
}


/* ---------- Home gallery (three pieces, not eight) ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-grid .tile { aspect-ratio: 4/5; }
/* margin:0 kills the browser's default figure margin (16px 40px), which was
   silently shrinking every tile inside its grid cell */
.tile { position: relative; overflow: hidden; background: #efece7; border-radius: var(--img-radius); margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
/* zoom-on-hover only where hover exists — on touch it just sticks after a tap */
@media (hover: hover) { .tile:hover img { transform: scale(1.04); } }
.tile-cap {
  position: absolute; left: 0; bottom: 0; width: 100%; padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(43,33,24,.75));
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose); pointer-events: none;
}

/* ---------- Bands ---------- */
.band { background: var(--blush); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.about-photo {
  aspect-ratio: 4/5; background: #e4ded6; overflow: hidden;
  border-radius: 999px 999px var(--img-radius) var(--img-radius);  /* arch echo */
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Videos ----------
   The clips are shot vertically (576x1024), so they're framed 9:16 like the
   reels they are. Cropping them into a landscape box would throw most of the
   frame away. */
.video-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 310px));
  justify-content: center; gap: 28px;
}
.video-tile { position: relative; margin: 0; }
.video-tile video {
  width: 100%; aspect-ratio: 9/16; display: block; object-fit: cover;
  background: #2B2118; border: 1px solid var(--hair); border-radius: var(--img-radius);
}
.video-tile figcaption {
  margin-top: 13px; font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align: center;
}
.video-more { text-align: center; margin: 36px 0 0; }
.video-play {
  position: absolute; inset: 0; bottom: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0;
}
.video-play span {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(43,33,24,.55); backdrop-filter: blur(2px);
  border: 1.5px solid rgba(250,248,245,.7);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.video-play:hover span { transform: scale(1.08); }
.video-play:focus-visible span { outline: 2px solid var(--gold); outline-offset: 3px; }
.video-play span::before {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--cream);
}
/* once it's playing, get out of the way and let the native controls work */
.video-tile.playing .video-play { display: none; }

/* ---------- Testimonial carousel ----------
   A blush shell anchors the quote — without it one line of text floats in a
   void between two heavy sections. */
.quotes {
  background: var(--blush); border-radius: 28px;
  padding: 52px 28px 40px; max-width: 880px; margin: 0 auto;
}
.car-viewport { overflow: hidden; }
.car-track {
  display: flex;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}
.car-slide {
  flex: 0 0 100%; margin: 0; padding: 12px 20px 4px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.car-mark {
  font-family: var(--serif); font-size: 46px; line-height: 1;
  color: var(--gold); margin-bottom: 14px;
}
.car-slide blockquote {
  margin: 0; max-width: 56ch;
  font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.5; color: var(--ink); text-wrap: balance;
}
/* three little "sprinkles" between quote and name — the baked touch */
.car-divider { display: flex; gap: 7px; margin: 22px 0 14px; }
.car-divider i {
  width: 12px; height: 4px; border-radius: 2px; background: var(--gold);
  transform: rotate(-18deg);
}
.car-divider i:nth-child(2) { background: #C9738F; transform: rotate(14deg); }
.car-divider i:nth-child(3) { background: #a4795a; transform: rotate(-6deg); }  /* caramel — readable on blush */
.quote-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.quote-occasion {
  display: block; margin-top: 3px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.car-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin-top: 28px;
}
.car-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(250,248,245,.6); border: 1px solid var(--hair-2); color: var(--ink);
  cursor: pointer; font-size: 15px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.car-arrow:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.car-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.car-dots { display: flex; gap: 3px; }
/* an 11px dot inside a 23px button: same look, thumb-sized hit area */
.car-dot {
  width: 23px; height: 23px; border-radius: 50%; padding: 6px;
  background: rgba(43,33,24,.18); background-clip: content-box;
  border: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.car-dot.on { background: var(--gold); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) {
  .car-track { transition: none; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step { text-align: center; padding: 0 8px; }
.step-n { font-family: var(--serif); font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step .rule { height: 1px; width: 40px; background: var(--gold); margin: 0 auto 20px; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 10px; }
.step p { font-size: 14px; line-height: 1.65; color: var(--muted-2); margin: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); padding: 72px 32px; text-align: center; border-radius: 28px; }
.cta h2 { font-family: var(--serif); font-weight: 500; color: var(--cream); font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 20px; }

/* ---------- Gallery (Cakes page) ----------
   1 featured (2x2) + 8 singles = exactly four clean rows of three, no
   orphans. The featured cake is whichever sits first in the dashboard. */
/* minmax(0,1fr) keeps the tracks rigid — a plain 1fr lets the featured
   tile's intrinsic size widen its own columns and un-square the grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.gallery-grid .tile { aspect-ratio: 1/1; min-width: 0; min-height: 0; }
/* 2 cols + 2 rows of square cells = square itself — keeping an explicit
   ratio stops the image's natural height from inflating the row tracks */
.gallery-grid .tile-featured { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
.gallery-grid .tile img { transition: transform .6s cubic-bezier(.2,.7,.3,1); }

/* caption: cake name + occasion */
.gallery-grid .tile-cap {
  display: flex; flex-direction: column; gap: 2px;
  padding: 26px 16px 14px;
}
.tile-name { font-family: var(--serif); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--cream); }
.tile-occ  { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }

/* the conversion path: every cake can start an enquiry about its style */
.tile-enquire {
  position: absolute; top: 12px; right: 12px;
  background: rgba(250,248,245,.94); color: var(--ink);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: 9px 15px;
  transition: opacity .3s ease, transform .3s ease, background .2s ease, color .2s ease;
}
.tile-enquire .te-short { display: none; }   /* short label is mobile-only */
.tile-enquire:hover { background: var(--gold); color: #fff; }
.tile-enquire:focus-visible { opacity: 1; transform: none; outline: 2px solid var(--gold); outline-offset: 2px; }

/* The hide-until-hover reveal is a pointer-only refinement: on touch screens
   (including tablets wider than the phone breakpoint) there is no hover, so
   caption and Enquire stay visible instead of being unreachable. */
@media (hover: hover) {
  .gallery-grid .tile:hover img { transform: scale(1.05); }
  .gallery-grid .tile-cap {
    transform: translateY(100%); opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
  }
  .gallery-grid .tile:hover .tile-cap,
  .gallery-grid .tile:focus-within .tile-cap { transform: none; opacity: 1; }
  /* Desktop (pointer) devices don't show the per-tile Enquire button — the
     hover caption carries the style name and the page's own enquiry form is
     one click away. It stays on touch screens, where hover isn't available. */
  .tile-enquire { display: none; }
}

/* ---------- Menu / pricing ----------
   Grouped like a real menu: a serif category heading, then rows whose dotted
   leaders run the full distance from name to price. */
.pricing { margin-top: 72px; padding-top: 8px; }
.menu-group { margin-bottom: 44px; }
.menu-cat {
  font-family: var(--serif); font-weight: 500; font-size: 16px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--hair-2);
}
.menu-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 4px; border-bottom: 1px solid rgba(43,33,24,.1);
}
.menu-main { display: flex; flex-direction: column; gap: 3px; }
.menu-row .name { font-family: var(--serif); font-size: 23px; font-weight: 500; white-space: nowrap; }
.menu-note { font-size: 13.5px; color: rgba(43,33,24,.6); letter-spacing: .01em; }
.menu-row .dots { flex: 1; border-bottom: 1px dotted rgba(43,33,24,.3); height: 1px; align-self: center; }
.menu-row .price { font-family: var(--serif); font-size: 19px; white-space: nowrap; text-align: right; }
.menu-thumb {
  width: 54px; height: 54px; flex: none; align-self: center;
  object-fit: cover; border-radius: 10px; border: 1px solid var(--hair-2);
}

/* ---------- About page ---------- */
/* Side-by-side: portrait as its own section, story alongside. */
.about-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-hero-photo { margin: 0; }
.about-hero-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 12%;
  display: block; background: var(--blush);
  border-radius: 999px 999px var(--img-radius) var(--img-radius);  /* arch echo */
}
.about-hero-photo figcaption {
  margin-top: 14px; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); text-align: center;
}
.about-hero-copy .lede { margin-top: 0; }

/* Vision / Mission / Promise */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: var(--cream); border: 1px solid var(--hair); padding: 30px 26px;
  border-radius: var(--img-radius);
  display: flex; flex-direction: column; gap: 10px;
}
.pillar-label {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0; line-height: 1.2; }
.pillar p { font-size: 14px; line-height: 1.65; color: var(--muted-2); margin: 0; }

/* Values row — polished cards, each with a gold accent rule */
.about-values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 8px 0 48px;
}
.value {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--cream); border: 1px solid var(--hair);
  border-radius: var(--img-radius); padding: 26px 24px;
}
.value::before {
  content: ""; width: 28px; height: 2px; background: var(--gold);
  border-radius: 2px; margin-bottom: 6px;
}
.value strong { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); line-height: 1.2; }
.value span { font-size: 13px; color: var(--muted-2); line-height: 1.55; }

/* Contact-page logo */
.page-logo { display: block; height: 68px; width: auto; margin: 0 auto 22px; }

/* ---------- Enquiry ---------- */
.enquiry { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
#enquiry-form { display: flex; flex-direction: column; gap: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-3); margin-bottom: 7px;
}
/* scroll-margin keeps a focused (or invalid) field clear of the sticky nav */
.field, .consent { scroll-margin-top: 110px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--hair-2);
  border-radius: var(--ctl-radius); background: #fff; font-family: var(--sans); font-size: 100%;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.err { color: var(--err); font-size: 12px; margin: 5px 0 0; }
.err:empty { display: none; }
.lead-note { font-size: 12px; color: var(--gold); margin: 6px 0 0; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  background: transparent; border: 1px solid rgba(43,33,24,.22); color: var(--ink);
  cursor: pointer; font-family: var(--sans); font-size: 12.5px; padding: 9px 15px; border-radius: 999px;
}
.chip.on { background: var(--gold); border-color: var(--gold); color: #fff; }

.consent { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold); flex: none; }
.consent span { font-size: 13px; line-height: 1.5; color: var(--muted); }

.aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.card { border: 1px solid rgba(43,33,24,.14); padding: 26px 24px; border-radius: var(--img-radius); }
.card-blush { background: var(--blush); border-color: transparent; }
.lead-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-bottom: 12px; }
.lead-row strong { color: var(--ink); white-space: nowrap; }

.thanks {
  max-width: 560px; margin: 48px auto 0; text-align: center;
  background: var(--blush); border: 1px solid rgba(184,150,62,.35); padding: 48px 32px;
}
.thanks-title { font-family: var(--serif); font-size: 34px; margin-bottom: 16px; }
.thanks .rule { height: 1px; width: 44px; background: var(--gold); margin: 0 auto 22px; }
.thanks p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 8px; }
.thanks-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; margin-top: 24px;
}
.thanks-actions .btn { min-width: 280px; }

/* ---------- Map (collection area) ---------- */
.map-block { margin-top: 72px; }
.map {
  position: relative; margin: 0 0 18px; overflow: hidden;
  border-radius: var(--img-radius); border: 1px solid var(--hair-2);
  background: var(--blush); aspect-ratio: 21/9; min-height: 300px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-links { margin: 0 0 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #e8ddd0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-logo { display: block; width: 168px; max-width: 100%; height: auto; }
.footer-tag  { font-family: var(--serif); font-style: italic; font-size: 16px; color: #c9bcaa; margin: 18px 0 0; }
.footer .eyebrow { font-size: 10px; letter-spacing: .2em; margin-bottom: 16px; }
.footer-text { font-size: 13px; line-height: 1.9; color: #c9bcaa; margin: 0; }
.footer-text a { color: #c9bcaa; text-decoration: none; }
.footer-text a:hover { color: var(--cream); }
/* action links in one horizontal row, dot-separated */
.footer-links { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.footer-links a {
  color: var(--gold); text-decoration: none; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
}
.footer-links a:hover { color: var(--cream); }
.footer-links a + a::before { content: "·"; color: #8a7a64; margin-right: 8px; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #c9bcaa; border: 1px solid rgba(255, 255, 255, .18);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.social:hover {
  color: var(--ink); background: var(--gold);
  border-color: var(--gold); transform: translateY(-2px);
}
.social:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* same icons, on a light card */
.socials-ink { margin-top: 16px; }
.socials-ink .social { color: var(--muted-2); border-color: var(--hair); }
.socials-ink .social:hover { color: #fff; background: var(--gold); border-color: var(--gold); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px;
  font-size: 11px; color: #8a7a64;
}
.owner-login { background: none; border: none; cursor: pointer; font-size: 11px; color: #8a7a64; letter-spacing: .1em; font-family: var(--sans); }
.owner-login:hover { color: var(--cream); }

.footer-privacy { color: #8a7a64; text-decoration: underline; text-underline-offset: 2px; }
.footer-privacy:hover { color: var(--cream); }

/* ---------- Privacy page ---------- */
.privacy-body h3 {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  margin: 34px 0 10px; color: var(--ink);
}
.privacy-body h3:first-child { margin-top: 0; }
.privacy-body a { color: var(--gold-dark); }

/* ---------- Admin ---------- */
.admin { background: #f4f4f5; color: #18181b; min-height: 100vh; font-family: ui-sans-serif, system-ui, sans-serif; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; background: #18181b; color: #fff; padding: 10px 18px; font-size: 14px; }
.admin-sub { font-size: 11px; color: #a1a1aa; margin-left: 8px; }
.admin-back { background: none; border: 1px solid #3f3f46; color: #e4e4e7; padding: 5px 12px; border-radius: 5px; cursor: pointer; font-size: 12px; }
.admin-login { max-width: 340px; margin: 80px auto; background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; padding: 28px; }
.admin-login h3 { font-family: inherit; font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.admin-login input { width: 100%; padding: 9px 11px; border: 1px solid #d4d4d8; border-radius: 6px; margin-bottom: 10px; font-family: inherit; }
.admin-login .btn { border-radius: 6px; padding: 9px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.admin-login .fineprint { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f4f4f5; font-size: 11px; color: #a1a1aa; }
.admin-login code { background: #f4f4f5; padding: 1px 5px; border-radius: 3px; }
.admin-panel { max-width: 1040px; margin: 0 auto; padding: 22px 18px 60px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid #d4d4d8; margin-bottom: 22px; }
.tab { background: none; border: none; padding: 9px 14px; cursor: pointer; font-size: 13px; font-weight: 500; color: #71717a; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: inherit; }
.tab.active { color: #18181b; border-bottom-color: #18181b; }
.admin-hint { font-size: 12px; color: #71717a; margin-bottom: 12px; }
.a-table { background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; overflow: hidden; }
.a-head, .a-row { display: grid; align-items: center; }
.a-head { background: #fafafa; border-bottom: 1px solid #e4e4e7; font-size: 11px; font-weight: 600; color: #71717a; text-transform: uppercase; letter-spacing: .04em; }
.a-head > div { padding: 9px 12px; }
.a-row { border-bottom: 1px solid #f4f4f5; font-size: 13px; }
.a-row > div { padding: 8px 10px; }
.a-row input { width: 100%; padding: 6px 8px; border: 1px solid #e4e4e7; border-radius: 5px; font-family: inherit; }
.pill { padding: 4px 10px; border: none; border-radius: 20px; cursor: pointer; font-size: 11px; font-weight: 600; font-family: inherit; }
.vis { padding: 5px 10px; border: 1px solid #d4d4d8; border-radius: 5px; cursor: pointer; font-size: 12px; font-family: inherit; }
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.g-card { background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; overflow: hidden; }
.g-card .thumb { aspect-ratio: 1/1; }
.g-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-card .body { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.g-card select { width: 100%; padding: 5px 6px; border: 1px solid #e4e4e7; border-radius: 5px; font-size: 12px; font-family: inherit; }
.g-card .ops { display: flex; gap: 6px; }
.g-card .ops button { flex: 1; padding: 4px; border: 1px solid #e4e4e7; border-radius: 5px; background: #fafafa; cursor: pointer; font-size: 12px; }
.g-card .ops .del { border-color: #fecaca; color: #dc2626; background: #fff; }
.a-settings { max-width: 520px; background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.a-settings label { display: block; }
.a-settings span { display: block; font-size: 12px; font-weight: 600; color: #3f3f46; margin-bottom: 5px; }
.a-settings input, .a-settings textarea { width: 100%; padding: 8px 10px; border: 1px solid #d4d4d8; border-radius: 6px; font-family: inherit; resize: vertical; }
.a-empty { color: #71717a; font-size: 13px; padding: 20px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* Hero stacks: words first, then the circle centred under them. */
  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-stage { max-width: 360px; outline-offset: 11px; }
  .hero-figure { gap: 26px; }
  .about-hero { grid-template-columns: 1fr; gap: 36px; }
  .about-hero-photo { width: 300px; max-width: 100%; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr; gap: 18px; }
  .about-values { grid-template-columns: 1fr 1fr; gap: 22px; }
  .enquiry { grid-template-columns: 1fr; }
  .aside { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .section { padding: 76px 20px; }   /* small screens need MORE separation, not less */
  /* Horizontal only. A `padding: 0 20px` shorthand here would win the cascade
     over .section/.hero/.about-grid/.footer-grid (same specificity, later in
     the file) and silently strip every section's vertical padding on mobile. */
  .wrap, .wrap-mid, .wrap-narrow { padding-left: 20px; padding-right: 20px; }
  .nav-toggle { display: flex; }
  .nav-inner { height: 76px; }
  .nav-brand img { height: 50px; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair); padding: 12px 20px 16px;
    box-shadow: 0 22px 32px -20px rgba(43, 33, 24, .3);  /* lifts the sheet off the page */
  }
  .nav-links.open { display: flex; }
  .nav-links > button:not(.btn) { text-align: left; padding: 13px 0; font-size: 15px; letter-spacing: .08em; }
  .nav-enquire { margin-top: 8px; }
  .home-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-grid .tile { aspect-ratio: 4/3; }

  /* Gallery on touch: overlays don't work without hover, and pills sitting on
     top of small photos read as clutter. Each tile becomes a clean card —
     photo, then name/occasion, then a quiet Enquire link, all BELOW the image. */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .gallery-grid .tile {
    aspect-ratio: auto; overflow: visible; background: none; border-radius: 0;
    display: flex; flex-direction: column;
  }
  .gallery-grid .tile img { aspect-ratio: 1/1; border-radius: var(--img-radius); }
  .gallery-grid .tile:hover img { transform: none; }
  .gallery-grid .tile-featured { grid-column: span 2; grid-row: auto; }
  .gallery-grid .tile-featured img { aspect-ratio: 4/3; }
  .gallery-grid .tile-cap {
    position: static; transform: none; opacity: 1;
    background: none; padding: 11px 2px 0;
  }
  .gallery-grid .tile-name { color: var(--ink); font-size: 16px; }
  .tile-enquire { display: none; }   /* mobile: tapping the tile opens the enquiry; no per-card button */
  .about-values { grid-template-columns: 1fr; }
  /* three equal columns — 2+1 wrapping left "WhatsApp" orphaned on its own row */
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .video-grid { grid-template-columns: minmax(0, 300px); }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .chip { padding: 12px 17px; }   /* comfortable thumb targets for the add-ons */
  .menu-row .dots { display: none; }
  .menu-row .name { white-space: normal; font-size: 19px; }
  .menu-thumb { width: 46px; height: 46px; }
  .quotes { padding: 40px 18px 32px; border-radius: 20px; }
  .cta { padding: 48px 20px; border-radius: 18px; }
  .map { aspect-ratio: 4/3; min-height: 0; }
}
@media (max-width: 480px) {
  /* small phones: full-width CTAs beat pill buttons that wrap mid-word */
  .btn { padding: 15px 30px; }
  .hero-actions { gap: 20px; }
  .thanks { padding: 40px 22px; }
  .thanks-actions .btn { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .car-slide { padding: 12px 8px 4px; }
}
