/*
 * Augustine Music & Events: shared design system.
 *
 * Every page loads this file, then keeps only what is unique to it in its own
 * <style>. Before this existed each page carried a full private copy of the nav,
 * footer, buttons and type (about 1,000 duplicated lines), and they had drifted.
 *
 * The palette is the six brand colours from CLAUDE.md, unchanged. Anything else
 * below is a tint of those six made with color-mix, never a new hue.
 */

/* Hey Lovely by 50Fox Studio. Licensed via Creative Market order 148670832 (2026-10-26): Desktop (1 seat) +
   Webfont (up to 10,000 pageviews/month). Web files are from that purchase; HeyLovely.ttf is a fallback. */
@font-face { font-family: 'HeyLovely'; src: url('../fonts/hey-lovely.woff2') format('woff2'), url('../fonts/hey-lovely.woff') format('woff'), url('../HeyLovely.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; }

:root {
  --green: #4a5e40;
  --green-dark: #2e3b28;
  --cream: #f5f2ec;
  --white: #fff;
  --text: #2c2c2c;
  --muted: #5a5a5a;

  /* Tints of the palette above, not new colours. */
  --sage-wash: color-mix(in srgb, var(--green) 7%, var(--cream));
  --line: color-mix(in srgb, var(--green-dark) 15%, transparent);
  --line-strong: color-mix(in srgb, var(--green-dark) 30%, transparent);
  --on-dark: color-mix(in srgb, var(--cream) 82%, transparent);
  --on-dark-muted: color-mix(in srgb, var(--cream) 66%, transparent);
  --line-on-dark: color-mix(in srgb, var(--cream) 16%, transparent);

  --serif: 'Italiana', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'HeyLovely', 'Snell Roundhand', cursive;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 84px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(46, 59, 40, 0.06), 0 4px 14px rgba(46, 59, 40, 0.06);
  --shadow-md: 0 2px 6px rgba(46, 59, 40, 0.06), 0 18px 44px rgba(46, 59, 40, 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── base ─────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--green) 22%, transparent); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green-dark); color: var(--cream); padding: 10px 16px; border-radius: var(--radius);
  font-size: 0.85rem; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── type ─────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--green-dark); letter-spacing: -0.005em; text-wrap: balance; }
/* Keep lining figures on anything set in the serif, so prices stay even-height. */
h1, h2, h3, h4, .display, .h2, .h3, [class*="price"], .aside-list, .band-line { font-variant-numeric: lining-nums; }
/* Italiana's figures are thin and ornate (a 1 reads as I, a 0 as O), so every
   price, total and phone number is set in the sans instead. */
[class*="price"], [class*="price"] strong, .rental-total-bar strong, .aside-list a, .aside-list p, .pkg-detail-price {
  font-family: var(--sans) !important; font-weight: 300 !important; letter-spacing: -0.01em;
}

.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1.0; letter-spacing: -0.015em;
}

.h2 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); line-height: 1.08; font-weight: 300; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.2; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green);
}

.lede { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--muted); font-weight: 300; max-width: 58ch; }
.prose p { color: var(--muted); max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }

.script { font-family: var(--script); font-weight: normal; letter-spacing: 0; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ── buttons ──────────────────────────────────────────────────────────── */

/* The old class names (btn-green, btn-outline, btn-outline-white) are kept as
   aliases so existing markup and the booking form script need no changes. */
.btn, .btn-green, .btn-outline, .btn-outline-white, .btn-light {
  --btn-bg: var(--green-dark); --btn-fg: var(--cream); --btn-fill: var(--green); --btn-border: var(--green-dark);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-border);
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.3s var(--ease);
}
/* A fill that sweeps in from the left on hover. Clipped to the pill by its own
   clip-path, not the button's overflow, so the hover vine can grow outside it. */
.btn::before, .btn-green::before, .btn-outline::before, .btn-outline-white::before, .btn-light::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-fill); clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 0.55s var(--ease-out);
}
.btn:hover::before, .btn-green:hover::before, .btn-outline:hover::before, .btn-outline-white:hover::before, .btn-light:hover::before { clip-path: inset(0 0 0 0 round 999px); }
.btn:active, .btn-green:active, .btn-outline:active, .btn-outline-white:active, .btn-light:active { transform: translateY(1px); }
.btn[disabled], .btn-green[disabled] { opacity: 0.6; cursor: progress; }

.btn-outline, .btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--green-dark); --btn-fill: var(--green-dark); --btn-border: var(--line-strong);
}
.btn-outline:hover, .btn-ghost:hover { --btn-fg: var(--cream); --btn-border: var(--green-dark); }

.btn-outline-white, .btn-light {
  --btn-bg: transparent; --btn-fg: var(--cream); --btn-fill: var(--cream); --btn-border: color-mix(in srgb, var(--cream) 55%, transparent);
}
.btn-outline-white:hover, .btn-light:hover { --btn-fg: var(--green-dark); --btn-border: var(--cream); }

.btn-solid-light { --btn-bg: var(--cream); --btn-fg: var(--green-dark); --btn-fill: var(--white); --btn-border: var(--cream); }

.btn .arrow, .text-link .arrow { width: 16px; height: 10px; flex: none; transition: transform 0.45s var(--ease-out); }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(5px); }

/* The vine js/site.js grows around a button on hover or keyboard focus. Cream
   on the buttons made for dark backgrounds, sage everywhere else. */
.btn-vine { position: absolute; left: -15px; top: -15px; z-index: 1; overflow: visible; pointer-events: none; color: var(--green); }
.btn-light .btn-vine, .btn-outline-white .btn-vine, .btn-solid-light .btn-vine, .bg-green .btn-vine, .bg-dark .btn-vine { color: var(--cream); }
.btn-vine path { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.btn-vine .bv-stem { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.3s var(--ease); }
.btn-vine .bv-leaf { fill: currentColor; fill-opacity: 0.1; transform-box: view-box; transform: scale(0); opacity: 0; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.btn-vine .bv-bloom { transform-box: view-box; transform: scale(0); opacity: 0; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.btn-vine .bloom path { fill: currentColor; stroke: none; opacity: 0.7; }
.btn-vine .bloom-core { display: none; }
.vine-on .btn-vine .bv-stem { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s linear var(--d); }
.vine-on .btn-vine .bv-leaf, .vine-on .btn-vine .bv-bloom { transform: none; opacity: 1; transition: transform 0.45s cubic-bezier(.34, 1.45, .64, 1) var(--d), opacity 0.2s var(--ease) var(--d); }
@media (prefers-reduced-motion: reduce) {
  .btn-vine .bv-stem, .btn-vine .bv-leaf, .btn-vine .bv-bloom { transition: none !important; }
}

.text-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-dark);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px;
  transition: background-size 0.5s var(--ease-out);
}
.text-link:hover { background-size: 100% 1px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── header ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  color: var(--green-dark);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), height 0.4s var(--ease), color 0.4s var(--ease);
}
/* Over a photograph (the home hero) the header starts light and turns solid
   once the page scrolls. Every other page starts solid-on-cream. */
.site-header.on-dark { color: var(--cream); }
.site-header.is-scrolled {
  --header-h: 70px;
  color: var(--green-dark);
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(46, 59, 40, 0.06);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
/* The wreath turns gently around the A on hover; the letter stays put. */
.brand-mark .mark-wreath { transform-box: view-box; transform-origin: 32px 32px; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand-mark .mark-wreath { transform: rotate(24deg); }
.brand-name { font-family: var(--script); font-size: 1.7rem; line-height: 1; padding-top: 6px; }

.nav-links { list-style: none; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a {
  position: relative; text-decoration: none; color: inherit; white-space: nowrap;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding-block: 8px;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transition: transform 0.45s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.nav-links .nav-cta {
  padding: 11px 22px; border: 1px solid currentColor; border-radius: 999px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav-links .nav-cta:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--cream); }
.on-dark:not(.is-scrolled) .nav-links .nav-cta:hover { background: var(--cream); border-color: var(--cream); color: var(--green-dark); }

.nav-toggle {
  display: none; position: relative; z-index: 60;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.45s var(--ease-out), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ── dividers ─────────────────────────────────────────────────────────── */

/* A botanical rule between sections. js/site.js draws the sprig in when it
   scrolls into view. Placed wherever two neighbouring sections could read as
   one, so no two sections of the same colour ever touch without a line. */
.flourish { display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 0; color: var(--green); }
.flourish::before, .flourish::after { content: ''; height: 1px; flex: 0 1 180px; background: var(--line-strong); transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.flourish::before { transform-origin: right; }
.flourish::after { transform-origin: left; }
.flourish svg { width: 58px; height: 26px; flex: none; }
.flourish svg path { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.flourish.is-drawn::before, .flourish.is-drawn::after { transform: scaleX(1); }
.flourish.is-drawn svg path { stroke-dashoffset: 0; }
.flourish.on-dark { color: var(--cream); }
.flourish.on-dark::before, .flourish.on-dark::after { background: var(--line-on-dark); }

/* Safety net for the same rule: if two sections that share a background are
   ever placed next to each other without a flourish, they still get a line. */
.bg-white + .bg-white, .bg-cream + .bg-cream, .bg-sage + .bg-sage, .bg-dark + .bg-dark, .bg-green + .bg-green { border-top: 1px solid var(--line); }

/* ── sections ─────────────────────────────────────────────────────────── */

.section { padding-block: var(--section-y); position: relative; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage-wash); }
.bg-dark { background: var(--green-dark); color: var(--on-dark); }
.bg-green { background: var(--green); color: var(--on-dark); }
.bg-dark h2, .bg-dark h3, .bg-green h2, .bg-green h3 { color: var(--cream); }
.bg-dark .eyebrow { color: var(--on-dark-muted); }
/* The lighter green ground needs the stronger cream: 66% was 3.8:1 here. */
.bg-green .eyebrow { color: var(--on-dark); }
.bg-dark .lede, .bg-green .lede, .bg-dark .prose p, .bg-green .prose p { color: var(--on-dark); }

/* ── interior page hero: text beside an arched photograph ──────────────── */

.page-hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
/* Line art drawn by js/site.js: a fine frame around the heading, with vines
   hung over it and the photo's outline. Behind the content, and thin enough
   never to compete with text. */
.hero-vines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; color: var(--green); }
.hero-vines path { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; }
.hero-vines .frame { stroke: var(--line-strong); stroke-width: 1; opacity: 1; }
.hero-vines .leaf { stroke-width: 1; opacity: 0.48; fill: currentColor; fill-opacity: 0.06; }
.hero-vines .bloom { fill: currentColor; stroke: none; opacity: 0.62; }
.hero-vines .bloom-core { fill: var(--cream); stroke: none; opacity: 1; }
/* On the page heroes the frame is only a shape for the vines to follow, not drawn. */
.page-hero .hero-vines .frame { visibility: hidden; }
.hero-vines .note { opacity: 0.7; }
.hero-vines .note path { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: 1; }
.hero-vines .note .beam { stroke-width: 2.4; }
.hero-vines .grow { transform-box: fill-box; transform-origin: center; transition: transform .7s cubic-bezier(.34, 1.45, .64, 1), opacity .4s var(--ease); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.page-hero-text { display: grid; gap: 24px; justify-items: start; }
.page-hero-text .lede { max-width: 46ch; }
.page-hero .display { max-width: 12ch; }

.arch {
  position: relative; justify-self: center; width: min(460px, 100%);
}
/* A second, thinner arch offset behind the photo. */
.arch::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid var(--line-strong); border-radius: 999px 999px var(--radius) var(--radius);
  transition: transform 1.4s var(--ease-out);
}
.arch img, .arch .arch-img {
  /* height:auto, or an <img height=""> attribute would pin the height and
     stretch the arch far past 4:5. */
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
}
.arch:hover::before { transform: translate(6px, -6px); }

/* For photos already cropped tight at the top, like both of Becca's portraits,
   an arch's curve trims her hair. .is-framed shows the whole photo at its own
   shape in a softly rounded frame instead, and crops nothing. */
.arch.is-framed::before { border-radius: var(--radius-lg); }
/* The page sets --ratio to the photo's own proportions. A bare aspect-ratio:auto
   would discard the space reserved from width/height and shift the page on load. */
.arch.is-framed img { aspect-ratio: var(--ratio, 4 / 5); border-radius: var(--radius-lg); }

/* A faint line-drawn sprig in the corner of large light sections. */
.botanical-watermark { position: absolute; pointer-events: none; color: var(--green); opacity: 0.09; width: clamp(220px, 28vw, 380px); height: auto; }
.botanical-watermark path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }

/* ── cards ────────────────────────────────────────────────────────────── */

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.media-zoom { overflow: hidden; }
.media-zoom img { transition: transform 1.2s var(--ease-out); }
.media-zoom:hover img, a:hover .media-zoom img, .card:hover .media-zoom img { transform: scale(1.05); }

/* ── details and closing call to action (shared by several pages) ──────── */

.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-item { padding: clamp(28px, 3vw, 40px); }
.detail-item h4 { font-size: 1.55rem; font-weight: 500; margin-bottom: 10px; }
.detail-item p { color: var(--muted); }

/* A card's illustration sits in its top corner (.has-art on the card), clear of the heading. */
.has-art { position: relative; }
.card-art { position: absolute; top: clamp(20px, 2.4vw, 30px); right: clamp(20px, 2.4vw, 30px); display: flex; align-items: flex-end; gap: 2px; height: 58px; pointer-events: none; }
.card-art .line-art { height: 100%; width: auto; }
.card-art .line-art[data-art="piano"], .card-art .line-art[data-art="van"] { height: 72%; }
.has-art > h3, .has-art > h4, .has-art > .h3, .has-art > .service-card-kicker { padding-right: 78px; }
.has-art > .card-art:has(svg + svg) ~ h3, .has-art > .card-art:has(svg + svg) ~ .service-card-kicker { padding-right: 110px; }
/* Becca's signature, with a violin and a vase of flowers beside it. */
.signature-row { display: flex; align-items: flex-end; gap: 22px; }
.signature-art { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.signature-art .line-art { height: 100%; width: auto; }
.aside-art { margin-top: 32px; height: 70px; }
.aside-art .line-art { height: 100%; width: auto; }

/* Small hand-drawn line illustrations (.line-art), drawn in by js/site.js when
   they scroll into view. Every shape carries pathLength="1". */
.line-art { overflow: visible; pointer-events: none; color: var(--green); }
/* Faded as a whole rather than shape by shape, so solid shapes fully hide what is behind them. */
.line-art { opacity: 0.75; }
.line-art * { fill: none; stroke: currentColor; stroke-width: var(--sw, 1.1); stroke-linecap: round; stroke-linejoin: round; }
/* Solid shapes are filled with whatever is behind the drawing, so overlapping instruments layer. */
.line-art .solid { fill: var(--art-bg, none); }
.reveal-ready .line-art :not(g) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.reveal-ready .line-art :nth-child(3n+2):not(g) { transition-delay: 0.15s; }
.reveal-ready .line-art :nth-child(3n):not(g) { transition-delay: 0.3s; }
.reveal-ready .line-art.is-drawn :not(g) { stroke-dashoffset: 0; }

.closing { text-align: center; overflow: hidden; }
.closing .wrap-narrow { display: grid; justify-items: center; gap: 22px; position: relative; z-index: 1; }
.closing .display { font-size: clamp(2.6rem, 5.4vw, 4.6rem); color: var(--cream); }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.contact-row a { color: var(--on-dark); text-decoration: none; font-size: 1rem; transition: color 0.3s var(--ease); }
.contact-row a:hover { color: var(--white); }
.closing .botanical-watermark { color: var(--cream); opacity: 0.1; }
/* The closing banner's line art (section[data-vines]): cream on green, and a
   little bolder than the page heroes', since it has no photo to share with. */
/* The old faint branches would only cross the vines. */
.closing[data-vines] .botanical-watermark { display: none; }
.closing .hero-vines { color: var(--cream); }
.closing .hero-vines path { stroke-width: 1.4; opacity: 0.62; }
.closing .hero-vines .frame { stroke: var(--cream); stroke-width: 1.1; opacity: 0.45; }
.closing .hero-vines .leaf { stroke-width: 1.2; opacity: 0.6; fill-opacity: 0.12; }
.closing .hero-vines .bloom { opacity: 0.75; }
.closing .hero-vines .bloom-core { fill: var(--green); }

/* ── footer ───────────────────────────────────────────────────────────── */

.site-footer { background: var(--green-dark); color: var(--on-dark-muted); border-top: 1px solid var(--line-on-dark); font-size: 0.92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-block: clamp(56px, 7vw, 88px) 44px; }
.site-footer .brand { color: var(--cream); }
.footer-tagline { margin-top: 18px; max-width: 34ch; line-height: 1.7; }
.footer-heading { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--cream); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out); }
.footer-col a:hover { background-size: 100% 1px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-block: 22px 28px; border-top: 1px solid var(--line-on-dark); font-size: 0.8rem;
}
.footer-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer-credits .credit { display: inline-flex; align-items: center; gap: 8px; }
.photo-credit-link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--cream);
  background: color-mix(in srgb, var(--cream) 12%, transparent); padding: 3px 11px 3px 8px; border-radius: 999px;
  transition: background-color 0.3s var(--ease);
}
.photo-credit-link:hover { background: color-mix(in srgb, var(--cream) 22%, transparent); }
.photo-credit-link::before {
  content: ''; width: 13px; height: 13px; flex: none;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f5f2ec" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="2" width="20" height="20" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r="1" fill="%23f5f2ec" stroke="none"/></svg>') center / contain no-repeat;
}

/* ── motion ───────────────────────────────────────────────────────────── */

/* Content is only hidden once the page has proved it can reveal it again:
   an inline script adds .reveal-ready to <html>, and removes it after a
   timeout if js/site.js never starts. A failed script cannot blank the page. */
.reveal-ready .fade-in {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal-ready .fade-in.visible { opacity: 1; transform: none; filter: none; }

/* Photographs uncover from the bottom edge. */
.reveal-ready .reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal-ready .reveal-clip.visible { clip-path: inset(0 0 0 0); }
.reveal-ready .arch.reveal-clip { clip-path: none; }
.reveal-ready .arch.reveal-clip img { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.5s var(--ease-out) 0.15s; }
.reveal-ready .arch.reveal-clip.visible img { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.reveal-ready .arch.is-framed.reveal-clip img { clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
.reveal-ready .arch.is-framed.reveal-clip.visible img { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal-ready .arch.reveal-clip::before { opacity: 0; transform: translate(-10px, 10px); transition: opacity 1s var(--ease) 0.6s, transform 1.4s var(--ease-out) 0.6s; }
.reveal-ready .arch.reveal-clip.visible::before { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.rise { animation: rise 1.2s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 120ms + 150ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .reveal-ready .fade-in, .reveal-ready .reveal-clip, .reveal-ready .arch.reveal-clip img { opacity: 1; transform: none; filter: none; clip-path: none; }
  .flourish::before, .flourish::after { transform: none; }
  .flourish svg path { stroke-dashoffset: 0; }
}

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .arch { order: -1; width: min(340px, 78vw); }
  .page-hero-text { justify-items: center; text-align: center; }
  .page-hero-text .lede { margin-inline: auto; }
  .page-hero .display { max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Below 1100px the five links no longer fit on one line beside the logo, so the
   menu folds into the toggle (it used to wrap each link onto two lines). */
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled { --header-h: 62px; }
  .nav-toggle { display: block; }
  .brand-name { font-size: 1.45rem; }
  .brand-mark { width: 34px; height: 34px; }

  /* Full-screen menu. Links rise in one after another. */
  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    display: grid; place-items: center;
    background: var(--cream); color: var(--green-dark);
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease), visibility 0s; }
  /* backdrop-filter makes the header a containing block for fixed children,
     which would trap the full-screen menu inside the 62px bar. */
  .nav-open .site-header { color: var(--green-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links { flex-direction: column; gap: 26px; }
  .nav-links a { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; letter-spacing: 0; text-transform: none; }
  .nav-links li { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
  .nav-open .nav-links li { opacity: 1; transform: none; }
  .nav-links .nav-cta { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 30px; margin-top: 10px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .details-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn, .btn-green, .btn-outline, .btn-outline-white, .btn-light { padding: 15px 24px; }
}
