/* ─── Custom Properties ────────────────────────────────────────── */
:root {
  --teal:       #1B4D52;
  --teal-deep:  #143B40;
  --olive:      #6E7355;
  --linen:      #D9C6A3;
  --walnut:     #6A4527;
  --brass:      #C1973F;
  --brass-soft: #D6B36A;
  --cream:      #F4EDDA;
  --cream-2:    #EFE6CF;
  --ink:        #2B2117;
  --rule:       rgba(106,69,39,.85);

  --f-display: 'Cinzel', serif;
  --f-body:    'Cormorant Garamond', Georgia, serif;
  --f-script:  'Pinyon Script', cursive;
  --f-eras:    'Cinzel', serif;
}

/* ─── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ─── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--teal-deep);
  border-bottom: 1px solid rgba(193,151,63,.18);
  padding: 0 clamp(20px, 5vw, 60px);
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(18px, 2.8vw, 40px);
  height: 58px;
}

.nav-link {
  font-family: var(--f-display);
  font-size: clamp(8px, .95vw, 11px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(244,237,218,.6);
  transition: color .22s;
  position: relative;
}

.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brass-soft);
  transition: width .28s ease;
}

.nav-link:not(.nav-cta):hover::after { width: 100%; }

.nav-link:hover { color: var(--brass-soft); }

.nav-list li:last-child { margin-left: auto; }

.nav-cta {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #b8862e 0%, #d4a84b 35%, #c9973f 55%, #e8c060 75%, #c1973f 100%);
  color: var(--teal-deep) !important;
  padding: 10px 20px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: .22em;
  transition: background .2s, box-shadow .25s;
  animation: btnGlow 3.5s ease-in-out .9s infinite;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: -10%; left: -120%;
  width: 55%; height: 120%;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255,245,180,.55) 50%,
    transparent 75%
  );
  transform: skewX(-18deg);
  animation: btnShine 4.5s ease-in-out .9s infinite;
  pointer-events: none;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #c9973f 0%, #e8c060 40%, #d4a84b 100%);
  color: var(--teal-deep) !important;
}
.nav-cta:hover::before { opacity: 0; }

/* ─── Fade-in on load (hero wordmark) ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpEras {
  from { opacity: 0; transform: translateY(18px) scaleX(0.87); }
  to   { opacity: 1; transform: translateY(0)    scaleX(0.87); }
}
.fade {
  opacity: 0;
  animation: fadeUp .75s ease forwards;
  animation-delay: var(--d, 0s);
}

/* ─── Metallic shimmer on ERAS ──────────────────────────────────── */
@keyframes metalShimmer {
  0%, 65%  { background-position: 0% center; }
  80%      { background-position: 60% center; }
  100%     { background-position: 0% center; }
}
@keyframes metalShimmerFast {
  0%   { background-position: 0% center; }
  35%  { background-position: 90% center; }
  100% { background-position: 0% center; }
}

/* ─── Gold dust particles ──────────────────────────────────────── */
@keyframes dustRise {
  0%   { opacity: 0;    transform: translateY(0)     scale(.4); }
  20%  { opacity: .85; }
  80%  { opacity: .38; }
  100% { opacity: 0;    transform: translateY(-55vh) scale(.8) rotate(50deg); }
}
.dust {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brass) 0%, transparent 72%);
  pointer-events: none;
  z-index: 1;
  /* Longhands prevent the shorthand from implicitly resetting animation-duration to 0s,
     which would make the inline-style duration override fail in some browsers.
     fill-mode:both holds opacity:0 during delay so dots never appear as static blobs. */
  animation-name: dustRise;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

/* ─── Aura pulse ────────────────────────────────────────────────── */
@keyframes auraPulse {
  0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.09); }
}

/* ─── Star ornament sparkle ─────────────────────────────────────── */
@keyframes starSpin {
  0%, 100% { transform: scale(1) rotate(0deg);    opacity: .55; }
  50%      { transform: scale(1.2) rotate(10deg); opacity: 1; }
}

/* ─── Button glow ───────────────────────────────────────────────── */
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(193,151,63,0); }
  50%      { box-shadow: 0 0 22px rgba(193,151,63,.38), 0 0 48px rgba(193,151,63,.12); }
}
@keyframes btnGlowWalnut {
  0%, 100% { box-shadow: 0 0 0 rgba(106,69,39,0); }
  50%      { box-shadow: 0 0 22px rgba(180,110,55,.5), 0 0 48px rgba(180,110,55,.18); }
}
@keyframes btnGlowTeal {
  0%, 100% { box-shadow: 0 0 0 rgba(27,77,82,0); }
  50%      { box-shadow: 0 0 22px rgba(46,110,116,.5), 0 0 48px rgba(46,110,116,.18); }
}
@keyframes btnShine {
  0%        { left: -120%; }
  40%, 100% { left: 140%; }
}

/* ─── Scroll reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* ─── Shared ────────────────────────────────────────────────────── */
.rule-line {
  flex: 0 0 52px;
  height: 1.5px;
  background: var(--rule);
}
.rule-line--light {
  background: var(--rule);
}
.star path { fill: var(--rule); }
.star--brass path { fill: var(--brass-soft); }
.star--brass { animation: starSpin 7s ease-in-out infinite 1.2s; }

/* ─── Hero golden aura ──────────────────────────────────────────── */
.hero-glow {
  position: absolute;
  width: clamp(260px, 52vw, 520px);
  height: clamp(150px, 28vw, 280px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(193,151,63,.13) 0%,
    rgba(193,151,63,.05) 45%,
    transparent 70%
  );
  top: calc(58px + 9vh);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  animation: auraPulse 5s ease-in-out infinite;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  height: 96svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background:
    radial-gradient(ellipse 70% 60% at 50% 44%, rgba(193,151,63,.06) 0%, transparent 65%),
    var(--cream);
  padding: 0 28px clamp(32px, 5vh, 56px);
  padding-top: calc(108px + clamp(32px, 5vh, 52px));
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ornament wallpaper — single brass motif, tiled and twinkled in as a grid of
   independent elements (built in JS below) rather than one flat pattern image,
   so each tile can fade/pulse on its own. */
.hero-wallpaper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orn-tile {
  position: absolute;
  background-image: url('images/ornament-single-brass.png');
  background-size: 100% 100%;
  opacity: 0;
  animation: ornFadeIn .9s ease forwards, ornPulse 6s ease-in-out infinite;
}

@keyframes ornFadeIn {
  from { opacity: 0; }
  to   { opacity: .5; }
}

@keyframes ornPulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: .58; }
}

@media (prefers-reduced-motion: reduce) {
  .orn-tile { animation: none; opacity: .48; }
}

/* Cream wash at top for text contrast + teal fade at bottom */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 50%, rgba(106,69,39,.06) 100%),
    linear-gradient(to bottom,
      rgba(244,237,218,.72) 0%,
      rgba(244,237,218,.42) 30%,
      rgba(244,237,218,.1) 50%,
      transparent 55%,
      rgba(20,59,64,.40) 68%,
      rgba(20,59,64,.97) 84%,
      var(--teal-deep) 100%
    );
  pointer-events: none;
}

/* ─── Wordmark ──────────────────────────────────────────────────── */
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
  transform: scale(1.15);
  transform-origin: top center;
}

.wm-the-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
  margin-bottom: 4px;
}
.wm-the-row .rule-line {
  flex: 1;
  height: 1.8px;
}

.wm-the {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(13px, 2vw, 20px);
  letter-spacing: .7em;
  padding-left: .7em;
  color: var(--teal);
  white-space: nowrap;
}

.wm-eras {
  font-family: var(--f-eras);
  font-weight: 500;
  font-size: clamp(78px, 16.25vw, 185px);
  letter-spacing: .15em;
  padding-left: .15em;
  line-height: .86;
  display: inline-block;
  transform: scaleX(0.87);
  color: var(--brass); /* fallback */
  background: linear-gradient(
    90deg,
    #8C6018 0%,
    #C1973F 22%,
    #D4A030 40%,
    #EDD060 47%,
    #FFFDE0 49.5%,
    #FFFFFF 50%,
    #FFFDE0 50.5%,
    #EDD060 53%,
    #D4A030 60%,
    #C1973F 78%,
    #8C6018 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(193,151,63,.22));
  cursor: default;
  /* Run both fade-in AND shimmer; fadeUpEras bakes scaleX(0.75) into both frames */
  animation: fadeUpEras .75s ease var(--d, .2s) forwards, metalShimmer 7s ease-in-out 1.4s infinite;
}

.wm-rule {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 10px 0 8px;
  width: 100%;
  justify-content: center;
}

.wm-rule:not(.wm-rule--solo) .rule-line {
  flex: 0 0 104px;
}

.wm-rule--solo {
  margin: 10px 0 0;
}
.wm-rule--solo .rule-line {
  flex: 0 0 180px;
  height: 2px;
}

.wm-collective {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(25px, 5.6vw, 60px);
  letter-spacing: .3em;
  padding-left: .3em;
  color: var(--teal);
  text-shadow: 0 0 18px rgba(244,237,218,.95), 0 0 36px rgba(244,237,218,.55);
}

.wm-descriptor {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: .4em;
  padding-left: .4em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 8px;
  opacity: .92;
}

/* ─── Hero Script & Location ────────────────────────────────────── */
.hero-script {
  font-family: var(--f-script);
  font-size: clamp(22px, 3.8vw, 36px);
  color: var(--teal);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.hero-location {
  font-family: var(--f-display);
  font-size: clamp(9px, 1.1vw, 11px);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--walnut);
  opacity: .55;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* ─── Vendor Pitch ──────────────────────────────────────────────── */
.pitch {
  background: linear-gradient(160deg, var(--teal-deep) 0%, #163F44 100%);
  padding: calc(80px + 56px) 28px 96px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  margin-top: -166px;
}

/* Grain texture on teal */
.pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Cleared — pattern images cycle in via .pitch-pattern layers */
.pitch::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ─── Decorative brass circles in pitch ─────────────────────────── */
.pitch-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.pitch-orbs::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1.5px solid rgba(193,151,63,.28);
  box-shadow: 0 0 48px rgba(193,151,63,.07);
  top: -180px; right: -140px;
}
.pitch-orbs::after {
  content: '';
  position: absolute;
  width: 310px; height: 310px;
  border-radius: 50%;
  border: 1px solid rgba(193,151,63,.2);
  bottom: -95px; left: -75px;
}

/* ─── Pitch background gold shimmer ─────────────────────────────── */
/*
 * Same technique as the ERAS metalShimmer: a bright-lines layer sits on top
 * of the dim base diamonds, hidden behind a diagonal mask. Animating
 * mask-position sweeps the "window" from top-left to bottom-right so only
 * the diamond lines inside the wave zone light up — no overlay blob.
 */
@keyframes pitchShimmerSweep {
  /* Hold off top-left (~8s). */
  0%, 44% {
    -webkit-mask-position: 100% 100%;
            mask-position: 100% 100%;
    opacity: 1;
  }
  /* Sweep finishes — wave reaches bottom-right. */
  88% {
    -webkit-mask-position: 0% 0%;
            mask-position: 0% 0%;
    opacity: 1;
  }
  /* Fade out over ~2s instead of snapping. */
  99% {
    -webkit-mask-position: 0% 0%;
            mask-position: 0% 0%;
    opacity: 0;
  }
  /* Snap mask back while opacity is still 0 — invisible reset. */
  100% {
    -webkit-mask-position: 100% 100%;
            mask-position: 100% 100%;
    opacity: 0;
  }
}

.pitch-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Solid gold light — the mask animation sculpts it into the sweeping wave */
  background: rgba(214, 179, 106, 0.29);
  /*
   * Asymmetric mask: trailing fade starts at 27% so top-left gold begins
   * dissolving when the wave is ~60% across; short leading edge keeps
   * the wave front crisp.
   */
  -webkit-mask-image: linear-gradient(
    135deg,
    transparent 0%,
    transparent 33%,
    black       44%,
    black       51%,
    transparent 59%,
    transparent 100%
  );
          mask-image: linear-gradient(
    135deg,
    transparent 0%,
    transparent 33%,
    black       44%,
    black       51%,
    transparent 59%,
    transparent 100%
  );
  -webkit-mask-size: 300% 300%;
          mask-size: 300% 300%;
  -webkit-mask-position: 100% 100%;
          mask-position: 100% 100%;
  /* 18s cycle: 44% hold (~8s) + 56% sweep (~10s).
     -12.24s delay puts the active sweep window (≈13.68s–21.6s real time
     per cycle) around the background pattern's transition gap (15.84s–
     19.44s), so the gold light is mid-sweep while the backgrounds
     crossfade, instead of finishing just beforehand. */
  animation: pitchShimmerSweep 18s ease-in-out -12.24s infinite;
}

/* ─── Cycling image pattern layers ──────────────────────────────── */
/*
 * 4 black-on-white pattern images cycle as the ambient texture in the pitch
 * section. invert(1) flips them to white-on-black, sepia+saturate warms the
 * lines gold, and mix-blend-mode: screen makes the black background invisible
 * so only the golden line art glows over the dark teal.
 * Each element runs a 72s loop; staggered delays give each a distinct 18s
 * window so exactly one pattern is visible at a time.
 */
@keyframes basePatternCycle {
  0%    { opacity: 0;    }
  2%    { opacity: 0.20; }
  22%   { opacity: 0.20; }
  25%   { opacity: 0;    }
  100%  { opacity: 0;    }
}

.pitch-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  filter: invert(1) sepia(0.55) hue-rotate(8deg) saturate(1.4) brightness(0.65);
  animation: basePatternCycle 72s linear infinite;
  opacity: 0;
}

.pitch-pattern--1 {
  /* Babyanimals3.png is pre-colored (cream background, teal line art)
     instead of black-on-white, so it skips the shared invert/sepia/screen
     gold-glow treatment entirely — see Babyanimals2.png for the original. */
  background-image: url('images/Background%20images/Babyanimals3.png');
  animation-delay: -18s;
  filter: none;
  mix-blend-mode: normal;
}
.pitch-pattern--2 {
  background-image: url('images/Background%20images/Leaffan2.png');
  animation-delay: -54s;
}
.pitch-pattern--3 {
  background-image: url('images/Background%20images/Flowers2.png');
  animation-delay: -36s;
}
.pitch-pattern--4 {
  background-image: url('images/Background%20images/jocky2.png');
  animation-delay: 0s;
}

/* ─── Pitch two-column layout ───────────────────────────────────── */
.pitch-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 4.5vw, 72px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pitch-inner {
  flex: 0 0 auto;
  width: clamp(240px, 36%, 400px);
  text-align: left;
  position: relative;
  z-index: 1;
}

.pitch-heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: .08em;
  color: var(--brass-soft);
  margin-bottom: 28px;
}

.pitch-body {
  font-family: var(--f-body);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.7;
  color: rgba(244,237,218,.88);
  margin-bottom: 18px;
}

/* ─── CTA Button ────────────────────────────────────────────────── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(8.5px, 1vw, 10.5px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: linear-gradient(135deg, #b8862e 0%, #d4a84b 35%, #c9973f 55%, #e8c060 75%, #c1973f 100%);
  padding: 13px 22px;
  border: 1px solid var(--brass);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s,
              transform .2s ease, filter .25s ease;
  cursor: pointer;
  animation: btnGlow 3.5s ease-in-out infinite;
}
.btn::before {
  content: '';
  position: absolute;
  top: -10%; left: -120%;
  width: 55%; height: 120%;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255,245,180,.55) 50%,
    transparent 75%
  );
  transform: skewX(-18deg);
  animation: btnShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
.btn:hover {
  animation: none;
  transform: translateY(2px) scale(.985);
  filter: brightness(.86) saturate(1.08);
  box-shadow: inset 0 4px 10px rgba(0,0,0,.5), inset 0 -1px 0 rgba(255,255,255,.12);
  border-color: rgba(143,107,30,.9);
}
.btn:hover::before { opacity: 0; }
.btn--secondary {
  background: linear-gradient(135deg, #5a3518 0%, #7a4f28 30%, #6a4527 55%, #8b5e35 78%, #5a3518 100%);
  color: var(--cream);
  border-color: #7a4f28;
  animation: btnGlowWalnut 3.5s ease-in-out 1.8s infinite;
}
.btn--secondary::before {
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255,200,120,.4) 50%,
    transparent 75%
  );
  animation: btnShine 4.5s ease-in-out 2.2s infinite;
}
.btn--secondary:hover {
  animation: none;
  transform: translateY(2px) scale(.985);
  filter: brightness(.82) saturate(1.05);
  box-shadow: inset 0 4px 10px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.08);
  border-color: rgba(58,38,18,.9);
}
.btn--tertiary {
  background: linear-gradient(135deg, #143b40 0%, #1b4d52 30%, #2e6e74 55%, #3a868d 78%, #143b40 100%);
  color: var(--cream);
  border-color: #2e6e74;
  animation: btnGlowTeal 3.5s ease-in-out 3.6s infinite;
}
.btn--tertiary::before {
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(180,230,235,.4) 50%,
    transparent 75%
  );
  animation: btnShine 4.5s ease-in-out 4s infinite;
}
.btn--tertiary:hover {
  animation: none;
  transform: translateY(2px) scale(.985);
  filter: brightness(.82) saturate(1.05);
  box-shadow: inset 0 4px 10px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.08);
  border-color: rgba(10,40,43,.9);
}

/* ─── CTA info toggle ───────────────────────────────────────────────
   On desktop, each CTA reveals its parchment note on hover, so the
   wrappers stay transparent (display:contents) and the toggle/note are
   hidden. On touch/mobile (no hover) the toggle + inline note appear —
   see the max-width:600px block below. */
.cta-item,
.cta-line { display: contents; }
.cta-toggle,
.cta-note { display: none; }

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--teal-deep);
  padding: 64px 28px;
  text-align: center;
}

.footer-inner {
  max-width: 500px;
  margin: 0 auto;
}

.footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-tagline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass-soft);
  line-height: 2;
  margin-bottom: 14px;
}

.footer-location {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(244,237,218,.45);
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(244,237,218,.25);
}

/* ─── Vendor Photo Gallery ───────────────────────────────────────── */
.gallery-stage {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  margin-top: clamp(24px, 4vw, 56px);
}

.vendor-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vw, 14px);
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  transition: opacity .4s ease, filter .4s ease;
}

.pitch-row[data-note-active] .vendor-gallery {
  opacity: 0;
  filter: blur(3px);
  pointer-events: none;
  transition: opacity .35s ease, filter .35s ease;
}

/* ─── Sticky Note (CTA hover/focus preview) ──────────────────────── */
.pitch-note {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.pitch-row[data-note-active] .pitch-note {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .55s ease .12s;
}

.pitch-note-pin {
  position: absolute;
  top: clamp(0px, .6vw, 6px);
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f6e0a4, var(--brass) 55%, #6e4f1c 100%);
  box-shadow: 0 3px 7px rgba(0,0,0,.55), inset 0 1px 1px rgba(255,255,255,.55);
  transform: translate(-50%, -30%) scale(.7);
  z-index: 3;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.pitch-row[data-note-active] .pitch-note-pin {
  opacity: 1;
  transform: translate(-50%, -30%) scale(1);
  transition: opacity .4s ease .18s, transform .4s ease .18s;
}

.pitch-note-panel {
  position: absolute;
  inset: clamp(6px, 1.5vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 14px;
  padding: clamp(24px, 3.6vw, 44px) clamp(28px, 4.2vw, 48px);
  background:
    repeating-linear-gradient(178deg, rgba(94,63,24,.05) 0px, transparent 2px, transparent 5px),
    radial-gradient(120% 90% at 14% 10%, rgba(255,250,222,.28), transparent 55%),
    radial-gradient(75% 60% at 88% 88%, rgba(94,63,24,.20), transparent 60%),
    radial-gradient(55% 45% at 68% 22%, rgba(94,63,24,.12), transparent 65%),
    radial-gradient(40% 35% at 30% 75%, rgba(94,63,24,.10), transparent 70%),
    linear-gradient(160deg, #e1cf94 0%, #cdb377 40%, #bea465 70%, #d4bf8c 100%);
  border: 1px solid rgba(94,63,24,.42);
  box-shadow: inset 0 0 70px rgba(94,63,24,.22), inset 0 0 18px rgba(255,255,255,.18);
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.4)) drop-shadow(0 4px 10px rgba(0,0,0,.24));
  opacity: 0;
  transition: opacity .3s ease;
}

.pitch-row[data-note-active="vendor"]  .pitch-note-panel[data-note="vendor"],
.pitch-row[data-note-active="studio"]  .pitch-note-panel[data-note="studio"],
.pitch-row[data-note-active="consign"] .pitch-note-panel[data-note="consign"] {
  opacity: 1;
  transition: opacity .5s ease .15s;
}

.pitch-note-eyebrow {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--walnut);
}

.pitch-note-heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: .03em;
  line-height: 1.15;
  color: var(--teal-deep);
}

.pitch-note-body {
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.5;
  color: var(--ink);
}

.pitch-note-body--placeholder {
  color: rgba(43,33,23,.55);
}

.pitch-note-label {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8em;
  color: var(--teal-deep);
  margin-right: 5px;
}

/* Consign/Donate panel carries two paragraphs — sized to still fill the note */
.pitch-note-panel[data-note="consign"] {
  gap: 12px;
}
.pitch-note-panel[data-note="consign"] .pitch-note-body {
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.42;
}

.vendor-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(193,151,63,.22);
  transition: border-color .35s ease, box-shadow .35s ease;
  cursor: pointer;
}

.vendor-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}

.vendor-card:hover {
  border-color: rgba(193,151,63,.75);
  box-shadow:
    0 0 0 1px rgba(193,151,63,.3),
    0 10px 40px rgba(193,151,63,.18),
    0 24px 64px rgba(0,0,0,.45);
}

.vendor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s ease, filter .65s ease;
  filter: brightness(.8) saturate(.85);
}

.vendor-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.02) saturate(1.1);
}

.vendor-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,59,64,.9) 0%,
    rgba(20,59,64,.28) 36%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 2vw, 24px);
  opacity: 0;
  transition: opacity .4s ease;
}

.vendor-card:hover .vendor-card-overlay {
  opacity: 1;
}

.vendor-card-label {
  font-family: var(--f-display);
  font-size: clamp(8px, .85vw, 10px);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.vendor-card.reveal:nth-child(2) { transition-delay: .1s; }
.vendor-card.reveal:nth-child(3) { transition-delay: .2s; }

/* Zoom in on bookshelf to crop the plant/wall artifacts on the edges */
.vendor-card--wide img {
  transform: scale(1.18);
  transform-origin: center center;
}
.vendor-card--wide:hover img {
  transform: scale(1.25);
}

/* ─── Lamp flame flicker ─────────────────────────────────────────── */
@keyframes flickerFilter {
  0%   { filter: brightness(.84) saturate(.88); }
  7%   { filter: brightness(.93) saturate(.96); }
  13%  { filter: brightness(.79) saturate(.83); }
  20%  { filter: brightness(.90) saturate(.94); }
  28%  { filter: brightness(.97) saturate(1.00); }
  35%  { filter: brightness(.81) saturate(.86); }
  42%  { filter: brightness(.88) saturate(.92); }
  50%  { filter: brightness(.76) saturate(.80); }
  57%  { filter: brightness(.94) saturate(.98); }
  64%  { filter: brightness(.85) saturate(.89); }
  71%  { filter: brightness(.92) saturate(.96); }
  79%  { filter: brightness(.82) saturate(.87); }
  86%  { filter: brightness(.89) saturate(.93); }
  93%  { filter: brightness(.95) saturate(.99); }
  100% { filter: brightness(.84) saturate(.88); }
}
@keyframes ambientFlicker {
  0%   { opacity: .38; }
  10%  { opacity: .57; }
  19%  { opacity: .27; }
  28%  { opacity: .52; }
  37%  { opacity: .43; }
  46%  { opacity: .66; }
  55%  { opacity: .30; }
  63%  { opacity: .55; }
  72%  { opacity: .46; }
  81%  { opacity: .61; }
  90%  { opacity: .33; }
  100% { opacity: .38; }
}
@keyframes flameDance {
  0%   { transform: scaleX(1)    scaleY(1)    rotate(-1.5deg); }
  10%  { transform: scaleX(.85)  scaleY(1.09) rotate(2deg);    }
  21%  { transform: scaleX(1.08) scaleY(.91)  rotate(-2.5deg); }
  31%  { transform: scaleX(.91)  scaleY(1.11) rotate(1.5deg);  }
  42%  { transform: scaleX(1.11) scaleY(.87)  rotate(-1deg);   }
  52%  { transform: scaleX(.87)  scaleY(1.07) rotate(2.5deg);  }
  62%  { transform: scaleX(1.05) scaleY(.93)  rotate(-2deg);   }
  73%  { transform: scaleX(.90)  scaleY(1.10) rotate(1.5deg);  }
  83%  { transform: scaleX(1.09) scaleY(.89)  rotate(-1.5deg); }
  93%  { transform: scaleX(.94)  scaleY(1.04) rotate(2deg);    }
  100% { transform: scaleX(1)    scaleY(1)    rotate(-1.5deg); }
}
@keyframes flameGlow {
  0%   { opacity: .80; transform: scale(1);    }
  15%  { opacity: 1;   transform: scale(1.10); }
  30%  { opacity: .74; transform: scale(.95);  }
  45%  { opacity: .95; transform: scale(1.05); }
  60%  { opacity: .70; transform: scale(.93);  }
  75%  { opacity: .90; transform: scale(1.07); }
  90%  { opacity: .78; transform: scale(.97);  }
  100% { opacity: .80; transform: scale(1);    }
}

/* lamp-scene wraps img + overlays so they all zoom together on hover */
.lamp-scene {
  position: absolute;
  inset: 0;
  transition: transform .65s ease;
}
.vendor-card--lamp:hover .lamp-scene {
  transform: scale(1.06);
}
.vendor-card--lamp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
  animation: flickerFilter 2.6s linear infinite;
}
.vendor-card--lamp:hover img {
  transform: none;
  filter: none;
}

.lamp-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 68% 72% at 15% 52%,
    rgba(255, 148, 28, .30) 0%,
    rgba(255, 100, 8,  .13) 42%,
    transparent 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  animation: ambientFlicker 2.2s linear infinite;
}

.lamp-flame {
  position: absolute;
  left: 12.8%;
  top: 37%;
  width: 11px;
  height: 28px;
  transform-origin: 50% 88%;
  pointer-events: none;
  z-index: 4;
  animation: flameDance 1.75s ease-in-out infinite;
  filter: blur(0.5px);
  opacity: 0.94;
}
.lamp-flame .flame-core {
  filter: blur(1px);
}
.lamp-flame .flame-glow {
  filter: blur(5px);
  opacity: 0.88;
}

.flame-glow {
  position: absolute;
  inset: -8px -10px -12px -10px;
  background: radial-gradient(
    ellipse 55% 60% at 50% 62%,
    rgba(255, 245, 160, .88) 0%,
    rgba(255, 205, 65,  .42) 44%,
    transparent 76%
  );
  border-radius: 50%;
  filter: blur(4px);
  animation: flameGlow 1.9s ease-in-out infinite;
}

.flame-core {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 55% at 50% 46%,
    #fffef5 0%,
    #fff8c0 20%,
    #ffe060 44%,
    rgba(255, 155, 15, .62) 72%,
    transparent 100%
  );
  border-radius: 50% 50% 24% 24% / 58% 58% 42% 42%;
  filter: blur(.5px);
}

/* ─── Smoke wisps ────────────────────────────────────────────────── */
@keyframes smokeRise {
  0%   { opacity: 0;    transform: translateY(0)     translateX(0)    scale(.3); }
  12%  { opacity: .24; }
  45%  { opacity: .15; transform: translateY(-30px)  translateX(4px)  scale(.9); }
  75%  { opacity: .07; transform: translateY(-56px)  translateX(-3px) scale(1.4); }
  100% { opacity: 0;    transform: translateY(-76px)  translateX(2px)  scale(2);  }
}

.smoke-wisp {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 210, 195, .55) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(2.5px);
  animation: smokeRise 3s ease-out infinite;
}
.smoke-wisp--2 { animation-delay: 1.05s; animation-duration: 3.5s; }
.smoke-wisp--3 { animation-delay: 2.1s;  animation-duration: 2.7s; }

/* Larger wisps scaled for the bigger hero flame */
.hero-lamp-flame .smoke-wisp {
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -16px;
  filter: blur(5px);
}

@media (prefers-reduced-motion: reduce) {
  .vendor-card--lamp img { animation: none; filter: brightness(.88) saturate(.92); }
  .lamp-ambient { animation: none; opacity: .42; }
  .lamp-flame   { animation: none; }
  .flame-glow   { animation: none; }
  .smoke-wisp   { animation: none; opacity: 0; }
  .pitch-shimmer { animation: none; -webkit-mask-position: 200% 200%; mask-position: 200% 200%; }
  .pitch::after  { animation: none; }
  .pitch-pattern { animation: none; opacity: 0; }
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .pitch-row { flex-direction: column; }
  .pitch-inner { width: 100%; text-align: center; }
  .gallery-stage { width: 100%; margin-top: 48px; }
}

@media (max-width: 600px) {
  .nav-list { gap: 12px; }
  .nav-link { letter-spacing: .18em; }
  .hero { padding: calc(58px + 28px) 20px 28px; }
  .pitch { padding: calc(60px + 40px) 20px 72px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); margin-top: -40px; }
  .wm-rule .rule-line { flex: 0 0 36px; }
  .btn { padding: 16px 32px; }
  .btn-group { justify-content: center; flex-direction: column; align-items: center; }
  .vendor-gallery { grid-template-columns: 1fr; }
  .vendor-card--wide { grid-column: 1; aspect-ratio: 16/9; }

  /* Touch/mobile: no hover, so surface each CTA's meaning behind a tap arrow */
  .cta-item { display: flex; flex-direction: column; width: min(360px, 100%); }
  .cta-line { display: flex; align-items: stretch; gap: 8px; width: 100%; }
  .cta-line .btn { flex: 1 1 auto; }
  .cta-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    background: linear-gradient(135deg, #b8862e 0%, #d4a84b 45%, #c1973f 100%);
    color: var(--teal-deep);
    border: 1px solid var(--brass);
    cursor: pointer;
    transition: filter .2s ease, background .2s ease, color .2s ease;
  }
  .cta-toggle:active { filter: brightness(.9); }
  .cta-chevron { transition: transform .25s ease; }
  .cta-item.open .cta-toggle { background: var(--teal-deep); color: var(--brass-soft); }
  .cta-item.open .cta-chevron { transform: rotate(180deg); }

  .cta-note {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
    background: linear-gradient(160deg, #e1cf94 0%, #cdb377 55%, #d4bf8c 100%);
    border: 1px solid rgba(94,63,24,.42);
    border-top: none;
    padding: 0 20px;
    transition: max-height .35s ease, opacity .3s ease, padding .35s ease;
  }
  .cta-item.open .cta-note {
    max-height: 520px;
    opacity: 1;
    padding: 16px 20px 18px;
  }
  .cta-note-eyebrow {
    display: block;
    font-family: var(--f-display);
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--walnut);
    margin-bottom: 8px;
  }
  .cta-note p {
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 8px;
  }
  .cta-note p:last-child { margin-bottom: 0; }
  .cta-note-label {
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82em;
    color: var(--teal-deep);
    margin-right: 5px;
  }
}

/* ─── Contact ───────────────────────────────────────────────────── */
.contact {
  position: relative;
  overflow: hidden;
  /* 58px clears the fixed nav — this is the top section on its own page */
  padding: calc(58px + clamp(56px, 7vw, 88px)) 28px clamp(80px, 9vw, 112px);
  min-height: 100vh;
  /* Same teal backdrop as the Join (pitch) section */
  background: linear-gradient(160deg, var(--teal-deep) 0%, #163F44 100%);
  scroll-margin-top: 72px;
}

/* Grain texture on teal — mirrors .pitch::before */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-eyebrow {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 16px;
}

.contact-heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(30px, 5.2vw, 50px);
  letter-spacing: .07em;
  color: var(--brass-soft);
  margin-bottom: 16px;
}

.contact-intro {
  font-family: var(--f-body);
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.65;
  color: rgba(244,237,218,.88);
  max-width: 680px;
  margin: 0 auto clamp(34px, 4vw, 48px);
  text-wrap: balance;
}

/* Framed antique "card" — cream panel with a thin brass inner rule */
.contact-form {
  position: relative;
  text-align: left;
  background: #FBF6E9;
  border: 1px solid rgba(106,69,39,.22);
  box-shadow: 0 18px 40px -22px rgba(43,33,23,.45);
  padding: clamp(28px, 4vw, 44px);
}
.contact-form::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(193,151,63,.35);
  pointer-events: none;
}

.field {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 17px;
  color: var(--ink);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(106,69,39,.28);
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(43,33,23,.4); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(193,151,63,.16);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.contact-counter {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(43,33,23,.5);
}
.contact-counter--warn { color: #A23B2E; }

.contact-submit {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}
.contact-submit:disabled { opacity: .6; cursor: default; animation: none; }

.contact-status {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  min-height: 1.2em;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--walnut);
}
.contact-status--error { color: #A23B2E; }

.contact-sent {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: .04em;
  color: var(--walnut);
  padding: clamp(20px, 4vw, 40px) 0;
}

@media (max-width: 600px) {
  .contact { padding: calc(58px + 40px) 20px 72px; }
  .contact-form { padding: 24px 18px; }
  .contact-submit { width: 100%; text-align: center; }
}
