/* LibbyGene Concierge — the labeled shelf */

@font-face {
  font-family: "The Seasons"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/the-seasons-regular.woff2") format("woff2");
}
:root {
  /* One viewport-height unit; app.js corrects it when the page is zoomed (see the 125% rule at the end). */
  --vh: 1svh;
  --green-950: #12261f;
  --green-900: #17302a;
  --green-800: #1e3a32;
  --green-600: #3c5c52;
  --cream: #f3ecdf;
  --cream-2: #ebe2d1;
  --cream-3: #e2d6c1;
  --ink: #1d2a26;
  --ink-soft: #4a564f;
  --terra: #d08a6b;
  --terra-deep: #9f5737;
  --rule: rgba(29, 42, 38, .16);
  --rule-strong: rgba(29, 42, 38, .34);
  --rule-control: rgba(29, 42, 38, .58); /* control boundaries: 3.5:1 on cream (WCAG 1.4.11) */
  --on-green: #efe7d8;
  --on-green-soft: #b9c3b7;

  /* Brand fonts: The Seasons for titles and section titles, Cardo for everything else.
     The Seasons is a licensed font; until its web files are in assets/fonts, titles fall back to Gambetta. */
  --display: "The Seasons", "Gambetta", "Iowan Old Style", Georgia, serif;
  --serif: "Cardo", "Iowan Old Style", Georgia, serif;
  --sans: var(--serif);

  --gutter: clamp(10px, 1.2vw, 16px);
  --pad: clamp(24px, 4.4vw, 68px);
  --radius: 10px;
  --radius-inner: 6px;
  --card-pad: clamp(18px, 2vw, 24px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --rail-h: 64px;
  --fs-label: .78rem;
  --fs-small: 1rem;
  --fs-quote: 1.2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rail-h) + 28px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

body {
  margin: 0;
  background: var(--green-900);
  color: var(--ink);
  font: 400 1.1rem/1.6 var(--sans); /* Cardo sets small; 1.1rem reads like a 1rem sans */
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  caret-color: var(--green-800);
  scrollbar-color: var(--green-600) var(--green-950);
}
::selection { background: var(--terra); color: var(--green-950); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--green-800); outline-offset: 3px; border-radius: var(--radius-inner); }
.reviews :focus-visible, .foot :focus-visible { outline-color: var(--terra); }
/* Over the hero photo and the transparent rail the ring is cream, so it stays visible (WCAG 2.4.7). */
.open :focus-visible, .rail[data-state="top"] :focus-visible, .reel :focus-visible { outline-color: var(--on-green); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
i { font-family: var(--serif); font-style: italic; }

/* ---------- Tags: the label language (pills) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .5em;
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.tag--green { background: var(--green-800); color: var(--cream); }
.tag--green:hover { background: var(--green-950); }
.tag--terra { background: var(--terra); color: var(--green-950); }
.tag--terra:hover { background: var(--terra-deep); color: var(--cream); }

/* ---------- The rail (floating header) ---------- */
.rail {
  position: fixed; z-index: 40;
  top: calc(var(--gutter) + 10px); left: 50%;
  width: min(calc(100% - 2 * var(--gutter) - 20px), 1240px);
  transform: translateX(-50%);
  }
.rail__inner {
  position: relative;
  /* Mirrored: three items each side of a truly centred monogram, on the same axis as the hero. */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  height: var(--rail-h); padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
/* Over the hero photo the rail reads light; once it floats on cream it returns to ink. */
.rail[data-state="top"] .rail__links a { color: var(--on-green); }
.rail[data-state="top"] .rail__links a:hover { color: var(--terra); }
.rail[data-state="top"] .rail__cta { background: var(--cream); color: var(--green-950); }
.rail[data-state="top"] .rail__menu { border-color: var(--on-green); }
.rail[data-state="top"] .rail__burger, .rail[data-state="top"] .rail__burger::before { background: var(--on-green); }
.rail[data-state="float"] .rail__inner { background: rgba(243, 236, 223, .94); border-color: var(--rule); backdrop-filter: saturate(1.2) blur(12px); }

.rail__links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rail__end { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.rail__links a {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  transition: color .3s var(--ease);
}
.rail__links a:hover { color: var(--terra-deep); }
.rail__links a[aria-current="true"] { color: var(--green-950); }
.rail__lit {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 34px; width: 0;
  border-radius: 999px; background: var(--terra);
  transform: translate(var(--lit-x, 0), -50%); opacity: 0;
  transition: transform .55s var(--ease), opacity .3s var(--ease);
  pointer-events: none;
}
.rail__lit.is-on { opacity: 1; }
.rail__mark { display: block; width: 52px; filter: brightness(.78) saturate(1.25) contrast(1.1); }
.rail__cta { margin-left: 10px; font-weight: 700; }
.rail__menu { display: none; }

.drawer {
  margin-top: 8px; padding: 10px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--rule);
  display: grid; gap: 2px;
}
.drawer[hidden] { display: none; }
.drawer a { padding: 14px 16px; border-radius: var(--radius-inner); text-decoration: none; font: 400 1.25rem/1.2 var(--serif); }
.drawer a:hover { background: var(--cream-2); }
.drawer__cta { background: var(--green-800); color: var(--cream); text-align: center; font: 500 .82rem/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; padding: 18px !important; }
.drawer__cta:hover { background: var(--green-950) !important; }

/* ---------- Backdrop: a blurred photo behind every panel, changing with the section ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--green-950); }
.backdrop__layer {
  position: absolute; inset: -60px;
  background: var(--green-950) 50% 45% / cover no-repeat;
  filter: blur(26px) brightness(.5) saturate(.9);
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.backdrop__layer.is-on { opacity: 1; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(18, 38, 31, .5); }

/* ---------- Opening ---------- */
.open {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100 * var(--vh)); padding: var(--gutter) var(--gutter) 0;
  display: flex; flex-direction: column;
}

/* Hero: one cinematic photo panel. The photo settles in, the copy sits low over the scrim. */
.open__panel {
  position: relative; flex: 1; isolation: isolate; overflow: hidden;
  width: min(100%, 1260px); margin: 0 auto;
  background: var(--green-950);
  border-radius: var(--radius);
  padding: calc(var(--rail-h) + 44px) clamp(22px, 4vw, 56px) clamp(40px, calc(6 * var(--vh)), 72px);
  /* Copy sits at eye level: centred, nudged a little below the middle (padding-top carries the rail). */
  display: grid; align-content: center; justify-items: center;
}
.open__media { position: absolute; inset: 0; z-index: -1; }
.open__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  transform-origin: 50% 35%; animation: open-settle 2.6s cubic-bezier(.2, .7, .2, 1) both;
}
/* Scrim: darker at the top for the rail, an oval behind the centred copy, a soft fade at the foot; the sunset stays clear. */
.open__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 38, 31, .66) 0%, rgba(18, 38, 31, 0) 24%),
    radial-gradient(ellipse 62% 46% at 50% 58%, rgba(18, 38, 31, .78) 0%, rgba(18, 38, 31, .5) 48%, rgba(18, 38, 31, 0) 100%),
    linear-gradient(0deg, rgba(18, 38, 31, .6) 0%, rgba(18, 38, 31, 0) 30%);
}
.open__copy { display: grid; justify-items: center; gap: clamp(18px, 2.4vw, 26px); animation: open-rise 1.1s .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes open-settle { from { transform: scale(1.08); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@keyframes open-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
/* Centered invitation stack: big words carry the meaning, small italic connectors join them. */
.open__title {
  font-family: var(--display); font-weight: 400; text-align: center;
  font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.025em;
  display: grid; justify-items: center; gap: .08em;
}
.open__title .row { display: block; }
.open__title { color: var(--on-green); }
.open__title i { font-family: var(--display); font-style: normal; font-size: .56em; letter-spacing: 0; color: var(--terra); }
.open__notes { display: grid; justify-items: center; gap: 26px; text-align: center; }
/* The subtitle now carries the "what and where" on its own: readable sentence case, not a small label. */
.open__where { font: 400 clamp(1.05rem, 1.5vw, 1.25rem)/1.5 var(--sans); letter-spacing: .01em; color: var(--on-green); max-width: 62ch; }
.open__where span { display: inline-block; }
.open__where .sep { white-space: pre; }
@media (max-width: 620px) { .open__where span:not(.sep) { display: block; } .open__where .sep { display: none; } }
.open__pitch { font-size: 1.02rem; line-height: 1.55; max-width: 48ch; color: var(--on-green); }
.moment__tag {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font: 500 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.open__pitch { display: grid; gap: 18px; justify-items: center; }

/* ---------- Bays (the compartments) ---------- */
main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gutter); padding-bottom: var(--gutter); }
.open + .bay { margin-top: 0; }
.bay {
  width: min(calc(100% - 2 * var(--gutter)), 1260px); margin: 0 auto;
  background: var(--cream); border-radius: var(--radius);
  padding: var(--pad);
}
.h2 { font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--terra-deep); }
.h2--light { color: var(--terra); }
/* Each section's subject is the accent: full-size italic in terracotta, the rest stays roman. */
/* Whole section titles are terracotta; the <i> subject keeps only its typeface. */
.h2 i { font-family: var(--display); font-style: normal; color: inherit; }
.bay__sub { margin-top: 12px; color: var(--ink-soft); max-width: 52ch; }
.lede { font: 400 1.35rem/1.35 var(--serif); }

/* About */
.bay--about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about__photo { margin: 0; position: relative; }
.about__photo img { width: 100%; aspect-ratio: 654 / 760; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-inner); }
.about__photo { isolation: isolate; }
/* Embossed florals: rendered tone-on-tone relief (light/shadow overlays) growing from the corners. */
.bay--linen { position: relative; isolation: isolate; overflow: clip; }
.emboss { position: absolute; z-index: -1; height: auto; pointer-events: none; }
.emboss--tr { top: 0; right: 0; width: clamp(200px, 22vw, 300px); opacity: .75; } /* sits behind text: smaller and quieter */
.emboss--bl { left: 0; bottom: 0; width: clamp(240px, 30vw, 420px); }
.about__copy { display: grid; gap: 14px; max-width: 60ch; }
.about__copy .h2 { margin-bottom: 10px; }
.about__copy p:not(.lede) { color: var(--ink-soft); }
.about__sign { font: italic 400 1.5rem/1.3 var(--serif); color: var(--terra-deep) !important; margin-top: 4px; }
.about__close { color: var(--ink) !important; font: italic 400 1.18rem/1.45 var(--serif); border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 6px; }

/* Facings (price compartments) */
.facings { display: grid; gap: 12px; }
.facings--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facings--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .facing {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-inner);
  padding: var(--card-pad);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.facing {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto 1fr auto; column-gap: 16px; align-content: start;
}
.facing:hover, .facing:focus-within { border-color: var(--rule-strong); }
.facing:target { border-color: var(--green-800); box-shadow: inset 0 0 0 1px var(--green-800); }
.facing__name { grid-column: 1; font: 500 1.4rem/1.15 var(--serif); letter-spacing: -.01em; }
.facing__meta { grid-column: 1; font: 500 .72rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.facing__price {
  grid-column: 2; grid-row: 1 / span 3; align-self: start;
  display: inline-flex; align-items: baseline;
  padding: 6px 14px 7px; border: 1px solid var(--rule-strong); border-radius: 999px;
  font: 400 1.5rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.facing:hover .facing__price, .facing:target .facing__price { background: var(--terra); border-color: var(--terra); }
.facing__price .cur { font-size: .62em; margin-right: 1px; transform: translateY(-.35em); }
.facing__price .plus { font-size: .7em; margin-left: 1px; }
.facing__list { grid-column: 1 / -1; grid-row: 4; align-content: start; margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--fs-small); color: var(--ink-soft); }
.facing__list li { padding-left: 16px; position: relative; }
.facing__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--terra-deep); }
.ask {
  grid-column: 1 / -1; justify-self: start; margin-top: 16px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--green-800);
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: color .25s var(--ease);
}
.ask { display: inline-flex; align-items: center; gap: 8px; position: relative; }
/* Larger tap area than the small label suggests. */
.ask::before { content: ""; position: absolute; inset: -14px -8px -10px; }
.ask::after {
  content: ""; width: 14px; height: 8px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M0 4h13M9.5.5 13 4 9.5 7.5' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M0 4h13M9.5.5 13 4 9.5 7.5' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.ask:hover::after { transform: translateX(3px); }
.ask:hover { color: var(--terra-deep); }
/* Narrow cards (three across under the 125% scale): price drops under the name, the ask link stays on one line. */
.facing { container-type: inline-size; }
@container (max-width: 280px) {
  .facing__price { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 12px; }
  .facing__name, .facing__meta { grid-column: 1 / -1; }
  .ask { letter-spacing: .1em; white-space: nowrap; }
}

/* Weddings */
.bay--weddings { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 8.8fr); grid-template-areas: "photo head" "photo grid"; column-gap: clamp(24px, 4vw, 56px); row-gap: 28px; }
.bay--weddings .bay__head { grid-area: head; }
.weddings__photo { grid-area: photo; margin: 0; align-self: stretch; }
.weddings__photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-inner); }
.bay--weddings .facings { grid-area: grid; }

/* Rentals */
.bay--rentals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rentals__photo { margin: 0; }
.rentals__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-inner); }
.rentals__menu { display: grid; }
.menu { margin: 26px 0 0; display: grid; border-top: 1px solid var(--rule); }
.menu__row { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.menu__row dt { flex: 1; display: flex; align-items: baseline; gap: 10px; font: 400 1.32rem/1.2 var(--serif); }
.menu__row dt::after { content: ""; flex: 1; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-.25em); min-width: 24px; }
.menu__row dt span { font: 500 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.menu__row dd { margin: 0; font: 400 1.32rem/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.menu__sub { padding: 2px 0 8px 22px; border-bottom: 1px solid var(--rule); }
.menu__sub .menu__row { padding: 5px 0; border: 0; }
.menu__sub dt, .menu__sub dd { font: 400 var(--fs-small)/1.3 var(--sans); color: var(--ink-soft); }
.menu__row--set dt, .menu__row--set dd { color: var(--green-800); }
.fine { margin-top: 18px; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.rentals__menu .ask { margin-top: 20px; }

/* Organizing */
.bay--organizing { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 9.4fr); grid-template-areas: "photo head" "photo grid" "photo addon"; column-gap: clamp(24px, 4vw, 56px); row-gap: 22px; }
.bay--organizing .bay__head { grid-area: head; }
.organizing__photo { grid-area: photo; margin: 0; position: relative; min-height: 360px; }
.organizing__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-inner); }
.bay--organizing .facings { grid-area: grid; }
.addon {
  grid-area: addon;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "name items price" "meta items price";
  align-items: center; column-gap: 28px; row-gap: 2px;
  background: var(--cream); border: 1px solid var(--rule); border-radius: var(--radius-inner); padding: 14px 14px 14px var(--card-pad);
}
.addon__name { grid-area: name; font: 500 var(--fs-quote)/1.2 var(--serif); }
.addon__meta { grid-area: meta; font: 500 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.addon__items { grid-area: items; display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--ink-soft); }
.addon__items li + li { border-left: 1px solid var(--rule-strong); margin-left: 12px; padding-left: 12px; }
.addon__price { grid-area: price; font: 400 1.3rem/1 var(--serif); padding: 8px 16px; border-radius: 999px; background: var(--terra); color: var(--green-950); font-variant-numeric: lining-nums tabular-nums; }

/* Recent weddings strip */
.reel { padding: clamp(48px, 7vw, 88px) 0; overflow: hidden; }
.reel__head { width: min(calc(100% - 2 * var(--gutter)), 1260px); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.reel__sub { color: var(--on-green-soft); max-width: 44ch; }
.reel__track {
  list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0 calc(max(var(--gutter), (100% - 1260px) / 2) + var(--pad)) 26px;
  display: flex; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 calc(max(var(--gutter), (100% - 1260px) / 2) + var(--pad));
  scrollbar-width: thin; scrollbar-color: var(--green-600) transparent;
}
.reel__track:focus-visible { outline-color: var(--terra); outline-offset: 6px; }
/* A frame is exactly as wide as its photo, so long credits wrap under it instead of widening the frame. */
.frame { --frame-h: clamp(300px, calc(48 * var(--vh)), 460px); flex: 0 0 auto; width: calc(var(--frame-h) * .8); scroll-snap-align: start; display: grid; align-content: start; gap: 10px; }
.frame__photo { position: relative; overflow: hidden; border-radius: var(--radius-inner); }
.frame__photo img { display: block; height: var(--frame-h); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover .frame__photo img { transform: scale(1.04); }
.frame__credit { display: grid; gap: 2px; font-size: var(--fs-label); letter-spacing: .02em; line-height: 1.45; }
.frame__venue { color: var(--on-green); }
.frame__by { color: var(--on-green-soft); }

/* Reviews */
.reviews { width: min(calc(100% - 2 * var(--gutter)), 1260px); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.reviews__source { display: inline-flex; align-items: center; gap: 10px; color: var(--on-green); font-size: var(--fs-small); }
.reviews__source svg { width: 20px; height: 20px; }
.reviews__grid {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px;
}
.review { margin: 0; display: grid; align-content: start; gap: 14px; }
.review--feature { grid-row: span 2; }
.review__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.review__avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-800); color: var(--cream); font: 500 1rem/1 var(--sans);
}
.review:nth-child(3n+2) .review__avatar { background: var(--terra-deep); }
.review:nth-child(3n) .review__avatar { background: var(--green-600); }
.review__who { display: grid; gap: 3px; }
.review__name { font: 500 1rem/1.2 var(--sans); color: var(--ink); }
.review__stars svg { display: block; width: 80px; height: 16px; }
.review__g { width: 20px; height: 20px; align-self: start; }
.review__text { margin: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--ink); }
.reviews__cta { margin-top: 24px; }


/* Inquire */
.bay--inquire { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; overflow: hidden; }
/* The inquiry card is the envelope: the flap rises behind the form, sealed with wax at its point. */
.bay--inquire { position: relative; isolation: isolate; padding-bottom: clamp(190px, 20vw, 250px); }
.envelope {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
  height: clamp(270px, 28vw, 370px); pointer-events: none;
}
.envelope__shape { display: block; width: 100%; height: 100%; }
.envelope__pocket { fill: var(--cream-2); }
.envelope__crease { fill: none; stroke: var(--rule-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* The flap edge: one solid line with a soft shadow under it, like folded paper. */
.envelope__lace { fill: none; stroke: var(--rule-strong); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 2px var(--rule)); }
/* Wax seal at the point of the flap, embossed florals trailing outward from it. */
.envelope__seal {
  position: absolute; z-index: 2; left: 50%; top: calc(118 / 170 * 100%); translate: -50% -50%;
  width: clamp(84px, 9vw, 120px); height: auto;
}
.garland { position: absolute; z-index: 1; top: calc(118 / 170 * 100%); width: clamp(200px, 22vw, 310px); height: auto; pointer-events: none; }
.garland--r { left: 50%; translate: 0 -67%; }
.garland--l { right: 50%; translate: 0 -67%; }
.questions { margin-top: clamp(20px, 2.4vw, 28px); padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.questions h3 { font: 500 1.3rem/1.2 var(--serif); }
.questions p { color: var(--ink-soft); }
.questions__lines { display: flex; flex-wrap: wrap; gap: 2px 22px; margin-top: 2px; color: var(--ink) !important; }
.questions__lines a { font: 400 var(--fs-quote)/1.4 var(--serif); text-decoration: none; justify-self: start; border-bottom: 1px solid var(--rule-strong); }
.questions__lines a:hover { border-color: var(--terra-deep); color: var(--terra-deep); }

.form { display: grid; gap: 22px; }
.form__steps { display: flex; gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; counter-reset: s;  flex-wrap: wrap;}
.form__steps li {
  counter-increment: s;
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px;
  font: 500 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--rule);
}
.form__steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); letter-spacing: 0; color: var(--ink); }
.form__steps li[aria-current="step"] { border-color: var(--green-800); color: var(--ink); }
.form__steps li[aria-current="step"]::before { background: var(--green-800); color: var(--cream); }
.form__steps li.is-done::before { background: var(--terra); }

.step, .branch { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.step[hidden], .branch[hidden] { display: none; }
.branch { grid-column: 1 / -1; }
.field { grid-column: 1 / -1; display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field--half { grid-column: span 1; }
.field > label:not(.chip), .field > legend { font: 500 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 0; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink-soft); opacity: .8; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule-control); border-radius: 0;
  background: transparent; padding: 8px 0 10px; color: var(--ink);
  font: 400 1.12rem/1.4 var(--serif);
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 3.2em; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green-800); box-shadow: 0 1px 0 var(--green-800); }
.field input[type="date"] { min-height: 46px; }
.field [aria-invalid="true"], .choices[aria-invalid="true"] .chip span { border-color: var(--terra-deep) !important; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { width: 100%; margin-bottom: 6px; float: left; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--rule-control); font-size: var(--fs-small); line-height: 1.2; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { border-color: var(--green-800); }
.chip input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--green-800); outline-offset: 2px; }

.form__error { color: var(--terra-deep); font-weight: 500; }
.form__nav { display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--rule); padding-top: 20px; }
.btn {
  height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green-800); color: var(--cream);
  font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s var(--ease);
}
.btn:hover { background: var(--green-950); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn--quiet { background: transparent; color: var(--ink); border: 1px solid var(--rule-control); }
.btn--quiet:hover { background: var(--cream-2); }
.btn[hidden] { display: none; }
.form__done { padding: 36px 0 12px; display: grid; gap: 10px; }
.form__done[hidden] { display: none; }
.form__done h3 { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); }
.form__done h3 i { color: var(--terra-deep); }
.form__done p { color: var(--ink-soft); max-width: 44ch; }
.form.is-sent .form__steps, .form.is-sent .step, .form.is-sent .form__nav, .form.is-sent .form__error { display: none; }

/* Footer */
.foot {
  width: min(calc(100% - 2 * var(--gutter)), 1260px); margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--pad) 28px;
  display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 36px 28px;
  color: var(--on-green);
}
.foot__brand img { width: min(260px, 70%); }
.foot__brand p { margin-top: 18px; color: var(--on-green-soft); max-width: 30ch; }
.foot__brand .foot__tagline { font: italic 400 1.35rem/1.3 var(--serif); color: var(--on-green); }
.foot__brand .foot__tagline + p { margin-top: 8px; }
.foot__col { display: grid; align-content: start; gap: 10px; }
.foot__col h2 { font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; }
.foot__col a { text-decoration: none; justify-self: start; }
.foot__col a:hover { color: var(--terra); }
.foot__col p { color: var(--on-green-soft); font-size: var(--fs-small); }
.foot__legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(239, 231, 216, .14); color: var(--on-green-soft); font-size: var(--fs-small); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rail__links a { padding: 0 10px; letter-spacing: .1em; }
  .facings--3 { grid-template-columns: 1fr; }
  .bay--organizing { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .addon { grid-template-columns: 1fr auto; grid-template-areas: "name price" "meta price" "items items"; border-radius: var(--radius-inner); row-gap: 6px; padding: var(--card-pad); }
  .addon__items { flex-direction: column; margin-top: 8px; }
  .addon__items li + li { border-left: 0; margin-left: 0; padding-left: 0; }
  .addon__items li { padding: 4px 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  :root { --rail-h: 58px; }
  .rail__inner { grid-template-columns: 1fr auto 1fr; padding: 0 8px; }
  .rail__links { display: none; }
  .rail__lit { display: none; }
  .rail__mark { grid-column: 2; grid-row: 1; width: 38px; }
  .rail__end { grid-column: 3; grid-row: 1; }
  .rail__cta { height: 40px; margin-left: 0; }
  .rail__menu {
    grid-column: 1; grid-row: 1; justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--rule-control); background: transparent; cursor: pointer;
  }
  .rail__burger, .rail__burger::before { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
  .rail__burger::before { content: ""; position: absolute; top: 5px; }
  .rail__burger { transform: translateY(-2.5px); }
  .rail__menu[aria-expanded="true"] .rail__burger { transform: rotate(45deg); }
  .rail__menu[aria-expanded="true"] .rail__burger::before { transform: translateY(-5px) rotate(-90deg); }
  .rail[data-state="top"] .rail__inner { background: transparent; }

  .moment__tag { left: 8px; bottom: 8px; height: 26px; padding: 0 10px; font-size: var(--fs-label); }

  .bay--about, .bay--rentals, .bay--inquire { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 420px; }
  .emboss--tr { width: 190px; } .emboss--bl { width: 210px; }
  .bay--weddings, .bay--organizing { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "grid" "addon"; }
  .weddings__photo img { min-height: 0; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-inner); }
  .organizing__photo { min-height: 0; }
  .organizing__photo img { position: static; min-height: 0; height: auto; aspect-ratio: 4 / 3; object-position: 50% 45%; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--feature { grid-column: 1 / -1; grid-row: auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .facings--2x2 { grid-template-columns: 1fr; }
  .step, .branch { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .rail__cta { padding: 0 14px; }
  .menu__row dt, .menu__row dd { font-size: var(--fs-quote); }
  .menu__sub dt, .menu__sub dd { font-size: var(--fs-small); }
  .menu__row--set dt { flex-wrap: wrap; }
  .menu__row--set dt span { order: 2; flex-basis: 100%; margin-top: 4px; }
  .menu__row--set dt::after { order: 1; }
  .form__nav { justify-content: stretch; }
  .form__nav .btn { flex: 1; }
  .foot { grid-template-columns: 1fr; }
  .open__title { line-height: 1; }
  /* The peeking next photo already says "swipe"; the scrollbar only adds a stray line. */
  .reel__track { scrollbar-width: none; }
  .reel__track::-webkit-scrollbar { display: none; }
  /* Reviews become a swipe row, the way Google shows them on a phone. */
  .reviews__grid {
    display: flex; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad);
    scrollbar-width: none;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 86%; scroll-snap-align: start; }
}

/* Stacked inquire: the form follows the intro directly; "Just have a question?" moves below it. */
@media (max-width: 900px) {
  .bay--inquire { gap: 0; padding-bottom: 240px; }
  .envelope { height: 230px; } /* stacked: the whole block ends above the flap */
  .inquire__intro { display: contents; }
  .form { margin-top: 32px; }
  .questions { order: 1; margin-top: 40px; }
}

/* Larger default scale on desktop screens: the whole layout at 125%, as if the browser were zoomed.
   Only from 1280px wide, so the zoomed layout never drops below the 1024px it was designed for. */
@media (min-width: 1280px) {
  html { zoom: 1.25; }
}

/* Sideways rows: a soft fade on the side with more, and round arrow buttons (added by app.js). */
.scroller { position: relative; }
.scroller::before, .scroller::after {
  content: ""; position: absolute; top: 0; bottom: 26px; width: clamp(40px, 7vw, 96px); z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
}
.scroller::before { left: 0; background: linear-gradient(90deg, rgba(18, 38, 31, .7), rgba(18, 38, 31, 0)); }
.scroller::after { right: 0; background: linear-gradient(270deg, rgba(18, 38, 31, .7), rgba(18, 38, 31, 0)); }
.scroller.has-prev::before, .scroller.has-next::after { opacity: 1; }
.scroller__btn {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid var(--rule-control); background: var(--cream); color: var(--ink); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.scroller__btn svg { width: 18px; height: 18px; }
.scroller__btn--prev { left: 14px; }
.scroller__btn--prev svg { rotate: 180deg; }
.scroller__btn--next { right: 14px; }
.scroller__btn:hover { background: var(--terra); color: var(--green-950); }
.scroller__btn:focus-visible { outline-color: var(--on-green); }
.scroller__btn[hidden] { display: none; }
/* centre the arrows on the photos, not on photo + credit */
.scroller--reel .scroller__btn { top: calc(clamp(300px, calc(48 * var(--vh)), 460px) / 2); }
.scroller--reviews::before, .scroller--reviews::after { bottom: 0; }
.scroller--reviews .scroller__btn--prev { left: 4px; }
.scroller--reviews .scroller__btn--next { right: 4px; }
@media (max-width: 620px) { .scroller__btn { width: 42px; height: 42px; } }
