/* ============================================
   Cherry Coffeeshop — τσέρι · Design System
   Kaisariani, Athens — specialty coffee & community
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Palette — pulled from the shop itself:
     teal from the window trim & fridge, cream from the walls & cups,
     cherry-red from the merch tees (and, well, the name). */
  --teal: #57848a;
  --teal-deep: #315a5f;
  --teal-ink: #24494d;
  --cream: #f4eee4;
  --cream-deep: #ece3d4;
  --paper: #fbf8f2;
  --ink: #24201b;
  --ink-soft: #5d564d;
  --cherry: #c4402b;
  --cherry-deep: #a5331f;
  --sand: #d8c6a8;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shadow-sm: 0 1px 3px rgba(36, 32, 27, 0.08);
  --shadow-md: 0 8px 24px rgba(36, 32, 27, 0.1);
  --shadow-lg: 0 20px 50px rgba(36, 32, 27, 0.16);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --transition: 0.3s ease;
  --max-width: 1240px;

  /* Terrazzo speckle — the signature texture, in the shop's colours */
  --terrazzo:
    radial-gradient(circle at 12% 18%, var(--teal) 0 3px, transparent 3.5px),
    radial-gradient(circle at 82% 11%, var(--cherry) 0 2.5px, transparent 3px),
    radial-gradient(circle at 47% 33%, var(--sand) 0 4px, transparent 4.5px),
    radial-gradient(circle at 68% 57%, var(--teal-deep) 0 2px, transparent 2.5px),
    radial-gradient(circle at 24% 71%, var(--cherry) 0 2px, transparent 2.5px),
    radial-gradient(circle at 90% 80%, var(--sand) 0 3px, transparent 3.5px),
    radial-gradient(circle at 7% 90%, var(--teal) 0 2.5px, transparent 3px),
    radial-gradient(circle at 56% 87%, var(--sand) 0 2px, transparent 2.5px),
    radial-gradient(circle at 37% 7%, var(--teal-deep) 0 1.5px, transparent 2px),
    radial-gradient(circle at 63% 22%, var(--sand) 0 2px, transparent 2.5px);
  --terrazzo-size: 240px 240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
}

::selection {
  background: var(--cherry);
  color: var(--white);
}

/* --- Terrazzo utility (speckle behind content) --- */
.terrazzo {
  position: relative;
}
.terrazzo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--terrazzo);
  background-size: var(--terrazzo-size);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* --- Utility --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cherry);
  display: inline-block;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .eyebrow {
  justify-content: center;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.9em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    transform var(--transition), box-shadow var(--transition);
  border: 1.5px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--teal-deep);
  color: var(--paper);
  border-color: var(--teal-deep);
}
.btn-primary:hover {
  background-color: var(--teal-ink);
  border-color: var(--teal-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: rgba(36, 32, 27, 0.25);
}
.btn-ghost:hover {
  border-color: var(--cherry);
  color: var(--cherry-deep);
  transform: translateY(-2px);
}

/* Kept for backward-compat (light buttons over dark art) */
.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--teal-deep);
}

.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(244, 238, 228, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49, 90, 95, 0.12);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(244, 238, 228, 0.94);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.navbar__logo img {
  height: 42px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
  transition: color var(--transition);
}
.navbar__link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--cherry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.navbar__link:hover {
  color: var(--cherry-deep);
}
.navbar__link:hover::after {
  transform: scaleX(1);
}
.navbar__link img {
  height: 21px;
  width: 21px;
}

/* ============================================
   Hero — the bilingual wordmark, split with photo
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  overflow: hidden;
  background: var(--cream);
}

/* Left: the wordmark on cream + terrazzo */
.hero__panel--text {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7rem clamp(1.5rem, 5vw, 5rem) 4rem;
  background: var(--cream);
}
.hero__panel--text::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--terrazzo);
  background-size: var(--terrazzo-size);
  opacity: 0.45;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--teal-deep);
  margin-bottom: 1.6rem;
}

.hero__wordmark {
  line-height: 0.9;
  margin-bottom: 1.6rem;
}
.hero__cherry {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 9vw, 7rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
/* the cherry — a red full stop that dots the name */
.hero__cherry::after {
  content: ".";
  color: var(--cherry);
}
.hero__tseri {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--teal-deep);
  margin-top: 0.35rem;
  padding-bottom: 0.15em;
  background-image: linear-gradient(var(--cherry), var(--cherry));
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 30ch;
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Right: full-bleed portrait photos, gently cross-fading */
.hero__panel--photo {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  border-left: 5px solid var(--cherry);
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: heroFade 21s infinite;
}
.hero__slides img:nth-child(1) { animation-delay: 0s; }
.hero__slides img:nth-child(2) { animation-delay: 7s; }
.hero__slides img:nth-child(3) { animation-delay: 14s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.06); }
  4%   { opacity: 1; }
  29%  { opacity: 1; }
  35%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}

/* soft vignette so the chip stays legible */
.hero__panel--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 32, 27, 0.05) 0%,
    transparent 30%,
    rgba(36, 32, 27, 0.28) 100%
  );
  pointer-events: none;
}

/* the little cup label, echoing the τσέρι print on the cups */
.hero__chip {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  background: var(--paper);
  padding: 0.15em 0.9em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero__scroll {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-deep);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================
   Menu ticker — the wall letter-board, in motion
   ============================================ */
.ticker {
  background: var(--teal-deep);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.85rem 0;
  animation: ticker 42s linear infinite;
  will-change: transform;
}
.ticker__track span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
}
.ticker__track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cherry);
  display: inline-block;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Upcoming Events
   ============================================ */
.events-section {
  padding: 6rem 0;
  scroll-margin-top: 90px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  justify-content: center;
  gap: 2rem;
}

.event-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(49, 90, 95, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Recurring "what's on now" tag, pinned over the image */
.event-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--cherry);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: var(--teal);
}

/* Poster events (e.g. a promo flyer) show the full square artwork, uncropped */
.event-card__image--poster,
.event-card__image-placeholder--poster {
  height: auto;
  aspect-ratio: 1 / 1;
}

.event-card__image-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.event-card__body {
  padding: 1.5rem;
}

.event-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cherry-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.event-card__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.event-card__desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.event-card__desc a {
  color: var(--cherry);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.event-card__desc a:hover {
  color: var(--cherry-deep);
}

/* ============================================
   Gallery — "Our Space" editorial mosaic
   ============================================ */
.gallery-section {
  padding: 6rem 0;
  background-color: var(--cream-deep);
  scroll-margin-top: 90px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--teal-deep);
}
/* A deliberate, flush composition: two large frames anchor four portraits */
.gallery-grid__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-grid__item:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 3; }
.gallery-grid__item:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 3; }
.gallery-grid__item:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 5; }
.gallery-grid__item:nth-child(5) { grid-column: 3 / 4; grid-row: 3 / 5; }
.gallery-grid__item:nth-child(6) { grid-column: 4 / 5; grid-row: 3 / 5; }

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.6s ease;
}
.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: linear-gradient(transparent, rgba(20, 20, 20, 0.72));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.gallery-grid__item:hover figcaption,
.gallery-grid__item:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Lightbox / Gallery Viewer
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(20, 18, 16, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  animation: lightbox-zoom 0.3s ease;
}
@keyframes lightbox-zoom {
  from { transform: scale(0.96); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--cherry);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.4rem;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ============================================
   Page header (Events / Contact)
   ============================================ */
.page-header {
  position: relative;
  padding: 9rem 0 3.5rem;
  text-align: center;
  background: var(--teal-deep);
  color: var(--paper);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--terrazzo);
  background-size: var(--terrazzo-size);
  opacity: 0.16;
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.page-header__title::after {
  content: ".";
  color: var(--cherry);
}
.page-header__subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 0.6rem;
  font-weight: 400;
}

.archive-section {
  padding: 4rem 0 5rem;
}

/* ============================================
   Contact
   ============================================ */
.contact-section {
  padding: 4.5rem 0 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__block h3 {
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin-bottom: 0.4rem;
}

.contact-info__block p,
.contact-info__block a {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-info__block a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition);
}
.contact-info__block a:hover {
  color: var(--cherry-deep);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--teal);
  transition: color var(--transition), transform var(--transition);
}
.social-links a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.social-links a:hover {
  color: var(--cherry);
  transform: translateY(-2px);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--paper);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
  border-top: 5px solid var(--cherry);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), transform var(--transition);
}
.footer__social a:hover {
  color: var(--white);
  transform: translateY(-3px);
}
.footer__social a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.footer__bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* ============================================
   Loading / states
   ============================================ */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.loading::after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  margin: 1rem auto 0;
  border: 3px solid var(--teal);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-message {
  text-align: center;
  padding: 2rem;
  color: var(--cherry-deep);
  font-size: 0.95rem;
}

.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  /* Hero stacks: photo band on top, wordmark below */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__panel--photo {
    order: -1;
    min-height: 42vh;
    border-left: none;
    border-bottom: 5px solid var(--cherry);
  }
  .hero__panel--text {
    padding: 3rem clamp(1.5rem, 6vw, 4rem) 3.5rem;
  }
  .hero__scroll { display: none; }

  /* Below the wide breakpoint, flow the gallery as masonry columns */
  .gallery-grid {
    display: block;
    columns: 3;
    column-gap: 14px;
  }
  .gallery-grid__item {
    break-inside: avoid;
    margin-bottom: 14px;
  }
  .gallery-grid__item img { height: auto; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map { min-height: 300px; }
  .contact-map iframe { height: 320px; }
}

@media (max-width: 600px) {
  .navbar__link span { display: none; }
  .navbar__link { padding: 0.5rem 0.7rem; }
  .navbar__link::after { display: none; }

  .hero__panel--photo { min-height: 38vh; }
  .hero__chip { font-size: 1.2rem; }

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

  .gallery-grid {
    columns: 2;
    column-gap: 10px;
  }
  .gallery-grid__item { margin-bottom: 10px; }
  /* let captions show on touch */
  .gallery-grid__item figcaption { opacity: 1; transform: none; }

  .lightbox { padding: 0.5rem; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .lightbox__close { top: 0.5rem; right: 0.5rem; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__social { justify-content: center; }
}

/* --- Motion preferences --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slides img {
    animation: none;
    opacity: 0;
    transform: none;
  }
  .hero__slides img:first-child { opacity: 1; }
  .ticker__track { animation: none; }
  .hero__scroll { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
