/* ===========================================================
   פתחי לי — a light, spiritual palette lifted from the flyer:
   ivory paper, gold dust, warm brown ink, dusty saxophone blue.
   =========================================================== */

:root {
  /* ---- the knobs the theme panel turns ---- */
  --paper:  #fbf7f1;   /* the page */
  --ink:    #4a342a;   /* the writing */
  --accent: #5d7892;   /* the saxophone blue */
  --gold:   #c9a24b;   /* the dust and the rules */

  --font-size: 17px;
  --radius: 18px;
  --serif: 'Frank Ruhl Libre', 'David Libre', Georgia, serif;
  --sans:  'Assistant', 'Segoe UI', system-ui, sans-serif;

  --texture: url('../img/tex-dust.png');
  --texture-size: 260px;
  --texture-opacity: 1;

  /* ---- everything else is mixed from those, so any palette stays coherent ---- */
  --paper-warm: color-mix(in srgb, var(--paper) 90%, var(--gold));
  --paper-deep: color-mix(in srgb, var(--paper) 80%, var(--gold));
  --card:       color-mix(in srgb, var(--paper) 42%, #fff);
  --ink-soft:   color-mix(in srgb, var(--ink) 74%, var(--paper));
  --ink-faint:  color-mix(in srgb, var(--ink) 50%, var(--paper));
  --line:       color-mix(in srgb, var(--paper) 74%, var(--gold));
  --sand:       color-mix(in srgb, var(--paper) 58%, var(--gold));
  --gold-soft:  color-mix(in srgb, var(--gold) 52%, var(--paper));
  --blue-deep:  var(--accent);
  --blue:       color-mix(in srgb, var(--accent) 68%, var(--paper));

  --shell: min(1180px, 100% - 2.5rem);
  --shadow-sm: 0 2px 10px color-mix(in srgb, var(--ink) 8%, transparent);
  --shadow-md: 0 14px 40px -20px color-mix(in srgb, var(--ink) 38%, transparent);
  --shadow-lg: 0 30px 70px -34px color-mix(in srgb, var(--ink) 48%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: 92px; }
@media (max-width: 620px) { html { scroll-padding-top: 70px; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--texture);
  background-repeat: repeat;
  background-size: var(--texture-size);
  color: var(--ink);
  font: 400 var(--font-size)/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; margin: 0; }

.shell { width: var(--shell); margin-inline: auto; }
main { position: relative; }

/* ------------------------------ nav ------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav__inner {
  width: var(--shell);
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.nav__brand { flex: none; }
.nav__brand img { height: 40px; width: auto; }

.tabs {
  display: flex;
  gap: .25rem;
  min-width: 0;              /* let the strip scroll instead of widening the header */
  margin-inline-start: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: .5rem;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: none;
  border: 0;
  background: none;
  font: 600 15.5px/1 var(--sans);
  color: var(--ink-soft);
  padding: .62rem .9rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.tab:hover { color: var(--ink); background: var(--paper-warm); }
.tab[aria-current='true'] { color: #fff; background: var(--blue-deep); }

/* ------------------------------ buttons ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .82rem 1.6rem;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.btn--solid  { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--solid:hover { background: #3b2921; }
.btn--ghost  { background: transparent; color: var(--ink); border-color: var(--sand); }
.btn--ghost:hover { border-color: var(--ink-soft); background: color-mix(in srgb, var(--card) 66%, transparent); }
.btn--wa     { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #17904a; }
.btn--sm { padding: .55rem 1.05rem; font-size: 14.5px; }

/* ------------------------------ section frame ------------------------------ */

.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section--warm {
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in srgb, var(--paper-deep) 76%, transparent) 22% 78%,
    transparent 100%);
}

.section__head { text-align: center; margin-bottom: 3rem; }
.section__kicker {
  font: 600 13px/1 var(--sans);
  letter-spacing: .22em;
  color: var(--blue-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: .9rem;
}
.section__title { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.section__lead {
  max-width: 58ch;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* a heart between two gold rules — the flyer's own divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: 1.4rem auto 0;
  max-width: 260px;
  color: var(--blue);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.ornament svg { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* ------------------------------ hero ------------------------------ */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-align: center;
  overflow: hidden;
}
.hero__floral {
  position: absolute;
  top: 10px;
  inset-inline-start: -46px;
  width: min(290px, 32vw);
  opacity: .55;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.hero > .shell { position: relative; z-index: 1; }
.hero__bsd {
  font: 400 12px/1 var(--sans);
  color: var(--ink-faint);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
.hero__logo {
  width: min(620px, 88vw);
  margin-inline: auto;
  filter: drop-shadow(0 12px 26px rgba(74, 52, 42, .10));
}
.hero__lines {
  margin: 2rem auto 0;
  max-width: 46ch;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.42rem);
  line-height: 1.85;
  color: var(--ink);
}
.hero__lines strong { font-weight: 700; display: block; margin-top: .55rem; color: var(--blue-deep); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.6rem;
  padding: .42rem 1.1rem;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 62%, transparent);
  font: 600 14px/1 var(--sans);
  color: var(--ink-soft);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }

.hero__photo {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  position: relative;
}
.hero__photo img {
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  object-fit: cover;
  object-position: 50% 32%;
}
/* fade the photograph into the paper on all four edges */
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, transparent 22%, transparent 72%, var(--paper) 100%),
    linear-gradient(90deg, var(--paper) 0%, transparent 14%, transparent 86%, var(--paper) 100%);
  pointer-events: none;
}

/* ------------------------------ about ------------------------------ */

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__text p { margin: 0 0 1.1rem; font-size: 1.08rem; }
.about__text p:last-child { margin-bottom: 0; }

/* a soft dome — the flyer's arch, but forgiving enough never to crop a face */
.arch {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 50% 50% 16px 16px / 34% 34% 4% 4%;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--duo { aspect-ratio: 1 / 1.02; }

.about__frame { position: relative; padding: 14px; }
.about__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-soft);
  border-radius: 50% 50% var(--radius) var(--radius) / 32% 32% 3% 3%;
  pointer-events: none;
}

/* event types */
.types { margin-top: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.types__kicker {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--blue-deep);
  font-weight: 700;
}
.types__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
}
.types__list li {
  background: color-mix(in srgb, var(--card) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.25rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------ the duo ------------------------------ */

.people__switch {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-bottom: 2.6rem;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem;
  width: fit-content;
  margin-inline: auto;
}
.people__switch button {
  border: 0;
  background: none;
  font: 700 16px/1 var(--serif);
  color: var(--ink-soft);
  padding: .68rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.people__switch button[aria-selected='true'] { background: var(--blue-deep); color: #fff; }

.person { display: grid; max-width: 940px; margin-inline: auto; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.person__photo { aspect-ratio: 1 / 1.33; }
.person__name { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.person__role {
  display: inline-block;
  margin-top: .5rem;
  font: 600 14px/1 var(--sans);
  letter-spacing: .16em;
  color: var(--blue-deep);
  text-transform: uppercase;
}
.person__bio { margin-top: 1.4rem; font-size: 1.07rem; color: var(--ink-soft); }
.person__bio p { margin: 0 0 1rem; }

/* ------------------------------ video ------------------------------ */

/* Flex, not grid: with two clips the row stays centred instead of hugging one edge. */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}
.vcard { flex: 0 1 380px; }
.vcard--portrait { flex: 0 1 272px; }
.vcard {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vcard__frame {
  position: relative;
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
}
.vcard--portrait .vcard__frame { aspect-ratio: 9 / 16; }
.vcard__frame img, .vcard__frame iframe, .vcard__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(74,52,42,.06), rgba(74,52,42,.34));
  cursor: pointer;
}
.vcard__play span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  transition: transform .2s;
}
.vcard__play:hover span { transform: scale(1.08); }
.vcard__play svg { width: 24px; height: 24px; fill: var(--ink); margin-inline-start: 4px; }
.vcard__body { padding: 1.1rem 1.25rem 1.35rem; }
.vcard__body h3 { font-size: 1.16rem; }
.vcard__body p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .96rem; }

/* ------------------------------ music ------------------------------ */

.music-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); }
.tcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.tcard h3 { font-size: 1.1rem; }
.tcard p { margin: .2rem 0 1rem; color: var(--ink-soft); font-size: .95rem; }
.tcard iframe { width: 100%; border: 0; border-radius: 12px; display: block; }

/* ------------------------------ calendar ------------------------------ */

.shows { display: grid; gap: 1.15rem; }
.showcard {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 1.6rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s, transform .22s;
}
.showcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.showcard--past { opacity: .62; }

.showcard__date {
  text-align: center;
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 1.4rem;
}
.showcard__day   { font: 700 2.5rem/1 var(--serif); color: var(--blue-deep); display: block; }
.showcard__month { font: 600 14px/1.5 var(--sans); color: var(--ink-soft); display: block; margin-top: .35rem; }
.showcard__heb   { font: 400 13px/1.4 var(--sans); color: var(--ink-faint); display: block; }

.showcard__body h3 { font-size: 1.28rem; }
.showcard__meta { margin: .45rem 0 0; color: var(--ink-soft); font-size: .99rem; }
.showcard__meta span + span::before { content: '·'; margin-inline: .5rem; color: var(--sand); }
.showcard__note { margin: .5rem 0 0; font-size: .93rem; color: var(--ink-faint); }
.showcard__tag {
  display: inline-block;
  margin-top: .6rem;
  font: 600 12px/1 var(--sans);
  letter-spacing: .1em;
  color: var(--blue-deep);
  background: rgba(142,165,187,.14);
  border-radius: 999px;
  padding: .38rem .8rem;
}
.showcard__poster { width: 92px; border-radius: 10px; overflow: hidden; flex: none; }
.showcard__poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.showcard__actions { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }

.empty {
  text-align: center;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--card) 66%, transparent);
  border: 1px dashed var(--sand);
  border-radius: var(--radius);
  padding: 2.6rem 1.5rem;
}
.empty strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: .4rem; }

.past-toggle { display: block; margin: 1.6rem auto 0; }

/* ------------------------------ contact ------------------------------ */

.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.contact__card {
  background: color-mix(in srgb, var(--card) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.contact__row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.4rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
}
.contact__mail:hover { color: var(--ink); }

.socials { display: flex; gap: .6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  transition: color .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: var(--blue-deep); border-color: var(--blue); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font: 600 14px/1 var(--sans); margin-bottom: .45rem; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .72rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(142,165,187,.22);
}
.field textarea { min-height: 130px; resize: vertical; }

.form__status { margin-top: 1rem; font-weight: 600; min-height: 1.5em; }
.form__status.is-ok  { color: #1c7c46; }
.form__status.is-err { color: #a8402c; }


/* Placeholder heights for the lists the script fills in. Without them the page
   is short until the fetch resolves, and an anchor tapped in that window aims
   at a position that no longer exists a moment later. */
#video-grid   { min-height: 480px; }
#music-grid   { min-height: 420px; }
#writings-list{ min-height: 360px; }
#shows-list   { min-height: 220px; }

/* ------------------------------ writings ------------------------------ */

/* A wall of small paper notes. Cards keep their own height, so opening one
   never shoves its neighbours around. */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 1.4rem;
  align-items: start;
}

.note {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px 4px 14px 14px;
  padding: 2rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.note:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.note:nth-child(3n+1) { rotate: -.35deg; }
.note:nth-child(3n)   { rotate: .3deg; }

/* the little gold pin at the head of each note */
.note::before {
  content: '';
  position: absolute;
  top: 12px;
  inset-inline-start: 50%;
  translate: 50% 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .18);
}

.note__title {
  font-size: 1.12rem;
  color: var(--blue-deep);
  text-align: center;
  margin-bottom: .9rem;
}

.note__body {
  white-space: pre-line;          /* the poet's own line breaks */
  font-family: var(--serif);
  font-size: .99rem;
  line-height: 1.95;
  color: var(--ink);
  max-height: none;
}
.note--folded .note__body {
  position: relative;
  max-height: 15.5em;
  overflow: hidden;
}
.note--folded .note__body::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4.2em;
  background: linear-gradient(180deg, transparent, var(--card) 88%);
  pointer-events: none;
}
.note--folded.note--open .note__body { max-height: none; }
.note--folded.note--open .note__body::after { content: none; }

.note__sign {
  margin: 1.1rem 0 0;
  text-align: end;
  font-family: var(--serif);
  font-size: .92rem;
  font-style: italic;
  color: var(--ink-faint);
}
.note__sign::before { content: '— '; }

.note__more {
  display: block;
  margin: .9rem auto 0;
  border: 1px solid var(--sand);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .42rem 1.1rem;
  font: 600 13.5px/1 var(--sans);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.note__more:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--card); }

/* ------------------------------ whatsapp group ------------------------------ */

.wagroup {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.wagroup__text { flex: 1 1 210px; }
.wagroup__text h3 { font-size: 1.18rem; }
.wagroup__text p { margin: .35rem 0 1rem; color: var(--ink-soft); font-size: .95rem; }

.wagroup__qr {
  flex: none;
  margin: 0;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem .7rem .5rem;
  box-shadow: var(--shadow-sm);
}
.wagroup__qr img { width: 128px; height: 128px; display: block; }
.wagroup__qr figcaption {
  margin-top: .4rem;
  font: 600 11.5px/1 var(--sans);
  color: var(--ink-faint);
}

/* ------------------------------ footer ------------------------------ */

.footer {
  background: color-mix(in srgb, var(--paper-deep) 76%, transparent);
  border-top: 1px solid var(--line);
  padding-block: 3rem 2.2rem;
  text-align: center;
}
.footer img { width: 190px; margin-inline: auto; opacity: .9; }
.footer p { color: var(--ink-soft); font-size: .95rem; margin: 1.1rem 0 0; }
.footer a { color: var(--ink-soft); }
.footer__admin { display: inline-block; margin-top: 1.2rem; font-size: .86rem; color: var(--ink-faint); text-decoration: none; }
.footer__admin:hover { color: var(--blue-deep); }

/* ------------------------------ reveal ------------------------------ */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------ responsive ------------------------------ */

@media (max-width: 900px) {
  .about, .contact { grid-template-columns: 1fr; }
  .about__frame { max-width: 420px; margin-inline: auto; order: -1; }
  .person { grid-template-columns: 1fr; }
  .person__photo { max-width: 300px; margin-inline: auto; }
  .showcard { grid-template-columns: 84px 1fr; }
  .showcard__actions { grid-column: 1 / -1; flex-direction: row; }
  .showcard__poster { display: none; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 1.5rem); }
  body { font-size: 16.5px; }
  .nav { backdrop-filter: none; background: color-mix(in srgb, var(--paper) 97%, transparent); }
  .nav__inner { min-height: 58px; gap: .5rem; }
  .nav__brand img { height: 30px; }
  .tab { padding: .55rem .72rem; font-size: 14.5px; }
  .hero { padding-block: 1.5rem 0; }
  .hero__logo { width: 88vw; max-width: none; }
  .hero__bsd { margin-bottom: 1rem; }
  .hero__floral { width: 34vw; top: -18px; inset-inline-start: -42px; opacity: .34; }
  .showcard__day { font-size: 2rem; }
  .showcard__date { padding-inline-end: 1rem; }
}

/* Honeypot: clipped to nothing rather than shoved off-canvas. Parking it at
   left:-9999px stretched the document to 11220px wide and, in RTL, left ten
   thousand pixels of empty page to scroll into. Still a rendered field with a
   real name, so a script that fills every input it finds still walks into it —
   which display:none would not achieve, since some bots skip hidden fields. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.counter { float: inline-end; font-weight: 400; color: var(--ink-faint); font-size: .82rem; }
.counter.is-near { color: #a8402c; font-weight: 600; }

.field input:user-invalid, .field textarea:user-invalid { border-color: #c07a6c; }
.field .field__error { display: block; margin-top: .35rem; font-size: .85rem; color: #a8402c; }
