/* ==========================================================================
   Bakelyne — shared styles (v16, the poster rebrand)
   A warm front room from the owner's own poster: cream walls, sage arches,
   rose and blush shapes, Gloock with a handwritten aside, thin line icons.
   Class names are kept so the studio (design.css), galleries and admin keep
   working; tokens they still read are aliased below.
   ========================================================================== */

:root {
  --cream: #F6EEE4;
  --cream-deep: #EFE2D3;
  --cocoa: #4A2C21;
  --cocoa-deep: #38211A;
  --ink-soft: #6B4A3A;       /* secondary text on cream (6.9:1) */
  --ink-faint: #735848;      /* captions on cream / cream-card */
  --sage-deep: #3F5442;      /* arches, studio band, footer: cream text 7.1:1 */
  --sage: #566F57;
  --leaf: #4F6B52;           /* line art and icons on cream (5.1:1) */
  --rose: #B46A5C;           /* shapes and large script only: 3.5:1, never small text */
  --rose-deep: #8E4C3F;      /* rose text and links: 5.6 cream, 5.1 cream-deep, 6.4 card; never on blush */
  --blush: #E7C4B8;

  /* Names the studio, gallery and admin stylesheets still read. */
  --cream-card: #FFFDF8;
  --line: #E6D6C3;
  --line-soft: #EFE3D4;
  --accent-ink: var(--rose-deep);
  --butterscotch: #B4713E;
  --amber: #D89B4A;
  --gold-soft: #EFC079;

  /* Drawn icons (masks / backgrounds), 1.8 stroke. */
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E4C3F' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  --i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6EEE4' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E");
  --i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 6-13 14-13 0 8-6 13-14 13Zm0 0 8-8'/%3E%3C/svg%3E");
  --vine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' fill='none' stroke='%234F6B52' stroke-width='1.6' stroke-linecap='round' stroke-dasharray='1 6'%3E%3Cpath d='M0 7 C30 -2 30 16 60 7 C90 -2 90 16 120 7'/%3E%3C/svg%3E");

  /* Type */
  --font-head: 'Gloock', Georgia, 'Times New Roman', serif;
  --font-display: 'Lora', Georgia, 'Times New Roman', serif; /* studio + admin until their redesign */
  --font-ui: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-script: 'Ms Madi', 'Brush Script MT', cursive;

  /* Rhythm */
  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 1.9rem);
  --section-y: clamp(4rem, 8vw, 6.6rem);

  /* Shape: soft, round, arched */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Depth: warm, offset, soft */
  --sh-1: 0 1px 2px rgba(74,44,33,.06), 0 4px 12px rgba(74,44,33,.06);
  --sh-2: 0 2px 6px rgba(74,44,33,.08), 0 16px 34px rgba(74,44,33,.12);
  --sh-3: 0 10px 24px rgba(74,44,33,.12), 0 34px 64px rgba(74,44,33,.18);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; scrollbar-color: var(--rose) var(--cream-deep); }
body {
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  accent-color: var(--cocoa);
  caret-color: var(--rose-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Gloock ships one weight; never let the browser fake a bold. No global
   colour: headings over photo banners inherit their cream. */
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; font-synthesis: none; }
/* /admin keeps its own type, tints and buttons until its own redesign (step 4). */
:where(body.admin) { --blush: #F7EDE0; --font-script: var(--font-head); font-synthesis: none; }
:where(body.admin) h1, :where(body.admin) h2, :where(body.admin) h3 { font-family: inherit; font-weight: revert; font-synthesis: initial; }
body.admin { font-size: 1rem; }
body.admin .btn { line-height: normal; border-radius: var(--r-sm); }
body.admin .btn:hover { translate: none; }
/* Sideways overflow is clipped on <html>, and with `clip` rather than `hidden`:
   `hidden` creates a scroll container, which breaks sticky headers. */
html { overflow-x: clip; }
/* A page shorter than the window grows <main>, so the footer still sits at
   the bottom. The canvas stays cream: no tinted flash under the page fade-in
   and no coloured band when the page is pulled past its top. */
body:not(.admin) { min-height: 100svh; display: flex; flex-direction: column; }
body:not(.admin) > main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: var(--rose-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cocoa); }
::selection { background: var(--blush); color: var(--cocoa-deep); }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: var(--r-xs); }
/* Cocoa vanishes on dark ground; there the ring turns blush. */
.lb :focus-visible, .banner :focus-visible, .to-top:focus-visible, .bk-launch:focus-visible,
.site-footer :focus-visible, .studio-band :focus-visible { outline-color: var(--blush); }

.js body { animation: pageIn .4s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; } }

/* Skip link */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--cocoa); color: var(--cream);
  padding: .7rem 1.3rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--font-ui); font-weight: 500; letter-spacing: .04em;
  text-decoration: none;
  transition: top .22s var(--ease);
}
.skip:focus { top: 0; color: var(--cream); }
.skip:hover { color: var(--cream); }

/* The inline sprite of shared shapes and icons (first child of <body>). */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: rgba(246, 238, 228, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 6px rgba(74,44,33,.06), 0 12px 28px rgba(74,44,33,.08); }
/* The drawer is a child of the header; drop the glass while it's open or the
   panel paints see-through. */
.site-header.nav-open { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .inner {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .55rem var(--gutter);
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo { height: 3.1rem; width: auto; }
.footer-logo { width: min(17rem, 100%); height: auto; }

nav.main { display: flex; align-items: center; gap: 1.35rem; }
nav.main a {
  position: relative;
  text-decoration: none; color: var(--cocoa);
  font-family: var(--font-ui); font-weight: 500;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem 0;
}
nav.main a:not(.cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--rose-deep);
  scale: 0 1; transform-origin: right;
  transition: scale .3s var(--ease-out);
}
nav.main a:not(.cta):hover::after { scale: 1 1; transform-origin: left; }
nav.main a.active { color: var(--cocoa-deep); }
nav.main a.active:not(.cta)::after { scale: 1 1; }
nav.main a.cta {
  background: var(--cocoa); color: var(--cream);
  padding: .72rem 1.35rem; border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
  transition: background .2s var(--ease), translate .2s var(--ease), box-shadow .2s var(--ease);
}
nav.main a.cta:hover { background: var(--cocoa-deep); translate: 0 -1px; box-shadow: var(--sh-2); }

@media (min-width: 56.01rem) and (max-width: 74rem) {
  nav.main { gap: .95rem; }
  nav.main a { font-size: .72rem; letter-spacing: .1em; }
  nav.main a.cta { padding: .62rem 1.05rem; }
  .site-logo { height: 2.7rem; }
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 2.8rem; height: 2.8rem; border-radius: var(--r-pill);
  position: relative;
  transition: background .2s var(--ease);
}
.nav-toggle:hover { background: var(--cream-deep); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; position: absolute;
  left: .65rem; right: .65rem; height: 2px; border-radius: 2px;
  background: var(--cocoa);
  transition: transform .3s var(--ease-out), top .3s var(--ease-out), opacity .2s ease;
}
.nav-toggle span { top: calc(50% - 1px); }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 56rem) {
  .nav-toggle { display: block; flex-shrink: 0; }
  .site-logo { height: 2.5rem; }
  nav.main {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(74,44,33,.16);
    padding: .4rem var(--gutter) 1.3rem;
    max-height: calc(100dvh - 4.6rem); overflow-y: auto;
  }
  nav.main.open { display: flex; animation: navIn .28s var(--ease-out) both; }
  @keyframes navIn { from { opacity: 0; translate: 0 -8px; } }
  nav.main a {
    width: 100%; padding: .95rem .1rem;
    font-size: .92rem; letter-spacing: .12em;
    border-bottom: 1px solid var(--line-soft);
  }
  nav.main a:not(.cta)::after { display: none; }
  nav.main a.active { box-shadow: inset 2px 0 0 var(--rose-deep); padding-left: .9rem; }
  nav.main a.cta { text-align: center; border-bottom: none; margin-top: 1rem; padding: .9rem 1.6rem; }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 48rem; }
.section { position: relative; padding: var(--section-y) 0; }
.section.tight { padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.section.tint { background: var(--cream-deep); overflow: clip; }
.section > .wrap { position: relative; z-index: 1; }
.flav-blob { left: -9rem; bottom: 2rem; width: 24rem; aspect-ratio: 1.4; rotate: 160deg; } /* wholly inside its section; exits the left edge only */
@media (max-width: 56rem) { .flav-blob { display: none; } }
.center { text-align: center; }
/* Running copy in narrow sections: paragraphs need air between them. */
.wrap.narrow > p + p { margin-top: .9rem; }

/* ==========================================================================
   Type
   ========================================================================== */
h1.display, h2.display {
  font-family: var(--font-head); font-weight: 400;
  color: var(--cocoa);
  line-height: 1.06; letter-spacing: -0.015em;
  text-wrap: balance;
}
h1.display { font-size: clamp(2.4rem, 5.6vw, 3.9rem); margin-bottom: 1rem; }
h2.display { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 1.1rem; }

/* Inner pages still carry section labels until step 2 removes them. */
.kicker {
  font-family: var(--font-ui);
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; font-weight: 500; color: var(--rose-deep);
  margin-bottom: 1rem;
}
.lede {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.4vw, 1.18rem);
  line-height: 1.7; max-width: 46rem;
  text-wrap: pretty;
}
.center .lede { margin-left: auto; margin-right: auto; }
/* Handwritten asides. Rose clears only 3.5:1, so script stays large. */
.script {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1;
  color: var(--rose);
}
.script-accent {
  font-family: var(--font-script);
  font-weight: 400; color: var(--rose-deep);
  font-size: 2.2em; line-height: 1;
}
.tagline {
  font-family: var(--font-ui); font-weight: 500;
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-deep);
}

/* ==========================================================================
   Shapes: arches, blobs, waves, sprigs, line icons
   ========================================================================== */
.arch {
  position: relative; overflow: hidden;
  border-radius: var(--r-pill) var(--r-pill) var(--r-md) var(--r-md);
  background: var(--cream-deep);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-shape { background: var(--sage-deep); border-radius: var(--r-pill) var(--r-pill) 0 0; }
.blob { position: absolute; pointer-events: none; color: var(--blush); }
.blob.rose { color: var(--rose); }
.blob svg, .sprig svg { width: 100%; height: 100%; }
.sprig { position: absolute; pointer-events: none; color: var(--leaf); }
.wave { display: block; width: 100%; height: clamp(2.2rem, 5vw, 4rem); }
.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui); font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cocoa); text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: .45em;
  text-decoration-color: var(--rose);
  padding: .9rem .2rem;
}
.link-arrow::after, .pcard .more::after {
  content: ""; flex: 0 0 auto; width: 1.15em; height: 1.15em;
  background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
  transition: translate .3s var(--ease-out);
}
.link-arrow:hover { color: var(--cocoa-deep); }
.link-arrow:hover::after { translate: 4px 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  min-height: min(calc(100svh - 11rem), 44rem);
  padding-top: clamp(2.2rem, 5vw, 3.6rem);
  padding-bottom: clamp(3rem, 6vw, 4.6rem);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  color: var(--cocoa);
  font-size: clamp(2.8rem, 5.6vw, 4.6rem);
  line-height: 1.01; letter-spacing: -0.022em;
  text-wrap: balance; max-width: 16.5ch;
  margin-bottom: 1.1rem;
}
.hero .tagline { margin-bottom: 1.3rem; }
.hero p.sub {
  max-width: 40ch; font-size: clamp(1.05rem, 2.2vw, 1.16rem); line-height: 1.65;
  color: var(--ink-soft); margin-bottom: 2rem; text-wrap: pretty;
}
.actions { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; align-items: center; }
.avail {
  display: flex; align-items: center; gap: .55rem;
  margin-top: 1.6rem; font-size: .92rem; color: var(--ink-soft);
}
.avail .icon { color: var(--leaf); width: 1.25rem; height: 1.25rem; }

/* Right column: a sage arch standing behind the photo arch, a blush blob
   behind both, a sprig at the foot. The script rides the sage's exposed edge. */
.hero-photo { position: relative; isolation: isolate; width: min(100%, 31rem); justify-self: center; align-self: end; }
/* A doorway, not a tab: the sage arch rises above the photo and runs down
   into the icon strip's wave, which paints over its foot. */
.hero-photo .arch-shape {
  position: absolute; z-index: 0;
  left: -4%; top: -5%; width: 62%;
  bottom: calc(-1 * clamp(3rem, 6vw, 4.6rem) - 2px);
}
.hero-photo .arch-shape .script {
  position: absolute; left: 8%; top: 17%; width: 56%;
  color: var(--blush); font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: .95;
  rotate: -10deg;
}
.hero-photo .arch {
  position: relative; z-index: 1;
  margin-left: 36%; aspect-ratio: 4 / 5.3;
  box-shadow: 0 0 0 8px var(--cream), var(--sh-3);
}
.hero-photo .arch img { object-position: 14% 50%; } /* the drips and shards, not the plain buttercream */
.hero-photo .blob { z-index: -1; right: -46%; top: -14%; width: 94%; aspect-ratio: 1.4; }
.hero-photo .sprig { z-index: 2; left: 4%; bottom: -6%; width: 5.6rem; aspect-ratio: .84; }

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 2.8rem; padding-top: 1.8rem; }
  .hero h1 { max-width: 13ch; }
  .hero-photo { width: min(92%, 24rem); }
}
@media (max-width: 30rem) {
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3rem); }
}

/* Breadcrumbs */
.crumbs {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-ui); font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.crumbs a { color: inherit; text-decoration: none; opacity: .85; transition: opacity .2s var(--ease); }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .25em; }
.crumbs .sep { opacity: .55; }
.crumbs [aria-current] { opacity: 1; font-weight: 500; }


/* ==========================================================================
   Page hero (inner pages): the home hero's grammar at page scale
   ========================================================================== */
.page-hero { position: relative; overflow-x: clip; }
.page-hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-top: clamp(2.8rem, 6vw, 4.6rem); padding-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.page-hero-copy { position: relative; z-index: 2; }
.page-hero .crumbs { color: var(--ink-soft); margin-bottom: 1.1rem; }
.page-hero h1 {
  color: var(--cocoa); font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.page-hero .lede { max-width: 44ch; }
.page-hero .fine-print { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-soft); max-width: 52ch; }
.hero-photo.small { width: min(100%, 22rem); align-self: center; }
.hero-photo.small .arch { aspect-ratio: 4 / 5; max-height: 44vh; }
.hero-photo.small .arch-shape { bottom: 0; top: -6%; }
.hero-photo.small .sprig { bottom: 6%; }
/* In a page hero the sage doorway runs down to the hero's floor, where the
   cream wave paints over its foot, as on the home page. */
.page-hero .hero-photo.small { align-self: end; }
.page-hero .hero-photo.small .arch-shape { top: -6%; bottom: calc(-1 * clamp(2.4rem, 5vw, 3.6rem)); }
.page-hero .hero-photo.small .arch { box-shadow: 0 0 0 8px var(--cream), var(--sh-2); }
.page-hero + .section { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.page-hero > .wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; color: var(--cream); height: clamp(1.6rem, 3.5vw, 2.8rem); }
/* Beside the enquiry form the arch ends in the same wave. */
.hero-photo.small > .wave.foot { position: absolute; left: -12%; right: -12%; bottom: -2px; height: 14%; z-index: 1; color: var(--cream); }
@media (max-width: 56rem) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo.small { width: min(80%, 18rem); }
}

/* ==========================================================================
   Trust strip: the poster's row of line icons along a wave
   ========================================================================== */
.trust { position: relative; background: var(--cream-deep); }
.trust > .wave { position: absolute; left: 0; right: 0; bottom: 100%; color: var(--cream-deep); }
.trust ul {
  list-style: none;
  max-width: var(--wrap); margin: 0 auto; padding: .6rem var(--gutter) 2.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust li {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: .4rem 1rem; text-align: center;
  font-family: var(--font-ui); font-size: .74rem; font-weight: 500; line-height: 1.45;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cocoa);
}
.trust li + li { border-left: 1px solid var(--line); }
.trust .icon { width: 2.1rem; height: 2.1rem; color: var(--rose-deep); stroke-width: 1.3; }
@media (max-width: 40rem) {
  .trust ul { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
  .trust li + li { border-left: 0; }
  .trust li:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  text-decoration: none;
  background: var(--cocoa); color: var(--cream);
  padding: 1rem 1.8rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-ui); cursor: pointer;
  font-size: .8rem; font-weight: 500; line-height: 1.2;
  letter-spacing: .15em; text-transform: uppercase;
  box-shadow: var(--sh-1);
  transition: background .2s var(--ease), color .2s var(--ease),
              translate .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--cocoa-deep); color: var(--cream); translate: 0 -2px; box-shadow: var(--sh-2); }
.btn:active { translate: 0 0; box-shadow: var(--sh-1); }
.btn.ghost { background: transparent; color: var(--cocoa); border-color: var(--cocoa); box-shadow: none; }
.btn.ghost:hover { background: var(--cocoa); color: var(--cream); }
/* .light / .ghost-light sit on photo banners and on sage. */
.btn.light { background: var(--cream); color: var(--cocoa); box-shadow: 0 6px 20px rgba(30,16,10,.22); }
.btn.light:hover { background: var(--blush); color: var(--cocoa-deep); }
.btn.ghost-light { background: rgba(246,238,228,.06); color: var(--cream); border-color: rgba(246,238,228,.7); box-shadow: none; }
.btn.ghost-light:hover { background: var(--cream); color: var(--cocoa); }
.btn[disabled] { opacity: .55; cursor: wait; translate: none; box-shadow: none; }

/* ==========================================================================
   Grids & photo cards
   ========================================================================== */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 58rem) { .grid.cols-4, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

/* An arch-topped photo over a cream-deep card. */
.pcard {
  position: relative;
  background: var(--cream-deep);
  border-radius: var(--r-pill) var(--r-pill) var(--r-md) var(--r-md);
  text-decoration: none; color: var(--cocoa);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pcard figure { overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--cream-deep); border-radius: var(--r-pill) var(--r-pill) 0 0; }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.pcard:hover, .pcard:focus-visible { translate: 0 -5px; box-shadow: var(--sh-2); }
.pcard:hover figure img { scale: 1.05; }
.pcard .body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.3rem 1.35rem; }
.pcard h3, .pcard .card-title { color: var(--cocoa); font-size: 1.55rem; line-height: 1.12; margin-bottom: .4rem; }
.pcard p { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.pcard .more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .85rem;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cocoa);
}
.pcard:hover .more::after { translate: 5px 0; }
.pcard .meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  margin-top: auto; padding-top: .8rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-ui);
}
.pcard p + .meta, .pcard h3 + .meta { margin-top: .9rem; }
.pcard .meta .from { white-space: nowrap; font-weight: 400; font-variant-numeric: tabular-nums; }
.pcard .meta .from i {
  font-style: normal; font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-right: .3rem;
}
.pcard .meta .from span { font-family: var(--font-head); font-size: 1.4rem; color: var(--cocoa); }
.pcard .meta .fact { font-size: .82rem; color: var(--ink-faint); text-align: right; line-height: 1.4; }
button.pcard { font-family: inherit; text-align: left; cursor: zoom-in; width: 100%; border: 0; }
button.pcard figure::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(56,33,26,.28), rgba(56,33,26,.05) 55%, transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease);
}
button.pcard figure { position: relative; }
button.pcard:hover figure::after { opacity: 1; }
button.pcard figure > span.zoom {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -46%) scale(.85);
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: rgba(246,238,228,.94); color: var(--cocoa);
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s var(--ease), transform .35s var(--ease-out);
  box-shadow: 0 8px 20px rgba(40,22,16,.3);
  pointer-events: none;
}
button.pcard:hover figure > span.zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.bake-sprig { right: max(1rem, calc((100% - var(--wrap)) / 2 + 2rem)); top: calc(var(--section-y) - 1.4rem); width: 5.2rem; aspect-ratio: .84; rotate: 18deg; }

/* ==========================================================================
   Steps: three line icons on one drawn vine
   ========================================================================== */
.steps {
  position: relative;
  display: grid; gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.8rem; text-align: center;
}
.steps::before {
  content: ""; position: absolute; z-index: 0;
  left: 16%; right: 16%; top: 2.05rem; height: 14px;
  background: var(--vine) center / 120px 14px repeat-x;
}
.step { position: relative; z-index: 1; }
.step-icon {
  width: 4.1rem; height: 4.1rem; padding: .95rem; margin: 0 auto 1.1rem;
  border-radius: 50%; background: var(--cream-deep); color: var(--leaf);
  stroke-width: 1.4;
  box-shadow: 0 0 0 8px var(--cream);
}
.step h3 { color: var(--cocoa); font-size: 1.45rem; margin-bottom: .45rem; }
.step p { color: var(--ink-soft); font-size: .98rem; max-width: 30ch; margin: 0 auto; }
@media (max-width: 56rem) { .bake-sprig { display: none; } }
.title-sprig { position: relative; }
.title-sprig .sprig { right: -3rem; top: -2.2rem; width: 4.4rem; aspect-ratio: .84; rotate: 18deg; }
@media (max-width: 64rem) { .title-sprig .sprig { display: none; } }
.page-mark { width: 7rem; height: auto; margin: 0 auto 1.2rem; }
.section.tint .step-icon { background: var(--cream); box-shadow: 0 0 0 8px var(--cream-deep); }
.bakes .wrap { position: relative; }
@media (max-width: 56rem) {
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps::before { display: none; }
}

/* ==========================================================================
   Split (photo + text), Meet Seena, the studio band
   ========================================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } }
.split.flip > figure { order: 2; }
@media (max-width: 56rem) { .split.flip > figure { order: 0; } }
.split > figure.arch { aspect-ratio: 4 / 5; box-shadow: var(--sh-2); }
.split .content h2 { margin-bottom: 1rem; }
.split .content p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 52ch; }

.seena { position: relative; width: 100%; max-width: 25rem; justify-self: center; text-align: center; }
.seena .arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; display: grid; place-items: center; box-shadow: var(--sh-2); }
.seena .seena-photo { width: 46%; height: auto; }
.seena img.seena-photo[src$=".jpg"] { width: 100%; height: 100%; object-fit: cover; }
.seena .blob { z-index: 0; left: -18%; top: 12%; width: 74%; aspect-ratio: 1.4; }
@media (max-width: 56rem) { .seena { max-width: 15rem; } }
.seena figcaption { position: relative; z-index: 1; margin-top: 1.1rem; display: grid; gap: .35rem; justify-items: center; }
.seena .script { font-size: clamp(2.6rem, 5vw, 3.2rem); }
.seena .role {
  font-family: var(--font-ui); font-size: .74rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}

.studio-band { background: var(--sage-deep); color: var(--cream); margin: clamp(2.2rem, 5vw, 4rem) 0; }
.studio-band > .wave { position: absolute; left: 0; right: 0; color: var(--sage-deep); }
.studio-band > .wave.top { bottom: calc(100% - 1px); }
.studio-band > .wave.bottom { top: calc(100% - 1px); }
.studio-band h2.display { color: var(--cream); }
.studio-band .split .content p { color: var(--cream); }
.studio-band > .wrap .arch { box-shadow: 0 0 0 7px var(--blush), var(--sh-3); }

/* ==========================================================================
   Flavours: the menu card
   ========================================================================== */
.flavours {
  columns: 2; column-gap: 3rem; margin-top: 2rem;
  background: var(--cream-card);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1.3rem, 4vw, 2.6rem);
  box-shadow: var(--sh-1);
}
@media (max-width: 40rem) { .flavours { columns: 1; } }
.flavours li {
  list-style: none; break-inside: avoid;
  display: block;
  padding: .9rem 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft); font-size: .98rem;
}
.flavours li strong {
  display: flex; align-items: baseline; gap: .6rem;
  font-family: var(--font-head); font-weight: 400; font-size: 1.15rem;
  color: var(--cocoa); line-height: 1.3;
}
.flavours li strong::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: repeating-linear-gradient(90deg, var(--leaf) 0 1.5px, transparent 1.5px 6px);
  opacity: .55; translate: 0 -.22em;
}
.flavours li span { display: block; margin-top: .2rem; font-size: .86rem; color: var(--ink-faint); line-height: 1.5; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { display: grid; gap: .6rem; margin-top: 2rem; text-align: left; }
.faq details {
  background: var(--cream-deep);
  border-radius: var(--r-md);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { background: var(--cream-card); box-shadow: var(--sh-1); }
.section.tint .faq details { background: var(--cream); }
.section.tint .faq details[open] { background: var(--cream-card); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; line-height: 1.4;
  color: var(--cocoa); border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 1.5px solid var(--rose-deep);
  background: var(--i-plus) center / 62% no-repeat;
  transition: background-color .25s var(--ease), rotate .3s var(--ease-out);
}
.faq details[open] summary::after { background: var(--rose-deep) var(--i-minus) center / 62% no-repeat; rotate: 180deg; }
.faq .a { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }
.faq details[open] .a { animation: faqIn .3s var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; translate: 0 -5px; } }

/* ==========================================================================
   Band (Instagram / closing call to action)
   ========================================================================== */
.band {
  position: relative; isolation: isolate;
  background: var(--blush); color: var(--cocoa);
  padding: clamp(3.6rem, 7vw, 5.2rem) 0; text-align: center;
}
.band .script-accent { display: block; margin-bottom: .6rem; }
.band h2 {
  color: var(--cocoa);
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1;
  margin-bottom: .9rem; letter-spacing: -0.012em; text-wrap: balance;
}
.band p { color: var(--cocoa); max-width: 46rem; margin: 0 auto 2rem; text-wrap: pretty; }
.band .band-actions { display: flex; gap: .85rem; flex-wrap: wrap; justify-content: center; }
.band .btn.light { background: var(--cocoa); color: var(--cream); box-shadow: var(--sh-1); }
.band .btn.light:hover { background: var(--cocoa-deep); color: var(--cream); box-shadow: var(--sh-2); }
.band .btn.ghost-light { background: transparent; color: var(--cocoa); border-color: var(--cocoa); }
.band .btn.ghost-light:hover { background: var(--cocoa); color: var(--cream); }
.band .sprig { top: 50%; translate: 0 -50%; width: clamp(4rem, 8vw, 6.5rem); aspect-ratio: .84; z-index: -1; }
.band .sprig.l { left: clamp(.5rem, 6vw, 6rem); rotate: -12deg; }
.band .sprig.r { right: clamp(.5rem, 6vw, 6rem); scale: -1 1; rotate: 12deg; }
@media (max-width: 40rem) { .band .sprig { display: none; } }

/* Instagram strip */
.ig-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  max-width: 58rem; margin: 0 auto 2.2rem;
}
@media (max-width: 58rem) { .ig-strip { grid-template-columns: repeat(2, 1fr); } }
.ig-strip a {
  display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: 0 4px 14px rgba(20,10,6,.2);
}
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.ig-strip a:hover img { scale: 1.06; }
@media (prefers-reduced-motion: reduce) { .ig-strip img { transition: none; } }

/* ==========================================================================
   Notice
   ========================================================================== */
/* A note pinned to the page: card paper, a leaf mark, no side stripe. */
.notice {
  position: relative;
  background: var(--cream-card);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem 1.25rem 3.4rem;
  color: var(--ink-soft);
  font-size: .97rem;
  box-shadow: var(--sh-1);
}
.notice::before {
  content: ""; position: absolute; left: 1.25rem; top: 1.35rem;
  width: 1.35rem; height: 1.35rem; background: var(--leaf);
  -webkit-mask: var(--i-leaf) center / contain no-repeat; mask: var(--i-leaf) center / contain no-repeat;
}
/* Safety notes (nuts, allergens) keep a warning mark, not the friendly leaf. */
.notice.warn::before { background: var(--rose-deep); -webkit-mask-image: var(--i-alert); mask-image: var(--i-alert); }
.notice.center { padding: 3.2rem 1.5rem 1.25rem; }
.notice.center::before { left: 50%; translate: -50% 0; top: 1.2rem; }
.notice strong { color: var(--cocoa); }

/* ==========================================================================
   Forms
   ========================================================================== */
form.enquiry { text-align: left; }
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-family: var(--font-ui); font-weight: 500; letter-spacing: .01em;
  margin-bottom: .45rem; font-size: .92rem; color: var(--cocoa);
}
.field label .opt { color: var(--ink-faint); font-weight: 400; font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-ui); font-size: 1rem; color: var(--cocoa);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  min-height: 3.2rem; line-height: 1.3;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input[type="date"] { padding-block: .7rem; }
/* Admin keeps its compact fields until its own redesign (step 4). */
:where(body.admin) .field input, :where(body.admin) .field select, :where(body.admin) .field textarea {
  min-height: auto; line-height: normal; padding: .82rem .95rem; background: var(--cream-card);
}
:where(body.admin) .field input:focus, :where(body.admin) .field select:focus, :where(body.admin) .field textarea:focus {
  border-color: var(--butterscotch); box-shadow: 0 0 0 3px rgba(216,155,74,.28); background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 1; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%234A2C21' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: .7rem;
  padding-right: 2.4rem;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.65; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cocoa);
  box-shadow: 0 0 0 3px rgba(142, 76, 63, .22);
  background: var(--cream-card);
}
.field input:user-invalid, .field select:user-invalid { border-color: #C25B3A; }
.field input:user-invalid:focus, .field select:user-invalid:focus { box-shadow: 0 0 0 3px rgba(194,91,58,.2); }
.field .hint { font-size: .84rem; color: var(--ink-faint); margin-top: .38rem; font-family: var(--font-ui); }
.field-error {
  display: flex; align-items: flex-start; gap: .4rem;
  font-family: var(--font-ui); font-size: .84rem; line-height: 1.45;
  color: #9C3F22;
  margin-top: .4rem;
  animation: errIn .22s var(--ease-out) both;
}
.field-error[hidden] { display: none; }
.field-error::before {
  content: "";
  flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin-top: .12rem;
  background: #C25B3A;
  -webkit-mask: var(--i-alert) center / contain no-repeat; mask: var(--i-alert) center / contain no-repeat;
}
@keyframes errIn { from { opacity: 0; transform: translateY(-3px); } }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #C25B3A; background: #FFFAF8; }
.field input[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(194,91,58,.22); }
@media (prefers-reduced-motion: reduce) { .field-error { animation: none; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
@media (max-width: 34rem) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -6000px; top: auto; height: 1px; overflow: hidden; }

.form-status { margin-top: 1.2rem; }
.form-status .ok, .form-status .err {
  padding: 1rem 1.2rem; font-size: .97rem; border-radius: var(--r-sm);
}
.form-status .ok { background: #EAF3E4; border: 1px solid #9DBB85; color: #3E5A2C; }
.form-status .err { background: #F9E9E4; border: 1px solid #D9A08B; color: #7C3A22; }

.success-card {
  max-width: 34rem; margin: 0 auto; text-align: center;
  background: var(--cream-card);
  border-radius: var(--r-lg);
  padding: 2.6rem 1.9rem;
  box-shadow: var(--sh-2);
  animation: popIn .45s var(--ease-out) both;
}
.success-card::before {
  content: ""; display: block; width: 5.5rem; aspect-ratio: 300 / 200; margin: 0 auto 1.1rem;
  background: url("/assets/brand/bakelyne-symbol.svg") center / contain no-repeat;
}
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.success-card h2 { font-family: var(--font-head); font-weight: 400; color: var(--cocoa); font-size: 1.75rem; line-height: 1.15; margin-bottom: .7rem; }
.success-card p { color: var(--ink-soft); margin-bottom: 1.4rem; }

/* Enquiry split layout */
.enquiry-layout {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start;
}
.enquiry-side { position: sticky; top: 6rem; }
.enquiry-side .hero-photo.small { width: 100%; margin: 0 auto 1.6rem; }
.enquiry-side .hero-photo.small .arch { max-height: none; z-index: 2; }
@media (max-width: 56rem) {
  .enquiry-layout { grid-template-columns: 1fr; }
  /* Phones keep the arch and the three steps, after the form (after the base rules so it wins). */
  .enquiry-side { position: static; order: 2; }
  .enquiry-side .hero-photo.small { width: min(80%, 18rem); margin-inline: auto; }
}
.form-card {
  background: var(--cream-card);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--sh-2);
}
/* The success message replaces the form inside the card: no card in a card. */
.form-card .success-card { background: none; box-shadow: none; padding: 1rem 0; }
.enquiry-side .note {
  margin-top: 1.1rem; font-size: .88rem; color: var(--ink-faint);
  font-family: var(--font-ui); line-height: 1.6;
}
.side-steps {
  list-style: none; counter-reset: sstep;
  margin-top: 1.4rem; display: grid; gap: .75rem;
}
.side-steps li {
  position: relative; padding-left: 2.4rem;
  font-family: var(--font-ui); font-size: .88rem; line-height: 1.55;
  color: var(--ink-soft);
}
.side-steps li strong { color: var(--cocoa); font-weight: 500; }
.side-steps li::before {
  counter-increment: sstep; content: counter(sstep);
  position: absolute; left: 0; top: .05rem;
  width: 1.65rem; height: 1.65rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--cocoa);
  font-family: var(--font-head); font-size: .85rem;
  box-shadow: inset 0 0 0 1.5px var(--leaf);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--sage-deep); color: var(--cream);
  margin-top: clamp(4.5rem, 8vw, 6rem); padding: clamp(2.6rem, 6vw, 3.6rem) 0 2rem;
  font-size: .95rem;
}
.site-footer > .wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); color: var(--sage-deep); }
/* A band or tinted section runs straight into the footer's wave. */
.section.tint + .site-footer, .band + .site-footer,
main:has(> .band:last-child) + .site-footer,
main:has(> .section.tint:last-child) + .site-footer { margin-top: 0; }
.site-footer .cols {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.3fr; gap: 2.4rem;
}
@media (max-width: 62rem) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 34rem) { .site-footer .cols { grid-template-columns: 1fr; gap: 1.9rem; } }
.site-footer .footer-logo { margin: 0 0 .6rem -.4rem; }
.site-footer .knows { list-style: none; display: grid; gap: .55rem; }
.site-footer .knows li {
  font-family: var(--font-ui); font-size: .9rem; color: var(--cream);
  line-height: 1.55; padding-left: 1.15rem; position: relative;
}
.site-footer .knows li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .4rem; height: .4rem; border-radius: 50%;
  background: var(--blush);
}
.site-footer .knows a { color: var(--cream); text-decoration: underline; text-underline-offset: .2em; }
.site-footer .knows a:hover { color: var(--blush); }
.site-footer .tag { color: var(--cream); opacity: 1; font-size: .9rem; margin-top: .35rem; line-height: 1.65; }
.site-footer .foot-h {
  font-family: var(--font-ui);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--blush); margin-bottom: .9rem; font-weight: 500;
}
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
/* Standalone links need a 24px target (WCAG 2.2 SC 2.5.8). */
.site-footer li a { display: inline-block; padding: .18rem 0; min-height: 24px; }
.site-footer a {
  color: var(--cream); text-decoration: none;
  font-family: var(--font-ui); font-size: .92rem;
  transition: color .2s var(--ease), translate .2s var(--ease);
}
.site-footer a:hover { color: var(--blush); }
.site-footer li a:hover { translate: 3px 0; }
.site-footer .fine {
  max-width: var(--wrap); margin: 2.6rem auto 0; padding: 1.4rem var(--gutter) 0;
  border-top: 1px solid rgba(246, 238, 228, .2);
  color: var(--cream); font-size: .8rem;
  font-family: var(--font-ui);
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: space-between;
}
@media (max-width: 56rem) { .site-footer .fine { padding-bottom: 4.6rem; } }

/* ==========================================================================
   Chips
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 1.4rem; }
.chip {
  background: var(--cream-deep); border: 0;
  color: var(--cocoa); border-radius: var(--r-pill);
  padding: .45rem 1.1rem; font-size: .88rem;
  font-family: var(--font-ui); letter-spacing: .015em;
  transition: background .2s var(--ease);
}
body:not(.admin) .chip:hover { background: var(--blush); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(35, 20, 14, .94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 3.5rem 1.2rem 4.5rem;
}
.lb.open { display: flex; animation: lbIn .28s var(--ease-out) both; }
@keyframes lbIn { from { opacity: 0; } }
.lb figure {
  position: relative; max-width: min(64rem, 100%); max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.lb img {
  max-width: 100%; max-height: calc(100dvh - 11rem); object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: lbZoom .35s var(--ease-out) both;
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.96); } }
.lb figcaption {
  color: #EAD9C4; font-family: var(--font-ui); font-size: .9rem;
  text-align: center; max-width: 46ch; letter-spacing: .01em;
}
.lb .cta { margin-top: .1rem; }
.lb .cta[hidden] { display: none; }
.lb .close, .lb .prev, .lb .next {
  position: absolute; z-index: 2;
  background: var(--cocoa); border: 0; color: var(--cream);
  box-shadow: 0 0 0 2px var(--blush);
  cursor: pointer;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0; line-height: 0; padding: 0;
  transition: background .2s var(--ease), translate .2s var(--ease);
}
.lb .close::before, .lb .prev::before, .lb .next::before {
  content: ""; width: 1.2rem; height: 1.2rem; background: currentColor;
  -webkit-mask: var(--lb-icon) center / contain no-repeat; mask: var(--lb-icon) center / contain no-repeat;
}
.lb .close { --lb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.lb .prev { --lb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.lb .next { --lb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.lb .close:hover, .lb .prev:hover, .lb .next:hover { background: var(--cocoa-deep); }
.lb .close { top: 1rem; right: 1.1rem; position: fixed; }
.lb .prev { left: 1rem; top: 50%; margin-top: -1.45rem; position: fixed; }
.lb .next { right: 1rem; top: 50%; margin-top: -1.45rem; position: fixed; }
.lb .count {
  position: fixed; top: 1.75rem; left: 50%; transform: translateX(-50%);
  color: #C9AE92; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .16em;
}
@media (max-width: 40rem) {
  .lb .prev { left: .5rem; } .lb .next { right: .5rem; }
  .lb .prev, .lb .next, .lb .close { width: 2.5rem; height: 2.5rem; }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--cocoa); color: var(--cream);
  border: none; cursor: pointer; font-size: 1.1rem;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; translate: 0 10px;
  transition: opacity .3s var(--ease), translate .3s var(--ease), background .2s var(--ease);
  box-shadow: 0 0 0 3px var(--blush), var(--sh-2);
}
.to-top.show { opacity: 1; pointer-events: auto; translate: 0 0; }
.to-top:hover { background: var(--cocoa-deep); }
/* The chat widget injects its own styles; the extra `body` outranks them. */
body .bk-panel { font-family: var(--font-ui); }
body .bk-launch { box-shadow: 0 0 0 3px var(--blush), var(--sh-2); }
body .bk-launch:hover { background: var(--cocoa-deep); box-shadow: 0 0 0 3px var(--blush), var(--sh-3); }

/* ==========================================================================
   Mobile quick-enquire bar (gallery pages)
   ========================================================================== */
.quickbar { display: none; }
@media (max-width: 56rem) {
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: rgba(255, 253, 248, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: .65rem var(--gutter);
    padding-bottom: calc(.65rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 26px rgba(74,44,33,.12);
  }
  .quickbar .qb-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
  .quickbar .qb-info strong {
    font-family: var(--font-ui); font-weight: 500; font-size: .95rem; color: var(--cocoa);
  }
  .quickbar .qb-info strong b { color: var(--accent-ink); font-weight: 600; }
  .quickbar .qb-info span { font-family: var(--font-ui); font-size: .74rem; color: var(--ink-faint); }
  .quickbar .btn { padding: .7rem 1.4rem; flex-shrink: 0; }
  body.has-quickbar { padding-bottom: 4.4rem; }
  /* Lift the floating controls clear of the bar (the chat widget positions
     .to-top with !important, so this must too). */
  body.has-quickbar .bk-launch { bottom: 5.5rem !important; }
  body.has-quickbar .to-top { bottom: 9.6rem !important; }
}

/* ==========================================================================
   Scroll-reveal (only when JS is present)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2), .js .steps > .reveal:nth-child(2) { transition-delay: .07s; }
.js .grid > .reveal:nth-child(3), .js .steps > .reveal:nth-child(3) { transition-delay: .14s; }
.js .grid > .reveal:nth-child(4) { transition-delay: .21s; }
.js .grid > .reveal:nth-child(5) { transition-delay: .28s; }
.js .grid > .reveal:nth-child(6) { transition-delay: .35s; }
/* One authored motion: only the arch photos move. Everything else is simply
   there (the bkReveal contract still adds its classes). */
.js .reveal:not(.arch) { opacity: 1; transform: none; transition: none; }

/* Arch photos rest fully visible and are never on the safety-net timer: when
   one is actually seen, its photo rises into the frame once. `backwards`
   fill hands control back afterwards, so a hidden tab or a missing observer
   just leaves the photo showing. */
.js .arch.reveal { opacity: 1; transform: none; }
.js .arch.reveal.in img { animation: archRise .9s var(--ease-out) backwards; }
@keyframes archRise {
  from { clip-path: inset(100% 0 0 0); scale: 1.08; }
  to { clip-path: inset(0 0 0 0); scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .arch.reveal.in img { animation: none; }
  .js .arch, .pcard, .pcard figure img, .faq summary::after, .link-arrow::after, .pcard .more::after,
  .to-top, .site-footer a, nav.main a::after, nav.main a.cta, .btn, .site-header, .step, .ig-strip img { transition: none; }
  .faq details[open] .a, .success-card, .lb.open, .lb img, nav.main.open, .js body { animation: none; }
  .chip, .price-nav a, .price-rows li { transition: none; }
}

/* ==========================================================================
   Price list
   ========================================================================== */
.price-nav {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-top: 1.6rem;
}
.price-nav a {
  font-family: var(--font-ui); font-size: .84rem; letter-spacing: .04em;
  color: var(--cocoa); text-decoration: none;
  background: var(--cream-deep); border: 0;
  border-radius: var(--r-pill); padding: .5rem 1.15rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.price-nav a:hover { background: var(--cocoa); color: var(--cream); }

#priceList { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.price-group {
  background: var(--cream-card);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.3rem, 4vw, 2.6rem);
  box-shadow: var(--sh-1);
}
.price-group h2 {
  font-family: var(--font-head); font-weight: 400; color: var(--cocoa);
  font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -0.01em; margin-bottom: .35rem;
}
.price-group .blurb { color: var(--ink-soft); font-size: .94rem; max-width: 56ch; margin-bottom: 1.1rem; }
.price-rows { list-style: none; }
/* A menu line: name, a dotted leaf-green leader, the price. */
.price-rows li {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .85rem .5rem; margin-inline: -.5rem; border-bottom: 1px solid var(--line-soft);
  border-radius: var(--r-xs);
  transition: background .2s var(--ease);
}
.price-rows li::after {
  content: ""; order: 1; flex: 1 1 2rem; height: 1px; min-width: 1.5rem;
  background: repeating-linear-gradient(90deg, var(--leaf) 0 1.5px, transparent 1.5px 6px);
  opacity: .55; translate: 0 -.25em;
}
.price-rows li > div { order: 0; }
.price-rows li > .amount { order: 2; }
.price-rows li:hover { background: var(--cream-deep); }
.price-rows li:last-child { border-bottom: none; }
.price-rows li > div { display: flex; flex-direction: column; gap: .1rem; }
.price-rows strong { font-family: var(--font-head); font-weight: 400; font-size: 1.12rem; color: var(--cocoa); }
.price-rows span { font-size: .84rem; color: var(--ink-faint); font-family: var(--font-ui); }
.price-rows .amount {
  font-family: var(--font-head); font-weight: 400;
  font-size: 1.3rem; color: var(--cocoa);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.price-rows .amount i {
  font-family: var(--font-ui); font-style: normal; font-size: .7rem; font-weight: 500;
  color: var(--ink-soft); margin-right: .35rem;
  text-transform: uppercase; letter-spacing: .14em;
}
.price-note {
  display: inline-block; margin-top: 1.5rem;
  color: var(--ink-soft); font-size: .95rem;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .65rem 1.3rem;
  box-shadow: var(--sh-1);
}
.price-note b { color: var(--accent-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.price-note a { color: var(--cocoa); }
