/* DIFFERENTIATOR: a torn market ticket crosses an oversized tray photograph and terracotta headline field. */
/* TODO(Lys): brand fonts and colours are coming from Lys. Swap them in this block only
   (plus the Google Fonts link in index.html). Nothing below hard-codes a brand value. */
:root {
  --clay: #c76050;
  --clay-dark: #9e3f32;
  --cream: #f6eddd;
  --butter: #f2cb63;
  --berry: #752443;
  --espresso: #241411;
  --ink: #2c1b17;
  --muted: #735e56;
  --paper: #fffaf1;
  --display: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --script: "Sacramento", "Segoe Script", cursive;
}

/* Seasonal accents: one block per season id in app.js SEASONS. */
[data-season="halloween"] { --butter: #f0913a; }
.season-decoration { display: none; pointer-events: none; }
[data-season="halloween"] .season-decoration { display: block; position: absolute; height: auto; }
[data-season="halloween"] .hero-copy { background: var(--espresso); }
[data-season="halloween"] .season-bats {
  top: 4.5rem;
  left: 1.5rem;
  width: clamp(10rem, 20vw, 17rem);
  color: var(--butter);
}
[data-season="halloween"] .season-web {
  top: 0;
  right: 0;
  width: clamp(7rem, 13vw, 12rem);
  color: var(--cream);
  opacity: .35;
}
[data-season="halloween"] .season-pumpkin {
  right: clamp(1.5rem, 4vw, 4.5rem);
  bottom: 3rem;
  width: clamp(3.5rem, 6vw, 5rem);
  color: var(--butter);
  transform: rotate(-8deg);
}
[data-season="halloween"] .season-ghost {
  display: block;
  position: absolute;
  top: 7rem;
  right: clamp(1.5rem, 4vw, 4.5rem);
  width: clamp(4.5rem, 8vw, 7rem);
  height: auto;
  color: var(--cream);
  transform: rotate(9deg);
}
[data-season="halloween"] .ticket { background: var(--butter); }
[data-season="halloween"] .meaning { position: relative; background: var(--espresso); }
[data-season="halloween"] .meaning .season-ghost-friend {
  top: 5rem;
  right: clamp(2rem, 6vw, 6rem);
  width: clamp(4rem, 10vw, 9rem);
  transform: rotate(-14deg);
}
[data-season="halloween"] .ticket::before,
[data-season="halloween"] .ticket::after {
  background-image: linear-gradient(135deg, transparent .5rem, var(--butter) 0);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .91; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  translate: 0 -180%;
  background: var(--espresso);
  color: white;
  padding: .7rem 1rem;
}
.skip-link:focus { translate: 0; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 4px; }

.draft-bar {
  position: relative;
  z-index: 40;
  padding: .55rem 1rem;
  background: var(--butter);
  color: var(--espresso);
  text-align: center;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.site-nav {
  position: absolute;
  z-index: 20;
  top: 2.2rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.1rem, 4vw, 4.5rem);
  color: var(--cream);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 400 clamp(2.8rem, 5vw, 4rem)/.8 var(--script);
  color: var(--clay);
  text-decoration: none;
}
.site-nav .wordmark { padding: .12rem .7rem .28rem; border-radius: 999px; background: var(--espresso); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links { padding: 0 .8rem; border-radius: 999px; background: var(--espresso); }
.nav-links a:last-child { border-bottom: 1px solid currentColor; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(25rem, .74fr);
  height: min(880px, 94svh);
  min-height: 760px;
  background: var(--clay-dark);
  isolation: isolate;
}
.hero-photo {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
.hero-photo::after,
.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(117, 36, 67, .08), rgba(199, 97, 80, .12));
  mix-blend-mode: soft-light;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; }
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem clamp(1.5rem, 4vw, 4.5rem) clamp(3rem, 7vw, 6.5rem);
  color: var(--cream);
}
.hero h1 {
  font-size: clamp(4.4rem, 7.4vw, 7.6rem);
  letter-spacing: -.075em;
}
.season-note {
  align-self: flex-start;
  margin-bottom: 1.4rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: var(--butter);
  color: var(--espresso);
  font-size: .85rem;
  font-weight: 700;
}
.hero-intro { max-width: 30ch; margin-top: 1.6rem; font-size: clamp(1.02rem, 1.5vw, 1.25rem); }
.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  align-self: flex-start;
  margin-top: 2rem;
  padding-bottom: .28rem;
  border-bottom: 2px solid var(--butter);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.ticket {
  position: absolute;
  z-index: 10;
  left: calc(63% - 8.8rem);
  top: 24%;
  width: min(23rem, 32vw);
  padding: 1.35rem 1.45rem 1.55rem;
  rotate: -4deg;
  background: var(--cream);
  color: var(--espresso);
  filter: drop-shadow(0 1.5rem 2rem rgba(36, 20, 17, .28));
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: .72rem;
  background: linear-gradient(135deg, transparent .5rem, var(--cream) 0) 0 0/.95rem .95rem repeat-x;
}
.ticket::before { top: -.68rem; transform: rotate(180deg); }
.ticket::after { bottom: -.68rem; }
.ticket-label {
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ticket-status { margin-top: .35rem; font: 800 clamp(1.65rem, 3vw, 2.5rem)/.95 var(--display); }
.ticket-next { margin-top: .7rem; padding-top: .65rem; border-top: 1px dashed rgba(36, 20, 17, .4); font-size: .9rem; }

.ticker {
  display: flex;
  overflow: hidden;
  border-block: 1px solid rgba(36, 20, 17, .16);
  background: var(--butter);
  color: var(--espresso);
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  min-width: max-content;
  padding: .72rem 0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: ticker 28s linear infinite;
}
.ticker-track span::after { content: "✦"; padding: 0 2.2rem; }
@keyframes ticker { to { translate: -50% 0; } }

.shop {
  display: grid;
  grid-template-columns: minmax(16rem, .8fr) 1fr 1fr;
  gap: clamp(.65rem, 1.6vw, 1.3rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 6vw, 7rem);
  background: var(--paper);
}
.shop-copy { align-self: center; padding-right: clamp(0rem, 3vw, 3rem); }
.shop h2 { max-width: 9ch; font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -.05em; }
.shop-copy p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.shop-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.6rem;
  padding: .8rem 1.1rem;
  border: 2px dashed var(--clay-dark);
  color: var(--clay-dark);
  font-weight: 700;
  text-decoration: none;
}
a.shop-cta { border-style: solid; background: var(--clay-dark); color: var(--cream); }
.shop-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--clay); }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; }
.shop-photo.chocolate img { object-position: 50% 50%; }
.shop-photo.berry { margin-bottom: 3rem; }
.shop-photo.berry img { object-position: 50% 42%; }

.schedule {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 7vw, 8rem);
  background: var(--espresso);
  color: var(--cream);
}
.section-label {
  color: var(--clay);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.schedule h2 { max-width: 6ch; margin-top: 1rem; font-size: clamp(3.7rem, 7vw, 7.5rem); letter-spacing: -.055em; }
.schedule-note { max-width: 31ch; margin-top: 1.6rem; color: #cdbdb2; }
.schedule .section-label { color: #df7d6d; }
.date-list { border-top: 1px solid rgba(246, 237, 221, .25); }
.date-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(246, 237, 221, .22);
}
.date-row:first-child { color: var(--butter); }
.date-number { font: 800 clamp(2.4rem, 5vw, 4.3rem)/.8 var(--display); letter-spacing: -.04em; }
.date-month { display: block; margin-top: .35rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.date-place { font: 700 clamp(1.2rem, 2vw, 1.7rem)/1.05 var(--display); }
.date-meta { margin-top: .35rem; color: #cdbdb2; font-size: .84rem; }
.date-row:first-child .date-meta { color: #f8df9d; }
.date-map {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}
.date-toggle {
  margin-top: 1.2rem;
  padding: .65rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--cream);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.date-pending { margin-top: 1.6rem; color: var(--butter); font: 700 clamp(1.2rem, 2vw, 1.7rem)/1.05 var(--display); }

.gallery {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 6vw, 7rem) clamp(2rem, 3vw, 3.5rem);
  background: var(--cream);
}
.gallery-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.gallery h2 { max-width: 8ch; margin-top: 1rem; font-size: clamp(4.1rem, 8vw, 8.5rem); letter-spacing: -.065em; }
.gallery-copy { max-width: 29ch; justify-self: end; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.gallery .section-label { color: var(--clay-dark); }
.collage { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .72fr 1fr; grid-template-rows: 18rem 17rem; gap: clamp(.65rem, 1.6vw, 1.3rem); align-items: stretch; translate: 0 clamp(3rem, 6vw, 6rem); }
.gallery-photo { position: relative; overflow: hidden; background: var(--clay); }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-photo.buns { grid-row: 1 / span 2; margin-bottom: -3rem; }
.gallery-photo.buns img { object-position: 52% 48%; }
.gallery-photo.cornflake { grid-row: 1 / span 2; margin-top: 7rem; margin-bottom: -6rem; }
.gallery-photo.cornflake img { object-position: 54% 50%; }
.photo-slot {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 2px dashed rgba(117, 36, 67, .45);
  background: var(--paper);
  color: var(--berry);
  text-align: center;
  font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--script);
}
.gallery-photo.photo-slot::after { content: none; }
.gallery-photo.slot-a { margin-top: 3rem; }
.photo-tag {
  position: absolute;
  z-index: 2;
  right: .65rem;
  bottom: .65rem;
  padding: .38rem .55rem;
  background: var(--paper);
  color: var(--espresso);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.meaning {
  padding: clamp(10rem, 15vw, 14rem) clamp(1.2rem, 8vw, 9rem) clamp(6rem, 11vw, 11rem);
  background: var(--berry);
  color: var(--cream);
}
.definition { max-width: 46rem; }
.entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(246, 237, 221, .3); }
.entry dfn { font: 800 clamp(4.4rem, 11vw, 10rem)/.9 var(--display); font-style: normal; letter-spacing: -.05em; color: var(--butter); }
.pron { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.pos { font: italic 400 clamp(1.1rem, 1.8vw, 1.4rem) var(--display); color: #e9cfc7; }
.senses { margin: 1.6rem 0 0; padding-left: 1.6rem; font: 400 clamp(1.3rem, 2.4vw, 2rem)/1.3 var(--display); }
.senses li + li { margin-top: .6rem; }
.senses li::marker { color: var(--butter); font-family: var(--sans); font-size: .8em; font-weight: 700; }
.etym { margin-top: 1.8rem; color: #e9cfc7; font-style: italic; }

.about {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 7vw, 8rem);
  background: var(--paper);
}
.about-photo { position: sticky; top: 2rem; aspect-ratio: 4 / 5; }
.about h2 { font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -.05em; margin-bottom: 1.8rem; }
.bio { max-width: 38rem; }
.bio p { font-size: 1.08rem; line-height: 1.65; }
.bio p + p { margin-top: 1.1rem; }

.launch-notes {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 2rem;
  padding: 2rem clamp(1.2rem, 7vw, 8rem);
  border-block: 2px dashed var(--clay-dark);
  background: #fff2ca;
  color: var(--espresso);
}
.launch-notes strong { font-family: var(--display); font-size: 1.25rem; }
.launch-notes p { max-width: 63ch; font-size: .9rem; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  padding: 3.5rem clamp(1.2rem, 7vw, 8rem);
  background: var(--paper);
}
footer { border-top: 1px solid rgba(36, 20, 17, .14); }
footer .wordmark { font-size: 4rem; }
.contact { display: flex; flex-direction: column; font-style: normal; font: 700 clamp(1.1rem, 2vw, 1.5rem)/1.2 var(--display); }
.contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); overflow-wrap: anywhere; }
.footer-meta { text-align: right; color: var(--muted); font-size: .77rem; }
.footer-meta a { color: var(--ink); }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }

.sticky-next {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(100vw - 2rem);
  padding: .7rem .8rem .7rem 1rem;
  translate: -50% 180%;
  border-radius: 999px;
  background: var(--butter);
  color: var(--espresso);
  box-shadow: 0 .6rem 2rem rgba(36, 20, 17, .24);
  transition: translate .25s ease;
  white-space: nowrap;
}
.sticky-next.visible { translate: -50% 0; visibility: visible; pointer-events: auto; }
.sticky-next span { overflow: hidden; text-overflow: ellipsis; font-size: .8rem; }
.sticky-next a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: var(--espresso);
  color: white;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-photo { min-height: 58svh; }
  .hero-copy { min-height: 34rem; padding-top: 7rem; }
  .hero h1 { font-size: clamp(4rem, 16vw, 7.6rem); }
  .ticket { left: auto; right: 6vw; top: calc(58svh - 4.2rem); width: min(22rem, 80vw); }
  .schedule { grid-template-columns: 1fr; }
  .schedule h2 { max-width: 8ch; }
  .gallery-head { grid-template-columns: 1fr; }
  .gallery-copy { justify-self: start; }
  .collage { grid-template-columns: 1.2fr .8fr; grid-template-rows: 21rem 17rem 21rem; }
  .gallery-photo.buns { grid-row: 1 / span 2; }
  .gallery-photo.slot-a { margin-top: 3rem; }
  .gallery-photo.slot-b { grid-column: 1; }
  .gallery-photo.cornflake { grid-column: 2; grid-row: 2 / span 2; margin: 0 0 -3rem; }
  .shop { grid-template-columns: 1fr 1fr; }
  .shop-copy { grid-column: 1 / -1; padding: 0 0 1.5rem; }
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 22rem; }
}

@media (max-width: 560px) {
  [data-season="halloween"] .season-bats { top: 1rem; left: 1rem; width: 12rem; }
  [data-season="halloween"] .season-pumpkin { right: 1.2rem; }
  [data-season="halloween"] .meaning .season-ghost-friend { top: 2.5rem; right: 1.5rem; }
  [data-season="halloween"] .season-ghost { top: 3rem; right: 1.2rem; }
  .nav-links a:first-child { display: none; }
  .site-nav { top: 2.6rem; }
  .hero-photo { min-height: 52svh; }
  .hero-photo img { object-position: 51% 47%; }
  .hero-copy { min-height: 32rem; padding: 9rem 1.2rem 3rem; }
  .ticket { top: calc(52svh - 3.2rem); right: 1.1rem; width: calc(100% - 2.2rem); padding: 1.05rem 1.15rem 1.2rem; }
  .ticker-track { animation-duration: 22s; }
  .schedule { padding-inline: 1.2rem; }
  .date-row { grid-template-columns: 4.25rem minmax(0, 1fr); gap: .9rem; }
  .date-map { grid-column: 2; justify-self: start; }
  .gallery { padding-inline: 1rem; }
  .collage { translate: 0 3rem; }
  .gallery h2 { font-size: clamp(3.6rem, 19vw, 6.2rem); }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 18rem 13rem 17rem; gap: .55rem; }
  .gallery-photo.buns { grid-row: 1 / span 2; margin-bottom: 0; }
  .gallery-photo.slot-a { margin-top: 2rem; }
  .gallery-photo.cornflake { grid-row: 2 / span 2; margin: 0 0 -2rem; }
  .meaning { padding: 8rem 1.2rem 6rem; }
  .shop-photo.berry { margin-bottom: 2rem; }
  .about-photo { max-width: 15rem; }
  .launch-notes { grid-template-columns: 1fr; gap: .5rem; }
  footer { align-items: start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .sticky-next { width: calc(100vw - 1.4rem); justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .sticky-next { transition: none; }
}
