/* ════════════════════════════════════════════════════════════
   INSIEME BEAUTY EXPERIENCE — Maison Design System
   Ink & Champagne · Editorial · Firenze
   ════════════════════════════════════════════════════════════ */

:root {
  /* palette */
  --bg: #0c0a08;
  --bg-2: #121009;
  --bg-3: #1a160f;
  --ivory: #ede4d3;
  --text: #e7ddc9;
  --muted: #99917f;
  --muted-2: #5f594c;
  --gold: #c8a96a;
  --gold-2: #e8d3a4;
  --gold-deep: #8d7442;
  --gold-soft: rgba(200, 169, 106, 0.08);
  --line: rgba(200, 169, 106, 0.16);
  --line-strong: rgba(200, 169, 106, 0.42);
  --danger: #c97b62;
  --ok: #a3b98f;

  /* compat aliases (platform) */
  --surface: rgba(237, 228, 211, 0.03);
  --surface-2: rgba(237, 228, 211, 0.05);
  --border: var(--line);
  --border-strong: var(--line-strong);

  /* type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
  --brand-font: "Italiana", serif;

  --radius: 2px;
  --radius-sm: 2px;
  --maxw: 1440px;
  --gutter: clamp(24px, 5vw, 80px);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ── base ─────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* NB: niente scroll-behavior:smooth — confligge con Lenis */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #14100a; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.005em; }
em, i { font-style: italic; }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); } 20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); } 40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); } 60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); } 80% { transform: translate(3%, -35%); }
  90% { transform: translate(-10%, 10%); }
}

/* custom cursor */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 1001; pointer-events: none;
    width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2);
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none;
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
    transform: translate(-50%, -50%);
    transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease, background 0.35s;
  }
  .cursor-ring.is-hover { width: 64px; height: 64px; border-color: var(--gold); background: rgba(200,169,106,0.06); }
}

/* preloader */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  animation: preHide 0.9s ease 2.3s forwards;
}
.preloader .pre-word {
  font-family: var(--brand-font); font-size: clamp(38px, 7vw, 84px);
  letter-spacing: 0.34em; text-indent: 0.34em; color: var(--ivory); display: flex;
}
.preloader .pre-word span { opacity: 0; animation: preLetter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.preloader .pre-sub {
  font-size: 10px; letter-spacing: 0.55em; text-indent: 0.55em; text-transform: uppercase;
  color: var(--gold); opacity: 0; animation: preSub 1s ease 1.1s forwards;
}
.preloader .pre-line {
  width: 0; height: 1px; background: var(--gold-deep);
  animation: preLine 1.4s cubic-bezier(0.7, 0, 0.2, 1) 0.5s forwards;
}
@keyframes preLetter { from { opacity: 0; transform: translateY(28px) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes preSub { to { opacity: 1; } }
@keyframes preLine { to { width: min(320px, 60vw); } }
@keyframes preHide { to { opacity: 0; visibility: hidden; } }

/* ── primitives ───────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 16px;
}
.label::before { content: ""; width: 40px; height: 1px; background: var(--gold-deep); }
.label.no-rule::before { display: none; }
.eyebrow { font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.muted { color: var(--muted); }
.gold-text { color: var(--gold); }
.serif-i { font-family: var(--serif); font-style: italic; }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.6vw, 132px);
  line-height: 0.98; letter-spacing: -0.01em; color: var(--ivory);
}
.display em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.display [data-line] { padding-bottom: 0.12em; margin-bottom: -0.12em; }

.hairline { width: 100%; height: 1px; background: var(--line); border: none; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 44px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--ivory); font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; cursor: pointer;
  transition: color 0.45s ease, border-color 0.45s ease; overflow: hidden; border-radius: 0;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}
.btn:hover { color: #14100a; border-color: var(--gold); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--gold); color: #14100a; border-color: var(--gold); }
.btn-primary::before { background: var(--gold-2); }
.btn-primary:hover { border-color: var(--gold-2); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 14px 28px; font-size: 10px; }
.btn-block { width: 100%; justify-content: center; }
.btn .arr { font-family: var(--serif); font-size: 15px; letter-spacing: 0; }

/* text link */
.tlink {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 8px; border-bottom: 1px solid var(--line-strong);
  transition: gap 0.3s ease, border-color 0.3s;
}
.tlink:hover { gap: 20px; border-color: var(--gold); }

/* ── nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s ease, border-color 0.5s ease, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(12, 10, 8, 0.85); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  /* extra top padding: keeps the nav content inside the hero gold frame */
  padding: 48px var(--gutter) 22px; max-width: var(--maxw); margin: 0 auto;
}
.nav.scrolled .nav-inner { padding-top: 16px; padding-bottom: 16px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--brand-font); font-size: 24px; letter-spacing: 0.3em; color: var(--ivory); }
.brand .brand-sub { font-size: 7.5px; letter-spacing: 0.62em; color: var(--gold); text-transform: uppercase; margin-top: 6px; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 44px; }
.nav-links a {
  position: relative; font-size: 10px; font-weight: 500; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--muted); transition: color 0.3s; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; color: var(--ivory); font-size: 24px; cursor: pointer; }

/* ── hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 115%; object-fit: cover; object-position: center 30%;
  filter: saturate(0.72) contrast(1.06) brightness(0.6) sepia(0.14);
  transform-origin: center; animation: heroKen 18s ease-out forwards;
}
@keyframes heroKen { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0.12) 40%, rgba(12,10,8,0.88) 88%, var(--bg) 100%);
}
.hero-frame {
  position: absolute; inset: clamp(14px, 2.4vw, 34px); z-index: 2;
  border: 1px solid rgba(200, 169, 106, 0.22); pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding: 0 var(--gutter) clamp(60px, 9vh, 110px); max-width: var(--maxw); margin: 0 auto; }
.hero-topline { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.hero h1 { color: var(--ivory); }
.hero .hero-sub { max-width: 430px; color: #d3cab6; font-size: 14px; font-weight: 300; line-height: 1.9; margin-top: 34px; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.75); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 48px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-side {
  position: absolute; right: clamp(28px, 3.4vw, 52px); top: 50%; z-index: 3;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 9px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.scroll-cue .line { width: 1px; height: 56px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold); animation: cueDrop 2.2s cubic-bezier(0.77, 0, 0.18, 1) infinite;
}
@keyframes cueDrop { 0% { top: -50%; } 60%, 100% { top: 110%; } }

/* ── marquee ──────────────────────────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 28px); font-style: italic;
  color: var(--muted); white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "✦"; font-size: 11px; color: var(--gold-deep); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── sections ─────────────────────────────────────────────── */
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.section-tight { padding: clamp(60px, 8vw, 110px) 0; }

.sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.sec-head h2 { font-size: clamp(36px, 5vw, 76px); color: var(--ivory); }
.sec-head h2 em { color: var(--gold-2); font-weight: 300; }
.sec-head .sec-note { color: var(--muted); font-size: 14px; max-width: 380px; line-height: 1.9; justify-self: end; align-self: end; }

/* manifesto */
.manifesto p {
  font-family: var(--serif); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.3;
  color: var(--muted-2); max-width: 1060px;
}
.manifesto p .w { color: var(--muted-2); transition: color 0.4s ease; }
.manifesto p .w.lit { color: var(--ivory); }
.manifesto p em { color: var(--gold-2); }

/* numbers strip */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers .num-cell { padding: clamp(34px, 4vw, 60px) clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.numbers .num-cell:first-child { border-left: none; }
.numbers b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5.4vw, 96px); color: var(--ivory); line-height: 1; font-style: italic; }
.numbers b sup { font-size: 0.35em; color: var(--gold); font-style: normal; }
.numbers span { display: block; margin-top: 14px; font-size: 9.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }

/* editorial split */
.ed-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.ed-split.rev { direction: rtl; }
.ed-split.rev > * { direction: ltr; }
.ed-split h3 { font-size: clamp(30px, 3.6vw, 54px); color: var(--ivory); margin: 22px 0 26px; }
.ed-split h3 em { color: var(--gold-2); }
.ed-split .body { color: var(--muted); font-size: 14.5px; line-height: 2; max-width: 480px; }
.ed-split .body + .body { margin-top: 18px; }

.media-frame { position: relative; overflow: hidden; }
.media-frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(200,169,106,0.28); pointer-events: none; z-index: 2; }
.media-frame img {
  width: 100%; height: clamp(380px, 46vw, 640px); object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.78) sepia(0.16);
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.media-frame:hover img { transform: scale(1.05); }
.media-caption {
  position: absolute; bottom: 26px; left: 28px; z-index: 3;
  font-size: 9px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ivory);
  display: flex; align-items: center; gap: 12px;
}
.media-caption::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

/* method rows */
.method { border-top: 1px solid var(--line); }
.method-row {
  display: grid; grid-template-columns: 120px 1fr 1.2fr auto; gap: clamp(18px, 3vw, 50px);
  align-items: center; padding: clamp(30px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, padding-left 0.4s ease;
}
.method-row:hover { background: var(--gold-soft); padding-left: 22px; }
.method-row .m-num { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 44px); color: var(--gold-deep); }
.method-row:hover .m-num { color: var(--gold); }
.method-row .m-title { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 40px); color: var(--ivory); line-height: 1.1; }
.method-row .m-desc { color: var(--muted); font-size: 13.5px; line-height: 1.9; max-width: 460px; }
.method-row .m-arr { font-family: var(--serif); font-size: 28px; color: var(--gold-deep); transition: transform 0.4s, color 0.4s; }
.method-row:hover .m-arr { transform: translateX(10px); color: var(--gold); }

/* ── maison (sedi) ────────────────────────────────────────── */
.maison-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.maison { position: relative; overflow: hidden; display: block; }
.maison.span-7 { grid-column: span 7; }
.maison.span-5 { grid-column: span 5; }
.maison .m-media { position: relative; overflow: hidden; }
.maison .m-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,10,8,0.72) 100%); z-index: 1; }
.maison img {
  width: 100%; height: clamp(340px, 40vw, 560px); object-fit: cover;
  filter: saturate(0.7) contrast(1.05) brightness(0.72) sepia(0.16);
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s;
}
.maison:hover img { transform: scale(1.06); filter: saturate(0.85) contrast(1.06) brightness(0.82) sepia(0.1); }
.maison .m-tag {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ivory);
  padding: 10px 18px; border: 1px solid rgba(237,228,211,0.32); backdrop-filter: blur(6px); background: rgba(12,10,8,0.25);
}
.maison .m-body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.maison .m-name { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); color: var(--ivory); line-height: 1; }
.maison .m-meta { margin-top: 10px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.maison .m-price { text-align: right; white-space: nowrap; }
.maison .m-price b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); color: var(--gold-2); }
.maison .m-price span { display: block; font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ── membership ───────────────────────────────────────────── */
.membership { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.tier { padding: clamp(36px, 4vw, 60px) clamp(26px, 3vw, 48px); border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: background 0.5s; }
.tier:first-child { border-left: none; }
.tier:hover { background: var(--gold-soft); }
.tier.featured { background: linear-gradient(180deg, rgba(200,169,106,0.10), rgba(200,169,106,0.02)); }
.tier .t-flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  font-size: 8.5px; letter-spacing: 0.4em; text-transform: uppercase; color: #14100a;
  background: var(--gold); padding: 8px 22px; white-space: nowrap;
}
.tier .t-name { font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.tier .t-price { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 4.6vw, 72px); color: var(--ivory); margin: 26px 0 4px; line-height: 1; }
.tier .t-price em { font-style: italic; }
.tier .t-per { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.tier .t-desc { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 24px 0 8px; }
.tier ul { list-style: none; margin: 22px 0 38px; flex: 1; }
.tier li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tier li::before { content: "—"; color: var(--gold-deep); }
.tier li b { color: var(--text); font-weight: 500; }

/* ── grand cta ────────────────────────────────────────────── */
.grand-cta { text-align: center; position: relative; }
.grand-cta h2 { font-size: clamp(48px, 8.5vw, 150px); font-weight: 300; color: var(--ivory); line-height: 1; }
.grand-cta h2 em { color: var(--gold-2); }
.grand-cta .sub { margin: 34px auto 46px; max-width: 440px; color: var(--muted); font-size: 14px; line-height: 2; }
.grand-cta .orn { font-size: 12px; color: var(--gold-deep); letter-spacing: 1.4em; text-indent: 1.4em; display: block; margin-bottom: 34px; }

/* ── footer ───────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: clamp(60px, 7vw, 100px) 0 40px; background: var(--bg-2); }
.footer-word { font-family: var(--brand-font); font-size: clamp(48px, 10vw, 150px); letter-spacing: 0.22em; color: rgba(237,228,211,0.08); line-height: 1; white-space: nowrap; overflow: hidden; text-align: center; margin-bottom: clamp(40px, 6vw, 80px); user-select: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer h4 { font-family: var(--sans); font-size: 9px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; font-weight: 500; }
.footer a.f-link { display: block; color: var(--muted); font-size: 13px; padding: 7px 0; transition: color 0.3s, padding-left 0.3s; }
.footer a.f-link:hover { color: var(--gold-2); padding-left: 8px; }
.footer .f-about { color: var(--muted); font-size: 13px; line-height: 2; max-width: 300px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(50px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; flex-wrap: wrap; gap: 14px; }

/* ── page hero (inner) ────────────────────────────────────── */
.page-hero { position: relative; padding: clamp(170px, 24vh, 260px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero .ph-media { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.34) sepia(0.2); }
.page-hero .ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,8,0.5), var(--bg) 96%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(42px, 6.6vw, 110px); color: var(--ivory); margin: 26px 0; max-width: 1000px; }
.page-hero h1 em { color: var(--gold-2); }
.page-hero .ph-sub { color: #d3cab6; font-size: 15px; max-width: 520px; line-height: 2; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.75); }

/* values */
.value-row { display: grid; grid-template-columns: 110px 1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(30px, 4vw, 50px) 0; border-top: 1px solid var(--line); }
.value-row .v-num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: clamp(24px, 2.6vw, 38px); }
.value-row h3 { font-size: clamp(24px, 3vw, 42px); color: var(--ivory); margin-bottom: 12px; }
.value-row p { color: var(--muted); font-size: 14px; line-height: 2; max-width: 620px; }

/* services editorial list */
.svc-row {
  display: grid; grid-template-columns: 1fr 1.1fr auto; gap: clamp(18px, 3vw, 60px); align-items: baseline;
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); transition: background 0.4s, padding-left 0.4s;
}
.svc-row:first-child { border-top: 1px solid var(--line); }
.svc-row:hover { background: var(--gold-soft); padding-left: 20px; }
.svc-row .s-name { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 36px); color: var(--ivory); }
.svc-row .s-desc { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.svc-row .s-price { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: clamp(18px, 2vw, 26px); white-space: nowrap; }
.svc-row .s-price small { display: block; font-family: var(--sans); font-style: normal; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.field { margin-bottom: 28px; }
.field label { display: block; font-size: 9.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-strong);
  padding: 12px 2px; color: var(--ivory); font-family: var(--serif); font-size: 19px;
  transition: border-color 0.3s; border-radius: 0;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); font-style: italic; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--gold); }
.select { appearance: none; cursor: pointer; }
.select option { background: var(--bg-2); color: var(--text); font-family: var(--sans); font-size: 14px; }
.textarea { min-height: 110px; resize: vertical; }
.form-alert { margin-top: 20px; padding: 18px 22px; border: 1px solid rgba(163,185,143,0.4); color: var(--ok); font-size: 13px; display: none; letter-spacing: 0.04em; }
.form-alert.show { display: block; }
.contact-info-item { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-info-item .ci-k { font-size: 9.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.contact-info-item .ci-v { font-family: var(--serif); font-size: 18px; color: var(--ivory); text-align: right; }

/* generic grid + card (kept for compat) */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); padding: 34px; transition: border-color 0.4s, background 0.4s; }
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; padding: 8px 16px; border: 1px solid var(--line); color: var(--muted); }

/* reveal helpers (JS-driven, safe without JS) */
[data-reveal] { will-change: transform, opacity; }

/* ════════════════════════════════════════════════════════════
   PLATFORM — L'Atelier digitale
   ════════════════════════════════════════════════════════════ */
.app-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.app-sidebar {
  background: var(--bg-2); border-right: 1px solid var(--line);
  padding: 40px 28px 30px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
}
.app-sidebar .brand { margin-bottom: 60px; }
.side-nav { display: flex; flex-direction: column; }
.side-nav a {
  display: flex; align-items: center; gap: 16px; padding: 17px 4px;
  color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  cursor: pointer; transition: color 0.3s, padding-left 0.3s; border-bottom: 1px solid var(--line);
}
.side-nav a:first-child { border-top: 1px solid var(--line); }
.side-nav a:hover { color: var(--ivory); padding-left: 12px; }
.side-nav a.active { color: var(--gold); }
.side-nav .ico { font-size: 13px; color: var(--gold-deep); }
.side-nav a.active .ico { color: var(--gold); }
.side-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.user-chip { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 16px;
}
.user-chip b { font-family: var(--serif); font-size: 17px; font-weight: 500; display: block; color: var(--ivory); }
.user-chip span { font-size: 9px; color: var(--muted); letter-spacing: 0.24em; text-transform: uppercase; }

.app-main { padding: 46px clamp(24px, 4vw, 60px) 100px; }
.app-topbar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.app-topbar h1 { font-size: clamp(30px, 3.4vw, 46px); color: var(--ivory); }
.app-topbar p { color: var(--muted); font-size: 13px; margin-top: 8px; }

.view { display: none; animation: fade 0.5s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 40px; border: 1px solid var(--line); }
.stat-card { padding: 28px 26px; border-left: 1px solid var(--line); background: transparent; }
.stat-card:first-child { border-left: none; }
.stat-card .label { font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); display: block; }
.stat-card .label::before { display: none; }
.stat-card .value { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 38px; color: var(--ivory); margin-top: 10px; line-height: 1; }
.stat-card .delta { font-size: 10px; color: var(--gold-deep); margin-top: 8px; letter-spacing: 0.1em; }

.wizard { border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 44px); background: var(--surface); }
.wizard-steps { display: flex; gap: 0; margin-bottom: 40px; border: 1px solid var(--line); flex-wrap: wrap; }
.wstep {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 10px; border-left: 1px solid var(--line);
  color: var(--muted-2); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
}
.wstep:first-child { border-left: none; }
.wstep .dot { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted-2); }
.wstep.active { color: var(--gold); background: var(--gold-soft); }
.wstep.active .dot { color: var(--gold); }
.wstep.done { color: var(--muted); }
.wstep.done .dot { color: var(--gold-deep); }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fade 0.4s; }
.panel-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); color: var(--ivory); margin-bottom: 8px; }
.panel-sub { color: var(--muted); font-size: 13px; margin-bottom: 30px; }

.opt-grid { display: grid; gap: 14px; }
.opt-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.opt {
  position: relative; border: 1px solid var(--line); padding: 22px;
  cursor: pointer; transition: border-color 0.3s, background 0.3s; background: transparent;
}
.opt:hover { border-color: var(--line-strong); background: var(--gold-soft); }
.opt.selected { border-color: var(--gold); background: var(--gold-soft); }
.opt.disabled { opacity: 0.3; cursor: not-allowed; }
.opt .opt-title { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ivory); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.opt .opt-meta { color: var(--muted); font-size: 11px; margin-top: 6px; letter-spacing: 0.06em; }
.opt .opt-price { color: var(--gold); font-size: 10px; margin-top: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.opt .check { position: absolute; top: 14px; right: 14px; color: var(--gold); opacity: 0; transition: 0.3s; font-size: 12px; }
.opt.selected .check { opacity: 1; }

.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.slot {
  text-align: center; padding: 14px 0; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--serif); font-size: 16px; color: var(--muted); transition: 0.3s; background: transparent;
}
.slot:hover { border-color: var(--line-strong); color: var(--ivory); }
.slot.selected { background: var(--gold); color: #14100a; border-color: var(--gold); font-weight: 600; }
.slot.taken { opacity: 0.22; cursor: not-allowed; text-decoration: line-through; }

.wizard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }

.booking-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.summary { border: 1px solid var(--line-strong); padding: 32px; position: sticky; top: 28px; background: var(--bg-2); }
.summary h3 { font-family: var(--serif); font-size: 24px; color: var(--ivory); margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; font-size: 13px; border-top: 1px solid var(--line); }
.summary-row:first-of-type { border-top: none; }
.summary-row .k { color: var(--muted); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 3px; }
.summary-row .v { text-align: right; color: var(--text); font-family: var(--serif); font-size: 16px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.summary-total .k { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.summary-total .v { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--gold-2); line-height: 1; }
.summary .empty { color: var(--muted-2); font-size: 13px; font-style: italic; font-family: var(--serif); }

.bk-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); }
.bk-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.bk-item:last-child { border-bottom: none; }
.bk-item:hover { background: var(--gold-soft); }
.bk-date { text-align: center; border: 1px solid var(--line-strong); padding: 10px 0; }
.bk-date .d { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-2); line-height: 1; }
.bk-date .m { font-size: 8px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.26em; margin-top: 4px; }
.bk-item .bk-title { font-family: var(--serif); font-size: 20px; color: var(--ivory); }
.bk-item .bk-meta { color: var(--muted); font-size: 11.5px; margin-top: 4px; letter-spacing: 0.04em; }
.bk-price { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: 24px; }

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(150%);
  background: var(--bg-3); border: 1px solid var(--gold); color: var(--text);
  padding: 18px 32px; z-index: 300; box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.06em;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .ok { color: var(--gold); font-size: 15px; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state .big { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--gold-deep); margin-bottom: 18px; }

/* loc-card compat (dashboard suggestion) */
.loc-card { position: relative; overflow: hidden; border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.loc-card .loc-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; filter: saturate(0.7) brightness(0.65) sepia(0.15); }
.loc-card .loc-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,10,8,0.1), rgba(12,10,8,0.9)); }
.loc-card > * { position: relative; z-index: 2; }
.loc-card .badge { align-self: flex-start; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgba(237,228,211,0.3); color: var(--gold-2); margin-bottom: auto; background: rgba(12,10,8,0.3); }
.loc-card h3 { font-size: 26px; color: var(--ivory); }
.loc-card .loc-meta { color: var(--muted); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; margin: 8px 0 14px; }
.loc-card .loc-foot { display: flex; align-items: center; justify-content: space-between; }
.loc-card .price b { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-2); }
.loc-card .price span { font-size: 10px; color: var(--muted); }
.bg-firenze1 { background-image: url("https://images.unsplash.com/photo-1560066984-138dadb4c035?q=80&w=1200&auto=format&fit=crop"); background-color: #241c12; }
.bg-firenze2 { background-image: url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?q=80&w=1200&auto=format&fit=crop"); background-color: #1c1712; }
.bg-firenze3 { background-image: url("https://images.unsplash.com/photo-1600948836101-f9ffda59d250?q=80&w=1200&auto=format&fit=crop"); background-color: #181510; }
.bg-firenze4 { background-image: url("https://images.unsplash.com/photo-1633681926022-84c23e8cb2d6?q=80&w=1200&auto=format&fit=crop"); background-color: #16120d; }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .maison.span-7, .maison.span-5 { grid-column: span 12; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .sec-note { justify-self: start; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers .num-cell:nth-child(3) { border-left: none; }
  .numbers .num-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .booking-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 24px; }
  .app-sidebar .brand { margin-bottom: 0; }
  .side-nav { flex-direction: row; flex-wrap: wrap; margin-left: auto; }
  .side-nav a, .side-nav a:first-child { border: none; padding: 8px 12px; }
  .side-foot { display: none; }
  .membership { grid-template-columns: 1fr; }
  .tier { border-left: none; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: none; }
  .ed-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .method-row { grid-template-columns: 70px 1fr auto; }
  .method-row .m-desc { display: none; }
}
@media (max-width: 720px) {
  /* readable greys on small screens */
  :root { --muted: #aba290; --muted-2: #7a7263; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: fixed; inset: 0; z-index: 90; flex-direction: column;
    align-items: center; justify-content: center; gap: 34px; background: rgba(12,10,8,0.97);
  }
  .nav-links.open a { font-size: 14px; }
  .nav-toggle { display: block; position: relative; z-index: 95; }
  .nav-cta .btn { display: none; }
  .nav-inner { padding: 18px 24px; }
  .nav { background: linear-gradient(180deg, rgba(12,10,8,0.82) 0%, rgba(12,10,8,0.35) 70%, transparent 100%); }
  .nav.scrolled { background: rgba(12, 10, 8, 0.92); }

  /* ── HERO mobile: cinematic full-bleed ── */
  .hero { align-items: flex-end; }
  .hero-inner { padding: 130px var(--gutter) 56px; }
  .hero-topline { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 22px; }
  .hero-topline .eyebrow { display: none; }
  .hero-topline .label { font-size: 8.5px; letter-spacing: 0.3em; line-height: 2; max-width: 82vw; }
  .hero h1.display { font-size: clamp(50px, 14.5vw, 76px); line-height: 1.02; }
  .hero .hero-sub { font-size: 15px; line-height: 1.85; margin-top: 24px; color: #ddd5c2; }
  .hero-bottom { margin-top: 32px; gap: 18px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 19px 20px; }
  .scroll-cue { display: none; }
  .hero-side { display: none; }
  .hero-frame { inset: 10px; opacity: 0.7; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(12,10,8,0.72) 0%, rgba(12,10,8,0.30) 32%, rgba(12,10,8,0.62) 58%, rgba(12,10,8,0.96) 86%, var(--bg) 100%);
  }

  /* inner page heroes */
  .page-hero { padding-top: 150px; }
  .page-hero .label { font-size: 8.5px; letter-spacing: 0.3em; }
  .page-hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .page-hero .ph-sub { color: #ddd5c2; }

  /* type rhythm */
  .sec-head h2 { font-size: clamp(34px, 10vw, 52px); }
  .manifesto p { font-size: clamp(22px, 6.4vw, 30px); line-height: 1.45; }
  .grand-cta h2 { font-size: clamp(46px, 13vw, 72px); }
  .grand-cta .btn { width: calc(100% - 8px); justify-content: center; }
  .label { letter-spacing: 0.32em; }
  .label::before { width: 22px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .opt-grid.cols-2, .opt-grid.cols-3, .opt-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-card:nth-child(3) { border-left: none; }
  .stat-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers b { font-size: clamp(38px, 11vw, 60px); }
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row .s-desc { display: none; }
  .value-row { grid-template-columns: 1fr; gap: 10px; }
  .wstep { flex-basis: 50%; border-top: 1px solid var(--line); }

  /* maison cards: taller, more cinematic */
  .maison img { height: clamp(380px, 62vw, 480px); }
  .maison .m-body { left: 20px; right: 20px; bottom: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .maison .m-price { text-align: left; }
  .maison .m-media::after { background: linear-gradient(180deg, transparent 30%, rgba(12,10,8,0.85) 100%); }

  .method-row { padding: 26px 0; }
  .method-row:hover { padding-left: 0; }
  .ed-split { gap: 34px; }
  .media-frame img { height: clamp(300px, 72vw, 420px); }
  .tier { padding: 40px 26px; }
  .marquee-track span { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════════
   Footer minimale — homepage di progetto (pre-lancio)
   ════════════════════════════════════════════════════════════ */
.footer-mini { border-top: 1px solid var(--line); padding: 32px 0; background: var(--bg-2); }
.footer-mini .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-mini .fm-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-mini .fm-brand .brand-name { font-family: var(--brand-font); font-size: 16px; letter-spacing: 0.28em; color: var(--ivory); }
.footer-mini .fm-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-mini .fm-links a { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); transition: color 0.3s; }
.footer-mini .fm-links a:hover { color: var(--gold-2); }
.footer-mini .fm-copy { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 720px) {
  .footer-mini .container { flex-direction: column; align-items: flex-start; }
}

/* ── sezione spazio: griglia 4 card riusata dal linguaggio "maison" ── */
.space-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.space-card { position: relative; overflow: hidden; display: block; }
.space-card.span-7 { grid-column: span 7; }
.space-card.span-5 { grid-column: span 5; }
.space-card .sc-media { position: relative; overflow: hidden; }
.space-card .sc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,10,8,0.72) 100%); z-index: 1; }
.space-card img {
  width: 100%; height: clamp(300px, 34vw, 460px); object-fit: cover;
  filter: saturate(0.7) contrast(1.05) brightness(0.72) sepia(0.16);
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s;
}
.space-card:hover img { transform: scale(1.06); filter: saturate(0.85) contrast(1.06) brightness(0.82) sepia(0.1); }
.space-card .sc-tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ivory);
  padding: 9px 16px; border: 1px solid rgba(237,228,211,0.32); backdrop-filter: blur(6px); background: rgba(12,10,8,0.25);
}
.space-card .sc-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.space-card .sc-name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); color: var(--ivory); line-height: 1.1; }
.space-card .sc-desc { margin-top: 8px; font-size: 12.5px; color: var(--muted); max-width: 34ch; }
@media (max-width: 1080px) { .space-card.span-7, .space-card.span-5 { grid-column: span 12; } }
