/* ═══════════════════════════════════════════════════════════════════
   Homestead Hollow — shared styles for Bricks-rendered pages.
   Same design system as the standalone plugin templates.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────────── */
:root {
  --linen:      #f7f2e7;
  --linen-2:    #f1e9d8;
  --magnolia:   #fdfbf5;
  --pine:       #1f3529;
  --pine-2:     #16281f;
  --pine-3:     #2c4636;
  --clay:       #b0562f;
  --clay-dk:    #96431f;
  --brass:      #b98a2f;
  --brass-lt:   #d4ae62;
  --ink:        #24211a;
  --ink-70:     rgba(36,33,26,.70);
  --ink-50:     rgba(36,33,26,.50);
  --ink-30:     rgba(36,33,26,.30);
  --ink-14:     rgba(36,33,26,.14);
  --ink-08:     rgba(36,33,26,.07);
  --cream-90:   rgba(250,246,236,.92);
  --cream-70:   rgba(250,246,236,.70);
  --cream-45:   rgba(250,246,236,.45);
  --cream-18:   rgba(250,246,236,.18);
  --cream-10:   rgba(250,246,236,.10);
  --serif:      'Fraunces', Georgia, serif;
  --serif-2:    'Newsreader', Georgia, serif;
  --sans:       'Archivo', Helvetica, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif-2);
  background: var(--linen);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--clay); color: var(--magnolia); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; }

/* ── Bricks resets: our classes own the layout ────────────────────── */
.brxe-section { display: block; padding: 0; align-items: initial; }
.brxe-container { display: block; width: auto; }
.hero-photo-wrap { position: relative; }
body.admin-bar .nav { top: 32px; }

/* ── Paper grain over everything ──────────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0 0.09 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* small-caps sans label */
.label {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
}

/* botanical divider ornament */
.sprig { display: flex; justify-content: center; padding: 0 0 8px; color: var(--brass); }
.sprig svg { width: 130px; height: 26px; }

/* organic arch shape — market-stall feel */
.arch { border-radius: 300px 300px 18px 18px; }

/* ── Media placeholders ───────────────────────────────────────────── */
.ph {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(36,33,26,.025) 0 14px, transparent 14px 28px),
    var(--linen-2);
  border: 1.5px dashed var(--ink-30);
  color: var(--ink-50); text-align: center; padding: 20px;
}
.ph { border-radius: 18px; }
.ph i { font-size: 36px; color: var(--ink-30); }
.ph .ph-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.ph .ph-hint { font-family: var(--serif-2); font-style: italic; font-size: 15px; color: var(--ink-50); }
.ph-dark { background: repeating-linear-gradient(45deg, rgba(250,246,236,.03) 0 14px, transparent 14px 28px), var(--pine-3); border-color: var(--cream-18); color: var(--cream-45); }
.ph-dark i { color: var(--cream-18); }
.ph-dark .ph-hint { color: var(--cream-70); }

/* ── Real photos in former placeholder slots ──────────────────────── */
.photo { overflow: hidden; position: relative; }
.photo:not(.arch) { border-radius: 18px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.heritage-photos .photo { aspect-ratio: 4 / 3; border: 1.5px solid var(--cream-18); }
.heritage-photos .photo.tall { grid-row: span 2; aspect-ratio: auto; }
.craft-strip .photo { aspect-ratio: 3 / 4; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(36,33,26,.13); }

/* ── Reveal ───────────────────────────────────────────────────────── */
/* hidden state only on the real frontend — inside the Bricks builder the
   reveal script doesn't run, so everything must stay visible there */
.bricks-is-frontend .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.bricks-is-frontend .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(66,82,50,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-18);
}
/* page links live in a frosted-cream pill inside the pine bar */
.nav-pill {
  display: flex; align-items: center; gap: 34px;
  background: rgba(250,246,236,.07); border: 1px solid var(--cream-10);
  border-radius: 999px; padding: 11px 28px;
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--cream-18);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--magnolia); }
.brand-name .amp { font-style: italic; color: var(--brass-lt); }
.brand-est { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--cream-45); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a:not(.nav-cta) {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cream-70);
  padding-bottom: 2px; transition: color .2s; position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1.5px;
  background: var(--brass-lt); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:not(.nav-cta):hover { color: var(--brass-lt); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--linen); background: var(--clay); padding: 11px 22px;
  border: 1.5px solid var(--clay-dk); border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(40,34,20,.45);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.nav-cta:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(40,34,20,.45); background: var(--clay-dk); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 180px 0 100px; background: var(--linen); overflow: hidden; }

/* ── Hero banner: full-width photo behind the intro copy ──────────── */
.hero.has-banner { padding-top: 0; }
.hero-banner { position: relative; padding: 200px 0 110px; }
.hero-banner .container { position: relative; z-index: 2; }
.hero-banner-bg { position: absolute; inset: 0; z-index: 0; }
.hero-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
/* gradient: dark up top & left for text legibility, fading into linen
   at the bottom so the banner melts into the page */
/* the banner ends on a torn-paper edge rather than a soft fade — it echoes
   the die-cut tear on the festival tickets and reads as pressed paper */
.hero-banner-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,40,31,.78) 0%, rgba(22,40,31,.56) 55%, rgba(22,40,31,.46) 100%),
    linear-gradient(90deg, rgba(22,40,31,.60) 0%, rgba(22,40,31,.30) 60%, rgba(22,40,31,.12) 100%);
}
.hero-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
  height: clamp(42px, 4.6vw, 74px); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='80' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0,34.0C27.0,34.3 37.3,38.3 64.3,38.6C83.8,38.2 91.2,32.0 110.7,31.6C129.8,31.2 137.1,26.0 156.1,25.7C186.4,25.4 198.0,21.7 228.3,21.5C258.3,21.8 269.7,26.9 299.8,27.2C323.8,28.1 332.9,41.2 356.9,42.1C391.5,42.1 404.7,42.5 439.3,42.6C458.0,41.8 465.1,31.0 483.9,30.2C505.5,30.1 513.7,28.3 535.4,28.1C577.1,28.6 593.0,36.0 634.8,36.5C671.2,36.4 685.1,35.0 721.6,34.9C740.8,34.3 748.1,25.6 767.3,25.0C805.0,25.3 819.3,30.3 857.0,30.7C891.9,30.6 905.1,30.4 940.0,30.4C981.1,30.3 996.7,29.5 1037.8,29.4C1072.3,30.1 1085.5,40.1 1120.0,40.8C1153.6,40.3 1166.4,34.4 1200.0,34.0L1200,80 L0,80 Z' fill='%23e6dcc6'/%3E%3Cpath d='M0,42.0C27.4,42.2 37.8,44.8 65.2,45.0C104.2,45.4 119.0,52.5 158.0,52.9C209.1,52.3 228.6,42.8 279.6,42.1C309.6,41.8 321.1,37.5 351.1,37.2C394.0,38.1 410.3,52.0 453.2,53.0C483.1,51.3 494.5,26.6 524.3,24.9C582.4,26.4 604.5,48.7 662.6,50.3C706.6,49.4 723.4,36.5 767.4,35.6C807.0,36.7 822.1,52.9 861.8,54.0C896.7,54.0 909.9,53.9 944.8,53.9C970.8,53.1 980.6,41.7 1006.6,41.0C1048.2,41.0 1064.1,41.6 1105.7,41.7C1133.9,42.4 1144.7,53.3 1172.9,54.0C1184.3,53.3 1188.6,42.7 1200.0,42.0L1200,80 L0,80 Z' fill='%23f7f2e7'/%3E%3C/svg%3E") repeat-x bottom / 1200px 100%;
}
/* a faint shadow just above the tear gives the paper a lifted edge */
.hero-banner::before {
  content: ""; position: absolute; left: 0; right: 0; z-index: 2;
  bottom: clamp(30px, 3.6vw, 52px); height: 26px; pointer-events: none;
  background: linear-gradient(180deg, rgba(22,40,31,0), rgba(22,40,31,.22));
}
/* copy switches to cream on the photo — .hero.has-banner outweighs the
   plain .hero rules that appear later in this file */
.hero.has-banner .hero-rule .label { color: var(--brass-lt); }
.hero.has-banner .hero-rule .line { background: rgba(250,246,236,.35); }
.hero.has-banner .hero-rule .line::after { background: transparent; color: var(--brass-lt); }
.hero.has-banner h1 { color: var(--magnolia); text-shadow: 0 2px 26px rgba(22,40,31,.45); }
.hero.has-banner h1 .ital { color: var(--brass-lt); }
.hero.has-banner .hero-sub { color: var(--cream-90); }
.hero.has-banner .hero-sub em { color: var(--magnolia); font-weight: 500; }
@media (max-width: 980px) {
  .hero-banner { padding: 150px 0 80px; }
}
.hero-rule { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.hero-rule .line { flex: 1; height: 1px; background: var(--ink-30); position: relative; }
.hero-rule .line::after { content: "❖"; position: absolute; right: 0; top: 50%; transform: translateY(-52%); font-size: 9px; color: var(--brass); background: var(--linen); padding-left: 8px; }
.hero-rule .label { color: var(--clay); white-space: nowrap; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.025em;
  font-size: clamp(52px, 9.2vw, 126px); line-height: .98; color: var(--ink);
  position: relative; z-index: 2;
}
.hero h1 .ital { font-style: italic; font-weight: 300; color: var(--clay); }
.hero h1 .indent { display: block; padding-left: clamp(40px, 12vw, 220px); }
.hero-row { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: end; margin-top: 46px; position: relative; z-index: 2; }
.hero-sub { font-size: 19px; color: var(--ink-70); max-width: 560px; }
.hero-sub em { font-style: italic; color: var(--ink); }
.hero-side { display: grid; gap: 16px; justify-items: start; padding-bottom: 6px; position: relative; }
/* quick facts under the hero copy */
.hero-notes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; position: relative; z-index: 2; }
.hero-notes span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-70); border: 1.5px solid var(--ink-30); border-radius: 999px;
  padding: 10px 18px; background: var(--magnolia);
}
.hero-notes i { color: var(--clay); font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--ink);
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-solid { background: var(--clay); color: var(--magnolia); border-color: var(--ink); }
.btn-solid:hover { background: var(--clay-dk); }
.btn-line { background: var(--linen); color: var(--ink); }
.btn-line:hover { background: var(--magnolia); }

.hero-photo-wrap { padding-top: 150px; }
.hero-photo { position: relative; height: clamp(380px, 52vw, 610px); z-index: 1; }

/* ── Collage: scattered editorial layout ──────────────────────────── */
/* this block runs wider than the 1240px page container — it reads as a
   spread, not a column. Head and grid widen together so they stay aligned. */
.hero-photo-wrap {
  max-width: min(1820px, 100%);
  padding-left: clamp(24px, 2.4vw, 44px);
  padding-right: clamp(24px, 2.4vw, 44px);
}
.collage-head { margin-bottom: 54px; position: relative; z-index: 2; }
.collage-head .sec-sub { max-width: 620px; }
.hero-photo.is-scatter { height: auto; }
/* with the scatter layout the badge rides up level with the section head,
   clear of the text blocks below it */
.hero-photo.is-scatter .hero-badge { top: -186px; right: 28px; }
@media (max-width: 1100px) {
  .hero-photo.is-scatter .hero-badge { top: -150px; right: 12px; width: 104px; height: 104px; }
}

/* 24 columns × 12 row-bands: fine enough to art-direct the placement,
   rows grow if a block needs more height than its band */
.collage-scatter {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(14, minmax(42px, auto));
  column-gap: clamp(9px, .85vw, 14px); row-gap: 5px;
  align-items: start;
  position: relative; padding-bottom: 20px;
}

/* every tile drifts a few px with the mouse (transform set by hh-bricks.js) */
.cg-item { position: relative; will-change: transform; }

/* ── photos: pinned-to-the-board feel ─────────────────────────────── */
.cg-photo { display: block; position: relative; }
.cg-frame {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1.5px solid var(--ink); box-shadow: 7px 7px 0 rgba(36,33,26,.13);
  transform: rotate(var(--rot, 0deg));
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s;
}
.cg-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
/* the float lives on an inner layer so it never fights the hover transform */
.cg-float { animation: cgFloat var(--dur, 7s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes cgFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
/* pick the photo up off the table */
.cg-photo:hover .cg-frame {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 12px 14px 0 rgba(176,86,47,.22);
}
.cg-photo:hover .cg-frame img { transform: scale(1.055); }
/* brass corner rule that draws itself in on hover */
.cg-frame::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 1.5px;
  background: var(--brass-lt); transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.cg-photo:hover .cg-frame::after { transform: scaleX(1); }

.cg-shape-tall  .cg-frame { aspect-ratio: 4 / 5; }
.cg-shape-wide  .cg-frame { aspect-ratio: 16 / 10; }
.cg-shape-square .cg-frame { aspect-ratio: 1 / 1; }
.cg-shape-pano  .cg-frame { aspect-ratio: 21 / 8; }

/* ── text blocks: they hold grid space like the photos do ─────────── */
.cg-text {
  align-self: center;
  padding-left: 20px; border-left: 1.5px solid var(--ink-14);
}
.cg-text .num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 15px; color: var(--clay); display: block; margin-bottom: 8px;
}
.cg-text h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(21px, 1.9vw, 30px); line-height: 1.12; margin-bottom: 10px;
}
.cg-text h3 .ital { font-style: italic; font-weight: 300; color: var(--clay); }
/* the rule under each heading, drawn in clay — it extends on hover */
.cg-text .cg-rule {
  display: block; height: 1.5px; width: 62px; background: var(--clay);
  margin-bottom: 16px; transform-origin: left;
  transition: width .5s cubic-bezier(.22,.61,.36,1);
}
.cg-4 .cg-rule { transform-origin: right; }
.cg-text:hover .cg-rule { width: 108px; }
.cg-text p { font-size: 15px; color: var(--ink-70); line-height: 1.58; }

/* ── the scatter — placement follows Steve's mockup ────────────────
   i.   gristmill  far left, tall .......... text to its right
   iii. kettle     top centre-right ....... text to its right
   ii.  face paint lower centre ........... text to its LEFT (right-aligned)
   iv.  crowd      right, wide panorama ... text underneath          */
.cg-1 { grid-column: 1 / 7;   grid-row: 2 / 10;  --rot: -1.6deg; --dur: 7.5s; --delay: 0s; }
.cg-2 { grid-column: 7 / 12;  grid-row: 3 / 7; }
/* kid photo shifted a whole column right of the gristmill for clear air */
.cg-3 { grid-column: 8 / 14;  grid-row: 8 / 14;  --rot: 1.5deg; --dur: 8.5s; --delay: .8s; }
.cg-4 { grid-column: 3 / 8;   grid-row: 11 / 14; text-align: right; }
/* kettle narrowed, and the panorama dropped a row so they no longer touch */
.cg-5 { grid-column: 12 / 19; grid-row: 1 / 6;   --rot: -.9deg; --dur: 9s; --delay: 1.6s; }
.cg-6 { grid-column: 19 / 25; grid-row: 1 / 5; }
.cg-7 { grid-column: 15 / 25; grid-row: 7 / 12;  --rot: .8deg; --dur: 8s; --delay: .4s; }
.cg-8 { grid-column: 15 / 25; grid-row: 12 / 14; }

/* shapes taken from the mockup */
.cg-1 .cg-frame { aspect-ratio: 5 / 6; }
.cg-3 .cg-frame { aspect-ratio: 1 / 1; }
.cg-5 .cg-frame { aspect-ratio: 3 / 2; }
.cg-7 .cg-frame { aspect-ratio: 8 / 3; }

/* the text block that sits to the LEFT of its photo mirrors its rule */
.cg-4 { padding-left: 0; padding-right: 20px; border-left: 0; border-right: 1.5px solid var(--ink-14); }
.cg-4 .cg-rule { margin-left: auto; }

@media (max-width: 1100px) {
  .collage-scatter { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 34px; }
  .cg-1, .cg-2, .cg-3, .cg-4, .cg-5, .cg-6, .cg-7, .cg-8 {
    grid-column: 1; grid-row: auto; margin-top: 0; --rot: 0deg; text-align: left;
  }
  .cg-text { align-self: start; padding-left: 18px; border-left: 1.5px solid var(--ink-14); border-right: 0; padding-right: 0; }
  .cg-4 .cg-rule { transform-origin: left; margin-left: 0; }
  .cg-1 .cg-frame, .cg-3 .cg-frame, .cg-5 .cg-frame, .cg-7 .cg-frame { aspect-ratio: 3 / 2; }
}
.hero-photo .hero-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(36,33,26,.13);
}
.hero-collage {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 16px; height: 100%;
}
.hero-collage .ph { height: auto; }
.hero-collage .big { grid-row: 1 / 3; }
.hero-collage .wide { grid-column: 2 / 4; }
.hero-collage .photo { border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(36,33,26,.13); }
.hero-badge {
  position: absolute; top: -108px; right: 64px; width: 132px; height: 132px;
  border-radius: 50%; background: var(--pine); color: var(--linen); z-index: 4;
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: 4px 4px 0 rgba(36,33,26,.2);
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge svg { width: 100%; height: 100%; }
.hero-badge svg text { font-family: var(--sans); font-size: 9.6px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; fill: var(--linen); }
.hero-badge .center-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--brass-lt); animation: spin 26s linear infinite reverse; }

/* ── Upcoming event spotlight (toggle: add/remove class hh-hidden) ──── */
.hh-hidden { display: none !important; }
.event-wrap { padding-top: 52px; position: relative; z-index: 3; max-width: 1380px; }
.upcoming-event {
  position: relative; display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 44px; align-items: center;
  background: var(--magnolia); border: 1.5px solid var(--ink); border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(36,33,26,.13); padding: 46px 48px;
}
.event-flag {
  position: absolute; top: -18px; left: 34px;
  background: var(--clay); color: var(--magnolia);
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 999px;
  border: 1.5px solid var(--clay-dk); box-shadow: 3px 3px 0 var(--pine-2);
  /* gentle attention: a slow breath + a brass halo pulse */
  overflow: hidden; isolation: isolate;
  animation: flagBreathe 3.4s ease-in-out infinite, flagGlow 3.4s ease-out infinite;
}
/* a slow sheen travelling across the flag */
.event-flag::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(253,251,245,.45), transparent);
  transform: skewX(-18deg);
  animation: flagSheen 3.4s ease-in-out infinite;
}
@keyframes flagBreathe {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-2.5px) rotate(-1.2deg); }
}
@keyframes flagGlow {
  0%   { box-shadow: 3px 3px 0 var(--pine-2), 0 0 0 0 rgba(185,138,47,.55); }
  70%  { box-shadow: 3px 3px 0 var(--pine-2), 0 0 0 14px rgba(185,138,47,0); }
  100% { box-shadow: 3px 3px 0 var(--pine-2), 0 0 0 0 rgba(185,138,47,0); }
}
@keyframes flagSheen {
  0%, 55%  { left: -60%; }
  90%, 100% { left: 115%; }
}
.upcoming-event h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; margin-bottom: 14px;
}
.upcoming-event h3 .ital { font-style: italic; font-weight: 300; color: var(--clay); }
.event-desc { color: var(--ink-70); font-size: 16.5px; max-width: 480px; margin-bottom: 22px; }
.event-meta { display: grid; gap: 10px; margin-bottom: 24px; }
.event-meta .row { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--ink-70); }
.event-meta .row i { color: var(--brass); font-size: 17px; width: 18px; }
.event-meta .row strong { color: var(--ink); font-weight: 500; }
.upcoming-event .tag-row { margin-bottom: 28px; }
.event-video { aspect-ratio: 16 / 9; align-self: center; }
.event-video .play-ring {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
@media (max-width: 980px) {
  .upcoming-event { grid-template-columns: 1fr; gap: 30px; padding: 40px 26px 30px; }
  .event-flag { left: 22px; }
}

/* ghost words — solid fills sitting just above their background, soft-blurred
   so they read as paper texture, not type. They parallax gently with the mouse. */
.ghost {
  position: absolute; font-family: var(--serif); font-weight: 600; font-style: italic;
  color: rgba(36,33,26,.02); filter: blur(2.5px);
  pointer-events: none; user-select: none; line-height: 1; z-index: 0;
  will-change: transform;
}
.hero .ghost {
  font-size: clamp(90px, 16vw, 260px);
  left: 50%; right: auto; width: 100vw; margin-left: -50vw; top: 0;
  height: 360px; white-space: nowrap;
}
.hero .ghost span { position: absolute; }
.hero .ghost span:first-child { left: -3vw; top: 0; }
.hero .ghost span:last-child { right: -3vw; top: 150px; }

/* ── Marquee ──────────────────────────────────────────────────────── */
.marquee {
  background: var(--pine); color: var(--linen);
  padding: 18px 0; overflow: hidden; white-space: nowrap;
  border-top: 3px double var(--brass); border-bottom: 3px double var(--brass);
}
/* 4 copies of the item set live in the HTML; -50% = exactly 2 sets, so the
   loop is seamless and the repeat unit (~2 sets) always spans the viewport */
.marquee-track { display: inline-flex; animation: scroll 72s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 26px; padding: 0 26px;
  font-family: var(--serif); font-size: 17px; font-style: italic; letter-spacing: .02em; color: var(--cream-90);
}
.marquee-item i { font-style: normal; color: var(--brass-lt); font-size: 13px; }

/* ── Section heading pattern ──────────────────────────────────────── */
section { position: relative; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; margin-bottom: 70px; }
.sec-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 19px; color: var(--clay); padding-top: 12px; white-space: nowrap;
}
.sec-num::after { content: ""; display: block; width: 46px; height: 1px; background: var(--clay); margin-top: 10px; }
.sec-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; font-size: clamp(36px, 5vw, 62px); line-height: 1.06; }
.sec-title .ital { font-style: italic; font-weight: 300; color: var(--clay); }
.sec-sub { margin-top: 18px; font-size: 18px; color: var(--ink-70); max-width: 620px; }

/* ── Video ────────────────────────────────────────────────────────── */
.video-sec { background: var(--linen); padding: 110px 0 0; overflow: hidden; }
.video-sec .ghost { font-size: clamp(90px, 13vw, 200px); right: -16px; top: 80px; }
.video-frame { aspect-ratio: 16 / 9; max-width: 1000px; margin: 0 auto; }
.video-frame .play-ring {
  width: 92px; height: 92px; border-radius: 50%;
  border: 1.5px dashed var(--ink-30);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--ink-30); margin-bottom: 4px;
  animation: playPulse 3s ease-out infinite;
}
@keyframes playPulse {
  0%   { box-shadow: 0 0 0 0 rgba(176,86,47,.22); }
  70%  { box-shadow: 0 0 0 20px rgba(176,86,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(176,86,47,0); }
}
.video-caption { text-align: center; margin-top: 26px; font-family: var(--serif-2); font-style: italic; font-size: 16.5px; color: var(--ink-50); }
/* real thumbnail in the video frame — play ring floats over the photo */
.video-thumb { position: relative; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(36,33,26,.13); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb[data-video-id] { cursor: pointer; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-thumb .play-ring {
  position: absolute; inset: 0; margin: auto;
  border: 1.5px dashed var(--cream-90); color: var(--cream-90);
  background: rgba(22,40,31,.32); backdrop-filter: blur(2px);
  animation: playPulseLight 3s ease-out infinite;
}
/* the clay pulse reads as invisible on a photo — pulse in cream instead */
@keyframes playPulseLight {
  0%   { box-shadow: 0 0 0 0 rgba(250,246,236,.5); }
  70%  { box-shadow: 0 0 0 24px rgba(250,246,236,0); }
  100% { box-shadow: 0 0 0 0 rgba(250,246,236,0); }
}

/* ── Events (handbill tickets) ────────────────────────────────────── */
/* sits directly under the video section, so it carries little top padding */
.events { padding: 66px 0 130px; background: var(--linen); overflow: hidden; }
.events .ghost { font-size: clamp(100px, 14vw, 210px); left: -16px; bottom: 90px; }
.event-list { display: grid; gap: 30px; }
.ticket {
  display: grid; grid-template-columns: 220px 1fr; align-items: center;
  position: relative; isolation: isolate;
  filter: drop-shadow(6px 6px 0 rgba(36,33,26,.13));
  transition: transform .25s, filter .25s;
}
.ticket:hover { filter: drop-shadow(9px 9px 0 rgba(176,86,47,.25)); }
.ticket > * { position: relative; z-index: 1; }
/* the ticket paper is drawn as an inline SVG: outline, die-cut notches,
   perforation dashes, and inner dashed frame are all one vector drawing */
svg.ticket-chrome {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; overflow: visible; pointer-events: none;
}
.ticket-body { display: grid; grid-template-columns: 1fr auto auto; align-items: center; align-self: stretch; }
.ticket:hover { transform: translate(-2px,-2px); }
.ticket { border-radius: 14px; }

/* ── past festival: ticket ripped in two along the perforation ────── */
.ticket.torn {
  background: transparent; border: none; box-shadow: none; overflow: visible;
  column-gap: 38px; padding: 14px 0;
  filter: drop-shadow(6px 6px 0 rgba(36,33,26,.13));
}
.ticket.torn:hover {
  transform: none; box-shadow: none;
  filter: drop-shadow(6px 6px 0 rgba(36,33,26,.13));
}
.ticket.torn::before, .ticket.torn::after { display: none; }
.ticket.torn .ticket-date,
.ticket.torn .ticket-body {
  background: transparent; border: none; position: relative;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
/* grey the contents, not the pieces — the SVG paper & stamp keep true colors */
.ticket.torn .ticket-date > :not(.ticket-chrome),
.ticket.torn .ticket-body > :not(.ticket-chrome) { filter: grayscale(1); opacity: .75; }
.ticket.torn .ticket-date { transform: rotate(-6.5deg); }
.ticket.torn .ticket-body { transform: rotate(1.4deg); padding-left: 6px; }
/* the loose pieces twist a little under the mouse */
.ticket.torn .ticket-date:hover { transform: rotate(-9.5deg) translate(-4px, -3px); }
.ticket.torn .ticket-body:hover { transform: rotate(2.6deg) translate(2px, -2px); }
.ticket.torn .ticket-admit { color: rgba(36,33,26,.4); }
/* red rubber stamp — lives ON the ticket body, so it twists with the piece */
.rip-stamp { display: none; }
.ticket.torn .ticket-body > .rip-stamp {
  display: block; position: absolute; top: 50%; left: 44%; z-index: 5;
  transform: translate(-50%,-50%) rotate(-11deg);
  font-family: 'Rubik Dirt', var(--sans); font-size: clamp(30px, 4vw, 50px);
  letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  color: #a3241c; opacity: .85; pointer-events: none; white-space: nowrap;
  filter: none !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.85 0.15'/%3E%3C/filter%3E%3Crect width='300' height='120' filter='url(%23s)'/%3E%3C/svg%3E");
}
.ticket-barcode {
  width: 100px; height: 26px; margin-top: 16px; opacity: .8;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px,
    var(--ink) 4px 7px, transparent 7px 9px,
    var(--ink) 9px 10px, transparent 10px 14px,
    var(--ink) 14px 16px, transparent 16px 18px);
}
.ticket-serial { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .28em; color: var(--ink-50); margin-top: 6px; }
.ticket-date {
  align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 34px 34px; position: relative;
}
.ticket-season { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--clay); }
.ticket-days { font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; }
.ticket-month { font-family: var(--serif-2); font-style: italic; font-size: 19px; color: var(--ink-70); }
.ticket-mid { padding: 30px 40px; display: grid; gap: 7px; }
.ticket-title { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 4px; }
.ticket-title .ital { font-style: italic; font-weight: 300; color: var(--clay); }
.ticket-mid .row { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--ink-70); }
.ticket-mid .row i { color: var(--brass); font-size: 17px; width: 18px; }
.ticket-cta { padding: 30px 34px 30px 0; }
.ticket-cta .btn { padding: 12px 24px; box-shadow: 3px 3px 0 var(--ink); }
.ticket-cta .btn:hover { box-shadow: 1px 1px 0 var(--ink); }
.ticket-admit {
  align-self: stretch; display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; text-orientation: mixed; overflow: hidden;
  font-family: var(--sans); font-size: 8.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-50); border-left: 1.5px dashed var(--ink-30); padding: 14px 13px;
  white-space: nowrap;
}
.events-note { margin-top: 44px; text-align: center; font-family: var(--serif-2); font-style: italic; font-size: 17.5px; color: var(--ink-50); }
.events-gate-note {
  margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay-dk);
}
.events-gate-note i { color: var(--clay); font-size: 19px; }

/* ── Heritage (dark) ──────────────────────────────────────────────── */
.wave-top { display: block; width: 100%; height: 44px; margin-bottom: -1px; }
.history { background: var(--pine); color: var(--linen); padding: 110px 0 140px; overflow: hidden; }
.history .ghost { font-size: clamp(110px, 16vw, 230px); color: rgba(250,246,236,.045); left: -20px; top: 30px; font-style: normal; }
.history .sec-num { color: var(--brass-lt); } .history .sec-num::after { background: var(--brass-lt); }
.history .sec-title { color: var(--magnolia); }
.history .sec-title .ital { color: var(--brass-lt); }
.history-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: start; }
.history-copy p { color: var(--cream-70); font-size: 17.5px; margin-bottom: 22px; }
.history-copy p strong { color: var(--magnolia); font-weight: 500; }
.history-copy .lede { font-family: var(--serif); font-size: 24px; font-weight: 300; font-style: italic; line-height: 1.45; color: var(--magnolia); margin-bottom: 30px; }
.history-copy .lede::first-letter {
  font-family: var(--serif); font-style: normal; font-weight: 600; float: left;
  font-size: 76px; line-height: .82; padding: 8px 14px 0 0; color: var(--brass-lt);
}
.pullquote {
  margin-top: 44px; padding: 54px 30px 26px; position: relative;
  border: 1.5px solid var(--cream-18);
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 25px; line-height: 1.4;
  color: var(--magnolia);
}
.pullquote::before {
  content: "\201C"; position: absolute; top: -30px; left: 18px;
  font-family: var(--serif); font-size: 72px; font-style: normal; color: var(--brass-lt);
  background: var(--pine); padding: 0 10px; line-height: 1;
}
.pullquote span { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--cream-45); }
.heritage-list { display: grid; }
.heritage-item { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--cream-18); }
.heritage-item:first-child { padding-top: 6px; }
.heritage-item .num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 17px; color: var(--brass-lt); padding-top: 4px; }
.heritage-item h4 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--magnolia); margin-bottom: 8px; letter-spacing: -.01em; }
.heritage-item p { font-size: 15.5px; color: var(--cream-70); }
.heritage-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 64px; }
.heritage-photos .ph { aspect-ratio: 4 / 3; }
.heritage-photos .ph.tall { grid-row: span 2; aspect-ratio: auto; }

/* ── Craft ────────────────────────────────────────────────────────── */
.demos { background: var(--linen-2); padding: 130px 0; overflow: hidden; }
.demos .ghost { font-size: clamp(110px, 17vw, 240px); right: -12px; top: 44px; }
.demo-index { border-top: 1.5px solid var(--ink); position: relative; z-index: 1; }
.demo-row {
  display: grid; grid-template-columns: 64px 1.05fr 1.6fr auto; gap: 34px; align-items: center;
  padding: 34px 10px; border-bottom: 1px solid var(--ink-30);
  transition: background .25s, padding .25s; cursor: default;
}
.demo-row:hover { background: var(--magnolia); padding-left: 26px; padding-right: 26px; }
.demo-row .idx { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 17px; color: var(--ink-30); }
.demo-row h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.015em; }
.demo-row p { font-size: 15.5px; color: var(--ink-70); max-width: 520px; }
.demo-row .ic {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--clay);
  background: var(--linen-2); box-shadow: 3px 3px 0 rgba(36,33,26,.14);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.demo-row:hover .ic { background: var(--clay); color: var(--magnolia); transform: translate(1px,1px); box-shadow: 1px 1px 0 rgba(36,33,26,.2); }
.craft-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-top: 96px; }
.craft-strip .ph { aspect-ratio: 3 / 4; }
.demo-extras { margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.extra-card {
  background: var(--magnolia); border: 1.5px solid var(--ink); padding: 42px 44px;
  box-shadow: 6px 6px 0 rgba(36,33,26,.13); position: relative; border-radius: 16px;
}
.extra-card .corner {
  position: absolute; top: 26px; right: 30px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--brass); color: var(--brass);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.extra-card .label { color: var(--clay); display: block; margin-bottom: 18px; }
.extra-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.02em; margin-bottom: 20px; }
.extra-card h3 .ital { font-style: italic; color: var(--clay); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--ink-30); border-radius: 999px; padding: 9px 18px; color: var(--ink-70);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.tag:hover { border-color: var(--clay); color: var(--clay); box-shadow: 2px 2px 0 rgba(176,86,47,.25); }
.tag i { color: var(--brass); font-size: 15px; }

/* ── Visit ────────────────────────────────────────────────────────── */
.visit { background: var(--linen); padding: 130px 0; overflow: hidden; }
.visit .ghost { font-size: clamp(80px, 11vw, 170px); left: -14px; bottom: 40px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.visit-block { border-top: 1.5px solid var(--ink); padding-top: 30px; position: relative; }
.visit-block .label { color: var(--clay); display: block; margin-bottom: 22px; }
.visit-addr { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.015em; font-style: normal; }
.visit-addr .ital { font-style: italic; color: var(--clay); }
.visit-block p { margin-top: 18px; color: var(--ink-70); font-size: 16.5px; max-width: 420px; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--ink-14); }
.fee-row .who { font-family: var(--serif-2); font-size: 18px; }
.fee-row .dots { flex: 1; border-bottom: 1.5px dotted var(--ink-30); transform: translateY(-5px); }
.fee-row .amt { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--clay); }
.fee-row .amt small { font-family: var(--serif-2); font-style: italic; font-size: 14px; color: var(--ink-50); font-weight: 400; }
.visit-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-style: italic; color: var(--ink-50); font-size: 15.5px; }
.visit-note i { color: var(--clay); font-size: 18px; }
.visit-alert {
  display: flex; align-items: center; gap: 14px; margin-top: 24px;
  padding: 16px 20px; border-radius: 10px;
  background: rgba(176,86,47,.09); border: 1.5px solid var(--clay);
}
.visit-alert i { color: var(--clay); font-size: 24px; flex-shrink: 0; }
.visit-alert span { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em; color: var(--clay-dk); line-height: 1.4; }
/* artisan seal */
.stamp {
  position: absolute; right: 0; top: -56px;
  width: 122px; height: 122px; border-radius: 50%;
  border: 1.5px solid var(--clay); color: var(--clay);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--magnolia); text-align: center; padding: 0 16px; line-height: 1.5;
  box-shadow: 0 0 0 5px var(--linen), 0 0 0 6.5px var(--clay);
}
.stamp .big { font-family: var(--serif); font-style: italic; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: none; line-height: 1.2; }
.stamp i { font-size: 15px; }

/* ── CTA ──────────────────────────────────────────────────────────── */
.cta { background: var(--clay); color: var(--magnolia); padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle at 50% 120%, rgba(255,235,200,.22), transparent 55%); }
.cta .label { color: rgba(253,251,245,.65); display: block; margin-bottom: 22px; position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.03; letter-spacing: -.02em; position: relative; }
.cta h2 .ital { font-style: italic; font-weight: 300; }
.cta p { max-width: 520px; margin: 26px auto 40px; color: rgba(253,251,245,.80); font-size: 18px; position: relative; }
.cta .btn-solid { background: var(--pine); color: var(--linen); position: relative; border-color: var(--pine-2); box-shadow: 4px 4px 0 rgba(22,40,31,.5); }
.cta .btn-solid:hover { background: var(--pine-2); box-shadow: 2px 2px 0 rgba(22,40,31,.5); }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--pine-2); color: var(--cream-70); padding: 90px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 70px; border-bottom: 1px solid var(--cream-18); }
.footer-logo { height: 52px; width: auto; display: block; }
.footer-tag { margin-top: 18px; font-size: 15px; color: var(--cream-45); max-width: 300px; font-style: italic; }
.footer h5 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 22px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul li, .footer ul a { font-size: 15px; color: var(--cream-70); }
.footer ul a:hover { color: var(--brass-lt); }
/* ── Social links ─────────────────────────────────────────────────── */
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--cream-18); color: var(--cream-70); font-size: 20px;
  transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.footer-social a:hover {
  color: var(--pine-2); background: var(--brass-lt); border-color: var(--brass-lt);
  transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.25);
}
/* the one ghost that stays an outline — a signature at the very bottom */
.footer-giant {
  font-family: var(--serif); font-weight: 600; text-align: center;
  font-size: clamp(60px, 11.5vw, 165px); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px var(--cream-18);
  padding: 60px 0 0; user-select: none; white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 26px 0 30px; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--cream-45); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-pill { display: none; }
  .hero-collage { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .hero-collage .big { grid-column: 1 / 3; grid-row: 1 / 2; }
  .hero-collage .wide { grid-column: 1 / 3; }
  .hero-row { grid-template-columns: 1fr; gap: 36px; }
  .hero .ghost { display: none; }
  .hero-badge { right: 24px; top: -84px; width: 104px; height: 104px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-body { grid-template-columns: 1fr; }
  .ticket-admit { display: none; }
  .ticket-cta { padding: 0 34px 30px; }
  .ticket.torn { row-gap: 26px; }
  .ticket.torn .ticket-date { transform: rotate(-2.5deg); }
  .ticket.torn .ticket-body { transform: rotate(1.2deg); }
  .ticket.torn .rip-stamp { left: 50%; font-size: clamp(26px, 8vw, 40px); }
  .ticket-date { border-right: none; }
  .history-grid, .visit-grid, .demo-extras { grid-template-columns: 1fr; gap: 56px; }
  .heritage-photos, .craft-strip { grid-template-columns: 1fr; }
  .heritage-photos .ph.tall, .heritage-photos .photo.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .demo-row { grid-template-columns: 1fr; gap: 12px; }
  .demo-row .ic { display: none; }
  .demos .ghost, .history .ghost, .video-sec .ghost, .events .ghost, .visit .ghost { display: none; }
  .stamp { position: static; margin-bottom: 20px; transform: rotate(-6deg); }
  .video-frame .play-ring { width: 68px; height: 68px; font-size: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* honor users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-badge, .hero-badge .center-ic, .video-frame .play-ring,
  .event-flag, .event-flag::after, .cg-float, .hero-notes span { animation: none !important; }
  .cg-frame, .cg-frame img { transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Event card: action buttons row ───────────────────────────────── */
.event-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.event-actions .btn { padding: 13px 24px; font-size: 12.5px; }

/* ── Hero quick-fact pills: a soft bounce now and then ────────────── */
@keyframes pillBounce {
  0%, 86%, 100% { transform: translateY(0); }
  89%           { transform: translateY(-8px); }
  92%           { transform: translateY(0); }
  95%           { transform: translateY(-3px); }
  98%           { transform: translateY(0); }
}
.hero-notes span { animation: pillBounce 9s cubic-bezier(.28,.84,.42,1) infinite; }
.hero-notes span:nth-child(2) { animation-delay: .45s; }
.hero-notes span:nth-child(3) { animation-delay: .9s; }
.hero-notes span:nth-child(4) { animation-delay: 1.35s; }

/* family badge sits with the pills but reads as a maker's mark */
.hero-notes span.fam-badge {
  background: var(--clay); border-color: var(--clay-dk); color: var(--magnolia);
  box-shadow: 3px 3px 0 rgba(40,34,20,.35);
}
.hero-notes span.fam-badge i { color: var(--brass-lt); }

/* ── Marquee: headline items ride in a cream bubble ───────────────── */
.marquee-item.feat {
  background: rgba(250,246,236,.12); border: 1px solid var(--cream-18);
  border-radius: 999px; padding: 7px 24px; margin: 0 8px;
  color: var(--magnolia); font-style: normal; font-weight: 500;
}
.marquee-item.feat i { color: var(--brass-lt); }

/* ── Event card: gate notice + house rules ────────────────────────── */
.event-gate {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 20px; border-radius: 12px; margin-bottom: 14px;
  background: rgba(176,86,47,.09); border: 1.5px solid var(--clay);
}
.event-gate i { color: var(--clay); font-size: 23px; flex-shrink: 0; }
.event-gate span {
  font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  letter-spacing: .01em; color: var(--clay-dk); line-height: 1.4;
}
.event-rules {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50);
}
.event-rules span { display: inline-flex; align-items: center; gap: 7px; }
.event-rules i { color: var(--brass); font-size: 16px; }

/* ── Visit: the no-pets warning, promoted to a full alert ─────────── */
.visit-block .visit-alert.pets-alert { margin-top: 26px; }
.visit-alert.pets-alert i { font-size: 26px; }
.visit-alert.pets-alert span { font-size: 16px; letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) {
  .hero-notes span { animation: none !important; }
}

/* ── Hero quick-fact pills: an occasional little hop ───────────────── */
@keyframes pillHop {
  0%, 84%, 100% { transform: translateY(0); }
  88%  { transform: translateY(-8px); }
  92%  { transform: translateY(0); }
  95%  { transform: translateY(-3px); }
  98%  { transform: translateY(0); }
}
.hero-notes span { animation: pillHop 9s cubic-bezier(.28,.84,.42,1) infinite; will-change: transform; }
.hero-notes span:nth-child(2) { animation-delay: .45s; }
.hero-notes span:nth-child(3) { animation-delay: .9s; }
.hero-notes span:nth-child(4) { animation-delay: 1.35s; }


/* ── Marquee: the headline items ride in a pill ────────────────────── */
.marquee-item.key {
  font-family: var(--sans); font-style: normal;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--magnolia); background: rgba(250,246,236,.10);
  border: 1px solid var(--cream-18); border-radius: 999px;
  padding: 7px 20px; margin: 0 6px;
}
.marquee-item.key i { color: var(--brass-lt); }

/* ── Event card notices ───────────────────────────────────────────── */
.event-alert {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 18px; border-radius: 10px; margin-top: 14px;
  background: rgba(176,86,47,.09); border: 1.5px solid var(--clay);
}
.event-alert i { color: var(--clay); font-size: 22px; flex-shrink: 0; }
.event-alert span { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--clay-dk); line-height: 1.45; }
.event-alert.plain { background: var(--ink-08); border-color: var(--ink-30); }
.event-alert.plain i { color: var(--ink-70); }
.event-alert.plain span { color: var(--ink-70); font-weight: 500; }

/* ── Visit: the no-pets rule gets its own warning block ────────────── */
.visit-block .visit-alert.big { margin-top: 26px; padding: 18px 22px; }
.visit-block .visit-alert.big i { font-size: 28px; }
.visit-block .visit-alert.big span { font-size: 17px; letter-spacing: .02em; }

/* ── Family seal: sits astride the hero's torn edge, far right ─────── */
.family-badge {
  position: absolute; right: clamp(14px, 3.4vw, 70px); bottom: 0;
  width: clamp(94px, 8.6vw, 126px); aspect-ratio: 1; z-index: 6;
  transform: translateY(32%);
  border-radius: 50%; background: var(--clay); color: var(--magnolia);
  border: 1.5px solid var(--clay-dk);
  box-shadow: 4px 4px 0 rgba(22,40,31,.32);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
/* the ring of type turns on its own layer so it never fights the offset */
.fb-spin { position: absolute; inset: 0; animation: spin 34s linear infinite reverse; }
.fb-spin svg { width: 100%; height: 100%; display: block; }
.fb-spin svg text {
  font-family: var(--sans); font-size: 9.2px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; fill: var(--magnolia);
}
.fb-ic { display: flex; align-items: center; justify-content: center; font-size: clamp(24px, 2.4vw, 32px); color: var(--brass-lt); }
@media (max-width: 980px) {
  .family-badge { right: 12px; transform: translateY(28%); }
}

/* ═══════════════════════════════════════════════════════════════════
   Phone layout (≤ 600px) — added 2026-10-05
   Everything above only adapts down to 980px; these rules tighten the
   nav, hero, tickets and footer for real phone widths.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  /* nav: logo left, CTA right, no tagline, compact height */
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .brand-est { display: none; }
  .brand-logo { height: 30px; }
  .nav-cta { white-space: nowrap; font-size: 11.5px; padding: 10px 16px; letter-spacing: .06em; box-shadow: 2px 2px 0 rgba(40,34,20,.45); }

  /* hero */
  .hero-banner { padding: 108px 0 76px; }
  .hero-rule { margin-bottom: 22px; gap: 12px; }
  .hero-rule .label { white-space: normal; letter-spacing: .2em; font-size: 10.5px; line-height: 1.5; }
  .hero-rule .line { display: none; }
  .hero h1 { font-size: clamp(42px, 13.4vw, 56px); }
  .hero h1 .indent { padding-left: 0; }
  .hero-sub { font-size: 17px; }
  .hero-notes { gap: 10px; margin-top: 28px; }
  .hero-notes span { font-size: 11px; padding: 9px 14px; }
  .btn { padding: 14px 24px; font-size: 13px; min-height: 46px; }

  .family-badge { right: 14px; width: 88px; }

  /* collage + section heads */
  .hero-photo-wrap { padding-top: 96px; }
  .hero-photo.is-scatter .hero-badge, .hero-badge { display: none; }
  .collage-head { margin-bottom: 34px; }
  .sec-head { margin-bottom: 40px; }
  .sec-title { font-size: clamp(32px, 9.4vw, 40px); }
  .sec-sub { font-size: 16.5px; }
  .cg-text p { font-size: 15.5px; }
  .collage-scatter { row-gap: 28px; }

  /* section rhythm */
  .video-sec { padding-top: 70px; }
  .events { padding: 50px 0 80px; }
  .history { padding: 80px 0 90px; }
  .demos { padding: 80px 0; }
  .visit { padding: 80px 0; }
  .cta { padding: 80px 0; }
  .marquee-item { font-size: 15px; padding: 0 18px; gap: 18px; }
  .marquee-item.key { font-size: 11.5px; padding: 6px 16px; }

  /* upcoming event card */
  .upcoming-event { padding: 38px 20px 26px; }
  .event-actions .btn { flex: 1 1 100%; justify-content: center; }
  .event-desc, .event-meta .row { font-size: 15.5px; }

  /* festival tickets */
  .event-list { gap: 26px; }
  .ticket-date { padding: 26px 24px; }
  .ticket-days { font-size: 38px; }
  .ticket-mid { padding: 24px 24px 6px; }
  .ticket-title { font-size: 21px; }
  .ticket-mid .row { font-size: 15px; align-items: flex-start; }
  .ticket-cta { padding: 4px 24px 26px; }
  .ticket-cta .btn { min-height: 44px; }
  /* the red COME & GONE stamp sits at the foot of the ticket, clear of the copy */
  .ticket.torn .ticket-body > .rip-stamp {
    top: auto; bottom: 34px; left: auto; right: 8px;
    transform: rotate(-9deg); font-size: 17px;
  }
  .events-gate-note { font-size: 11.5px; letter-spacing: .1em; padding: 0 8px; text-align: center; }
  .events-note { font-size: 16px; }

  /* heritage / history */
  .history-grid, .visit-grid, .demo-extras { gap: 44px; }
  .history-copy .lede { font-size: 21px; }
  .history-copy p { font-size: 16.5px; }
  .pullquote { font-size: 21px; padding: 50px 22px 22px; }
  .heritage-photos { gap: 18px; margin-top: 44px; }

  /* demos */
  .demo-row { padding: 26px 4px; }
  .demo-row:hover { padding-left: 4px; padding-right: 4px; }
  .craft-strip { margin-top: 56px; gap: 22px; }
  .demo-extras { margin-top: 56px; }
  .extra-card { padding: 32px 24px; }
  .extra-card h3 { font-size: 26px; }
  .tag { padding: 9px 14px; }

  /* visit */
  .fee-row { gap: 12px; }
  .fee-row .who { font-size: 16.5px; }
  .fee-row .amt { font-size: 21px; }
  .visit-block .visit-alert.big span { font-size: 15.5px; }

  /* footer: brand across the top, link columns two-up beneath */
  .footer { padding-top: 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 22px; padding-bottom: 48px; }
  .footer-top > * { min-width: 0; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer ul { gap: 4px; }
  .footer ul li, .footer ul a { font-size: 15px; }
  .footer ul a { display: inline-block; padding: 7px 0; }
  .footer-social a { width: 46px; height: 46px; }
  .footer-giant { font-size: 9.6vw; padding-top: 44px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* very small phones (≤ 380px) */
@media (max-width: 380px) {
  .nav-cta { font-size: 11px; padding: 9px 13px; }
  .brand-logo { height: 27px; }
  .hero-notes span { font-size: 10.5px; padding: 8px 12px; }
}

/* ── Mobile menu (hamburger) — added 2026-10-05 ─────────────────────
   Below 980px the pill of page links is hidden, so a round menu button
   sits after the Festival Dates CTA and opens a dropdown under the bar. */
.nav-burger, .nav-menu { display: none; }
@media (max-width: 980px) {
  .nav-links { gap: 12px; }
  .nav-burger { display: block; flex: 0 0 auto; }
  .nav-toggle {
    position: relative; display: block; width: 44px; height: 44px; padding: 0;
    border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent;
    background: rgba(250,246,236,.07); border: 1px solid var(--cream-18);
    transition: background .2s, border-color .2s;
  }
  .nav-toggle:hover, .nav.menu-open .nav-toggle { background: rgba(250,246,236,.16); border-color: var(--cream-45); }
  .nav-toggle:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 3px; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px;
    background: var(--magnolia); border-radius: 2px; content: "";
    transition: transform .25s cubic-bezier(.22,.61,.36,1), background .2s, top .25s;
  }
  .nav-toggle .bars { top: 21px; }
  .nav-toggle .bars::before { top: -6px; left: 0; margin-left: 0; }
  .nav-toggle .bars::after  { top: 6px;  left: 0; margin-left: 0; }
  .nav.menu-open .nav-toggle .bars { background: transparent; }
  .nav.menu-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
  .nav.menu-open .nav-toggle .bars::after  { top: 0; transform: rotate(-45deg); }

  .nav-menu {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #425232; border-bottom: 1px solid var(--cream-18);
    box-shadow: 0 14px 24px rgba(22,40,31,.28);
    padding: 6px 20px 14px;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .22s, transform .25s cubic-bezier(.22,.61,.36,1), visibility .22s;
  }
  .nav.menu-open .nav-menu { visibility: visible; opacity: 1; transform: none; }
  .nav-menu a {
    display: flex; align-items: center; justify-content: space-between; min-height: 58px;
    font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.01em;
    color: var(--magnolia); border-bottom: 1px solid var(--cream-10);
  }
  .nav-menu a:last-child { border-bottom: 0; }
  .nav-menu a::after { content: "\2192"; font-family: var(--sans); font-size: 18px; color: var(--brass-lt); }
  .nav-menu a:hover, .nav-menu a:active, .nav-menu a.current { color: var(--brass-lt); }
}
@media (max-width: 600px) { .nav-menu { padding: 4px 20px 10px; } .nav-menu a { font-size: 22px; min-height: 56px; } }
@media (max-width: 360px) { .nav-toggle { width: 40px; height: 40px; } .nav-toggle .bars { top: 19px; } }
@media (prefers-reduced-motion: reduce) { .nav-menu, .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { transition: none; } }

/* ── Logo links home (2026-10-05) ─────────────────────────────────── */
.brand-link { display: block; line-height: 0; border-radius: 6px; transition: opacity .2s, transform .2s; }
.brand-link:hover { opacity: .85; transform: translateY(-1px); }
.brand-link:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 4px; }

/* ── Footer logo links home (2026-10-05) ──────────────────────────── */
.footer-logo-link { display: inline-block; line-height: 0; border-radius: 6px; transition: opacity .2s, transform .2s; }
.footer-logo-link:hover { opacity: .85; transform: translateY(-1px); }
.footer-logo-link:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 4px; }
