/* ── FONTS ──
   Self-hosted (SIL Open Font License), latin + latin-ext only, served from
   this site rather than fonts.googleapis.com so no visitor's IP address is
   sent to Google:
     Anton         — shop-sign display lettering (headings)
     DM Sans       — body text
     Courier Prime — rubber-stamp / typewriter details (labels, tags) */
/* DM Sans normal — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans normal — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans normal — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans normal — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans normal — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans normal — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Anton normal 400 — latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/anton-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Anton normal 400 — latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/anton-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Courier Prime normal 400 — latin-ext */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/courier-prime-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Courier Prime normal 400 — latin */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/courier-prime-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Courier Prime normal 700 — latin-ext */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/courier-prime-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Courier Prime normal 700 — latin */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/courier-prime-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   CASA — shared stylesheet
   Schiedam, NL. Cooking workshops, private dinners, catering.
   ========================================================================== */

/* ── TOKENS ── */
:root {
  --terracotta: #1A5E31;          /* greengrocer green — the accent (deep enough to read on kraft) */
  --terracotta-light: #F4D03F;    /* price-tag yellow — accent on dark */
  --cream: #E4D3B4;               /* kraft paper — page background */
  --cream-dark: #C9B48F;
  --olive: #1A5E31;
  --olive-light: #3E8A55;
  --dark: #1C1A17;
  --warm-mid: #4A4236;
  --warm-light: #8F826C;
  --white: #F6EEDF;               /* paper — cards */
  --stamp: #C0392B;               /* rubber-stamp red — tags, dates */

  /* the same colours as bare R,G,B, for rgba() — themes override both */
  --terracotta-rgb: 26,94,49;
  --terracotta-light-rgb: 244,208,63;
  --dark-rgb: 28,26,23;
  --cream-rgb: 228,211,180;
  --warm-mid-rgb: 74,66,54;
  --warm-light-rgb: 143,130,108;
  --white-rgb: 246,238,223;
  --error: #B3261E;

  /* text roles — kept separate from the surface colours so a dark theme
     can flip them without touching every component */
  --ink: var(--dark);              /* body text on page/card surfaces */
  --on-dark: #FBF7EE;              /* text on dark surfaces and photos — near-white paper, not kraft */
  --on-dark-rgb: 251,247,238;
  --on-accent: var(--white);       /* text on accent-coloured buttons/badges */

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-stamp: 'Courier Prime', 'Courier New', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: 3rem;
  --maxw: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ── LAYOUT HELPERS ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 7rem 0; position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); }
.section--dark .section-title { color: var(--on-dark); }
.section--dark .section-label { color: var(--terracotta-light); }
.section--dark .section-intro { color: var(--warm-light); }
.section--tight { padding: 4.5rem 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--terracotta); }
.section-intro {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--warm-mid);
  max-width: 560px;
}
.section-head { margin-bottom: 4rem; }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head--center .section-intro { margin-left: auto; margin-right: auto; }

/* anchor targets must clear the fixed nav */
section[id], header[id], div[id] { scroll-margin-top: 95px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--on-accent);
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  border: 1px solid var(--terracotta);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--terracotta-light); border-color: var(--terracotta-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--warm-mid);
  border: 1px solid var(--warm-light);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--terracotta); border-color: var(--terracotta); }
.btn-ghost--light { color: var(--on-dark); border-color: rgba(var(--on-dark-rgb),0.35); }
.btn-ghost--light:hover { color: var(--terracotta-light); border-color: var(--terracotta-light); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(var(--cream-rgb),0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--warm-mid-rgb),0.1);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.nav-logo span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--warm-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.is-current { color: var(--ink); border-bottom: 1px solid var(--terracotta); padding-bottom: 2px; }

/* ── NAV SUBMENU (About Raffa > Momo / Melting Pot / CASA) ── */
.nav-links li.has-submenu { position: relative; }
.nav-links li.has-submenu > a::after {
  content: '\25BE';
  display: inline-block;
  font-size: 0.6em;
  margin-left: 0.4em;
  opacity: 0.6;
  transform: translateY(-1px);
}
.submenu {
  position: absolute;
  top: 100%;
  left: -1rem;
  margin-top: 0.6rem;
  min-width: 190px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  box-shadow: 0 14px 36px rgba(var(--dark-rgb),0.14);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
  z-index: 950;
}
.nav-links li.has-submenu:hover .submenu,
.nav-links li.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--warm-mid);
  white-space: nowrap;
}
.submenu a:hover { color: var(--terracotta); background: var(--cream); }
.submenu a.is-current { color: var(--terracotta); border-bottom: none; }

.nav-cta {
  background: var(--terracotta);
  color: var(--on-accent) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--terracotta-light); color: var(--on-accent) !important; }
.nav-cta.is-current { border-bottom: none !important; padding-bottom: 0.6rem !important; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 950;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle span + span { margin-top: 6px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem var(--gutter) 4rem;
  background: var(--dark);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.52;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--dark-rgb),0.92) 0%, rgba(var(--dark-rgb),0.45) 60%, rgba(var(--dark-rgb),0.6) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.page-hero .section-label { color: var(--terracotta-light); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--on-dark);
  margin-bottom: 1.2rem;
}
.page-hero__title em { font-style: italic; color: var(--terracotta-light); }
.page-hero__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(var(--on-dark-rgb),0.8);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* ── HOME HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
}
/* the text column clears the fixed nav itself (5rem + its own 4rem), so the
   photo column can run all the way up behind the nav with no gap, whatever
   the nav's exact height */
.hero-left { padding: 9rem 3rem 4rem 3rem; max-width: 680px; margin-left: auto; align-self: center; }
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  display: block;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}
.hero-title em { font-style: italic; color: var(--terracotta); }
.hero-sub {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--warm-mid);
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
/* the photo column stretches to the full hero height, from the very top of
   the page (under the nav) — a fixed 100vh height left a gap above it
   whenever the text column was taller than the window */
.hero-right { min-height: 100vh; position: relative; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 18%);
  pointer-events: none;
}

/* quick facts strip under hero */
.hero-facts {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}
.fact-item { max-width: 170px; }
.fact-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}
.fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-mid);
  font-weight: 400;
  line-height: 1.4;
}

/* ── OFFER CARDS (linked service tiles) ── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.offer-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* three cards stay on one row down to the mobile breakpoint — a 2-column
   step in between left the third card alone on its own row */
@media (max-width: 1100px) { .offer-grid--3 .offer-card__overlay { padding: 1.6rem; } }
.offer-card--tall { aspect-ratio: 3/4; }
.offer-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  display: block;
}
.offer-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.offer-card:hover img { transform: scale(1.05); }
.offer-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--dark-rgb),0.85) 0%, rgba(var(--dark-rgb),0.12) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: background 0.3s;
}
.offer-card:hover .offer-card__overlay {
  background: linear-gradient(to top, rgba(var(--dark-rgb),0.9) 0%, rgba(var(--dark-rgb),0.25) 55%, transparent 100%);
}
.offer-card__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--on-dark);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.offer-card__desc {
  font-size: 0.85rem;
  color: rgba(var(--on-dark-rgb),0.75);
  line-height: 1.5;
  max-width: 340px;
  font-weight: 300;
}
.offer-card__link {
  margin-top: 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  font-weight: 500;
}

/* ── LISTING (workshop cards — a 3-col / 2-row grid of 6) ── */
.listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) { .listing { grid-template-columns: repeat(2, 1fr); } }
.listing-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.listing-item:hover { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(var(--terracotta-rgb),0.1); }
/* the featured card stands out even at rest, not just on hover: a heavier
   border, a warm background wash, and a permanent lift + shadow */
.listing-item--featured {
  border: 2px solid var(--terracotta);
  background: linear-gradient(180deg, rgba(var(--terracotta-rgb),0.07), var(--white) 55%);
  box-shadow: 0 16px 40px rgba(var(--terracotta-rgb),0.2);
  transform: translateY(-4px);
  z-index: 1;
}
.listing-item--featured:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(var(--terracotta-rgb),0.26); }
/* .listing-item clips overflow (for the image's rounded corners), so the shared
   .featured-badge's default top:-1px would be cut off — pull it fully inside. */
.listing-item--featured .featured-badge {
  top: 0.8rem; right: 0.8rem;
  z-index: 2;
  border-radius: 2px;
  font-size: 0.72rem;
  padding: 0.4rem 0.9rem;
  box-shadow: 0 4px 14px rgba(var(--dark-rgb),0.25);
}
.listing-item__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
}
.listing-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.listing-item:hover .listing-item__media img { transform: scale(1.04); }
.listing-item__body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.listing-item__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.listing-item__desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--warm-mid);
  flex: 1;
  margin-bottom: 1.3rem;
}
/* ── STORY / LETTER ── */
.storia-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.storia-letter {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
}
.storia-letter p { margin-bottom: 1.4rem; }
.storia-letter em { font-style: italic; color: var(--warm-mid); }
.storia-letter .firma { font-style: italic; color: var(--warm-mid); margin-top: 2rem; font-size: 1.05rem; }
.storia-visuals {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  max-width: 520px;
}
.storia-photo-main { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; margin-left: 1.5rem; max-width: 520px; }
.storia-photo-secondary { aspect-ratio: 16/9; overflow: hidden; border-radius: 2px; }
.storia-photo-main img, .storia-photo-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.storia-photo-main:hover img, .storia-photo-secondary:hover img { transform: scale(1.03); }

/* ── GALLERY ── */
.galleria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gal-item { overflow: hidden; border-radius: 2px; }
.gal-item:nth-child(1) { grid-column: 1 / 3; aspect-ratio: 16/9; }
.gal-item:nth-child(2) { grid-column: 3; aspect-ratio: 3/4; grid-row: 1 / 3; }
.gal-item:nth-child(3) { aspect-ratio: 1; }
.gal-item:nth-child(4) { aspect-ratio: 1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.gal-item:hover img { transform: scale(1.04); }

/* ── STEPS (how it works) ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}
.step__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.88rem; font-weight: 300; line-height: 1.7; color: var(--warm-mid); }
.section--dark .step__title { color: var(--on-dark); }
.section--dark .step__desc { color: var(--warm-light); }

/* ── FORMS ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  padding: 3rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
/* fields shown only for a specific subject_topic (see site.js) — toggled
   with a class rather than the hidden attribute, since .field's own
   display:flex (an author rule) would otherwise beat the UA [hidden] rule
   at equal specificity regardless of source order. */
.field[data-show-for-topic] { display: none; }
.field[data-show-for-topic].is-visible { display: flex; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-mid);
  font-weight: 500;
}
.field label .req { color: var(--terracotta); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--error); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234A4236' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 10px;
  padding-right: 2.2rem;
}

.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; }
.checkbox-row input { width: auto; margin-top: 0.25rem; accent-color: var(--terracotta); }
.checkbox-row label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--warm-mid);
  line-height: 1.6;
}

/* honeypot — hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-footer { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-status {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--olive); }
.form-status.is-pending { color: var(--warm-mid); }
button[disabled] { opacity: 0.55; cursor: progress; }

.form-aside__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.8rem; }
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; }

/* ── CONTACT DETAILS LIST ── */
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.detail-list dt,
.detail-list__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.detail-list__value { font-size: 0.95rem; font-weight: 300; color: var(--ink); line-height: 1.6; }
.detail-list__value a { border-bottom: 1px solid var(--cream-dark); transition: border-color 0.2s; }
.detail-list__value a:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ── CAMPAIGN PROGRESS (crowdfunding, secondary) ── */
.progress-bar-wrap {
  height: 3px;
  background: rgba(var(--warm-mid-rgb),0.25);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.progress-bar-fill {
  height: 100%;
  background: var(--terracotta);
  width: 0;
  transition: width 1.6s var(--ease-out);
}
.progress-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--on-dark);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-light);
}

/* ── REWARDS ── */
.premi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.premio-card {
  border: 1px solid var(--cream-dark);
  padding: 2rem;
  border-radius: 2px;
  background: var(--cream);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.premio-card:hover { border-color: var(--terracotta); box-shadow: 0 8px 32px rgba(var(--terracotta-rgb),0.1); transform: translateY(-2px); }
.premio-card.featured { border-color: var(--terracotta); background: var(--white); }
.featured-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--terracotta);
  color: var(--on-accent);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  font-weight: 500;
}
.premio-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
  line-height: 1;
}
.premio-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.premio-desc { font-size: 0.85rem; color: var(--warm-mid); line-height: 1.65; font-weight: 300; }
.premio-cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.premio-card:hover .premio-cta { border-color: var(--terracotta); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--cream-dark); padding: 1.5rem 0; }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 0.6rem 0;
  margin: -0.6rem 0;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 0.9rem;
  color: var(--warm-mid);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
  font-weight: 300;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 1rem; }
.faq-a a { color: var(--terracotta); }

/* ── FINAL CTA ── */
.cta-final {
  padding: 8rem var(--gutter);
  text-align: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: 'CASA';
  position: absolute;
  font-family: var(--font-display);
  font-size: 22vw;
  font-weight: 600;
  color: rgba(255,255,255,0.03);
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  letter-spacing: 0.2em;
  white-space: nowrap;
  pointer-events: none;
}
.cta-final .section-label { color: var(--terracotta-light); }
.cta-final .section-title { color: var(--on-dark); max-width: 640px; margin: 0 auto 2rem; position: relative; }
.cta-final p {
  color: var(--warm-light);
  max-width: 480px;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
}
.cta-final .btn-row { justify-content: center; position: relative; }
.cta-final .btn-primary { font-size: 0.95rem; padding: 1rem 2.5rem; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem var(--gutter) 2.5rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.2em; color: var(--on-dark); margin-bottom: 0.9rem; }
.footer-blurb { font-size: 0.85rem; font-weight: 300; line-height: 1.75; color: var(--warm-light); max-width: 320px; }
.footer-col__title {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.85rem; font-weight: 300; color: var(--warm-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--terracotta-light); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.75rem; color: rgba(var(--warm-light-rgb),0.5); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --gutter: 1.5rem; }

  nav { padding: 1rem 1.5rem; }
  .nav-toggle {
    display: flex;
    flex-direction: column;   /* stack the three bars; a row put them side by side */
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    /* <nav>'s backdrop-filter makes it the containing block for this fixed
       child, so inset:0 alone resolves against nav's own (~76px) box, not
       the viewport — explicit height/width force it to actually be full-screen. */
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 940;
  }
  body.nav-open .nav-links { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-links a:not(.nav-cta) { display: inline-block; padding: 0.6rem 0; margin: -0.6rem 0; }
  .nav-links a { font-size: 1.15rem; letter-spacing: 0.1em; color: var(--ink); }
  .nav-cta { padding: 0.8rem 1.8rem; }

  /* submenu: no hover on touch, so show it expanded inline instead of as a floating dropdown */
  .nav-links li.has-submenu { text-align: center; }
  .nav-links li.has-submenu > a::after { display: none; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0.7rem 0 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }
  .submenu a { padding: 0; font-size: 0.9rem; color: var(--warm-mid); }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .hero-left { padding: 3rem 1.5rem 2rem; margin-left: 0; }
  .hero-right { min-height: max(60vw, 280px); }
  .hero-right::after { display: none; }

  .page-hero { min-height: 48vh; padding: 8rem 1.5rem 3rem; }

  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }

  .storia-inner { grid-template-columns: 1fr; gap: 3rem; }
  .storia-visuals { position: static; flex-direction: row; max-width: 100%; }
  .storia-photo-main { flex: 1; max-width: 100%; margin-left: 0; }
  .storia-photo-secondary { flex: 0.6; }

  .offer-grid { grid-template-columns: 1fr; }
  /* the tile grows to fit its text (a fixed 16:9 box cut the title off);
     the photo fills whatever height that turns out to be */
  .offer-card, .offer-card--tall { aspect-ratio: auto; min-height: 260px; display: flex; }
  .offer-card img { position: absolute; inset: 0; }
  .offer-card__overlay { position: relative; inset: auto; flex: 1; padding: 4.5rem 1.6rem 1.6rem; }

  .listing { grid-template-columns: 1fr; }
  .listing-item__media { aspect-ratio: 16/9; }

  .steps { grid-template-columns: 1fr; gap: 2rem; }

  .galleria-grid { grid-template-columns: 1fr 1fr; }
  .gal-item:nth-child(1) { grid-column: 1 / 3; }
  .gal-item:nth-child(2) { grid-column: auto; grid-row: auto; aspect-ratio: 1; }

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

  .form-card { padding: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-final { padding: 5rem 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   ADDED FOR SITE RESTRUCTURE — project cards, category tags, schedule
   list items (used by Workshops, Events, Private Chef), service cards
   (Catering).
   ══════════════════════════════════════════════════════════════════════ */

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta);
  background: rgba(var(--terracotta-rgb),0.1);
  border: 1px solid rgba(var(--terracotta-rgb),0.25);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
}
.tag--muted {
  color: var(--warm-mid);
  background: rgba(var(--warm-mid-rgb),0.08);
  border-color: rgba(var(--warm-mid-rgb),0.2);
}
.tag--light {
  color: var(--terracotta-light);
  background: rgba(var(--terracotta-light-rgb),0.12);
  border-color: rgba(var(--terracotta-light-rgb),0.3);
}

/* ── PROJECT CARDS (About > My Projects; also used for Home > Events) ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-grid--2 { grid-template-columns: repeat(2, 1fr); }
.project-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .project-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.project-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.project-card:hover { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(var(--terracotta-rgb),0.1); }
.project-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-dark); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  background: var(--dark);
  color: var(--on-dark);
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
  font-family: var(--font-display);
  line-height: 1;
}
.project-card__badge .day { font-size: 1.05rem; font-weight: 600; }
.project-card__badge .month { font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; }
.project-card__body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.project-card__eyebrow { margin-bottom: 0.6rem; }
.project-card__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.7rem; }
.project-card__desc { font-size: 0.86rem; font-weight: 300; line-height: 1.7; color: var(--warm-mid); flex: 1; margin-bottom: 1.2rem; }
.project-card__link { display: inline-block; padding: 0.5rem 0; margin: -0.5rem 0; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; }

/* ── PROJECT ROWS (About > My Projects — 3 full-width horizontal sections) ── */
.project-rows { display: flex; flex-direction: column; gap: 1.5rem; }
.project-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.project-row:hover { border-color: var(--terracotta); box-shadow: 0 8px 32px rgba(var(--terracotta-rgb),0.1); }
/* fills the full row height and crops; a fixed 4:3 ratio here made the photo
   grow wider than its 420px column whenever the text made the row taller */
.project-row__media { position: relative; min-height: 315px; overflow: hidden; background: var(--cream-dark); align-self: stretch; }
.project-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.project-row:hover .project-row__media img { transform: scale(1.04); }
.project-row__body { padding: 2rem 3rem 2rem 0; }
.project-row__eyebrow { margin-bottom: 0.7rem; }
.project-row__name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin-bottom: 0.9rem; }
.project-row__desc { font-size: 0.92rem; font-weight: 300; line-height: 1.8; color: var(--warm-mid); margin-bottom: 1.3rem; }
.project-row__link { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; }

/* ── SERVICE CARDS (Catering: no price, contact CTA) ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.6rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(var(--terracotta-rgb),0.1); }
.service-card__media { aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--cream-dark); align-self: start; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.6rem; }
.service-card__desc { font-size: 0.86rem; font-weight: 300; line-height: 1.7; color: var(--warm-mid); margin-bottom: 1rem; }
.service-card__cta { display: inline-block; padding: 0.5rem 0; margin: -0.5rem 0; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.service-card:hover .service-card__cta { border-color: var(--terracotta); }

/* compact facts row inside a service-card (Guests / Book ahead / From, etc.) */
.service-card__facts { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 0.9rem 0 1.1rem; }
.service-card__fact-label { display: block; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-mid); margin-bottom: 0.2rem; }
.service-card__fact-value { font-size: 0.82rem; color: var(--ink); font-weight: 500; line-height: 1.4; }
.service-card__fact-value .needs-content { display: inline-block; margin: 0.2rem 0 0; padding: 0.1rem 0.5rem; font-size: 0.72rem; font-weight: 400; }

/* ── SCHEDULE ITEMS (workshop dates, events — upcoming & past) ── */
.schedule-list { display: flex; flex-direction: column; gap: 1px; background: var(--cream-dark); }
.schedule-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.8rem;
  align-items: center;
  background: var(--white);
  padding: 1.6rem 1.8rem;
}
.schedule-item__date {
  font-family: var(--font-display);
  text-align: center;
  line-height: 1.1;
}
.schedule-item__date .day { display: block; font-size: 1.8rem; font-weight: 600; color: var(--terracotta); }
.schedule-item__date .month { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-mid); margin-top: 0.2rem; }
.schedule-item__body { min-width: 0; }
.schedule-item__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.schedule-item__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.4rem; }
.schedule-item__place { font-size: 0.82rem; color: var(--warm-mid); font-weight: 300; }
.schedule-item__action { text-align: right; white-space: nowrap; }

.schedule-item--past { opacity: 0.68; }
.schedule-item--past .schedule-item__date .day,
.schedule-item--past .schedule-item__date .month { color: var(--warm-mid); }

.schedule-empty {
  background: var(--white);
  border: 1px dashed var(--warm-light);
  border-radius: 2px;
  padding: 2.5rem;
  text-align: center;
  color: var(--warm-mid);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ── SIMPLE TEXT COLUMNS (About: Experience / Ambition) ── */
.text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.text-block__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 1rem; }
.text-block__body { font-size: 0.95rem; font-weight: 300; line-height: 1.85; color: var(--warm-mid); }
.text-block__body p + p { margin-top: 1.1rem; }

/* ── BOOKING OPTIONS (Workshops: at your place / our place / your event) ── */
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.option-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  padding: 1.8rem;
  text-align: center;
}
.option-card__icon { font-size: 1.8rem; margin-bottom: 0.9rem; }
.option-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.option-card__desc { font-size: 0.82rem; font-weight: 300; line-height: 1.65; color: var(--warm-mid); }

/* placeholder banner for content that must be replaced before launch */
.needs-content {
  background: rgba(var(--terracotta-light-rgb),0.1);
  border: 1px dashed var(--terracotta-light);
  border-radius: 2px;
  padding: 1rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: #8a4a32;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.needs-content strong { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr; gap: 0; }  /* the 3rem desktop column gap became an empty band under the photo */
  .project-row__media { aspect-ratio: 16/9; min-height: 0; }
  .project-row__body { padding: 1.6rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 100px 1fr; padding: 1.2rem; gap: 1.1rem; }
  .schedule-item { grid-template-columns: 1fr; gap: 0.8rem; text-align: left; }
  .schedule-item__date { text-align: left; display: flex; align-items: baseline; gap: 0.5rem; }
  .schedule-item__date .month { margin-top: 0; }
  .schedule-item__action { text-align: left; }
  .text-columns { grid-template-columns: 1fr; gap: 2.5rem; }
  .option-grid { grid-template-columns: 1fr; }
}

/* ── SCREEN-READER / SEARCH-ONLY TEXT ──
   Keyword phrase folded into each H1 so search engines and screen readers
   get a descriptive heading, while the poetic headline stays the visible one.
   It repeats the visible label above the H1, which is aria-hidden so screen
   readers don't hear it twice. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   MERCATO STYLE — the real Neapolitan market, not the tourist one: kraft
   paper, rubber stamps, hand-painted shop-sign lettering, greengrocer green
   and a price-tag yellow. Raw and handmade without the Pinterest filter.
   The colours/fonts live in the :root tokens at the top of this file;
   these are the component details that give the style its character.
   ══════════════════════════════════════════════════════════════════════════ */
/* Anton has a single weight: never fake-bold it (or anything else) */
body { font-synthesis-weight: none; }
.section-title,
.page-hero__title,
.hero-title,
.nav-logo,
.footer-logo { font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; }
.section-title em,
.page-hero__title em,
.hero-title em { font-style: normal; }
.listing-item__name,
.project-card__name,
.project-row__name,
.service-card__name,
.offer-card__name,
.schedule-item__name,
.text-block__title,
.premio-name,
.step__title { font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
.faq-q,
.storia-letter { font-family: var(--font-body); }
/* typewriter / rubber-stamp details */
.section-label,
.hero-eyebrow,
.fact-label,
.field label,
.footer-col__title,
.project-card__link,
.project-row__link,
.service-card__cta,
.offer-card__link { font-family: var(--font-stamp); font-weight: 700; letter-spacing: 0.08em; }
.tag {
  font-family: var(--font-stamp); font-weight: 700; border-radius: 3px; background: transparent;
  border: 2px solid currentColor; color: var(--stamp); transform: rotate(-2deg);
}
.tag--muted { color: var(--warm-mid); }
.tag--light { color: var(--terracotta-light); }
.featured-badge {
  font-family: var(--font-stamp); background: var(--terracotta-light); color: var(--dark);
  transform: rotate(3deg); border: 2px dashed var(--dark);
}
.btn-primary,
.nav-cta { border-radius: 3px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.1em; }
.btn-ghost { border: 2px dashed var(--warm-mid); color: var(--dark); border-radius: 3px; }
.btn-ghost--light { border-color: var(--white); color: var(--white); }
/* paper cards with a torn-ticket dashed edge */
.listing-item,
.project-card,
.project-row,
.service-card,
.premio-card,
.option-card,
.form-card {
  border: 1px dashed var(--warm-light); border-radius: 0; box-shadow: 0 2px 0 rgba(28,26,23,0.12);
}
.listing-item:hover,
.project-card:hover,
.service-card:hover { transform: rotate(-0.4deg) translateY(-2px); box-shadow: 0 10px 24px rgba(28,26,23,0.18); }
.listing-item--featured { border: 2px solid var(--terracotta); background: var(--white); }
.schedule-item__date .day { font-family: var(--font-display); font-weight: 400; color: var(--stamp); font-size: 2.2rem; }
.fact-value { font-weight: 400; text-transform: uppercase; }
.step__num { font-family: var(--font-display); color: var(--stamp); }
.field input,
.field select,
.field textarea { background: var(--white); border-color: var(--warm-light); }
nav { background: rgba(228,211,180,0.94); border-bottom: 2px solid var(--dark); }
.section--white { background: var(--white); }
.cta-final { background: var(--terracotta); }
.cta-final p { color: rgba(246,238,223,0.85); }
.cta-final .btn-primary { background: var(--terracotta-light); border-color: var(--terracotta-light); color: var(--dark); }
/* the second (emphasised) line of a heading on a dark or green band uses the
   price-tag yellow — green-on-green / green-on-black was unreadable */
.section--dark .section-title em,
.cta-final .section-title em { color: var(--terracotta-light); }


/* ══════════════════════════════════════════════════════════════════════════
   READABILITY — every text/background pair here passes WCAG AA (4.5:1)
   ══════════════════════════════════════════════════════════════════════════ */

/* photo tiles: a darker wash behind the text, plus a soft shadow, so it reads
   over busy food photos */
.offer-card__overlay,
.offer-card:hover .offer-card__overlay {
  background: linear-gradient(to top, rgba(var(--dark-rgb),0.94) 0%, rgba(var(--dark-rgb),0.78) 55%, rgba(var(--dark-rgb),0.45) 100%);
}
.offer-card__name, .offer-card__desc, .offer-card__link { text-shadow: 0 1px 3px rgba(0,0,0,0.55); }
.offer-card__desc { color: var(--on-dark); }

/* yellow tags: a solid price-tag label with dark text — yellow text on
   paper/kraft was unreadable */
.tag--light {
  background: var(--terracotta-light);
  color: var(--dark);
  border-color: var(--dark);
}

/* text on the green closing band and the dark sections at full strength */
.cta-final p { color: var(--on-dark); }
.footer-copy { color: #A89B82; }


/* sold-out workshop date: a red rubber stamp instead of a booking button */
.schedule-item__soldout,
.project-card__soldout {
  display: inline-block;
  font-family: var(--font-stamp); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stamp); border: 2px solid var(--stamp); border-radius: 3px;
  padding: 0.45rem 0.9rem; transform: rotate(-3deg);
  align-self: flex-start;   /* stay stamp-sized inside the cards' flex column */
}

/* Font Awesome Free (solid) icons, inlined from _includes/icons/*.svg —
   icons CC BY 4.0, Fonticons, Inc. (https://fontawesome.com/license/free).
   They take the surrounding text colour and size. */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex-shrink: 0; }
.schedule-item__place .icon { color: var(--terracotta); margin-right: 0.35rem; }
.option-card__icon { color: var(--terracotta); line-height: 1; }
.featured-badge .icon { margin-right: 0.3em; }

/* ══════════════════════════════════════════════════════════════════════════
   FROM MY KITCHEN — photo gallery (kitchen.html) and the home-page strip
   ══════════════════════════════════════════════════════════════════════════ */

/* category filters: stamp-style toggle buttons */
.kitchen-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.kitchen-filter {
  font-family: var(--font-stamp); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark); background: transparent;
  border: 2px solid var(--dark); border-radius: 3px;
  padding: 0.55rem 1rem; min-height: 44px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.kitchen-filter:hover { background: var(--white); }
.kitchen-filter.is-active { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.kitchen-filter:focus-visible { outline: 3px solid var(--terracotta-light); outline-offset: 2px; }

/* masonry-style grid: CSS columns keep each photo's own shape, no cropping */
.kitchen-grid { list-style: none; column-count: 4; column-gap: 1rem; }
.kitchen-item { break-inside: avoid; margin-bottom: 1rem; }
.kitchen-item[hidden] { display: none; }
.kitchen-item__link {
  display: block; overflow: hidden; background: var(--cream-dark);
  border: 1px dashed var(--warm-light); padding: 6px;
  background-color: var(--white);
}
.kitchen-item__link img { width: 100%; height: auto; transition: transform 0.5s var(--ease-out); }
.kitchen-item__link:hover img { transform: scale(1.03); }
.kitchen-item__link:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
@media (max-width: 1100px) { .kitchen-grid { column-count: 3; } }
@media (max-width: 700px)  { .kitchen-grid { column-count: 2; column-gap: 0.6rem; } .kitchen-item { margin-bottom: 0.6rem; } .kitchen-item__link { padding: 4px; } }

/* full-screen viewer */
.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  background: rgba(var(--dark-rgb), 0.96); color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(var(--dark-rgb), 0.96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 92vw; max-height: 86vh; height: auto; width: auto; object-fit: contain; touch-action: pan-y; }
.lightbox__btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(var(--on-dark-rgb), 0.12); color: var(--on-dark);
  border: 2px solid rgba(var(--on-dark-rgb), 0.35); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--terracotta-light); color: var(--dark); border-color: var(--terracotta-light); outline: none; }
.lightbox__close { top: 1rem; right: 1rem; font-size: 2rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.4rem; font-family: var(--font-stamp); font-size: 0.85rem; color: var(--terracotta-light); }
@media (max-width: 700px) {
  /* on phones the arrows sit at the bottom, out of the photo's way; swiping works too */
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.2rem; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__img { max-height: 70vh; }
}
body.lightbox-open { overflow: hidden; }

/* home-page strip: six photos in a row, linking to the full gallery */
.kitchen-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; }
.kitchen-strip a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream-dark); }
.kitchen-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.kitchen-strip a:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .kitchen-strip { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } }


/* between the phone menu (≤900px) and a roomy desktop, tighten the nav so
   all seven items stay on one line */
@media (min-width: 901px) and (max-width: 1080px) {
  nav { padding-left: 1.5rem; padding-right: 1.5rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.74rem; letter-spacing: 0.04em; }
  .nav-cta { padding: 0.55rem 0.9rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHONES, TABLETS & TOUCH SCREENS
   Kept last so it wins over everything above.
   ══════════════════════════════════════════════════════════════════════════ */

/* no grey flash on tap; text sizes stay as designed when a phone rotates */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

/* finger-sized tap targets (44px, Apple/Google guidance) on touch screens
   and on any phone-sized window */
@media (pointer: coarse), (max-width: 900px) {
  .nav-logo,
  .project-card__link,
  .project-row__link,
  .service-card__cta,
  .premio-cta,
  .offer-card__link,
  .detail-list__value a,
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .project-card__link, .service-card__cta { margin: 0; padding: 0; }
  .footer-links { gap: 0; }
  .footer-copy a { display: inline-block; padding: 0.85rem 0.4rem; margin: -0.85rem -0.4rem; }
  .checkbox-row input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 0.1rem; }
  .faq-q { min-height: 44px; }
}

@media (pointer: coarse) {
  /* hover lifts/tilts "stick" after a tap on touch screens — switch them off */
  .listing-item:hover, .project-card:hover, .project-row:hover,
  .service-card:hover, .premio-card:hover, .listing-item--featured:hover {
    transform: none;
  }
  .offer-card:hover img, .listing-item:hover .listing-item__media img,
  .project-card:hover .project-card__media img, .project-row:hover .project-row__media img,
  .storia-photo-main:hover img, .storia-photo-secondary:hover img, .gal-item:hover img,
  .kitchen-item__link:hover img, .kitchen-strip a:hover img {
    transform: none;
  }
}

@media (max-width: 900px) {
  /* 16px form fields: anything smaller makes iPhones zoom in on focus */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* small stamp-style labels: nothing under ~12px on a phone */
  .section-label, .hero-eyebrow, .fact-label, .footer-col__title,
  .detail-list__label, .detail-list dt, .stat-label, .field label,
  .schedule-item__date .month, .project-card__badge .month { font-size: 0.78rem; }
  .tag, .featured-badge, .listing-item--featured .featured-badge, .service-card__fact-label { font-size: 0.75rem; }
  .footer-copy { font-size: 0.8rem; }

  /* long headings shouldn't run into the screen edge */
  .hero-title, .page-hero__title, .section-title { overflow-wrap: break-word; hyphens: auto; }

  /* buttons go full-width-ish so they're easy to hit with a thumb */
  .hero-actions .btn-primary, .hero-actions .btn-ghost,
  .cta-final .btn-row .btn-primary, .cta-final .btn-row .btn-ghost,
  .page-hero .btn-primary, .page-hero .btn-ghost {
    flex: 1 1 100%; text-align: center;
  }
  .form-footer .btn-primary { width: 100%; text-align: center; }

  /* schedule dates: the booking button gets the full card width */
  .schedule-item__action .btn-ghost { display: block; text-align: center; }
}

/* home hero on phones: greeting first ("Ciao, I'm Raffaella"), then her
   photo, then the intro, buttons and the three "what I do" items side by
   side. .hero-left dissolves (display: contents) so its children and the
   photo can be ordered together in the hero's single column. */
@media (max-width: 900px) {
  .hero { padding-top: 4.9rem; }   /* = the phone nav's height */
  .hero-left { display: contents; }
  .hero-left > * { margin-left: var(--gutter); margin-right: var(--gutter); }
  .hero-eyebrow { order: 1; margin-top: 2rem; }
  .hero-title   { order: 2; }
  .hero-right   { order: 3; min-height: min(105vw, 460px); }
  .hero-sub     { order: 4; margin-top: 2rem; }
  .hero-actions { order: 5; }
  .hero-facts   { order: 6; margin-bottom: 2.5rem; }
  .hero-photo { object-position: center 25%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .fact-item { max-width: none; min-width: 0; }
  .fact-value { font-size: 1.15rem; line-height: 1.05; }
  .fact-label { font-size: 0.75rem; letter-spacing: 0.03em; overflow-wrap: anywhere; }
}

/* very small phones (iPhone SE, older Androids) */
@media (max-width: 380px) {
  :root { --gutter: 1.1rem; }
  .hero-left { padding-left: 1.1rem; padding-right: 1.1rem; }
  .page-hero { padding-left: 1.1rem; padding-right: 1.1rem; }
  .hero-facts { gap: 1.5rem; }
  .form-card { padding: 1.3rem; }
}

/* landscape phones: the full-height hero would hide almost everything */
@media (max-height: 500px) and (orientation: landscape) {
  .page-hero { min-height: auto; padding-top: 6rem; }
}
