/* ============================================================
   Tessiture Gastronomiche — Private Chef Simone Marchisio
   Sito statico · dark cinematografico
   ============================================================ */

:root {
  --ink: #0b0b0c;
  --ink-soft: #141315;
  --ink-panel: #1a181b;
  --line: rgba(236, 230, 218, 0.1);
  --cream: #ece6da;
  --cream-muted: #9a938a;
  --cream-faint: #6b655d;
  --gold: #c5a267;
  --gold-soft: #d9c19a;
  --gold-deep: #9a7c45;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1320px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* no italics anywhere — emphasis via weight/spacing */
em,
i,
cite,
address {
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

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

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

::selection {
  background: rgba(197, 162, 103, 0.28);
  color: #fff;
}

/* custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: #2a2825;
  border-radius: 999px;
  border: 3px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover {
  background: #3c382f;
}

/* film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* page fade-in */
body {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
body.loaded {
  opacity: 1;
}

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 112px 0;
}
.section--lg {
  padding: 160px 0;
}
.section--panel {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rule {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(236, 230, 218, 0.18),
    transparent
  );
}

/* ---------- typography ---------- */
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
}
.eyebrow--line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow--line::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(197, 162, 103, 0.6);
}

.lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cream-muted);
}

.text-gold {
  background: linear-gradient(100deg, #d9c19a 0%, #c5a267 45%, #9a7c45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h-xl {
  font-size: clamp(3rem, 7vw, 5.5rem);
}
.h-lg {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.h-md {
  font-size: clamp(2rem, 4vw, 3rem);
}
.h-sm {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.muted {
  color: var(--cream-muted);
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(197, 162, 103, 0.4);
  background: rgba(197, 162, 103, 0.06);
  padding: 14px 30px;
  color: var(--gold-soft);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn-gold span {
  position: relative;
  z-index: 1;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #d9c19a, #c5a267);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn-gold:hover {
  color: var(--ink);
  border-color: rgba(197, 162, 103, 0.7);
}
.btn-gold:hover::before {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.btn-ghost:hover {
  color: var(--gold);
}
.btn-ghost .arrow {
  transition: transform 0.4s var(--ease);
}
.btn-ghost:hover .arrow {
  transform: translateX(5px);
}

/* animated underline */
.link-underline {
  position: relative;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease);
}
.header.scrolled {
  background: rgba(11, 11, 12, 0.85);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo__mark {
  height: 48px;
  width: 48px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo__mark {
  transform: scale(1.05);
}
.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding-left: 15px;
  border-left: 1px solid rgba(236, 230, 218, 0.18);
}
.logo__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.logo__sub {
  font-size: 0.56rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* hamburger */
.burger {
  display: none;
  position: relative;
  height: 44px;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--cream);
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: all 0.3s var(--ease);
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 23px;
}
.burger span:nth-child(3) {
  top: 29px;
}
body.menu-open .burger span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}
body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}
body.menu-open .burger span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  opacity: 0;
  transform: translateY(24px);
  transition: color 0.3s var(--ease), opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
/* typographic styles only for the nav links, not the CTA button */
.mobile-menu a:not(.btn) {
  display: block;
  padding: 12px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--cream);
}
body.menu-open .mobile-menu a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a:not(.btn):hover {
  color: var(--gold);
}
.mobile-menu a .num {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(197, 162, 103, 0.6);
  margin-right: 12px;
}
.mobile-menu .btn-gold {
  margin-top: 28px;
  align-self: flex-start;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}
.hero__bg,
.pagehero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-out forwards;
}
@keyframes kenburns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.16);
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
}
.hero__overlay--l {
  background: linear-gradient(
    to right,
    var(--ink),
    rgba(11, 11, 12, 0.75) 40%,
    rgba(11, 11, 12, 0.2)
  );
}
.hero__overlay--t {
  background: linear-gradient(
    to top,
    var(--ink),
    transparent 50%,
    rgba(11, 11, 12, 0.4)
  );
}
.hero__content {
  position: relative;
  padding-top: 112px;
}
.hero__title {
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 0.94;
  margin: 28px 0 0;
}
.hero__sub {
  margin-top: 36px;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream-muted);
}
.hero__actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--cream-muted);
}
.hero__scroll .track {
  position: relative;
  height: 48px;
  width: 1px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll .track::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 50%;
  background: var(--gold);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}

/* page hero (inner pages) */
.pagehero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 72vh;
  padding: 160px 0 90px;
  overflow: hidden;
}
.pagehero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--ink),
    rgba(11, 11, 12, 0.7) 55%,
    rgba(11, 11, 12, 0.35)
  );
}
.pagehero__content {
  position: relative;
}
.pagehero__title {
  max-width: 60rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  margin-top: 24px;
}
.pagehero__sub {
  margin-top: 32px;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream-muted);
}

/* Fix: thin lighter line below the hero. The kenburns (transformed) image
   isn't always fully clipped by overflow:hidden and can leak a few px below
   the hero; with a transparent section underneath it showed as a hairline.
   The following section now paints solid ink and overlaps by 1px. */
.hero,
.pagehero {
  background-color: var(--ink);
}
.hero + section,
.pagehero + section {
  position: relative;
  margin-top: -1px;
  background-color: var(--ink);
}

/* ============================================================
   GRID + SECTION HEADERS
   ============================================================ */
.grid {
  display: grid;
  gap: 56px;
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 64px;
  align-items: stretch;
}
.col-7 {
  grid-column: span 7;
}
.col-5 {
  grid-column: span 5;
}

.section-head {
  margin-bottom: 64px;
  max-width: 42rem;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}

/* manifesto image / generic media that matches text height */
.media-fill {
  position: relative;
  height: 100%;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 16px;
}
.media-fill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  display: flex;
  overflow: hidden;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item span {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: rgba(236, 230, 218, 0.9);
  white-space: nowrap;
}
.marquee__item .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  margin: 0 40px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* pillar card */
.pillar__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
}
.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.pillar:hover .pillar__media img {
  transform: scale(1.05);
}
.pillar__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 11, 12, 0.8),
    rgba(11, 11, 12, 0.1) 50%,
    transparent
  );
}
.pillar__num {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: rgba(197, 162, 103, 0.8);
}
.pillar h3 {
  margin-top: 24px;
  font-size: 1.5rem;
  color: var(--cream);
}
.pillar p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* hairline-bordered step grid */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.step {
  background: var(--ink-soft);
  padding: 32px;
  transition: background 0.5s var(--ease);
}
.step:hover {
  background: var(--ink-panel);
}
.step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  color: rgba(197, 162, 103, 0.7);
}
.step h3 {
  margin-top: 24px;
  font-size: 1.5rem;
  color: var(--cream);
}
.step p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* gallery teaser grid */
.gteaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gteaser__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
}
.gteaser__item.tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}
.gteaser__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gteaser__item:hover img {
  transform: scale(1.1);
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.stat {
  text-align: center;
}
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 3.75rem);
  font-weight: 300;
}
.stat__label {
  margin-top: 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream-muted);
}

/* reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  border-radius: 16px;
  padding: 32px;
}
.review__mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  line-height: 0.5;
  color: rgba(197, 162, 103, 0.5);
}
.review blockquote {
  margin-top: 18px;
  flex: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--cream);
}
.review figcaption {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.review__author {
  font-size: 0.9rem;
  color: var(--cream);
}
.review__detail {
  margin-top: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream-faint);
}

/* generic bordered card */
.card {
  height: 100%;
  border: 1px solid var(--line);
  background: var(--ink);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.5s var(--ease);
}
.card:hover {
  border-color: rgba(197, 162, 103, 0.4);
}
.card h3 {
  font-size: 1.5rem;
  color: var(--cream);
}
.card p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* CTA banner */
.cta-banner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--ink-soft), var(--ink));
  border-radius: 16px;
  padding: 40px;
}
.cta-banner__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--cream);
  max-width: 28rem;
}

/* ============================================================
   STORY (lo chef) image composition
   ============================================================ */
.story-media {
  display: grid;
  grid-template-rows: 2fr 1fr;
  gap: 16px;
  height: 100%;
  min-height: 26rem;
}
.story-media .frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.story-media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-media .frame-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.story-text p + p {
  margin-top: 24px;
}

/* principles 2-col hairline grid */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.principle {
  background: var(--ink);
  padding: 36px;
  transition: background 0.5s var(--ease);
}
.principle:hover {
  background: var(--ink-soft);
}
.principle__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  color: rgba(197, 162, 103, 0.7);
}
.principle h3 {
  margin-top: 20px;
  font-size: 1.5rem;
  color: var(--cream);
}
.principle p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* ============================================================
   ESPERIENZA — alternating steps
   ============================================================ */
.estep {
  border-bottom: 1px solid var(--line);
}
.estep__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.estep__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0;
}
.estep:nth-child(odd) .estep__text {
  padding-right: 64px;
}
.estep:nth-child(even) .estep__text {
  order: 2;
  padding-left: 64px;
}
.estep__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.75rem;
  color: rgba(197, 162, 103, 0.4);
}
.estep__text h3 {
  margin-top: 20px;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  color: var(--cream);
}
.estep__text p {
  margin-top: 20px;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cream-muted);
}
.estep__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 26rem;
}
.estep:nth-child(even) .estep__media {
  order: 1;
}
.estep__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.estep:hover .estep__media img {
  transform: scale(1.05);
}

/* included list */
.included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.included li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  padding: 24px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--cream);
}
.included li .star {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--gold);
}

/* ============================================================
   MENU
   ============================================================ */
.menu-list {
  max-width: 42rem;
  margin: 0 auto;
}
.course {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
}
.course .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.course h3 {
  font-size: clamp(1.7rem, 3vw, 2rem);
  color: var(--cream);
}
.course p {
  max-width: 28rem;
  margin: 12px auto 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-muted);
}
.taste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.taste__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
}
.taste__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.taste__item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   GALLERIA — masonry
   ============================================================ */
.masonry {
  column-count: 3;
  column-gap: 16px;
}
.masonry figure {
  position: relative;
  margin: 0 0 16px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 16px;
}
.masonry img {
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease);
}
.masonry figure:hover img {
  transform: scale(1.08);
}
.masonry figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  font-size: 0.85rem;
  color: var(--cream);
  background: linear-gradient(to top, rgba(11, 11, 12, 0.85), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease);
}
.masonry figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRENOTA — form + contacts + faq
   ============================================================ */
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream-muted);
}
.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--cream);
  color-scheme: dark;
  transition: border-color 0.3s var(--ease);
}
.field::placeholder {
  color: var(--cream-faint);
}
.field:focus {
  outline: none;
  border-color: rgba(197, 162, 103, 0.6);
}
textarea.field {
  resize: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-grid {
  display: grid;
  gap: 24px;
}
.form-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--cream-faint);
}
.form-success {
  border: 1px solid rgba(197, 162, 103, 0.3);
  background: var(--ink-soft);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.form-success .star {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
}
.form-success h3 {
  margin-top: 18px;
  font-size: 1.875rem;
  color: var(--cream);
}
.form-success p {
  max-width: 24rem;
  margin: 16px auto 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cream-muted);
}

.contact-card {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  border-radius: 16px;
  padding: 36px;
}
.contact-card ul {
  list-style: none;
  display: grid;
  gap: 24px;
}
.contact-card .clabel {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream-faint);
}
.contact-card .cval {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
a.cval:hover {
  color: var(--gold);
}

.faq {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:last-child {
  border-bottom: none;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--cream);
}
.faq__q span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
.faq__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__item.open .faq__icon {
  transform: rotate(45deg);
  border-color: rgba(197, 162, 103, 0.5);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq__item.open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a > div {
  overflow: hidden;
}
.faq__a p {
  max-width: 44rem;
  padding-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--cream-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}
.footer__cta {
  padding: 112px 0;
  max-width: 48rem;
}
.footer__cta h2 {
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  line-height: 1.04;
  margin-top: 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
}
.footer__grid p.desc {
  margin-top: 24px;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--cream-muted);
}
.footer__col .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.footer__col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer__col a,
.footer__col li {
  font-size: 0.875rem;
  color: var(--cream-muted);
  transition: color 0.3s var(--ease);
}
.footer__col a:hover {
  color: var(--gold);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--cream-faint);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(197, 162, 103, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(197, 162, 103, 0.6);
}

/* ============================================================
   LANGUAGE TOGGLE (IT / EN)
   ============================================================ */
[data-lang="en"] [lang="it"] {
  display: none !important;
}
[data-lang="it"] [lang="en"] {
  display: none !important;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream-faint);
  padding: 0.3em 0.1em;
  letter-spacing: 0.16em;
  transition: color 0.35s var(--ease);
}
.lang-btn.is-active {
  color: var(--gold);
}
.lang-btn:hover {
  color: var(--cream);
}
.lang-sep {
  color: var(--cream-faint);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__bg,
  .pagehero__bg {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .nav,
  .header__cta .btn-gold {
    display: none;
  }
  .burger {
    display: block;
  }
  .grid-12 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .col-7,
  .col-5 {
    grid-column: auto;
  }
  .cards-4,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .gteaser {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .masonry {
    column-count: 2;
  }
  .estep__inner {
    grid-template-columns: 1fr;
  }
  .estep__text,
  .estep:nth-child(odd) .estep__text,
  .estep:nth-child(even) .estep__text {
    order: 2;
    padding: 56px 0;
  }
  .estep__media,
  .estep:nth-child(even) .estep__media {
    order: 1;
    min-height: 18rem;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 80px 0;
  }
  .section--lg {
    padding: 96px 0;
  }
  .logo__text {
    display: none;
  }
  .cards-3,
  .cards-4,
  .principles,
  .included,
  .taste,
  .form-row {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .gteaser {
    grid-template-columns: 1fr 1fr;
  }
  .masonry {
    column-count: 1;
  }
  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__bottom {
    flex-direction: column;
  }
}
