/* FD Center — design system, derived from Brand Direction & Visual deck
   Palette: Verde Bosco / Verde Profondo / Avorio
   Type: DM Serif Display (≈ Awesome Serif) + Outfit (≈ Garet)
*/

:root {
  /* Palette — exact from brand deck */
  --verde-bosco:    #549F49;
  --verde-profondo: #3A4B37;
  --avorio:         #F2F2F2;
  --avorio-2:       #EAE7DE;
  --avorio-3:       #DCD8CB;

  --paper:    #F2F2F2;
  --paper-2:  #ECE9E0;
  --paper-3:  #DCD8CB;
  --ink:      #1A1A1A;
  --ink-2:    #3A3A3A;
  --ink-3:    #707070;
  --rule:     #C9C5B8;
  --moss:     var(--verde-bosco);
  --moss-deep: var(--verde-profondo);
  --moss-tint: #DCEBD8;

  /* Type — Awesome Serif (display) + Outfit (sans, Garet replacement —
     the user's Garet files were demo-watermarked so we fall back here) */
  --serif: "Awesome Serif", "DM Serif Display", "Italiana", "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Garet", "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1380px;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --r-xl: 36px;
}

[data-palette="profondo"] {
  --paper: #3A4B37; --paper-2: #324128; --paper-3: #28341F;
  --ink: #F2F2F2; --ink-2: #DCD8CB; --ink-3: #B6B19F;
  --rule: rgba(255,255,255,.16);
  --moss: #88C77B;
  --moss-deep: #DCEBD8;
  --moss-tint: rgba(255,255,255,.08);
}

[data-display="awesome"]    { --serif: "Awesome Serif", "Times New Roman", serif; }
[data-display="dmserif"]    { --serif: "DM Serif Display", "Times New Roman", serif; }
[data-display="italiana"]   { --serif: "Italiana", "Times New Roman", serif; }
[data-display="cormorant"]  { --serif: "Cormorant Garamond", "Times New Roman", serif; }
[data-display="playfair"]   { --serif: "Playfair Display", "Times New Roman", serif; }
[data-display="forum"]      { --serif: "Forum", "Times New Roman", serif; }
[data-display="ebgaramond"] { --serif: "EB Garamond", "Times New Roman", serif; }
[data-display="caslon"]     { --serif: "Libre Caslon Text", "Times New Roman", serif; }

[data-sans="garet"]    { --sans: "Garet", "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-sans="outfit"]   { --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-sans="dmsans"]   { --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-sans="manrope"]  { --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-sans="worksans"] { --sans: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; }
[data-sans="grotesk"]  { --sans: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em, i { font-style: normal; }

/* ——— Typography utilities ——— */
.serif { font-family: var(--serif); font-weight: 400; }
.sans  { font-family: var(--sans); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow-light {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.005em;
}
h1, h2, h3, h4 { margin: 0; }

/* ——— App shell ——— */
.app { min-height: 100vh; background: var(--paper); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ——— Top bar ——— */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; cursor: pointer; flex: 0 0 auto; }
.brand-logo {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}
.brand .mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand .mark .dot { color: var(--moss); }
.brand .since {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.nav {
  display: flex; gap: 2px; align-items: center;
  flex: 1 1 auto; justify-content: center; flex-wrap: wrap; row-gap: 4px;
  min-width: 0;
}
.nav a { white-space: nowrap; }
.nav a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  padding: 10px 12px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.active { color: var(--moss-deep); background: var(--paper-2); font-weight: 500; }
@media (max-width: 1250px) {
  .topbar-inner { gap: 16px; }
  .brand .since { display: none; }
  .nav a { padding: 9px 9px; font-size: 12.5px; }
}
@media (max-width: 1050px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand .mark { font-size: 19px; }
  .nav a { padding: 8px 7px; font-size: 12px; }
  .nav-right .btn { padding: 10px 16px; font-size: 12.5px; }
}

.nav-right {
  display: flex; align-items: center; gap: 14px;
}
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.10em;
  font-weight: 500;
}
.lang-toggle button {
  padding: 6px 11px;
  color: var(--ink-3);
}
.lang-toggle button.on { background: var(--moss-deep); color: var(--paper); }

.cart-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cart-link:hover { background: var(--moss-deep); color: var(--paper); border-color: var(--moss-deep); }
.cart-link svg { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--moss);
  color: #fff;
  transition: transform .12s ease, background .15s, color .15s;
  border: 1px solid transparent;
}
.btn:hover { background: var(--moss-deep); }
.btn:active { transform: translateY(1px); }
.btn-profondo { background: var(--moss-deep); color: #fff; }
.btn-profondo:hover { background: var(--moss); }
.btn-pill { background: #fff; color: var(--moss-deep); }
.btn-pill:hover { background: var(--moss); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { font-weight: 400; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ——— Section structure ——— */
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 36px;
  margin-bottom: 48px;
}
.section-head .num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-head .title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.005em;
  max-width: 32ch;
}
.section-head .right-meta {
  margin-top: 12px;
  color: var(--ink-2);
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.55;
}

/* ——— Photo card (rounded image with overlay labels) ——— */
/* The brand's dominant visual motif: rounded image with either
   (a) green solid label centered-bottom, white sans bold
   (b) cream/white pill label, dark serif title
   (c) FD CENTER top-left label + big serif headline + SCORRI pill
*/
.photo-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  isolation: isolate;
}
.photo-card .img {
  position: absolute; inset: 0;
  background: var(--paper-2);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,.05) 0 1px,
      transparent 1px 12px);
  display: flex; align-items: flex-end; justify-content: center;
}
.photo-card.toned .img { background-color: color-mix(in oklab, var(--moss) 30%, var(--paper-2)); }
.photo-card.toned-deep .img { background-color: color-mix(in oklab, var(--moss-deep) 70%, var(--paper-2)); }
.photo-card.toned-warm .img { background-color: color-mix(in oklab, #C39668 40%, var(--paper-2)); }
.photo-card .ph-id {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  z-index: 1;
}
.photo-card .top-label {
  position: absolute; top: 22px; left: 22px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  z-index: 2;
  font-weight: 400;
}
.photo-card .top-label b {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 6px;
}
.photo-card.scrim-top::before {
  content:""; position: absolute; left: 0; right: 0; top: 0; height: 38%;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
  pointer-events: none;
}
.photo-card.scrim-full::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,42,28,.80) 0%, rgba(30,42,28,.60) 22%, rgba(30,42,28,.42) 40%, rgba(30,42,28,.62) 72%, rgba(30,42,28,.82) 100%);
  pointer-events: none;
}
.photo-card .pill-label {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: var(--moss);
  color: #fff;
  border-radius: 14px;
  padding: 18px 28px;
  z-index: 2;
  text-align: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: 1.25;
  max-width: 75%;
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
}
.photo-card .pill-label.cream {
  background: #fff;
  color: var(--moss-deep);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.15;
  padding: 18px 30px;
}
.photo-card .pill-label.cream .small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.photo-card .hero-headline {
  position: absolute; left: 36px; right: 36px; bottom: 36px; z-index: 2;
  color: #fff;
}
.photo-card.lift-headline .hero-headline { bottom: 69px; }
.photo-card .hero-headline h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.0;
  letter-spacing: -0.005em;
  margin: 0;
}
.photo-card .hero-headline .sub {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.92);
  margin: 12px 0 18px;
}
.scrolli-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  color: var(--moss-deep);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scrolli-pill .arrow {
  display: inline-block; width: 36px; height: 1px; background: currentColor;
  position: relative;
}
.scrolli-pill .arrow::after {
  content: "▸"; position: absolute; right: -6px; top: -8px;
  font-size: 11px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0 0;
}
.hero-editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 24px;
}
.hero-editorial h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 8.5vw, 142px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-editorial h1 em {
  color: var(--moss-deep);
  font-style: normal;
}
.hero-editorial .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 28px 0 28px;
}
.hero-meta {
  display: flex; gap: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: 50px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-photo-stack { display: grid; gap: 16px; grid-template-rows: 1.2fr 1fr; height: clamp(420px, 56vw, 640px); }

/* Hero · centered */
.hero-centered {
  text-align: center;
  padding: clamp(48px, 8vw, 110px) var(--gutter) 0;
  position: relative;
}
.hero-centered h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 18px 0 6px;
}
.hero-centered .sub {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--moss-deep);
}
.hero-centered .photos {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 18px;
  margin: 60px auto 0;
  max-width: 1180px;
}

/* Hero · split */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hero-split .left, .hero-split .right { padding: 56px var(--gutter); }
.hero-split .left { border-right: 1px solid var(--rule); }
.hero-split .left h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 16px 0 24px;
}
.hero-split .left h1 em { color: var(--moss-deep); font-style: normal; }
.hero-split .right {
  background: var(--moss-deep);
  color: #fff;
  position: relative;
  padding: 0;
}
.hero-split .right .photo-card { border-radius: 0; height: 100%; }

@media (max-width: 920px){
  .hero-editorial { grid-template-columns: 1fr; }
  .hero-photo-stack { height: clamp(380px, 80vw, 540px); }
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split .left { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-centered .photos { grid-template-columns: 1fr 1fr; }
  .hero-centered .photos > *:nth-child(3) { display: none; }
}

/* ——— Marquee ——— */
.marquee {
  background: var(--moss-deep);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 50s linear infinite;
  font-family: var(--serif);
  font-style: normal;
  font-size: 26px;
}
.marquee-track .sep { color: var(--moss); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ——— Keywords (Parole Chiave) ——— */
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.keywords .k {
  display: inline-block;
  cursor: default;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 14px 36px;
  border: 1px solid var(--ink-2);
  border-radius: 999px;
  background: transparent;
  transition: all .25s;
}
.keywords .k:hover {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--moss);
}

/* ——— Values strip ——— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.values-grid .v {
  padding: 28px 0 0;
  border-top: 1px solid var(--ink);
}
.values-grid .v .n {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.values-grid .v .t {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  margin: 12px 0 10px;
}
.values-grid .v .d {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
@media (max-width: 900px){ .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .values-grid { grid-template-columns: 1fr; } }

/* ——— Service rows (numbered list) ——— */
.svc-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 130px;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: padding .25s ease, background .25s ease;
}
.svc-row:hover {
  padding-left: 14px;
  background: var(--moss-tint);
}
.svc-row:last-child { border-bottom: 1px solid var(--rule); }
.svc-row .n {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--moss);
}
.svc-row .nm {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.svc-row .dsc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  max-width: 60ch;
}
.svc-row .arrow {
  justify-self: end;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
  transition: gap .25s ease, color .25s;
}
.svc-row:hover .arrow { gap: 16px; color: var(--moss-deep); }
@media (max-width: 860px){
  .svc-row { grid-template-columns: 1fr; gap: 10px 18px; }
  .svc-row .dsc, .svc-row .arrow { grid-column: 1; }
}

/* ——— Gallery wall ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery .photo-card {
  grid-column: span 4;
  aspect-ratio: 4/5;
}
.gallery .photo-card.wide { grid-column: span 8; aspect-ratio: 16/10; }
.gallery .photo-card.tall { grid-column: span 4; aspect-ratio: 3/5; }
.gallery .photo-card.sq { grid-column: span 4; aspect-ratio: 1/1; }
@media (max-width: 860px){
  .gallery .photo-card,
  .gallery .photo-card.wide,
  .gallery .photo-card.tall,
  .gallery .photo-card.sq { grid-column: span 6; aspect-ratio: 4/5; }
}

/* ——— Moodboard tile grid ——— */
.moodboard {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.moodboard .photo-card { aspect-ratio: 5/4; }
.moodboard .photo-card.dot { background: var(--moss); border-radius: 50%; aspect-ratio: 1; align-self: center; max-width: 60%; justify-self: center; }
.moodboard .photo-card.dot-deep { background: var(--moss-deep); border-radius: 50%; aspect-ratio: 1; align-self: center; max-width: 60%; justify-self: center; }
@media (max-width: 900px){ .moodboard { grid-template-columns: 1fr 1fr 1fr; } }

/* ——— Cards / forms ——— */
.card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 26px;
}

/* ——— Google reviews preview ——— */
.g-reviews { display: grid; gap: 28px; }
.g-rating { display: flex; align-items: center; gap: 18px; }
.g-rating .score { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--moss-deep); }
.g-rating .stars { color: var(--moss); letter-spacing: 3px; font-size: 15px; }
.g-rating .count { font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .g-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .g-grid { grid-template-columns: 1fr; } }
.g-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 24px;
  color: inherit; transition: border-color .15s ease, transform .15s ease;
}
.g-card:hover { border-color: var(--moss); transform: translateY(-2px); }
.g-card .stars { color: var(--moss); letter-spacing: 2px; font-size: 13px; }
.g-card .body {
  margin: 0; font-family: var(--sans); font-size: 14.5px; line-height: 1.65;
  color: var(--ink); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.g-card .who {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-2);
  padding-top: 12px; border-top: 1px solid var(--rule);
}
.g-card .avatar {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  background: var(--moss-deep); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; object-fit: cover;
}
.g-all { font-family: var(--sans); font-size: 13.5px; color: var(--moss-deep); justify-self: start; }
.g-all:hover { text-decoration: underline; }

/* ——— Shop ——— */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shop-card .photo-card { border-radius: 0; border: 0; border-bottom: 1px solid var(--rule); }
.shop-photo {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.shop-photo img { width: 100%; height: 100%; object-fit: contain; }
.shop-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.shop-body .nm { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.shop-body .dsc { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 8px 0 20px; }
.shop-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.shop-foot .price { font-family: var(--serif); font-size: 28px; color: var(--moss-deep); }
.shop-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.ecwid-layer {
  position: fixed; inset: 0; z-index: 900; background: var(--paper, #F6F3EC);
  display: none; flex-direction: column;
}
.ecwid-layer.open { display: flex; }
.ecwid-layer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 28px; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 22px;
}
.ecwid-layer-acts { display: flex; gap: 10px; align-items: center; }
.ecwid-layer-bar button {  border: 1px solid var(--rule); background: transparent; cursor: pointer;
  font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; color: var(--ink-2);
}
.ecwid-layer-bar button:hover { color: var(--ink); border-color: var(--ink-2); }
.ecwid-layer-body { flex: 1; overflow: auto; padding: 24px 28px 60px; }
.shop-note {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 70ch;
}
.shop-note .mk { color: var(--moss); font-family: var(--serif); font-size: 26px; line-height: 1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-weight: 300;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--moss-deep);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ——— Footer ——— */
footer.foot {
  background: var(--moss-deep);
  color: var(--paper);
  padding: 80px 0 36px;
}
footer.foot .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px){
  footer.foot .grid { grid-template-columns: 1fr 1fr; }
}
footer.foot a { color: rgba(255,255,255,.78); }
footer.foot a:hover { color: #fff; }
footer.foot h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: rgba(255,255,255,.58);
}
footer.foot .colophon {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.20);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  color: rgba(255,255,255,.62);
}
footer.foot .mark-big {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.005em;
}

/* ——— Programs / accordion-ish items ——— */
.prog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
}
@media (max-width:720px){ .prog { grid-template-columns: 1fr; } }
.prog .item { padding: 32px 0; border-top: 1px solid var(--rule); }
.prog .item .h { display: flex; align-items: baseline; gap: 18px; }
.prog .item .h .n {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--moss);
}
.prog .item .h .nm {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
}
.prog .item p { color: var(--ink-2); font-size: 15px; max-width: 50ch; margin: 12px 0 0; line-height: 1.55; }
.prog .item .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.prog .item .tags span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ——— Roadmap (training journey) ——— */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 8px;
}
.roadmap .stage { position: relative; padding-top: 40px; }
.roadmap .stage::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--moss);
  z-index: 2;
}
.roadmap .stage.start::before { background: var(--moss); }
.roadmap .stage::after {
  content: "";
  position: absolute; top: 7px; left: 16px; right: -48px;
  height: 2px;
  background: var(--rule);
  z-index: 1;
}
.roadmap .stage:last-child::after { display: none; }
.roadmap .stage .fase {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.roadmap .stage .st-title {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.04;
  margin: 12px 0 0;
}
.roadmap .stage .st-desc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 36ch;
}
.roadmap .stage .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.roadmap .stage .chips span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
}
.roadmap-note {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
}
.roadmap-note .mk { color: var(--moss); font-family: var(--serif); font-size: 32px; line-height: 1; }
.roadmap-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  max-width: 52ch;
  color: var(--ink);
}
@media (max-width: 860px) {
  .roadmap { grid-template-columns: 1fr; gap: 0; }
  .roadmap .stage { padding: 0 0 40px 36px; }
  .roadmap .stage::before { top: 6px; }
  .roadmap .stage::after {
    top: 14px; left: 7px; right: auto; bottom: -6px;
    width: 2px; height: auto;
  }
  .roadmap .stage:last-child::after { display: none; }
}

/* ——— Testimonials ——— */
.testimonial {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.testimonial:last-child { border-bottom: 1px solid var(--rule); }
.testimonial .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--rule);
}
.testimonial .body {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.testimonial .meta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}

/* ——— CTA band ——— */
.cta-band {
  background: var(--moss);
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.5vw, 88px);
  line-height: 1.0;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  max-width: 18ch;
}
.cta-band p { max-width: 50ch; color: rgba(255,255,255,.85); }
.cta-band .btn { background: #fff; color: var(--moss-deep); }
.cta-band .btn:hover { background: var(--moss-deep); color: #fff; }

/* ——— Team grid ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 820px){ .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .team-grid { grid-template-columns: 1fr; } }
.team-card .photo-card { aspect-ratio: 4/5; }
.team-card .nm {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 16px;
  letter-spacing: -0.005em;
}
.team-card .role {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ——— Page header ——— */
.page-head {
  padding: clamp(70px, 10vw, 130px) 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-head .crumbs {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 130px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.page-head h1 em { color: var(--moss-deep); font-style: normal; }
.page-head .lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
}

/* ——— Booking ——— */
.booking-shell {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  min-height: 70vh;
  border-top: 1px solid var(--rule);
}
.booking-shell .left {
  padding: 56px var(--gutter);
  background: var(--moss-deep);
  color: #fff;
}
.booking-shell .right { padding: 56px var(--gutter); }
.booking-shell .left .eyebrow,
.booking-shell .left .eyebrow-light { color: rgba(255,255,255,.7); }
@media (max-width: 880px){
  .booking-shell { grid-template-columns: 1fr; }
}
.step-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.step-list .s {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  opacity: .55;
}
.step-list .s:first-child { border-top: 0; }
.step-list .s .num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 30px; height: 30px;
  display: grid; place-items: center;
}
.step-list .s.active { opacity: 1; }
.step-list .s.active .num { background: #fff; color: var(--moss-deep); border-color: #fff; }
.step-list .s.done { opacity: .8; }
.step-list .s.done .num { background: var(--moss); color: #fff; border-color: var(--moss); }
.step-list .s .nm { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.step-list .s .h { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 18px; }
.cal-grid .dh, .cal-grid .d { text-align: center; padding: 10px 0; font-family: var(--sans); font-size: 13px; }
.cal-grid .dh { color: var(--ink-3); letter-spacing: 0.10em; text-transform: uppercase; font-size: 10px; font-weight: 500; }
.cal-grid .d { border: 1px solid var(--rule); border-radius: var(--r-sm); cursor: pointer; background: var(--paper); }
.cal-grid .d:hover { border-color: var(--ink); }
.cal-grid .d.off { opacity: .3; cursor: not-allowed; }
.cal-grid .d.full { background: var(--paper-3); color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }
.cal-grid .d.sel { background: var(--moss); color: #fff; border-color: var(--moss); }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.slot-grid .slot {
  border: 1px solid var(--rule);
  padding: 12px 0;
  text-align: center;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: var(--paper);
}
.slot-grid .slot:hover { border-color: var(--ink); }
.slot-grid .slot.sel { background: var(--moss-deep); color: #fff; border-color: var(--moss-deep); }
.slot-grid .slot.off { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.reviews-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px){ .reviews-grid { grid-template-columns: 1fr; } }
.rv { position: relative; overflow: hidden; }
.rv-in { position: relative; z-index: 1; }
.rv--moss { background: color-mix(in oklch, var(--moss) 9%, var(--paper-2)); }
.rv--warm { background: color-mix(in oklch, var(--clay, #C8794F) 9%, var(--paper-2)); }
.rv--cream { background: var(--paper-2); }
.rv--photo { background: var(--moss-deep); }
.rv--photo .rv-in { color: #fff; }
.rv--photo .rv-in .serif, .rv--photo .rv-in .eyebrow-light { color: #fff; }
.rv--photo .rv-in .eyebrow { color: #fff !important; }
.rv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: 0; }
.rv--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,38,24,.55), rgba(26,38,24,.78)); z-index: 0; }

.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 18px; }
.info-list .row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.info-list .row:first-child { border-top: 0; padding-top: 0; }
.info-list .lab {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.info-list .val { font-family: var(--serif); font-size: 24px; letter-spacing: -0.005em; }
.info-list .val a:hover { color: var(--moss-deep); }

/* ——— Natural backgrounds (scroll with page, subtle, optional) ——— */
:root {
  --bg-pattern-opacity: 0.10;
}
.app {
  position: relative;
  background: var(--paper);
}
.app::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--bg-pattern, none);
  background-repeat: repeat;
  background-size: var(--bg-pattern-size, 360px 360px);
  opacity: var(--bg-pattern-opacity, 0.10);
  z-index: 0;
  mix-blend-mode: multiply;
}
.app > * { position: relative; z-index: 1; }

/* Foglie — small sketched leaf motif */
[data-bg="foglie"] {
  --bg-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 360'><g fill='none' stroke='%233A4B37' stroke-width='1.1' stroke-linecap='round'><path d='M40 60c10-22 30-30 50-22 8 22-8 42-30 44-12-6-18-14-20-22z'/><path d='M50 60c8-8 18-14 30-14M40 60c0 0 10 8 18 22'/><path d='M210 30c-22 8-32 28-26 50 22 6 42-12 42-32-6-12-12-18-16-18z'/><path d='M220 38c-6 8-10 18-10 30M214 28c0 0 10 8 24 14'/><path d='M120 200c-22-6-42 8-46 30 18 14 42 8 50-14-2-12-4-16-4-16z'/><path d='M122 210c-8 6-14 14-18 26M118 200c0 0 6 12 18 24'/><path d='M280 220c14 18 8 42-14 50-18-16-14-42 4-50 6 0 10 0 10 0z'/><path d='M286 232c-2 10-2 20 2 30M280 220c0 0-12 6-24 18'/><path d='M70 290c20-10 44-2 50 20-12 18-38 16-50-2-2-10-2-16 0-18z'/><path d='M80 292c8 4 16 12 20 24M70 290c0 0-2 12 0 28'/></g></svg>");
  --bg-pattern-size: 360px 360px;
}

/* Carta — paper grain (very subtle dots + lines) */
[data-bg="carta"] {
  --bg-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'><g fill='%233A4B37'><circle cx='12' cy='28' r='0.7'/><circle cx='44' cy='18' r='0.5'/><circle cx='80' cy='40' r='0.6'/><circle cx='112' cy='14' r='0.5'/><circle cx='148' cy='32' r='0.7'/><circle cx='190' cy='22' r='0.5'/><circle cx='28' cy='66' r='0.5'/><circle cx='62' cy='86' r='0.7'/><circle cx='98' cy='72' r='0.5'/><circle cx='132' cy='98' r='0.6'/><circle cx='170' cy='80' r='0.5'/><circle cx='200' cy='106' r='0.7'/><circle cx='18' cy='118' r='0.5'/><circle cx='52' cy='140' r='0.7'/><circle cx='88' cy='126' r='0.5'/><circle cx='124' cy='152' r='0.6'/><circle cx='158' cy='138' r='0.5'/><circle cx='194' cy='160' r='0.7'/><circle cx='34' cy='178' r='0.5'/><circle cx='70' cy='200' r='0.7'/><circle cx='108' cy='186' r='0.5'/><circle cx='144' cy='208' r='0.6'/><circle cx='178' cy='194' r='0.5'/></g></svg>");
  --bg-pattern-size: 220px 220px;
}

/* Ramo — long organic line drawing */
[data-bg="ramo"] {
  --bg-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 480'><g fill='none' stroke='%233A4B37' stroke-width='1' stroke-linecap='round'><path d='M40 80c80 20 140 80 160 160 18 70 80 120 160 140'/><path d='M120 140c-6-22-4-44 8-60M180 200c-2-26 8-46 26-58M260 280c0-30 14-50 38-58M340 360c10-28 32-44 60-48'/><path d='M380 60c-40 60-30 130 20 180 40 38 100 40 140 20'/><path d='M380 80c-12 22-18 44-16 66M420 130c4-22 18-38 40-46M440 200c20-12 44-12 64-2'/><path d='M60 320c40-40 100-50 160-30 50 18 80 60 80 110'/><path d='M120 320c0-22 12-40 30-50M180 320c10-18 30-28 54-26M240 340c14-12 34-14 54-4'/></g></svg>");
  --bg-pattern-size: 480px 480px;
}

/* ——— Room comparison table (feature matrix) ——— */
.room-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  margin-top: 8px;
}
.room-table thead th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 0 14px 18px;
  vertical-align: bottom;
  border-bottom: 1px solid var(--ink);
}
.room-table thead th.rt-name {
  text-align: left;
  width: 24%;
}
.room-table tbody td {
  padding: 20px 14px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-2);
  vertical-align: middle;
}
.room-table tbody tr:hover { background: var(--moss-tint); }
.room-table .rt-name {
  text-align: left;
}
.room-table .rt-name .nm {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.room-table .rt-name .tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 4px;
}
.room-table .rt-val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.room-table .rt-sub {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 2px;
}
.room-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  font-size: 13px;
}
.room-dash {
  display: inline-block;
  width: 16px; height: 2px;
  background: var(--rule);
  vertical-align: middle;
}
.room-pill {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  white-space: nowrap;
}
.room-pill--on {
  background: var(--moss);
  border-color: var(--moss);
  color: #fff;
}
.room-table-wrap { overflow-x: auto; }
@media (max-width: 760px) {
  .room-table { min-width: 720px; }
}
.room-note {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 20px;
  line-height: 1.6;
}

/* Page fade-in */
.page { animation: pageFade .45s ease both; }

/* ——— Hero with full-bleed photo background + creative bottom clip ——— */
.hero-photo-bg {
  position: relative;
  padding: 0;
  background: transparent; /* let the page pattern (avorio + foglie) show through the cut */
  margin-bottom: 24px;
  --hero-height: var(--hero-height-user, 140vh);
}
  isolation: isolate;
  background: var(--moss-deep);
  margin-bottom: 24px;
  --hero-height: var(--hero-height-user, 140vh);
}
.hero-photo-bg.hero-photo-bg--no-photo {
  background: transparent;
  margin-bottom: 0;
  --hero-height: 86vh;
}
.hero-bg-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper-3);
  z-index: 0;
}
.hero-bg-parallax {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 200%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.hero-bg-parallax image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,30,18,.62) 0%, rgba(20,30,18,.30) 55%, rgba(20,30,18,.10) 100%),
    linear-gradient(to bottom, rgba(20,30,18,.15) 0%, rgba(20,30,18,.55) 100%);
  pointer-events: none;
}
.hero-photo-inner {
  position: relative;
  z-index: 2;
  min-height: var(--hero-height, 86vh);
  display: grid;
  align-items: start;
  padding: clamp(60px, 9vw, 110px) var(--gutter) clamp(90px, 12vw, 160px);
  pointer-events: none; /* let hover reach the image-slot underneath */
}
.hero-photo-inner .btn,
.hero-photo-inner button,
.hero-photo-inner a {
  pointer-events: auto;
}
.hero-photo-content {
  max-width: 720px;
}
.hero-photo-content h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-photo-content .lede {
  font-size: 17.5px;
  line-height: 1.55;
  margin: 26px 0 28px;
}
.hero-photo-content .hero-meta.on-photo {
  color: #fff;
  font-weight: 600;
  border-top: 0 !important;
  padding: 13px 20px;
  margin-top: 34px;
  width: fit-content;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(16,26,15,.66);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  row-gap: 6px;
}
.hero-photo-content .hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: 50px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-scroll-pill {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 6vw, 80px);
  background: #fff;
  color: var(--moss-deep);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .15s ease, background .15s, color .15s;
}
.hero-scroll-pill:hover { background: var(--moss); color: #fff; transform: translateY(-2px); }
.hero-scroll-pill .arrow {
  display: inline-block; width: 36px; height: 1px; background: currentColor;
  position: relative;
}
.hero-scroll-pill .arrow::after {
  content: "▸"; position: absolute; right: -6px; top: -8px;
  font-size: 11px;
}

/* Shape clip-paths for the hero photo bottom edge */
.hero-photo-bg[data-shape="casa-rovesciata"] .hero-bg-frame {
  clip-path: polygon(0% 0%, 100% 0%, 100% 78%, 50% 100%, 0% 78%);
}
.hero-photo-bg[data-shape="casa"] .hero-bg-frame {
  clip-path: polygon(0% 0%, 50% 0%, 50% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-photo-bg[data-shape="arco"] .hero-bg-frame {
  clip-path: path("M 0 0 L 100% 0 L 100% 70% Q 50% 110% 0 70% Z");
}
.hero-photo-bg[data-shape="finestra"] .hero-bg-frame {
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
}
.hero-photo-bg[data-shape="foglia"] .hero-bg-frame {
  clip-path: ellipse(80% 90% at 50% 30%);
}
.hero-photo-bg[data-shape="blob"] .hero-bg-frame {
  border-radius: 0 0 50% 50% / 0 0 16% 16%;
}
.hero-photo-bg[data-shape="banda"] .hero-bg-frame {
  clip-path: none;
}

@media (max-width: 720px) {
  .hero-photo-inner { min-height: min(var(--hero-height, 86vh), 110vh); }
  .hero-scroll-pill { right: 50%; transform: translateX(50%); }
  .hero-scroll-pill:hover { transform: translate(50%, -2px); }
}


.feature-photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  isolation: isolate;
}
.feature-photo .frame {
  position: relative;
  width: 100%;
  height: clamp(420px, 60vw, 720px);
  background: var(--paper-2);
  overflow: hidden;
}
.feature-photo image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.feature-photo[data-shape="casa-rovesciata"] .frame {
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}
.feature-photo[data-shape="casa"] .frame {
  clip-path: polygon(50% 0%, 100% 28%, 100% 100%, 0% 100%, 0% 28%);
}
.feature-photo[data-shape="arco"] .frame {
  clip-path: path("M 0 720 L 0 250 Q 0 0 720 0 Q 1440 0 1440 250 L 1440 720 Z");
}
.feature-photo[data-shape="foglia"] .frame {
  clip-path: ellipse(60% 48% at 50% 50%);
}
.feature-photo[data-shape="blob"] .frame {
  border-radius: 56% 44% 62% 38% / 52% 48% 52% 48%;
}
.feature-photo[data-shape="finestra"] .frame {
  clip-path: polygon(0 14%, 50% 0, 100% 14%, 100% 100%, 0 100%);
}
.feature-photo[data-shape="banda"] .frame {
  clip-path: none;
}
.feature-photo .caption {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  z-index: 2;
  color: #fff;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
.menu-btn { display: none; }
@media (max-width: 760px){
  .nav { display: none; }
  .menu-btn {
    display: inline-flex;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
}
.mobile-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 14px var(--gutter);
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ═══ MOBILE — passata dedicata ═══════════════════════════════
   Il sito si usa soprattutto da telefono: qui sotto si evitano
   sbordamenti orizzontali (che fanno "rimpicciolire" la pagina),
   si riducono i titoli, si allargano i tasti. */
html { -webkit-text-size-adjust: 100%; }
@media (max-width: 860px) {
  body { overflow-x: hidden; }
  .app { overflow-x: clip; }
  /* Griglie scritte a mano nelle pagine: su telefono vanno in colonna */
  [style*="1fr 1fr"], [style*="1.3fr 1fr"], [style*="1.4fr 1fr"], [style*="1.2fr 1fr"],
  [style*="1.1fr 1fr"], [style*="1fr 1.2fr"], [style*="1fr 1.3fr"], [style*="1fr 1.6fr"],
  [style*="1fr 1fr 1fr"], [style*="repeat(3, 1fr)"], [style*="1fr 1fr 120px"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  [style*="repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
  [style*="200px 1fr"] { grid-template-columns: 1fr !important; gap: 6px !important; }
  /* Titoli: mai una parola più larga dello schermo */
  h1, h2, h3, .display, .section-head .title, .page-head h1,
  .hero-photo-content h1, .cta-band h2, .quote-big, .st-title,
  .roadmap .stage .st-title, .prog .item .h .nm {
    overflow-wrap: anywhere; hyphens: auto;
  }
  .page-head h1 { font-size: clamp(34px, 11vw, 56px); }
  .hero-photo-content h1 { font-size: clamp(36px, 12vw, 62px); }
  .hero-editorial h1 { font-size: clamp(38px, 13vw, 68px); }
  .hero-centered h1 { font-size: clamp(38px, 13vw, 68px); }
  .section-head .title { font-size: clamp(30px, 9vw, 46px); }
  .cta-band h2 { font-size: clamp(30px, 9vw, 48px); }
  .quote-big { font-size: clamp(22px, 6.5vw, 32px); }
  .values-grid .v .t, .prog .item .h .nm, .roadmap .stage .st-title { font-size: 26px; }
  .footer .mark-big, footer.foot .mark-big { font-size: 38px; }
  /* Corpo testo un filo più grande e arioso */
  .lede, .page-head .lede { font-size: 16.5px; line-height: 1.6; }
  .section { padding: clamp(48px, 12vw, 72px) 0; }
  /* Tasti: area di tocco piena */
  .btn, .btn-pill, .scrolli-pill, .menu-btn {
    min-height: 46px; display: inline-flex; align-items: center;
    max-width: 100%; white-space: normal; text-align: left;
  }
  .scrolli-pill { font-size: 11px; padding: 10px 16px; }
  .hero-photo-inner .btn, .cta-band .btn { width: 100%; justify-content: space-between; }
  /* Campi: 16px evita lo zoom automatico di iPhone */
  input, select, textarea { font-size: 16px !important; min-height: 46px; }
  .field { width: 100%; }
  /* Hero: niente schermate infinite */
  .hero-photo-inner { min-height: min(var(--hero-height, 86vh), 88vh) !important; padding-bottom: 60px; }
  .hero-bg-frame { clip-path: none !important; }
  .marquee-track { font-size: 20px; gap: 26px; }
  .mobile-menu a { padding: 16px 0; font-size: 16px; }
  /* Nessun testo sotto i 12px sul telefono */
  .eyebrow, .eyebrow-light, .crumbs, .page-head .crumbs,
  .room-pill, .room-table .rt-name .tag, .room-note,
  .photo-card .ph-id, .prog .item .tags span, .roadmap .stage .chips span,
  .g-rating .count, .g-card .who, .testimonial .meta, footer.foot .colophon {
    font-size: 12px !important; letter-spacing: 0.08em;
  }
  .g-card .body { font-size: 15px; }
  .room-table-wrap { -webkit-overflow-scrolling: touch; }
  .g-card .body { -webkit-line-clamp: 8; }
  .info-list .row { grid-template-columns: 1fr; gap: 6px; }
  .info-list .val { font-size: 20px; }
  .testimonial { grid-template-columns: 1fr; gap: 12px; }
  .ecwid-layer-bar { padding: 12px 16px; font-size: 18px; }
  .ecwid-layer-body { padding: 14px 14px 50px; }
}
@media (max-width: 560px) {
  /* Tabella alloggi: da griglia larga a schede leggibili col pollice */
  .room-table-wrap { overflow: visible; }
  .room-table { min-width: 0 !important; display: block; }
  .room-table thead { display: none; }
  .room-table tbody, .room-table tr, .room-table td { display: block; width: 100%; }
  .room-table tr {
    border: 1px solid var(--rule); border-radius: var(--r-md, 14px);
    padding: 16px 18px; margin-bottom: 14px; background: var(--paper-2);
  }
  .room-table td { border: 0 !important; padding: 8px 0; }
  .room-table td + td {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border-top: 1px solid var(--rule) !important;
  }
  .room-table td[data-l]::before {
    content: attr(data-l);
    font-family: var(--sans); font-weight: 500; font-size: 10.5px;
    letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3);
  }
  .room-table .rt-name { padding-top: 0; }
  .gallery .photo-card, .gallery .photo-card.wide, .gallery .photo-card.tall, .gallery .photo-card.sq { grid-column: span 12 !important; }
  .moodboard { grid-template-columns: 1fr 1fr; }
  footer.foot .grid { grid-template-columns: 1fr; gap: 28px; }
  .cal-grid .dh, .cal-grid .d { padding: 12px 0; font-size: 12px; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
}

/* Big quote */
.quote-big {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 22ch;
}
.quote-big em { color: var(--moss-deep); font-style: normal; }

/* Testimonial hero labels — editorial, larger */
.photo-card.pill-hero .pill-label.cream{max-width:84%;padding:24px 34px 22px;font-size:clamp(30px,3.2vw,44px);line-height:.98;border-radius:18px;text-align:center}
.photo-card.pill-hero .pill-label.cream .kicker{display:block;font-family:var(--sans);font-weight:600;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--moss);margin-bottom:12px}
.photo-card.pill-hero .pill-label.cream .small{margin-top:14px;padding-top:12px;border-top:1px solid var(--rule);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2)}

.photo-card.has-video{cursor:pointer}
.photo-card.has-video .img{transition:transform .5s ease}
.photo-card.has-video:hover .img{transform:scale(1.03)}

.colophon .legal-links a{color:inherit;text-decoration:underline;text-underline-offset:3px}.colophon .legal-links a:hover{opacity:.7}
footer.foot .legal-note{font-family:var(--sans);font-size:12px;letter-spacing:0.02em;line-height:1.6;color:rgba(255,255,255,.62);margin-top:18px;display:grid;gap:6px;max-width:88ch;text-wrap:pretty}footer.foot .legal-note p{margin:0}footer.foot .legal-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}footer.foot .legal-note a:hover{opacity:.7}
.legal-doc-wrap{padding:clamp(40px,6vw,80px) 0}.legal-doc{max-width:72ch;font-size:16px;line-height:1.7;color:var(--ink-2);text-wrap:pretty}.legal-doc h2{font-family:var(--serif);font-weight:500;font-size:clamp(24px,3vw,32px);line-height:1.15;color:var(--ink);margin:2.2em 0 .6em}.legal-doc h2:first-child{margin-top:0}.legal-doc h3{font-family:var(--sans);font-size:16px;font-weight:600;color:var(--ink);margin:1.6em 0 .4em}.legal-doc p{margin:0 0 1em}.legal-doc ul,.legal-doc ol{margin:0 0 1em;padding-left:1.4em}.legal-doc li{margin:.25em 0}.legal-doc strong{color:var(--ink);font-weight:600}.legal-doc a{color:var(--moss-deep);text-decoration:underline;text-underline-offset:3px}.legal-doc a:hover{opacity:.75}.legal-doc hr{border:0;border-top:1px solid var(--rule);margin:3em 0}

/* ——— Moduli: errori, avvisi, privacy, anti-spam ——— */
.field.has-err input,.field.has-err select,.field.has-err textarea{border-color:#A8432B}
.field-err{font-size:13px;line-height:1.45;color:#A8432B}
.field-err a{color:inherit;text-decoration:underline}
.fd-form-alert{grid-column:1/-1;padding:14px 16px;border:1px solid #A8432B;border-radius:var(--r-sm);background:#FBF1EE;color:#5E2416;font-size:14.5px;line-height:1.55}
.fd-form-alert a{color:inherit;text-decoration:underline}
.fd-form-alert ul{margin:8px 0 0;padding-left:18px}
.fd-privacy-note{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5;color:var(--ink-3)}
.fd-privacy-note a{color:var(--moss-deep);text-decoration:underline}
.fd-turnstile{grid-column:1/-1;min-height:65px}
.fd-hp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
