/* ============================================
   LO SCARABOCCHIO — Minimal Dark · Glass + Shadow
   No borders. Soft elevation. Subtle glass surfaces.
   ============================================ */

/* Brand display font for "Lo Scarabocchio" wordmark */
@font-face {
  font-family: 'The Coastal';
  src: url('fonts/TheCoastal-Regular.woff2') format('woff2'),
       url('fonts/TheCoastal-Regular.woff') format('woff'),
       url('fonts/TheCoastal-Regular.otf') format('opentype'),
       url('fonts/TheCoastal-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette — teal + gold (from brand sheet) */
  --bg: #2C5260;           /* visibly matches pantone R51 G93 B105 once rendered */
  --bg-2: #244752;         /* slightly darker for sections */
  --bg-3: #366170;         /* slightly lifted */
  --bg-deep: #1B3741;      /* deeper teal for trust/info sections */
  --ink: #f5efde;          /* warm cream off-white */
  --ink-2: #d6ceb8;        /* AA pass on teal */
  --ink-soft: #a8a290;     /* AA pass */
  --ink-mute: #7a7567;     /* AA-large */
  --accent: #E3B21F;       /* R227 G178 B31 — exact brand gold */
  --accent-soft: #efc44a;
  --accent-deep: #b5891a;

  /* Spacing scale — section/component/element rhythm */
  --space-section: 7rem;
  --space-section-sm: 5rem;
  --space-component: 4rem;

  /* Hover tokens — every card uses same physics */
  --lift: -5px;
  --lift-strong: -7px;

  /* Modular type scale (1.250 ratio) */
  --text-xs:  0.72rem;
  --text-sm:  0.85rem;
  --text-base: 1rem;
  --text-lg:  1.25rem;
  --text-xl:  1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;
  --text-5xl: 3.815rem;

  /* Tracking */
  --track-tight: -0.02em;
  --track-base: 0;
  --track-wide: 0.16em;

  /* Focus ring */
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(255,255,255,0.7);

  --glass: rgba(255, 255, 255, 0.04);
  --glass-hi: rgba(255, 255, 255, 0.10);
  --glass-edge: rgba(255, 255, 255, 0.14);

  --shadow-1: 0 4px 16px -4px rgba(0,0,0,0.45), 0 2px 6px -2px rgba(0,0,0,0.30);
  --shadow-2: 0 20px 40px -12px rgba(0,0,0,0.55), 0 8px 18px -6px rgba(0,0,0,0.35);
  --shadow-3: 0 30px 60px -15px rgba(0,0,0,0.65), 0 12px 24px -8px rgba(0,0,0,0.45);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.06);

  --radius: 0;
  --radius-lg: 0;

  --font: 'Montserrat', system-ui, -apple-system, sans-serif;

  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  text-wrap: pretty;
}

h1, h2, h3, h4, .hero__title, .display, .artist-row__name, .artist-page__name { text-wrap: balance; }

/* Focus visible (a11y) */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: inherit;
}
.btn:focus-visible,
.nav__cta:focus-visible,
.nav__links a:focus-visible,
.filter:focus-visible,
.artist-card:focus-visible,
.work:focus-visible,
.archive__item:focus-visible { box-shadow: var(--focus-ring); }

/* ============== CUSTOM CURSOR (minimal dot, only on desktop) ============== */

.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  mix-blend-mode: difference;
  display: none;
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (pointer: fine) and (min-width: 901px) {
  .cursor-dot { display: block; }
}

.cursor-dot.is-hover {
  width: 18px;
  height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none !important; }
}

/* Scroll progress bar (top of page) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, transparent, var(--ink) 20%, var(--ink) 100%);
  z-index: 110;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  z-index: 9999;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Ambient atmosphere — minimal so brand teal stays clean */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(227, 178, 31, 0.025), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(15, 40, 55, 0.35), transparent 60%);
}

/* Global film grain overlay — adds tactility (ink/skin feel) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0.04; }
}

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

::selection { background: var(--ink); color: var(--bg); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ============== TYPOGRAPHY ============== */

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.display {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 800px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink-soft);
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.6;
}

.section-head { margin-bottom: 4rem; max-width: 800px; }

.section-head__sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-top: 1.5rem;
  max-width: 600px;
  line-height: 1.55;
}

/* ============== BUTTONS / LINKS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.btn span { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover span { transform: translateX(3px); }

.btn--outline {
  background: var(--glass);
  color: var(--ink);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-1), var(--shadow-inset);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-2);
}

.btn--solid {
  background: var(--ink);
  color: var(--bg);
  box-shadow:
    var(--shadow-2),
    0 0 0 0 rgba(246, 243, 236, 0);
  transition: all 0.3s var(--ease);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-3),
    0 0 30px -4px rgba(246, 243, 236, 0.18);
}

.btn--full { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: gap 0.3s var(--ease);
}

.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.22);
  transition: background 0.3s;
}

.link-arrow:hover { gap: 1rem; }
.link-arrow:hover::after { background: var(--ink); }

.link-arrow__icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .link-arrow__icon { transform: translateX(3px); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 3rem;
  transition: color 0.3s, gap 0.3s var(--ease);
}

.back-link:hover { color: var(--ink); gap: 0.65rem; }

/* ============== NAV ============== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(28, 28, 30, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: padding 0.3s var(--ease);
}

.nav.is-scrolled .nav__inner { padding-top: 1rem; padding-bottom: 1rem; }

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav__logo-text {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .nav__logo-img { height: 40px; }
  .nav__logo-text { height: 30px; }
}

.nav__links {
  display: flex;
  gap: 2.25rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  background: var(--glass);
  color: var(--ink);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: var(--pad); right: var(--pad);
    flex-direction: column;
    background: rgba(35, 35, 38, 0.92);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    gap: 1rem;
    margin-top: 0.5rem;
  }
}

/* ============== HERO (split: copy + card) ============== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 5rem;
  contain: layout style;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url('images/pattern-hero.jpg');
  background-size: 1500px auto;
  background-repeat: repeat;
  background-position: center;
}

/* Subtle darkening overlay — no color cast */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Keep hero content above the overlay */
.hero > .container,
.hero__aurora,
.hero__side,
.hero__scroll-cue { position: relative; z-index: 1; }

/* === Aurora ambient blobs === */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform;
}

.hero__aurora-blob--1 {
  width: 580px; height: 580px;
  top: -15%; left: -8%;
  background: radial-gradient(circle, rgba(227, 178, 31, 0.45) 0%, transparent 65%);
  animation: auroraFloat1 20s ease-in-out infinite;
}

.hero__aurora-blob--2 {
  width: 700px; height: 700px;
  bottom: -25%; right: -10%;
  background: radial-gradient(circle, rgba(20, 50, 65, 0.7) 0%, transparent 65%);
  animation: auroraFloat2 24s ease-in-out infinite;
}

.hero__aurora-blob--3 {
  width: 480px; height: 480px;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(70, 130, 150, 0.4) 0%, transparent 65%);
  animation: auroraFloat3 28s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes auroraFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, 80px) scale(1.1); }
  66%      { transform: translate(120px, -40px) scale(0.95); }
}

@keyframes auroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-80px, -50px) scale(1.05); }
}

@keyframes auroraFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50%      { transform: translate(-50%, -60px) scale(1.15); }
}

/* === Vertical sidetext === */
.hero__side {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform-origin: left center;
  transform: translateY(-50%) rotate(-90deg) translateX(50%);
  white-space: nowrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 2;
  pointer-events: none;
}

.hero__side::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  height: 1px;
  background: var(--ink-mute);
  margin-right: 0.85rem;
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .hero__side { display: none; }
}

/* === Scroll cue === */
.hero__scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  opacity: 0.75;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  animation: scrollCueFadeIn 1s ease 1.5s backwards;
}

.hero__scroll-cue:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

.hero__scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--ink-2));
  position: relative;
  overflow: hidden;
}

.hero__scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ink);
  animation: scrollCue 2.4s var(--ease) infinite;
}

@keyframes scrollCue {
  0%   { top: -50%; }
  100% { top: 100%; }
}

@keyframes scrollCueFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 0.75; transform: translateX(-50%) translateY(0); }
}

.hero__scroll-cue-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 600px) { .hero__scroll-cue { display: none; } }

/* === Big rotating headline (replaces inline rotate in lead) === */
.hero__big-rotate {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em;
  opacity: 0;
  animation: heroFadeIn 0.9s var(--ease) 0.45s forwards;
}

.hero__big-rotate-prefix { font-weight: 400; }

.hero__big-rotate-stage {
  display: inline-block;
  position: relative;
  height: 1.1em;
  min-width: 8ch;
  overflow: hidden;
  vertical-align: top;
}

.hero__big-rotate-item {
  position: absolute;
  top: 0; left: 0;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff 0%, #c4b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(110%);
  animation: bigRotate 12s infinite;
}

.hero__big-rotate-item:nth-child(1) { animation-delay: 0.5s; }
.hero__big-rotate-item:nth-child(2) { animation-delay: 3.5s; }
.hero__big-rotate-item:nth-child(3) { animation-delay: 6.5s; }
.hero__big-rotate-item:nth-child(4) { animation-delay: 9.5s; }

@keyframes bigRotate {
  0%   { opacity: 0; transform: translateY(110%); }
  4%   { opacity: 1; transform: translateY(0); }
  22%  { opacity: 1; transform: translateY(0); }
  26%, 100% { opacity: 0; transform: translateY(-110%); }
}

.hero__phone-wrap {
  contain: layout;
  will-change: transform;
  position: relative;
}

.hero__phone-wrap {
  contain: layout;
  will-change: transform;
}

.hero-card { will-change: transform; }
.phone, .artist-card, .work, .archive__item, .review { contain: layout; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: end;
  width: 100%;
  position: relative;
  padding-top: 3rem;
}

/* Vertical hairline between hero copy and card column */
.hero__grid::before {
  content: '';
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: calc(52.4% - 0.5px);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), rgba(255,255,255,0.14), rgba(255,255,255,0.08), transparent);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero__grid::before { display: none; }
}

.hero__copy {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  padding: 0.55rem 1rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow-1), var(--shadow-inset);
}

.hero__meta-sep {
  width: 14px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.hero__title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 1.75rem;
  padding-top: 0.15em;
  padding-bottom: 0.15em;
  color: var(--ink);
}

/* Hero logo (rose icon) — transparent PNG, centered, no shadow */
.hero__logo {
  width: 130px;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: heroFadeIn 0.9s var(--ease) 0.05s forwards;
}

.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .hero__logo { width: 100px; margin-bottom: 1.25rem; }
}

/* Brand wordmark — image (white "Lo Scarabocchio · Tattoo Studio") */
.hero__wordmark {
  display: block;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 560px;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 0.2s forwards;
  padding: 0;
}

.hero__wordmark img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .hero__wordmark { max-width: 90%; margin-bottom: 1.5rem; }
}

.hero__lead {
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}

.hero__cta-btn {
  justify-content: center;
  padding: 1.2rem 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero__cta-link {
  position: relative;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 0.5rem 0;
  text-transform: none;
  transition: color 0.3s var(--ease);
}

.hero__cta-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.4s var(--ease), background 0.3s;
}

.hero__cta-link:hover {
  color: var(--ink);
}
.hero__cta-link:hover::after {
  transform: scaleX(1);
}

/* === Hero stats === */

.hero__stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.75rem;
  position: relative;
  opacity: 0.85;
}

.hero__stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__stat-num {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* === Phone wrapper === */

.hero__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
}

.hero__phone-wrap::before {
  content: '';
  position: absolute;
  inset: -8% -10%;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(ellipse 30% 80% at 30% 50%, rgba(80,140,255,0.04), transparent 70%),
    radial-gradient(ellipse 30% 80% at 70% 50%, rgba(255,140,80,0.03), transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(6px);
}

.hero__phone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  box-shadow: var(--shadow-1), var(--shadow-inset);
}

.hero__phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 8px rgba(255, 59, 59, 0.7);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* === Hero Card (replaces phone) === */

.hero-card {
  position: relative;
  width: clamp(260px, 28vw, 360px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.75),
    0 12px 30px -8px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.12);
  animation: phoneMountIn 1.4s var(--ease) 0.3s backwards;
  transform-origin: center;
  will-change: transform;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 44px 100px -20px rgba(0,0,0,0.85),
    0 18px 40px -10px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.hero-card__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-card__media video,
.hero-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1) contrast(1.05);
}

/* Periodic shine sweep — subtle ambient life */
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255,255,255,0.06) 48%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 52%,
    transparent 70%);
  pointer-events: none;
  transform: translateX(-110%);
  animation: cardShine 9s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes cardShine {
  0%, 88% { transform: translateX(-110%); }
  100%    { transform: translateX(110%); }
}

.hero-card__head {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 8px rgba(255, 59, 59, 0.7);
  animation: livePulse 2s infinite;
}

.hero-card__date {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-card__foot {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.hero-card__caption {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.3rem;
  letter-spacing: -0.015em;
}

.hero-card__sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-card__chevron {
  font-size: 1.5rem;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.hero-card:hover .hero-card__chevron {
  transform: translateX(6px);
}

@media (max-width: 1100px) {
  .hero-card { width: clamp(260px, 36vw, 340px); }
}

@media (max-width: 900px) {
  .hero-card { width: clamp(240px, 60vw, 320px); }
}

@media (max-width: 500px) {
  .hero-card { width: min(75vw, 320px); }
  .hero-card__caption { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; }
  .hero-card::after { animation: none; display: none; }
  .hero-card__dot { animation: none; }
}

/* === iPhone Pro mockup === */

.phone {
  position: relative;
  width: clamp(280px, 32vw, 400px);
  aspect-ratio: 9 / 19.5;
  border-radius: 54px;
  background:
    linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 25%, #0d0d0d 50%, #1a1a1a 75%, #2c2c2c 100%);
  padding: 10px;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.85),
    0 16px 40px -10px rgba(0,0,0,0.6),
    0 4px 10px rgba(0,0,0,0.4),
    inset 0 0 0 1.5px rgba(255,255,255,0.06),
    inset 0 2px 0 rgba(255,255,255,0.18),
    inset 0 -2px 0 rgba(255,255,255,0.04);
}

/* Side buttons (iPhone Pro: silent/action left, vol up/down left, power right) */
.phone__btn {
  position: absolute;
  background: linear-gradient(90deg, #0d0d0d 0%, #2a2a2a 50%, #0d0d0d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  z-index: 2;
}

.phone__btn--silent {
  top: 14%;
  left: -2px;
  width: 4px;
  height: 30px;
  border-radius: 2px 0 0 2px;
}

.phone__btn--vol-up {
  top: 22%;
  left: -2px;
  width: 4px;
  height: 56px;
  border-radius: 2px 0 0 2px;
}

.phone__btn--vol-down {
  top: 33%;
  left: -2px;
  width: 4px;
  height: 56px;
  border-radius: 2px 0 0 2px;
}

.phone__btn--power {
  top: 25%;
  right: -2px;
  width: 4px;
  height: 80px;
  border-radius: 0 2px 2px 0;
}

.phone__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #050505;
  box-shadow: inset 0 0 0 2px #050505;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #050505;
}

/* Dynamic Island */
.phone__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 32px;
  background: #050505;
  border-radius: 99px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 2px rgba(0,0,0,0.5);
}

.phone__camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #1a3550 0%, #0a1525 50%, #050505 100%);
  box-shadow:
    inset 0 0 1px rgba(80, 130, 200, 0.5),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.phone__topbar {
  position: absolute;
  top: 16px;
  left: 0; right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  height: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.phone__time { letter-spacing: -0.01em; min-width: 50px; }

.phone__icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}

.phone__home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  background: rgba(255,255,255,0.85);
  border-radius: 99px;
  z-index: 5;
}

/* === Phone microinteractions === */

/* Double-tap heart */
.phone__heart {
  position: absolute;
  top: 50%; left: 50%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 18px rgba(255, 80, 120, 0.6)) drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.phone__heart svg {
  width: 100%;
  height: 100%;
}

.phone__heart.is-active {
  animation: heartPop 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heartPop {
  0%   { transform: translate(-50%, -50%) scale(0) rotate(-12deg); opacity: 0; }
  18%  { transform: translate(-50%, -50%) scale(1.35) rotate(2deg); opacity: 1; }
  36%  { transform: translate(-50%, -50%) scale(0.95) rotate(0deg); opacity: 1; }
  60%  { transform: translate(-50%, -50%) scale(1.05) rotate(0deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5) rotate(8deg); opacity: 0; }
}

/* Live comments overlay */
.phone__comments {
  position: absolute;
  left: 14px;
  bottom: 90px;
  width: calc(100% - 80px);
  height: 100px;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.phone__comment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 5px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.66rem;
  color: #fff;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  animation: commentRise 4.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.phone__comment-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.45);
}

.phone__comment-name {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.phone__comment-text {
  opacity: 0.92;
  letter-spacing: 0;
  text-transform: none;
}

@keyframes commentRise {
  0%   { opacity: 0; transform: translateY(24px); }
  12%  { opacity: 1; transform: translateY(0); }
  78%  { opacity: 1; transform: translateY(-26px); }
  100% { opacity: 0; transform: translateY(-50px); }
}

@media (prefers-reduced-motion: reduce) {
  .phone__heart, .phone__comments { display: none; }
}

.phone__reel {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.phone__reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.95);
}

.phone__reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 14px 32px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 55%, rgba(0,0,0,0.9) 100%);
  color: #fff;
}

.phone__reel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone__reel-account {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone__reel-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7);
  padding: 2px;
  position: relative;
}

.phone__reel-avatar::after {
  content: 'L';
  position: absolute;
  inset: 2px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.phone__reel-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.phone__reel-follow {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.5);
}

.phone__reel-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.phone__reel-caption {
  flex: 1;
  font-size: 0.72rem;
  line-height: 1.4;
}

.phone__reel-caption p { margin-bottom: 2px; }

.phone__reel-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.phone__reel-actions span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
}

.phone__reel-actions em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 600;
}

.hero__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.4rem 0.9rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.hero__phone-link:hover {
  color: var(--ink);
  background: var(--glass-hi);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

@media (max-width: 1100px) {
  .hero__grid { gap: 3rem; }
  .phone { width: clamp(260px, 36vw, 340px); }
  .hero__stats { gap: 1.75rem; }
}

@media (max-width: 900px) {
  .hero { padding-top: 5.5rem; padding-bottom: 3rem; min-height: auto; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }
  .hero__copy { max-width: none; }
  .hero__phone-wrap { order: 2; }
  .phone { width: clamp(240px, 55vw, 300px); }
}

@media (max-width: 500px) {
  .hero { padding-top: 5rem; padding-bottom: 4rem; }
  .hero__title { margin-bottom: 1.25rem; }
  .hero__big-rotate { font-size: 1.5rem; margin-bottom: 1.25rem; }
  .hero__big-rotate-stage { min-width: 6ch; }
  .hero__lead { margin-bottom: 1.75rem; }
  .hero__cta { flex-direction: column; align-items: stretch; margin-bottom: 2.5rem; }
  .hero__cta .btn { justify-content: center; }
  .hero__stats { gap: 1.25rem; flex-wrap: wrap; }
  .hero__stat-num { font-size: 1.5rem; }
  .phone { width: min(72vw, 290px); }
  .phone__island { width: 92px; height: 28px; top: 10px; }
}

/* ============== STUDIO ============== */

/* Folio number — page-number style indicator on major sections */
.has-folio { position: relative; }

.has-folio::after {
  content: attr(data-folio);
  position: absolute;
  bottom: 1.25rem;
  right: var(--pad);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  pointer-events: none;
}

@media (max-width: 700px) { .has-folio::after { display: none; } }

.studio { padding: 7rem 0; }

.studio__head { margin-bottom: 4rem; max-width: 800px; }

.studio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value {
  padding: 2rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.4s var(--ease);
}

.value:hover {
  transform: translateY(var(--lift));
  background: var(--glass-hi);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.value__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.value h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.value p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .studio__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .studio__grid { grid-template-columns: 1fr; }
}

/* ============== ARTISTI INDEX (CARDS) ============== */

.artisti { padding: 7rem 0; }

.artisti__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.artist-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.5s var(--ease);
}

.artist-card:hover {
  transform: translateY(var(--lift-strong));
  background: var(--glass-hi);
  box-shadow: var(--shadow-3), var(--shadow-inset);
}

.artist-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c5260 0%, #1f4350 100%);
  overflow: hidden;
}

.artist-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.05), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(0,0,0,0.4), transparent 60%);
}

.artist-card__letter {
  font-family: var(--font);
  font-size: clamp(7rem, 14vw, 11rem);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.05em;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
  z-index: 1;
}

.artist-card:hover .artist-card__letter {
  color: rgba(255,255,255,0.13);
  transform: scale(1.05);
}

.artist-card__body {
  padding: 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artist-card__num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.artist-card__name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.artist-card__tag {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.artist-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-top: 1rem;
  transition: color 0.3s;
}

.artist-card:hover .artist-card__cta { color: var(--ink); }

.artist-card__arrow { transition: transform 0.3s var(--ease); }
.artist-card:hover .artist-card__arrow { transform: translateX(4px); }

@media (max-width: 1000px) {
  .artisti__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .artisti__cards { grid-template-columns: 1fr; }
}

/* ============== ARTIST PAGE ============== */

.artist-page { padding-top: 9rem; padding-bottom: 6rem; }

.artist-page__head { margin-bottom: 4rem; }

.artist-page__num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.artist-page__name {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 1rem;
}

.artist-page__styles {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}

.artist-page__main {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.portrait__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c5260 0%, #1f4350 100%);
  position: relative;
}

.portrait__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.06), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(0,0,0,0.4), transparent 60%);
}

.portrait__letter {
  font-family: var(--font);
  font-size: clamp(11rem, 22vw, 18rem);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.06em;
  z-index: 1;
}

.artist-page__quote {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  padding: 1.25rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  margin-bottom: 2rem;
}

.artist-page__bio {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.artist-page__facts {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-1), var(--shadow-inset);
}

.artist-page__facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  align-items: start;
  position: relative;
}

.artist-page__facts > div:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.artist-page__facts dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.18rem;
}

.artist-page__facts dd {
  color: var(--ink);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .artist-page__main { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============== WORKS CAROUSEL ============== */

.works { margin-top: 4rem; }

.works__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.works__head > span { color: var(--ink-soft); }
.works__count { color: var(--ink-mute); }

.works__wrap {
  position: relative;
  padding: 0;
}

.works__grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 4px 12px 4px; /* room for shadows */
}

.works__grid::-webkit-scrollbar { display: none; }

.works__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.works__nav:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-2);
}

.works__nav--prev { left: calc(-1 * var(--pad) + 0.4rem); }
.works__nav--next { right: calc(-1 * var(--pad) + 0.4rem); }

@media (max-width: 900px) {
  .works__nav { display: none; }
}

.work {
  display: flex;
  flex-direction: column;
  flex: 0 0 300px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.4s var(--ease);
}

.work:hover {
  transform: translateY(var(--lift));
  background: var(--glass-hi);
  box-shadow: var(--shadow-3), var(--shadow-inset);
}

.work__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #2c5260 0%, #1f4350 100%);
  overflow: hidden;
}

.work__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.04), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(0,0,0,0.4), transparent 60%);
}

/* tonal placeholders — neutral subtle variations */
.work__media[data-tone="bot1"]  { background: linear-gradient(135deg, #1c1c1c, #141414); }
.work__media[data-tone="bot2"]  { background: linear-gradient(180deg, #181818, #121212); }
.work__media[data-tone="bot3"]  { background: linear-gradient(45deg, #1d1d1d, #131313); }
.work__media[data-tone="bot4"]  { background: linear-gradient(135deg, #1a1a1a, #161616); }
.work__media[data-tone="bot5"]  { background: linear-gradient(180deg, #1c1c1c, #141414); }
.work__media[data-tone="bot6"]  { background: linear-gradient(135deg, #181818, #121212); }

.work__media[data-tone="real1"] { background: linear-gradient(135deg, #1c1c1c, #141414); }
.work__media[data-tone="real2"] { background: linear-gradient(180deg, #181818, #121212); }
.work__media[data-tone="real3"] { background: linear-gradient(45deg, #1d1d1d, #131313); }
.work__media[data-tone="real4"] { background: linear-gradient(135deg, #1a1a1a, #161616); }
.work__media[data-tone="real5"] { background: linear-gradient(180deg, #1c1c1c, #141414); }
.work__media[data-tone="real6"] { background: linear-gradient(135deg, #181818, #121212); }

.work__media[data-tone="trad1"] { background: linear-gradient(135deg, #1c1c1c, #141414); }
.work__media[data-tone="trad2"] { background: linear-gradient(180deg, #181818, #121212); }
.work__media[data-tone="trad3"] { background: linear-gradient(45deg, #1d1d1d, #131313); }
.work__media[data-tone="trad4"] { background: linear-gradient(135deg, #1a1a1a, #161616); }
.work__media[data-tone="trad5"] { background: linear-gradient(180deg, #1c1c1c, #141414); }
.work__media[data-tone="trad6"] { background: linear-gradient(135deg, #181818, #121212); }

.work__media[data-tone="ill1"]  { background: linear-gradient(135deg, #1c1c1c, #141414); }
.work__media[data-tone="ill2"]  { background: linear-gradient(180deg, #181818, #121212); }
.work__media[data-tone="ill3"]  { background: linear-gradient(45deg, #1d1d1d, #131313); }
.work__media[data-tone="ill4"]  { background: linear-gradient(135deg, #1a1a1a, #161616); }
.work__media[data-tone="ill5"]  { background: linear-gradient(180deg, #1c1c1c, #141414); }
.work__media[data-tone="ill6"]  { background: linear-gradient(135deg, #181818, #121212); }

.work figcaption {
  display: none;
}

.work__year {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.work__title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

@media (max-width: 900px) {
  .work { flex: 0 0 260px; }
}

@media (max-width: 520px) {
  .work { flex: 0 0 80%; }
}

/* ============== GALLERIA ARCHIVIO ============== */

.galleria { padding: 7rem 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter {
  padding: 0.6rem 1.2rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.filter:hover {
  background: var(--glass-hi);
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-2);
}

.archive-wrap {
  position: relative;
  padding: 0 72px;
}

.archive {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 4px 12px 4px;
}

.archive::-webkit-scrollbar { display: none; }

.archive__item {
  flex: 0 0 280px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2c5260 0%, #1f4350 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.archive__item.is-hidden { display: none; }

.archive__item:hover {
  transform: translateY(var(--lift));
  background: var(--glass-hi);
  box-shadow: var(--shadow-3), var(--shadow-inset);
}

.archive__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.05), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(0,0,0,0.4), transparent 60%);
}

.archive__item[data-tone="bot1"]  { background: linear-gradient(135deg, #1c1c1c, #141414); }
.archive__item[data-tone="bot2"]  { background: linear-gradient(180deg, #181818, #121212); }
.archive__item[data-tone="bot4"]  { background: linear-gradient(135deg, #1a1a1a, #161616); }
.archive__item[data-tone="real2"] { background: linear-gradient(180deg, #181818, #121212); }
.archive__item[data-tone="real4"] { background: linear-gradient(135deg, #1a1a1a, #161616); }
.archive__item[data-tone="real5"] { background: linear-gradient(180deg, #1c1c1c, #141414); }
.archive__item[data-tone="trad1"] { background: linear-gradient(135deg, #1c1c1c, #141414); }
.archive__item[data-tone="trad3"] { background: linear-gradient(45deg, #1d1d1d, #131313); }
.archive__item[data-tone="trad5"] { background: linear-gradient(180deg, #1c1c1c, #141414); }
.archive__item[data-tone="ill1"]  { background: linear-gradient(135deg, #1c1c1c, #141414); }
.archive__item[data-tone="ill2"]  { background: linear-gradient(180deg, #181818, #121212); }
.archive__item[data-tone="ill4"]  { background: linear-gradient(135deg, #1a1a1a, #161616); }

.archive__item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(28,28,30,0.94), transparent);
  font-size: 0.78rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.archive__item:hover figcaption { opacity: 1; }

.archive__item figcaption span {
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.archive__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.archive__nav:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-2);
}

.archive__nav--prev { left: 0; }
.archive__nav--next { right: 0; }

@media (max-width: 600px) {
  .archive-wrap { padding: 0 48px; }
  .archive__nav { width: 36px; height: 36px; }
}

/* ============== PROCESSO ============== */

.processo { padding: 7rem 0; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.steps li {
  padding: 2rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.steps__bignum {
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(5.5rem, 9vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(246, 243, 236, 0.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
}

.steps li:hover .steps__bignum { color: rgba(246, 243, 236, 0.1); }

.steps__num,
.steps li h3,
.steps li p {
  position: relative;
  z-index: 1;
}

.steps li:hover {
  transform: translateY(var(--lift));
  background: var(--glass-hi);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.steps__num {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.steps h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* ============== CONTATTI ============== */

.contatti {
  padding: 7rem 0;
  background: var(--bg-deep);
  position: relative;
}
.contatti::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,243,236,0.08), transparent);
}

.contatti__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contatti__list {
  margin: 2rem 0 2.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow-1), var(--shadow-inset);
}

.contatti__list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  align-items: start;
  position: relative;
}

.contatti__list > div:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.contatti__list dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.18rem;
}

.contatti__list dd {
  color: var(--ink);
  font-size: 0.95rem;
}

.contatti__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contatti__social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contatti__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.contatti__social a:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.contatti__form {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.contatti__form h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contatti__form-sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.contatti__form label {
  display: block;
  margin-bottom: 1.25rem;
}

.contatti__form span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.contatti__form input,
.contatti__form select,
.contatti__form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  padding: 0.85rem 1rem;
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: box-shadow 0.3s, background 0.3s;
}

.contatti__form input::placeholder,
.contatti__form textarea::placeholder { color: var(--ink-mute); }

.contatti__form input:focus,
.contatti__form select:focus,
.contatti__form textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

.contatti__form select option { background: #181818; color: var(--ink); }
.contatti__form textarea { resize: vertical; }

.form__feedback {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s;
}

.form__feedback.is-visible { opacity: 1; }

@media (max-width: 900px) {
  .contatti__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contatti__form { padding: 2rem; }
}

/* ============== FOOTER ============== */

.footer { padding: 5rem 0 2rem; }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Newsletter */
.footer__news-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--ink);
  max-width: 480px;
}

.footer__news-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  max-width: 460px;
}

.footer__news-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  align-items: stretch;
}

.footer__news-form input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), var(--shadow-1);
  transition: box-shadow 0.3s, background 0.3s;
}

.footer__news-form input::placeholder { color: var(--ink-mute); }

.footer__news-form input:focus {
  outline: none;
  background: var(--glass-hi);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), var(--shadow-1);
}

.footer__news-form button { flex-shrink: 0; }

/* Artists in footer */
.footer__artists { padding-left: 1rem; }

.footer__artist-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}

.footer__artist {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.85rem 0.55rem 0.5rem;
  width: max-content;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.3s var(--ease);
}

.footer__artist:hover {
  transform: translateX(4px);
  background: var(--glass-hi);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.footer__artist-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.footer__artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.9);
}

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  .footer__artists { padding-left: 0; }
}

@media (max-width: 500px) {
  .footer__news-form { flex-direction: column; }
  .footer__news-form button { justify-content: center; }
}

.footer__brand {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 3rem;
  color: var(--ink);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  position: relative;
}

.footer__cols::before,
.footer__cols::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
}

.footer__cols::before { top: 0; }
.footer__cols::after { bottom: 0; }

.footer__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.footer__cols p {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer__cols a {
  transition: color 0.25s var(--ease);
}
.footer__cols a:hover { color: var(--accent-soft); }

.footer__copy {
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--ink-mute);
}

@media (max-width: 700px) {
  .footer__cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============== IMG LIGHTEN (per immagini scure) ============== */

.img--lighten,
img.img--lighten {
  filter: brightness(1.22) contrast(0.94) saturate(1.05) !important;
}

.artist-card:hover .img--lighten,
.artist-row__media:hover .img--lighten,
.footer__artist:hover .img--lighten {
  filter: brightness(1.32) contrast(0.96) saturate(1.1) !important;
}

/* ============== IMAGES IN MEDIA SLOTS ============== */

.artist-card__media,
.work__media,
.portrait__inner,
.archive__item {
  position: relative;
}

.artist-card__media img,
.work__media img,
.portrait__inner img,
.archive__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.85) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  z-index: 1;
}

.artist-card:hover .artist-card__media img,
.work:hover .work__media img,
.archive__item:hover > img {
  transform: scale(1.06);
  filter: brightness(0.92) saturate(0.95) contrast(1.05);
}

.artist-card__letter,
.work__media + figcaption + .work__letter,
.portrait__letter { position: relative; z-index: 0; }

/* When image is present, hide the placeholder letter */
.artist-card__media:has(img) .artist-card__letter,
.portrait__inner:has(img) .portrait__letter { display: none; }

/* ============== HERO ROTATING TEXT ============== */

.hero__rotate {
  display: inline-block;
  position: relative;
  min-width: 7ch;
}

.hero__rotate-item {
  display: inline-block;
  background: linear-gradient(135deg, var(--ink) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
  animation: rotateText 12s infinite;
  position: absolute;
  left: 0;
  white-space: nowrap;
  opacity: 0;
}

.hero__rotate-item:nth-child(1) { animation-delay: 0s; }
.hero__rotate-item:nth-child(2) { animation-delay: 3s; }
.hero__rotate-item:nth-child(3) { animation-delay: 6s; }
.hero__rotate-item:nth-child(4) { animation-delay: 9s; }

@keyframes rotateText {
  0%, 22%   { opacity: 1; transform: translateY(0); }
  25%, 100% { opacity: 0; transform: translateY(-12px); }
}

/* ============== OPERE — sezione per ogni artista ============== */

.opere {
  padding: 7rem 0 3rem;
}

.opere .section-head {
  margin: 0 auto 6rem;
  max-width: 920px;
  text-align: center;
  position: relative;
}

.section-head--featured {
  padding-top: 1rem;
}

.section-head__ornament {
  display: block;
  margin: 0 auto 2rem;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 24px rgba(227, 178, 31, 0.35));
  animation: ornamentFloat 6s ease-in-out infinite;
}

.section-head__ornament img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes ornamentFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

.opere .section-head .eyebrow {
  justify-content: center;
  color: var(--ink-soft);
}

.opere .section-head .eyebrow::before,
.opere .section-head .eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--ink-soft);
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.45;
}

.opere .section-head .display {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  max-width: none;
  margin: 0 auto;
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1;
}

.section-head__accent {
  font-family: var(--font);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  padding-right: 0.05em;
}

.opere .section-head__sub {
  margin: 2rem auto 0;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 640px;
  color: var(--ink-2);
}

.opere .section-head__sub::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .section-head__ornament { width: 48px; height: 48px; margin-bottom: 1.5rem; }
  .opere .section-head__sub br { display: none; }
}

.artist-row {
  padding: 6rem 0 5rem;
  position: relative;
  isolation: isolate;
}

/* Each section uses one of the artist's works as bg, darkened so content stays in focus */
.artist-row {
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Mood tints saturati: ogni sezione ha un cast cromatico distintivo */
.artist-row[data-mood="botanical"] {
  background-image:
    linear-gradient(165deg, rgba(8, 42, 35, 0.78) 0%, rgba(6, 26, 28, 0.94) 100%),
    url('images/francesca.jpg');
}
.artist-row[data-mood="realistic"] {
  background-image:
    linear-gradient(165deg, rgba(8, 16, 28, 0.82) 0%, rgba(4, 10, 20, 0.96) 100%),
    url('images/michela.jpg');
}
.artist-row[data-mood="traditional"] {
  background-image:
    linear-gradient(165deg, rgba(48, 28, 8, 0.78) 0%, rgba(28, 16, 6, 0.94) 100%),
    url('images/giorgio.jpg');
}
.artist-row[data-mood="color"] {
  background-image:
    linear-gradient(165deg, rgba(42, 12, 40, 0.78) 0%, rgba(24, 8, 30, 0.94) 100%),
    url('images/micky.jpg');
}

/* Sottile alone cromatico aggiuntivo via ::before per amplificare il mood */
.artist-row::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: color;
}
.artist-row[data-mood="botanical"]::before { background: radial-gradient(ellipse at 20% 30%, rgba(40, 130, 80, 0.5), transparent 60%); }
.artist-row[data-mood="realistic"]::before { background: radial-gradient(ellipse at 80% 30%, rgba(70, 100, 145, 0.45), transparent 60%); }
.artist-row[data-mood="traditional"]::before { background: radial-gradient(ellipse at 20% 30%, rgba(200, 140, 40, 0.42), transparent 60%); }
.artist-row[data-mood="color"]::before { background: radial-gradient(ellipse at 80% 30%, rgba(200, 60, 150, 0.42), transparent 60%); }

/* Vignette overlay to push focus to center */
.artist-row > .container {
  position: relative;
  z-index: 1;
}

.artist-row:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 30%, 320px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
}

.artist-row__main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.artist-row--reverse .artist-row__main {
  grid-template-columns: 1.2fr 1fr;
}

.artist-row--reverse .artist-row__media {
  order: 2;
}

.artist-row--reverse .artist-row__info {
  order: 1;
}

.artist-row--reverse .artist-row__info {
  text-align: right;
  margin-left: auto;
}

.artist-row--reverse .artist-row__more,
.artist-row--reverse .artist-row__cta {
  margin-left: auto;
}

.artist-row__cta {
  margin-top: 0.5rem;
}

.artist-row__media {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: hidden;
  background: #1f4350;
  box-shadow: var(--shadow-2), var(--shadow-inset);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  position: relative;
}

.artist-row__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}

/* Big italic initial letter watermark on the photo */
.artist-row__media::before {
  content: attr(data-letter);
  position: absolute;
  bottom: -0.15em;
  right: 0.4rem;
  font-family: var(--font);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(8rem, 14vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(246, 243, 236, 0.16);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.6s var(--ease), color 0.4s var(--ease);
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
  user-select: none;
}

.artist-row__media:hover::before {
  transform: translate(-8px, -8px);
  color: rgba(246, 243, 236, 0.26);
}

.artist-row__media:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3), var(--shadow-inset);
}

.artist-row__media:hover::after { opacity: 0.45; }

.artist-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.9) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.5s;
}

.artist-row__media:hover img {
  transform: scale(1.06);
  filter: brightness(0.96) saturate(1.05) contrast(1.05);
}

.artist-row__info { max-width: 620px; }

.artist-row__num { display: none; }

.artist-row__name {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.artist-row__name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 2px;
  background: linear-gradient(to right, var(--ink) 0%, var(--ink-soft) 60%, transparent 100%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}

.artist-row__main.is-visible .artist-row__name::after { transform: scaleX(1); }

.artist-row--reverse .artist-row__name { display: block; text-align: right; }
.artist-row--reverse .artist-row__name::after {
  left: auto;
  right: 0;
  background: linear-gradient(to left, var(--ink) 0%, var(--ink-soft) 60%, transparent 100%);
  transform-origin: right;
}

/* Style tag pills */
.artist-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.artist-row__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.35s var(--ease);
}

.artist-row__tag:hover {
  background: var(--glass-hi);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.artist-row--reverse .artist-row__tags { justify-content: flex-end; }

/* Stats row */
.artist-row__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin: 0 0 2rem;
  padding-top: 1.25rem;
  position: relative;
}

.artist-row__stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.5;
}

.artist-row--reverse .artist-row__stats { justify-content: flex-end; }
.artist-row--reverse .artist-row__stats::before { left: auto; right: 0; }

.artist-row__stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.artist-row__stats dt {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.artist-row__stats dd {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.artist-row__bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.artist-row__more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.45rem 0;
  position: relative;
  transition: color 0.3s, gap 0.3s var(--ease);
}

.artist-row__more::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.18);
  transition: background 0.3s;
}

.artist-row__more:hover { color: var(--ink); gap: 0.9rem; }
.artist-row__more:hover::after { background: var(--ink); }
.artist-row__more span { transition: transform 0.3s var(--ease); }
.artist-row__more:hover span { transform: translateX(3px); }

@media (max-width: 800px) {
  .artist-row__main,
  .artist-row--reverse .artist-row__main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .artist-row__media,
  .artist-row--reverse .artist-row__media {
    width: 100%;
    max-width: 480px;
    order: 0;
  }
  .artist-row--reverse .artist-row__info {
    order: 0;
    text-align: left;
    margin-left: 0;
  }
  .artist-row--reverse .artist-row__more {
    margin-left: 0;
  }
}

/* ============== GALLERY — Masonry mosaic ============== */

.gallery {
  padding: 7rem 0;
  position: relative;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: #1f4350;
  cursor: zoom-in;
  margin: 0;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2), var(--shadow-inset);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3), var(--shadow-inset);
  z-index: 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.92) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(0.96) saturate(1.05) contrast(1.05);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}

.gallery__item:hover::after { opacity: 1; }

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--ink);
  pointer-events: none;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}

.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item figcaption .work__year {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.gallery__item figcaption .work__title {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .gallery__grid { grid-template-columns: 1fr; }
}

/* ============== BIG TYPOGRAPHY MOMENT ============== */

.big-moment {
  padding: 9rem 0;
  text-align: center;
  position: relative;
}

.big-moment::before,
.big-moment::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 20%, 200px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
}

.big-moment::before { top: 0; }
.big-moment::after  { bottom: 0; }

.big-moment__quote {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.big-moment__line {
  display: block;
}

.big-moment__line--accent {
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
}

.big-moment__sign {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 700px) {
  .big-moment { padding: 6rem 0; }
}

/* ============== TESTIMONIANZE ============== */

.reviews { padding: 7rem 0; }

.reviews .section-head {
  margin: 0 auto 3.5rem;
  max-width: 720px;
  text-align: center;
}
.reviews .section-head .eyebrow { justify-content: center; }
.reviews .section-head .eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink-soft);
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.6;
}

.reviews__rating {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(227, 178, 31, 0.25);
  border-radius: 999px;
}
.reviews__rating-stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.reviews__rating-score {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.reviews__rating-meta {
  font-size: 0.78rem;
  color: var(--ink-2);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.review {
  padding: 2rem 1.75rem;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.review:hover {
  transform: translateY(var(--lift));
  background: var(--glass-hi);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}

.review__stars {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.review__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 2rem;
  flex: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  position: relative;
}

.review__author::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.review__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-1);
}

.review__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.85);
}

.review__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.review__date {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

.reviews__cta {
  display: flex;
  justify-content: center;
}

/* ============== STUDIO (igiene & ambienti) — sezione invertita su cream ============== */

.studio {
  padding: 8rem 0 6rem;
  position: relative;
  background: var(--ink);
  color: var(--bg-deep);
}

/* Stacchi superiore e inferiore: gradient soft per passare a/dal teal */
.studio::before,
.studio::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.studio::before {
  top: -1px;
  background: linear-gradient(to bottom, var(--bg-deep), transparent);
  opacity: 0.5;
}
.studio::after {
  bottom: -1px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  opacity: 0.5;
}

.studio .section-head {
  margin: 0 auto 4rem;
  max-width: 760px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.studio .section-head .eyebrow {
  justify-content: center;
  color: var(--accent-deep);
}
.studio .section-head .eyebrow::before,
.studio .section-head .eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent-deep);
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.5;
}
.studio .section-head .display {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 auto;
  color: var(--bg-deep);
}
.studio .section-head__sub {
  color: rgba(27, 55, 65, 0.7);
}

.studio__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.8rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  height: 540px;
}

.studio__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  box-shadow: var(--shadow-1);
  transition: transform 0.5s var(--ease);
}

.studio__photo:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.studio__photo:nth-child(2) { grid-column: 2; grid-row: 1; }
.studio__photo:nth-child(3) { grid-column: 3; grid-row: 1; }
.studio__photo:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }

.studio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.92) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.studio__photo:hover {
  transform: translateY(-3px);
}
.studio__photo:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.05) contrast(1.05);
}

.studio__photo figcaption {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(27, 55, 65, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(246, 243, 236, 0.12);
}

.studio__facts {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.studio__facts li {
  padding: 2rem 1.5rem;
  background: rgba(27, 55, 65, 0.04);
  border: 1px solid rgba(27, 55, 65, 0.12);
  border-radius: 8px;
  box-shadow: 0 4px 14px -6px rgba(27, 55, 65, 0.12);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.studio__facts li:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 137, 26, 0.4);
  box-shadow: 0 8px 22px -8px rgba(27, 55, 65, 0.2);
}

.studio__fact-num {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.studio__facts h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--bg-deep);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.studio__facts p {
  font-size: 0.85rem;
  color: rgba(27, 55, 65, 0.7);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1000px) {
  .studio__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    height: 720px;
  }
  .studio__photo:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .studio__photo:nth-child(2) { grid-column: 1; grid-row: 2; }
  .studio__photo:nth-child(3) { grid-column: 2; grid-row: 2; }
  .studio__photo:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
  .studio__facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .studio__gallery { height: 560px; }
  .studio__facts { grid-template-columns: 1fr; }
}

/* ============== FAQ ============== */

.faq {
  padding: 7rem 0;
  background: var(--bg-deep);
  position: relative;
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,243,236,0.08), transparent);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq__item {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), var(--shadow-inset);
  overflow: hidden;
  transition: background 0.3s var(--ease);
}

.faq__item[open] { background: var(--glass-hi); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--ink-2);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__answer {
  padding: 0 1.75rem 1.5rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq__answer p + p { margin-top: 0.85rem; }


/* ============== MAP ============== */

.contatti__map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2), var(--shadow-inset);
  aspect-ratio: 16/10;
  background: #181818;
  position: relative;
}

.contatti__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.4) brightness(0.95);
}

/* ============== WHATSAPP FLOATING BUTTON ============== */

.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  background: var(--bg-deep);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(227, 178, 31, 0.35);
  box-shadow:
    0 14px 32px -10px rgba(0, 0, 0, 0.55),
    0 6px 14px -4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(246, 243, 236, 0.06);
  transition: all 0.3s var(--ease);
}

.wa-float:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 178, 31, 0.7);
  box-shadow:
    0 20px 44px -12px rgba(0, 0, 0, 0.6),
    0 10px 20px -6px rgba(227, 178, 31, 0.25),
    inset 0 1px 0 rgba(246, 243, 236, 0.08);
}

.wa-float__icon {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-float__icon svg { width: 100%; height: 100%; fill: var(--accent); transition: fill 0.3s var(--ease); }
.wa-float:hover .wa-float__icon svg { fill: var(--accent-soft); }

@media (max-width: 600px) {
  .wa-float { bottom: 1rem; right: 1rem; padding: 0.75rem; }
  .wa-float__label { display: none; }
  .wa-float__icon { width: 24px; height: 24px; }
}

/* ============== LIGHTBOX ============== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 17, 0.88);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox__inner {
  position: relative;
  max-width: min(90vw, 800px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.lightbox__image {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 75vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1f4350;
  box-shadow: var(--shadow-3), var(--shadow-inset);
}

.lightbox__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.lightbox__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0.5rem 0;
  color: var(--ink);
}

.lightbox__title {
  font-size: 0.95rem;
  font-weight: 500;
}

.lightbox__meta {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  transition: all 0.25s var(--ease);
}

.lightbox__close:hover {
  background: var(--ink);
  color: var(--bg);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 201;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.3);
  color: var(--ink);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2), var(--shadow-inset);
  transition: all 0.25s var(--ease);
}

.lightbox__nav:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

@media (max-width: 600px) {
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .lightbox__close { top: -2.5rem; }
}

/* Make work / archive items pointer-cursor when clickable */
.work, .archive__item { cursor: zoom-in; }

/* ============== PAGE TRANSITION ============== */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

body { animation: pageIn 0.5s var(--ease); }

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

/* ============== LINK UNDERLINE DRAW ============== */

.contatti__list a,
.footer__cols a,
.faq__answer a {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}

.contatti__list a::after,
.footer__cols a::after,
.faq__answer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.45s var(--ease);
}

.contatti__list a:hover::after,
.footer__cols a:hover::after,
.faq__answer a:hover::after {
  width: 100%;
}

.contatti__list a:hover,
.faq__answer a:hover {
  text-decoration: none;
  color: var(--accent-soft);
  transition: color 0.25s var(--ease);
}
.footer__cols a:hover { text-decoration: none; }

/* ============== FAQ SMOOTH REVEAL ============== */

.faq__item {
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.3s var(--ease);
}

.faq__item:hover {
  transform: translateX(4px);
  background: var(--glass-hi);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  padding: 0 1.75rem;
  transition: max-height 0.5s var(--ease),
              opacity 0.4s var(--ease) 0.05s,
              transform 0.4s var(--ease),
              padding 0.4s var(--ease);
}

.faq__item[open] .faq__answer {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  padding: 0 1.75rem 1.5rem;
}

.faq__item summary::after {
  transition: transform 0.4s var(--ease);
}

/* ============== IMAGE REVEAL ON SCROLL ============== */

.img-reveal {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}

.img-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============== NEWSLETTER FOCUS RIPPLE ============== */

.footer__news-form {
  position: relative;
}

.footer__news-form input {
  transition: box-shadow 0.4s var(--ease),
              background 0.4s var(--ease),
              padding 0.4s var(--ease);
}

.footer__news-form input:focus {
  padding-left: 1.4rem;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.4),
    0 0 0 4px rgba(255,255,255,0.06),
    var(--shadow-1);
}

/* ============== FILMSTRIP GATE HOVER ============== */

.filmstrip__gate {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.filmstrip:hover .filmstrip__gate {
  transform: scale(1.03);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.7),
    inset 0 0 0 2px rgba(255,255,255,0.12),
    0 24px 60px rgba(0,0,0,0.85),
    0 8px 20px rgba(0,0,0,0.6);
}

/* ============== VALUE CARDS — 3D TILT (extends artist-card pattern) ============== */

.value, .work, .review, .steps li {
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease),
              background 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
  will-change: transform;
}

/* ============== ARROW LINK CHAR FLIP (motion when text changes direction) ============== */

.link-arrow:hover .link-arrow__icon {
  transform: translateX(8px);
}

/* ============== STAT NUMBER GLOW DURING COUNT-UP ============== */

.hero__stat-num {
  transition: filter 0.6s var(--ease);
}

.hero__stat-num.is-counting {
  filter: blur(0.5px);
}

/* ============== STEPS NUMBER REVEAL ============== */

.steps li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.5s var(--ease);
}

.steps li {
  position: relative;
}

.steps li:hover::before {
  width: 100%;
}

/* ============== ARTIST ROW BIO HIGHLIGHT ============== */

.artist-row__media {
  transition: transform 0.6s var(--ease), box-shadow 0.5s var(--ease);
}

.artist-row__bio {
  transition: color 0.4s var(--ease);
}

/* ============== FILTERS PILL TRANSITION ============== */

.filter {
  transition: all 0.3s var(--ease), transform 0.3s var(--ease);
}

.filter:active {
  transform: scale(0.95);
}

/* ============== REVEAL ============== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }

/* ============== FILMSTRIP — Single gate · scrolling reel ============== */

.filmstrip {
  padding: 6rem 0;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.filmstrip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.filmstrip__head {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.filmstrip__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(420px, 60vh, 600px);
  overflow: hidden;
}

/* Scrolling pellicola behind the gate */
.filmstrip__belt {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: clamp(300px, 46vh, 460px);
  transform: translate(0, -50%);
  background:
    /* Top perforations */
    radial-gradient(ellipse 14px 9px at 28px 18px, #0a0a0a 70%, transparent 71%) 0 0 / 56px 36px repeat-x,
    /* Bottom perforations */
    radial-gradient(ellipse 14px 9px at 28px calc(100% - 18px), #0a0a0a 70%, transparent 71%) 0 100% / 56px 36px repeat-x,
    /* Vertical frame divider lines every 280px */
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent 278px,
      rgba(0,0,0,0.55) 278px,
      rgba(0,0,0,0.55) 280px),
    /* Film body — warm dark, like aged 35mm */
    linear-gradient(180deg, #1a1715 0%, #14110f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.6),
    inset 0 0 100px rgba(0,0,0,0.45);
  animation: beltScroll 22s linear infinite;
  will-change: transform;
}

@keyframes beltScroll {
  from { transform: translate(0, -50%); }
  to   { transform: translate(-50%, -50%); }
}

.filmstrip:hover .filmstrip__belt {
  animation-play-state: paused;
}

/* The gate — single visible frame, fixed in center */
.filmstrip__gate {
  position: relative;
  z-index: 2;
  width: clamp(280px, 30vw, 380px);
  aspect-ratio: 9 / 13;
  background: #050505;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.7),
    inset 0 0 0 2px rgba(255,255,255,0.06),
    0 16px 48px rgba(0,0,0,0.75),
    0 4px 12px rgba(0,0,0,0.5);
}

/* Subtle ring on the gate to suggest it IS one of the film frames */
.filmstrip__gate::after {
  content: '';
  position: absolute;
  inset: -3px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 30%, transparent 70%, rgba(0,0,0,0.5));
  pointer-events: none;
}

.filmstrip__gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

.filmstrip__gate video,
.filmstrip__gate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.08) saturate(0.95);
  display: block;
}

/* Film grain overlay */
.filmstrip__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: grainShift 0.5s steps(4) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-3%, 1%); }
  50%      { transform: translate(2%, -2%); }
  75%      { transform: translate(-1%, 2%); }
}

/* Edge fades */
.filmstrip__edge {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(80px, 18vw, 240px);
  z-index: 4;
  pointer-events: none;
}

.filmstrip__edge--left {
  left: 0;
  background: linear-gradient(to right, #0a0a0a 0%, rgba(10,10,10,0.85) 35%, rgba(10,10,10,0.4) 70%, transparent 100%);
}

.filmstrip__edge--right {
  right: 0;
  background: linear-gradient(to left, #0a0a0a 0%, rgba(10,10,10,0.85) 35%, rgba(10,10,10,0.4) 70%, transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
  .filmstrip__belt, .filmstrip__grain { animation: none; }
}

@media (max-width: 600px) {
  .filmstrip { padding: 4rem 0; }
  .filmstrip__head { margin-bottom: 2.5rem; }
  .filmstrip__container { height: 420px; }
  .filmstrip__belt { height: 320px; }
  .filmstrip__gate { width: 220px; }
}

/* ============== HERO TITLE STAGGER ============== */

.hero__title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
}

.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroTitleIn 1.1s var(--ease) forwards;
  will-change: transform, opacity;
}

.hero__title .word:nth-child(1) { animation-delay: 0.15s; }
.hero__title .word:nth-child(2) { animation-delay: 0.35s; }

@keyframes heroTitleIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lead, .hero__cta, .hero__stats, .hero__meta {
  opacity: 0;
  animation: heroFadeIn 0.9s var(--ease) forwards;
}

.hero__meta { animation-delay: 0.05s; }
.hero__lead { animation-delay: 0.55s; }
.hero__cta  { animation-delay: 0.7s; }
.hero__stats { animation-delay: 0.85s; }

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

/* Phone mount tilt */
.phone {
  animation: phoneMountIn 1.4s var(--ease) 0.3s backwards;
  transform-origin: center;
}

@keyframes phoneMountIn {
  0%   { opacity: 0; transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) translateY(20px); }
  100% { opacity: 1; transform: perspective(1200px) rotateY(0) rotateX(0) translateY(0); }
}

/* Reel video stack: dynamic playback */
.phone__reel-stack {
  position: absolute;
  inset: 0;
}

.phone__reel-stack video,
.phone__reel-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.phone__reel-stack video.is-active,
.phone__reel-stack img.is-active {
  opacity: 1;
}

.phone__reel-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
  opacity: 1;
  z-index: 0;
}

.phone__reel-stack:not(:empty) ~ .phone__reel-fallback {
  display: none;
}

/* ============== SCROLL STORYTELLING ============== */

.story {
  padding: 10rem 0;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.story__sticky {
  position: sticky;
  top: 35vh;
  width: 100%;
}

.story__manifesto {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.story__manifesto .word {
  display: inline-block;
  color: var(--ink-mute);
  transition: color 0.5s var(--ease), filter 0.5s var(--ease);
  margin-right: 0.3em;
  filter: blur(2px);
}

.story__manifesto .word.is-active {
  color: var(--ink);
  filter: blur(0);
}

/* ============== COOKIE BANNER ============== */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 95;
  max-width: 560px;
  width: calc(100% - 3rem);
  padding: 1.25rem 1.5rem;
  background: rgba(35, 35, 38, 0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-2), var(--shadow-inset);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  transition: transform 0.5s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__btn {
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}

.cookie-banner__btn:hover { transform: translateY(-1px); }

@media (max-width: 600px) {
  .cookie-banner { grid-template-columns: 1fr; bottom: 1rem; }
  .cookie-banner__btn { width: 100%; }
}

/* ============== WHATSAPP TEASER ============== */

.wa-float__teaser {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: max-content;
  max-width: 240px;
  padding: 0.8rem 1rem;
  background: rgba(35, 35, 38, 0.95);
  backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: var(--shadow-2), var(--shadow-inset);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

.wa-float__teaser::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: rgba(35, 35, 38, 0.95);
  transform: rotate(45deg);
}

.wa-float.is-teasing .wa-float__teaser {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============== ARTIST CARD 3D PARALLAX ============== */

.artist-card {
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), background 0.4s, box-shadow 0.4s;
  will-change: transform;
}

.artist-card__media,
.artist-card__body {
  transform: translateZ(0);
}

/* ============== ARCHIVE MULTI-FILTER ============== */

.filters-meta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.filters-count {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.archive__empty {
  font-size: 1rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.archive__empty-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 0.6rem 1.25rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow-1), var(--shadow-inset);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.archive__empty-reset:hover {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-2);
}

.filters-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.filters-row__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 0.5rem;
  min-width: 60px;
}

/* ============== FORM SUCCESS ANIMATION ============== */

.contatti__form { position: relative; }

.form__success {
  position: absolute;
  inset: 0;
  background: rgba(35, 35, 38, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 5;
}

.form__success.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.form__success-tick {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.form__success-tick svg {
  width: 50px;
  height: 50px;
  stroke: var(--ink);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

.form__success.is-visible .form__success-tick svg {
  animation: tickDraw 0.6s 0.2s var(--ease) forwards;
}

@keyframes tickDraw {
  to { stroke-dashoffset: 0; }
}

.form__success-msg {
  text-align: center;
}

.form__success-msg h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form__success-msg p {
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* ============== PRIVACY CHECKBOX ON FORM ============== */

.form__privacy {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.form__privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ink);
}

.form__privacy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============== I18N SWITCH ============== */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  background: var(--glass);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lang-switch button {
  padding: 0.2rem 0.45rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.lang-switch button.is-active {
  color: var(--ink);
  background: rgba(255,255,255,0.08);
}

@media (max-width: 880px) {
  .lang-switch { display: none; }
}

/* ============== PREFERS REDUCED MOTION ============== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero__title .word { opacity: 1 !important; transform: none !important; }
  .phone, .hero-card { animation: none !important; }
  .hero__phone-dot { animation: none !important; }
  .hero__big-rotate-item { animation: none !important; opacity: 1 !important; position: static !important; display: none !important; }
  .hero__big-rotate-item:first-child { display: inline !important; }
  .hero__aurora-blob, .hero__scroll-cue-line::after { animation: none !important; }
}

/* ============== EXTRA EFFECTS & ANIMATIONS ============== */

/* Smooth anchor scroll with offset for the sticky nav */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* Solid CTA buttons: gold shimmer sweep on hover */
.btn--solid {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--solid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.btn--solid:hover::before { left: 130%; }
.btn--solid > * { position: relative; z-index: 2; }

/* Outline buttons: gold border glow pulse on hover */
.btn--outline {
  position: relative;
  isolation: isolate;
}
.btn--outline::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.btn--outline:hover::after {
  opacity: 0.5;
  transform: scale(1.05);
}

/* Work cards: gold inner glow + sheen on hover */
.work {
  transition: transform 0.5s var(--ease);
}
.work:hover {
  transform: translateY(-4px);
}
.work__media {
  position: relative;
  overflow: hidden;
}
.work__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(227,178,31,0.18) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}
.work:hover .work__media::before { transform: translateX(110%); }
.work__media::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 transparent;
  pointer-events: none;
  transition: box-shadow 0.5s var(--ease);
  z-index: 2;
}
.work:hover .work__media::after {
  box-shadow: inset 0 0 60px rgba(227, 178, 31, 0.18);
}

.artist-row .artist-row__main {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.artist-row--reverse .artist-row__main {
  transform: translateX(40px);
}
.artist-row .artist-row__main.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Artist-row works carousel: float-in from below */
.artist-row .works {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s;
}
.artist-row .works.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle scroll-velocity tilt on artist-row__media (data attribute driven by JS) */
.artist-row__media {
  transition: transform 0.45s var(--ease), box-shadow 0.6s var(--ease);
}

/* Section heading: subtle gold underline draw on the eyebrow when in view */
.section-head.is-visible .eyebrow::before,
.section-head.is-visible .eyebrow::after {
  animation: eyebrowDraw 0.9s var(--ease) backwards;
}
@keyframes eyebrowDraw {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.45; }
}

/* Gentle floating gold sparkle for hero ornament group (already animated) */
@keyframes goldPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
