/* ==========================================================================
   יונק'ה — Landing page
   Palette derived from the venue's own logo (dark olive + cream)
   and the terracotta gerberas that appear in every photograph.
   ========================================================================== */

/* Heebo — self-hosted (owner-supplied files), used across the whole site */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Heebo-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Heebo-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Heebo-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Heebo-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Heebo-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/Heebo-Black.ttf") format("truetype");
}

:root {
  /* Brand */
  --ink:        #3A3A2E;   /* logo dark olive */
  --ink-2:      #2C2C22;   /* deeper, for dark sections */
  --ink-soft:   #5A5A49;
  --cream:      #F2ECDE;   /* logo cream */
  /* The paper texture below is multiplied over these, which darkens them by
     ~3%. So the values here are pre-lightened: they are NOT what you see.
     On screen they render as #F7F7E7 and #EFEFD9 respectively. */
  --paper:      #FFFFEF;   /* renders as #F7F7E7 — page background */
  --paper-2:    #F7F7E0;   /* renders as #EFEFD9 — alternating sections */
  /* Accent tones are tuned so that small bold text (the 13px eyebrows and
     footer headings) clears 4.5:1 on every surface each one lands on. */
  --terra:      #B24C23;   /* gerbera orange — accent, on light surfaces */
  --terra-soft: #E57B47;   /* the same orange, lifted for dark surfaces */
  --wood:       #A9784E;
  --sage:       #7D8467;
  --line:       #DCDCC0;   /* shares the paper hue so borders read as part of it */
  --line-dark:  rgba(242, 236, 222, 0.16);

  /* Type — Heebo across the whole site */
  --serif: "Heebo", -apple-system, "Segoe UI", Arial, sans-serif;
  --sans:  "Heebo", -apple-system, "Segoe UI", Arial, sans-serif;

  /* Motion — stronger than the CSS defaults, which feel weak */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Rhythm */
  --sp-section: clamp(5rem, 10vw, 9rem);
  --radius: 4px;

  --z-nav: 50;
  --z-menu: 60;
  --z-lightbox: 90;

  /* ---- Retro paper stock -------------------------------------------------
     Two inline SVG noise layers, no image files to ship:
     `--grain`  fine speckle — the tooth of the paper
     `--mottle` slow, cloudy variation — the unevenness of an aged sheet
     Both are greyscale and multiplied over the paper colour, so they add
     texture without shifting its hue. Opacities are deliberately low: any
     stronger and the darkening drags small text below 4.5:1 contrast. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.14'/%3E%3C/svg%3E");
  --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='0.10'/%3E%3C/svg%3E");

  --paper-tex-size: 160px 160px, 520px 520px;
}

/* Every light surface is "printed" on the same stock. Applied as a mixin-ish
   block so the colour stays a separate declaration from the texture. */
.paper-texture,
body,
.section--cream,
.form,
.ev {
  background-image: var(--grain), var(--mottle);
  background-size: var(--paper-tex-size);
  background-blend-mode: multiply, multiply;
}

/* The dark sections get the same tooth at a whisper, so the page reads as one
   printed piece rather than two materials. `soft-light` lifts and dips the
   ink instead of just darkening it. */
.section--dark,
.facts,
.footer {
  background-image: var(--grain);
  background-size: 160px 160px;
  background-blend-mode: soft-light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }

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

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- Layout ---------- */
.wrap {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
.wrap--narrow { width: min(760px, 100% - 3rem); }

.section { padding-block: var(--sp-section); }

.section--cream { background-color: var(--paper-2); }

.section--dark {
  background-color: var(--ink-2);
  color: var(--cream);
}
.section--dark ::selection { background: var(--terra); color: #fff; }

/* ---------- Type scale ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: none;
  color: var(--terra);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 3.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.eyebrow--light { color: var(--terra-soft); }

.sechead {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sechead__sub {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.section--dark .sechead__sub { color: rgba(242, 236, 222, 0.75); }

p + p { margin-top: 1.1em; }

em { font-style: italic; }
strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  min-height: 48px;
  background: var(--terra);
  color: #FFF9F2;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: 999px;
  border: 1.5px solid var(--terra);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
  box-shadow: 0 1px 2px rgba(58, 58, 46, 0.12);
}
.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: #A34419;
    border-color: #A34419;
    box-shadow: 0 6px 20px -6px rgba(184, 78, 36, 0.5);
  }
}

.btn--lg { padding: 1.1rem 2.4rem; font-size: 1.0625rem; min-height: 54px; }
.btn--sm { padding: 0.65rem 1.3rem; font-size: 0.9375rem; min-height: 42px; }

/* Ghost buttons inherit their colour from the surrounding section, so the
   hover state tints the surface rather than filling it — filling with
   currentColor would paint the label the same colour as its background. */
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover {
    background: color-mix(in srgb, currentColor 12%, transparent);
    box-shadow: none;
  }
}

.btn--wa { background: #1B7E52; border-color: #1B7E52; }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: #15653F; border-color: #15653F; box-shadow: 0 6px 20px -6px rgba(27, 126, 82, 0.5); }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  background: rgba(247, 247, 231, 0);
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms var(--ease-out),
    border-color 300ms var(--ease-out),
    backdrop-filter 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}
.nav.is-stuck {
  background: rgba(247, 247, 231, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px -12px rgba(58, 58, 46, 0.35);
}

.nav__inner {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 74px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
}
.nav__logo {
  width: auto;
  height: 42px;
  transition: opacity 200ms ease;
}
.nav__brandtext { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.nav__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Hero is dark — nav starts light-on-dark, flips when stuck */
.nav:not(.is-stuck) .nav__name,
.nav:not(.is-stuck) .nav__tag,
.nav:not(.is-stuck) .nav__links a { color: var(--cream); }
.nav:not(.is-stuck) .nav__logo { filter: brightness(0) invert(1) opacity(0.92); }
.nav:not(.is-stuck) .nav__burger span { background: var(--cream); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-inline-start: auto;
  font-size: 0.9375rem;
  font-weight: 600;
}
.nav__links a {
  text-decoration: none;
  position: relative;
  padding-block: 0.35rem;
  transition: color 200ms ease;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--terra); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: inline-start; }
}

.nav__cta { flex-shrink: 0; }

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 240ms var(--ease-out), opacity 160ms ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobilemenu {
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: var(--z-menu);
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(58, 58, 46, 0.4);
  padding: 1.25rem 1.5rem 2rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.mobilemenu[hidden] { display: none; }
.mobilemenu.is-closing { opacity: 0; transform: translateY(-8px); }
.mobilemenu nav { display: flex; flex-direction: column; }
.mobilemenu a {
  padding: 0.9rem 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--line);
}
.mobilemenu a:last-child { border-bottom: 0; }
.mobilemenu__cta {
  margin-top: 1.25rem;
  background: var(--terra);
  color: #FFF9F2;
  border-radius: 999px;
  text-align: center;
  padding: 1rem !important;
  border-bottom: 0 !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 8rem 1.5rem 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: heroIn 1600ms var(--ease-out) both;
}
@keyframes heroIn {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(30, 28, 20, 0.62) 0%,
      rgba(30, 28, 20, 0.42) 35%,
      rgba(30, 28, 20, 0.58) 70%,
      rgba(30, 28, 20, 0.86) 100%),
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(30, 28, 20, 0) 0%, rgba(30, 28, 20, 0.5) 100%);
}

.hero__content {
  position: relative;
  text-align: center;
  color: var(--cream);
  max-width: 54rem;
}

.hero__logo {
  width: clamp(120px, 16vw, 180px);
  height: auto;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 900ms var(--ease-out) 200ms forwards;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.4));
}

.hero__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero__word {
  display: inline-block;
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) forwards;
}
.hero__word:nth-child(1) { animation-delay: 340ms; }
.hero__word:nth-child(2) { animation-delay: 420ms; }
.hero__word:nth-child(3) { animation-delay: 500ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.5;
  color: #F6F0E4;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 600ms forwards;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
.hero__sub {
  font-size: 1.0625rem;
  color: rgba(246, 240, 228, 0.86);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 700ms forwards;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 800ms forwards;
}
.hero__actions .btn--ghost {
  color: var(--cream);
  border-color: rgba(242, 236, 222, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
@media (hover: hover) and (pointer: fine) {
  .hero__actions .btn--ghost:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
  }
}

.hero__scroll {
  position: absolute;
  inset-block-end: 2rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 1000ms forwards;
}
.hero__scrollline {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(242, 236, 222, 0.1), rgba(242, 236, 222, 0.85));
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.5; }
  50%      { transform: scaleY(1);    opacity: 1; }
}

/* ==========================================================================
   FACTS
   ========================================================================== */
.facts {
  background-color: var(--ink-2);
  color: var(--cream);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.facts__list {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.facts__item {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-inline-start: 1.5rem;
  border-inline-start: 1px solid var(--line-dark);
}
.facts__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts__num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--terra-soft);
  flex-shrink: 0;
}
.facts__num--word { font-size: clamp(2.4rem, 4.4vw, 3.4rem); }
/* "עד" sits above the figure so the pair reads as one unit: עד 100 */
.facts__pre {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 0.3rem;
  opacity: 0.75;
}
.facts__label {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(242, 236, 222, 0.8);
  font-weight: 500;
}

/* ==========================================================================
   STORY
   ========================================================================== */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.story__text p { color: var(--ink-soft); }
.story__text .h2 { margin-bottom: 1.75rem; }

.pullquote {
  margin-top: 2.25rem;
  padding-inline-start: 1.4rem;
  border-inline-start: 3px solid var(--terra);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
  font-style: normal;
}

.story__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.story__fig { margin: 0; overflow: hidden; border-radius: var(--radius); }
.story__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.story__fig--main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.story__fig--a { aspect-ratio: 3 / 4; }
.story__fig--b { aspect-ratio: 3 / 4; }
@media (hover: hover) and (pointer: fine) {
  .story__fig:hover img { transform: scale(1.04); }
}

/* ==========================================================================
   YONKA
   ========================================================================== */
.yonka__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.yonka__portrait { margin: 0; }
.yonka__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
.yonka__portrait figcaption {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(242, 236, 222, 0.55);
}
.yonka__text .h2 { margin-bottom: 1.75rem; }
.yonka__text p { color: rgba(242, 236, 222, 0.82); }
.yonka__text strong { color: var(--cream); }

.yonka__spirit {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: rgba(242, 236, 222, 0.05);
  border-inline-start: 3px solid var(--terra-soft);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.6;
  color: var(--cream) !important;
}
.yonka__coda {
  margin-top: 1.75rem;
  font-size: 0.9688rem;
  color: rgba(242, 236, 222, 0.65) !important;
}

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events__grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ev {
  background-color: var(--paper);
  padding: 1.75rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 240ms ease, color 240ms ease;
}
.ev__i {
  font-family: var(--serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--terra);
  padding-top: 0.35rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  transition: color 240ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ev:hover { background-color: var(--ink-2); color: var(--cream); }
  .ev:hover .ev__i { color: var(--terra-soft); }
}

.events__note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.events__banner {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.events__banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 42%;
}
.events__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 28, 20, 0.88) 0%, rgba(30, 28, 20, 0.25) 55%, rgba(30, 28, 20, 0.1) 100%);
}
.events__caption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.events__caption span:last-child { color: var(--terra-soft); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}
.g {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--line);
}
.g--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.g--tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 400ms ease;
}
.g::after {
  content: attr(data-cap);
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 2.5rem 1.1rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
  background: linear-gradient(to top, rgba(30, 28, 20, 0.9), rgba(30, 28, 20, 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .g:hover img { transform: scale(1.05); }
  .g:hover::after { opacity: 1; transform: translateY(0); }
}
.g:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ==========================================================================
   CUSTOM
   ========================================================================== */
.custom__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.custom__text .h2 { margin-bottom: 1.75rem; }
.custom__text > p { color: var(--ink-soft); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 0.85rem;
}
.checklist li {
  position: relative;
  padding-inline-start: 2rem;
  font-weight: 500;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--terra);
}

.custom__close {
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink) !important;
}

.custom__fig { margin: 0; border-radius: var(--radius); overflow: hidden; }
.custom__fig img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ==========================================================================
   WHY
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(242, 236, 222, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background-color 300ms ease, transform 300ms var(--ease-out), border-color 300ms ease;
}
.card__t {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.9rem;
  color: var(--cream);
}
.card p { color: rgba(242, 236, 222, 0.72); font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    background: rgba(242, 236, 222, 0.08);
    border-color: rgba(212, 112, 63, 0.4);
  }
}

/* ==========================================================================
   LOCATION
   ========================================================================== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.location__text .h2 { margin-bottom: 1.5rem; }
.location__text > p { color: var(--ink-soft); }

.contactlist {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.15rem;
}
.contactlist > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.contactlist > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contactlist dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--terra);
}
.contactlist dd { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.contactlist a {
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
  transition: border-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .contactlist a:hover { color: var(--terra); border-bottom-color: var(--terra); }
}

.location__fig { margin: 0; border-radius: var(--radius); overflow: hidden; }
.location__fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ==========================================================================
   FORM
   ========================================================================== */
.contact .sechead { text-align: center; margin-inline: auto; }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::before {
  content: "";
  flex: 1;
  max-width: 3.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.contact .sechead__sub { margin-inline: auto; }

.form {
  display: grid;
  gap: 1.4rem;
  background-color: var(--paper);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px -40px rgba(58, 58, 46, 0.5);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.req { color: var(--terra); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 48px;
  background-color: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--sans);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field select { cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: left 1.15rem top 55%, left 0.8rem top 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-inline-start: 2.5rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #706A5E; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--paper);
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(184, 78, 36, 0.13);
}

.field[data-invalid] input,
.field[data-invalid] select { border-color: #B3261E; }
.field__err {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #B3261E;
  min-height: 0;
  display: none;
}
.field[data-invalid] .field__err { display: block; }
.field__hint { font-size: 0.8125rem; color: var(--ink-soft); }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.form__actions .btn { flex: 1 1 15rem; }
.form__actions .btn--ghost { color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .form__actions .btn--ghost:hover { background: var(--ink); color: var(--cream); }
}

.form__note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}
.form__note.is-error { color: #B3261E; font-weight: 600; }

.contact__alt {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--ink-soft);
}
.contact__alt a { font-weight: 700; color: var(--terra); text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* ==========================================================================
   CLOSING
   ========================================================================== */
.closing {
  position: relative;
  min-height: 88svh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
  overflow: hidden;
  isolation: isolate;
}
.closing__media { position: absolute; inset: 0; z-index: -2; }
.closing__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.closing__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(30, 28, 20, 0.82), rgba(30, 28, 20, 0.9));
}
.closing__content { text-align: center; color: var(--cream); max-width: 44rem; }
.closing__line {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.4vw, 2.25rem);
  line-height: 1.45;
  color: rgba(242, 236, 222, 0.75);
}
.closing__line--em { color: var(--cream); font-weight: 700; margin-top: 0.4rem; }
.closing__logo {
  width: clamp(110px, 14vw, 155px);
  height: auto;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 1.25rem;
}
.closing__tag {
  font-size: 0.9375rem;
  letter-spacing: 0.22em;
  color: rgba(242, 236, 222, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background-color: var(--ink-2); color: rgba(242, 236, 222, 0.75); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer__logo { width: 74px; height: auto; margin-bottom: 1rem; }
.footer__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
}
.footer__tag { font-size: 0.8125rem; letter-spacing: 0.1em; margin-top: 0.35rem; }
.footer__col h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--terra-soft);
  margin-bottom: 1rem;
}
.footer__col p { font-size: 0.9375rem; line-height: 2; margin: 0; }
.footer__col a { text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: var(--cream); }
}
.footer__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(242, 236, 222, 0.5);
}
.footer__bar a {
  color: rgba(242, 236, 222, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__bar a:hover { color: var(--cream); }

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.stickycta {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 45;
  display: none;
  padding: 1.05rem 1.5rem;
  background: var(--terra);
  color: #FFF9F2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 -6px 24px -12px rgba(58, 58, 46, 0.6);
  transform: translateY(100%);
  transition: transform 300ms var(--ease-out);
}
.stickycta.is-visible { transform: translateY(0); }
.stickycta:active { transform: translateY(0) scale(0.985); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(24, 22, 16, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 1;
  transition: opacity 220ms var(--ease-out);
}
.lightbox[hidden] { display: none; }
.lightbox.is-closing { opacity: 0; }

.lightbox__fig {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  transform: scale(1);
  opacity: 1;
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out);
}
.lightbox.is-closing .lightbox__fig { transform: scale(0.96); opacity: 0; }
.lightbox__fig img {
  max-width: 100%;
  max-height: 78svh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__fig figcaption {
  color: rgba(242, 236, 222, 0.85);
  font-size: 0.9375rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: var(--cream);
  border-radius: 50%;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.lightbox__close:active { transform: scale(0.94); }

.lightbox__nav {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
  width: 52px;
  height: 52px;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--cream);
  border-radius: 50%;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.lightbox__nav--prev { inset-inline-end: 1rem; }
.lightbox__nav--next { inset-inline-start: 1rem; }
.lightbox__nav:active { transform: translateY(-50%) scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .lightbox__close:hover,
  .lightbox__nav:hover { background: rgba(242, 236, 222, 0.14); }
}

/* ==========================================================================
   TOUCH TARGETS
   The contact details and footer navigation are things people actually tap
   on a phone — give them room to be hit without magnifying the layout for
   mouse users.
   ========================================================================== */
@media (pointer: coarse) {
  .contactlist dd a,
  .footer__col a,
  .contact__alt a {
    display: inline-block;
    padding-block: 0.6rem;
    min-height: 44px;
  }
  .footer__col p { line-height: 1.5; }
  .footer__col a { padding-inline: 0.1rem; }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { gap: 1.15rem; font-size: 0.875rem; }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .story__grid,
  .yonka__grid,
  .custom__grid,
  .location__grid { grid-template-columns: 1fr; }

  .yonka__portrait { order: 2; max-width: 26rem; }
  .custom__fig { max-width: 30rem; }
  .location__fig { max-width: 30rem; }

  .why__grid { grid-template-columns: 1fr; }

  .facts__list { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .facts__item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }

  .stickycta { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap, .wrap--narrow { width: min(100% - 2.5rem, 100%); }

  .hero { padding: 7rem 1.25rem 5rem; min-height: 100svh; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .br-desktop { display: none; }

  .facts__list { grid-template-columns: 1fr; }
  .facts__item { border-inline-start: 0; padding-inline-start: 0; }
  .facts__item + .facts__item { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }

  .story__media { grid-template-columns: 1fr 1fr; }
  .events__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .g--wide { grid-column: span 2; }
  .g--tall { grid-row: span 1; aspect-ratio: 3 / 4; }

  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }

  .contactlist > div { grid-template-columns: 1fr; gap: 0.25rem; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }

  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; }
  .lightbox__nav--prev { inset-inline-end: 0.35rem; }
  .lightbox__nav--next { inset-inline-start: 0.35rem; }
}

/* ==========================================================================
   REDUCED MOTION — keep opacity, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero__media img,
  .hero__logo, .hero__word, .hero__lead,
  .hero__sub, .hero__actions, .hero__scroll { animation: none; opacity: 1; transform: none; }
  .hero__scrollline { animation: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .nav, .stickycta, .hero__scroll, .lightbox, .mobilemenu { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
