/* ==========================================================================
   Claudia Platinetti — one-page portfolio
   OWN-WORLD: warm ink-white ground, near-black type, antique gold as the
   signature accent (foil, framing, dividers), forest green + dusty rose as
   quiet botanical accents pulled straight from the artist's own logo mark.
   Display: Bodoni Moda (fashion-editorial serif, her Versace/CK/Tod's
   background earns it). Body/UI: Archivo (quiet grotesk, gets out of the way).
   ========================================================================== */

:root {
  --bianco: #fcfbf8;
  --bianco-deep: #f4f1ea;
  --nero: #14120f;
  --nero-soft: #2b2723;
  --oro: #a9813f;
  --oro-light: #d8bd86;
  --oro-deep: #7c5f30;
  --verde: #24463a;
  --verde-soft: #4c6357;
  --rosa: #c96f6b;
  --rosa-soft: #e0a6a2;

  --bg: var(--bianco);
  --ink: var(--nero);
  --ink-soft: var(--nero-soft);
  --accent: var(--oro);

  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --measure: 68ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--oro); color: var(--bianco); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- reveal-on-scroll (text: fade + rise; images: fade + soft scale) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-img {
  opacity: 0;
  transform: translateY(16px) scale(1.035);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal-img.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ---- skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--nero); color: var(--bianco); padding: 0.75em 1.25em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ==================== NAV ==================== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.4s var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(252, 251, 248, 0.86);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 1px 0 rgba(20, 18, 15, 0.08);
  padding-block: 0.7rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 58px; height: 58px; transition: filter 0.4s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease); }
.site-nav.is-scrolled .brand img { width: 46px; height: 46px; }
.site-nav:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
.nav-links a {
  text-decoration: none; font-size: 0.86rem; letter-spacing: 0.04em;
  text-transform: uppercase; position: relative; padding-bottom: 2px;
  color: var(--ink);
}
.site-nav:not(.is-scrolled) .nav-links a { color: var(--bianco); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: currentColor; transition: right 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }

.lang-toggle {
  display: inline-flex; border: 1px solid currentColor; border-radius: 999px;
  overflow: hidden; font-size: 0.78rem; letter-spacing: 0.05em;
}
.lang-toggle button {
  background: none; border: none; color: inherit; font: inherit; cursor: pointer;
  padding: 0.4em 0.9em; opacity: 0.55; transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-toggle button[aria-pressed="true"] { opacity: 1; }
.site-nav.is-scrolled .lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bianco); border-radius: 999px; }
.site-nav:not(.is-scrolled) .lang-toggle button[aria-pressed="true"] { background: var(--bianco); color: var(--ink); border-radius: 999px; }
.site-nav:not(.is-scrolled) .lang-toggle { color: var(--bianco); }

.nav-toggle-mobile { display: none; }

/* ==================== HERO ==================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--bianco); overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%;
  transform: scale(1.06);
  animation: heroKenBurns 4s var(--ease) forwards;
  /* position+z-index required here: a plain static (unpositioned) <img>
     paints in front of ANY negative-z-index positioned sibling no matter
     what z-index that sibling has — CSS stacking groups static in-flow
     content above negative-z-index descendants regardless of the number.
     That was silently making .hero-media::after and .hero-veil (both
     z-index:-1) paint BEHIND this image, i.e. fully invisible — confirmed
     by swapping the scrim to solid opaque red and finding no red painted
     anywhere. Giving the image an explicit position + z-index:0 moves it
     into the normal stacked-by-z-index category so the scrim/veil above
     it (z-index 1/2) actually render on top, as intended. */
  position: relative; z-index: 0;
}
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  /* text scrim: now that the stacking fix above actually lets this
     render (it silently painted behind the photo before), the earlier
     opacity values turned out to be drastically too strong once visible
     — the painting was barely readable. Pulled back hard: a moderate
     dark field concentrated behind the title/lede/CTA column, tapering
     out well before the far right so the artwork stays clearly the
     focus. Axis-aligned (0deg/90deg) so the stop percentages map
     predictably to real coverage. */
  background:
    linear-gradient(0deg, rgba(16,12,9,0.82) 0%, rgba(16,12,9,0.72) 26%, rgba(16,12,9,0.54) 42%, rgba(16,12,9,0.3) 56%, rgba(16,12,9,0.12) 70%, transparent 82%),
    linear-gradient(90deg, rgba(16,12,9,0.76) 0%, rgba(16,12,9,0.64) 26%, rgba(16,12,9,0.46) 44%, rgba(16,12,9,0.24) 60%, rgba(16,12,9,0.08) 74%, transparent 86%);
}
/* extra veil: hero opens slightly darker, then lightens as the visitor
   starts scrolling — reveal-in-reverse, keeping the painting for later.
   Kept light now that the scrim above actually renders and carries most
   of the contrast — this is just a faint overall lift, not the fix. */
.hero-veil {
  position: absolute; inset: 0; z-index: 2; background: var(--nero);
  opacity: calc(0.14 * var(--veil, 1));
}
@media (prefers-reduced-motion: reduce) {
  .hero-veil { opacity: 0.1; }
}
.hero-inner {
  position: relative; width: 100%; padding-block: clamp(3rem, 10vh, 6rem);
}
/* hero entrance stagger: wider gaps than the generic scroll-reveal
   delays so logo -> title -> lede -> CTAs reads as a deliberate sequence,
   not a simultaneous fade. Scoped to .hero so section scroll-reveals
   elsewhere keep their own shorter timing. */
.hero .reveal-delay-1 { transition-delay: 0.2s; }
.hero .reveal-delay-2 { transition-delay: 0.4s; }
.hero .reveal-delay-3 { transition-delay: 0.6s; }

/* ---- hero crest: the full-colour logo mark, centred, opening the page ----
   Centred on the viewport (not the content container): absolute on .hero
   with left:50% + a horizontal translate, independent of nav/content width.
   Sized as an unmistakable poster mark (180-220px), not a small badge.
   Visibility is NOT gated behind any JS-added class or IntersectionObserver
   — it is opacity:1 by default in plain CSS, so it is guaranteed visible
   even if main.js is slow, blocked, or throws. The only animation is a
   pure-CSS @keyframes that runs automatically on paint (no class toggle
   needed) and settles to its resting state on its own. */
.hero-crest {
  position: absolute; top: clamp(6.5rem, 14vh, 8.75rem); left: 50%;
  translate: -50% 0; /* centring kept separate from the entrance `transform` */
  display: flex; align-items: center; justify-content: center;
  width: clamp(180px, 15vw, 220px); height: clamp(180px, 15vw, 220px);
  z-index: 3; pointer-events: none;
  opacity: 1;
  animation: crestEnter 0.7s var(--ease) both;
}
@keyframes crestEnter {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-crest { animation: none; opacity: 1; transform: none; }
}
.hero-crest-glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,251,248,0.55) 0%, rgba(252,251,248,0.22) 48%, transparent 74%);
  filter: blur(3px);
}
.hero-crest img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(20,18,15,0.55));
  animation: crestBreathe 7s var(--ease) 0.9s infinite;
}
@keyframes crestBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.028); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-crest img { animation: none; }
}
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6rem); line-height: 0.98; margin-bottom: 1.1rem;
  max-width: 14ch;
  /* tight contact shadow (catches thin-serif edges over stray bright
     highlights the scrim can't reach without over-darkening) plus the
     original soft diffuse lift — scrim stays the primary fix, this is
     just insurance for isolated hotspots. */
  text-shadow: 0 1px 3px rgba(20,18,15,0.65), 0 2px 24px rgba(20,18,15,0.5);
  transition: text-shadow 0.5s var(--ease);
}
.hero h1:hover {
  text-shadow: 0 0 14px rgba(216,189,134,0.85), 0 0 34px rgba(216,189,134,0.55), 0 1px 3px rgba(20,18,15,0.65), 0 2px 24px rgba(20,18,15,0.5);
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 { transition: none; }
}
.hero p.lede {
  max-width: 46ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 400;
  color: rgba(252,251,248,0.96); margin-bottom: 2.2rem;
  text-shadow: 0 1px 16px rgba(20,18,15,0.55);
}
.hero-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

/* secondary CTA needs its own legibility over the photo: a soft filled
   backdrop plus a brighter border, not border-only. */
.hero-actions .btn-ghost {
  background: rgba(20,18,15,0.36);
  border-color: rgba(252,251,248,0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-actions .btn-ghost:hover, .hero-actions .btn-ghost:focus-visible {
  background: rgba(252,251,248,0.95); color: var(--nero); border-color: var(--bianco);
}

@media (max-width: 640px) {
  .hero-crest { top: clamp(4.75rem, 13vh, 6rem); width: clamp(120px, 32vw, 145px); height: clamp(120px, 32vw, 145px); }
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; padding: 0.95em 1.9em; border-radius: 999px;
  border: 1px solid var(--oro-light); color: var(--bianco);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--oro-light); color: var(--nero); border-color: var(--oro-light); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(252,251,248,0.55); color: var(--bianco);
  font-size: 0.82rem; letter-spacing: 0.04em;
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(252,251,248,0.12); color: var(--bianco); border-color: var(--bianco); }
.btn-dark { border-color: var(--nero); color: var(--nero); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--nero); color: var(--bianco); }

.scroll-cue {
  position: absolute; right: clamp(1.25rem, 4vw, 2.5rem); bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(252,251,248,0.75);
}
.scroll-cue .line { width: 1px; height: 42px; background: rgba(252,251,248,0.5); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--bianco); animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ==================== SECTION SHELL ==================== */
section { padding-block: var(--section-pad); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 52ch; }
.section-head .tag {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--oro-deep); display: block; margin-bottom: 0.9rem;
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-head p { max-width: 48ch; color: var(--ink-soft); margin-top: 1.1rem; }

.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--oro-light) 20%, var(--oro) 50%, var(--oro-light) 80%, transparent);
  border: none; margin: 0;
}

/* ==================== ABOUT ==================== */
.about { background: var(--bianco-deep); }
.about-grid {
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-photo-wrap { position: relative; }
.about-photo {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px;
  box-shadow: 0 30px 60px -25px rgba(20,18,15,0.35);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
.about-photo-frame {
  position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--oro-light); z-index: -1;
}
.about-copy p { max-width: var(--measure); margin: 0 0 1.15em; color: var(--ink-soft); }
.about-copy p:first-of-type { color: var(--ink); font-size: 1.08rem; }

.credentials {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(20,18,15,0.12);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  font-family: var(--font-display); font-style: italic; font-size: 0.98rem; color: var(--verde-soft);
}
.credentials span:not(:last-child)::after { content: "·"; margin-left: 1.4rem; color: var(--oro); font-style: normal; }

/* ==================== STORY (ART JOURNEY) ==================== */
.story-copy { max-width: var(--measure); }
.story-copy p { margin: 0 0 1.15em; color: var(--ink-soft); }
.story-copy em { font-style: italic; color: var(--ink); }
.story-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--ink) !important;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  margin: 1.8rem 0 !important;
}
.story-secret {
  margin-top: 1.6rem !important; padding: 1.1rem 1.4rem;
  border-left: 2px solid var(--oro);
  background: var(--bianco-deep);
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--oro-deep) !important;
}

/* ==================== WORKS / GALLERY ==================== */
.works .section-head { max-width: 60ch; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.6vw, 2rem);
}
.gallery-item {
  position: relative; cursor: pointer; border: none; background: none; padding: 0; text-align: left;
  font-family: inherit; color: inherit; display: block; width: 100%;
}
.gallery-figure {
  aspect-ratio: 3 / 4; overflow: hidden; position: relative; background: var(--nero);
}
.gallery-figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.gallery-item:hover .gallery-figure img, .gallery-item:focus-visible .gallery-figure img { transform: scale(1.06); }
.gallery-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,18,15,0.75) 0%, rgba(20,18,15,0) 45%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.gallery-item:hover .gallery-figure::after, .gallery-item:focus-visible .gallery-figure::after { opacity: 1; }
.gallery-glyph {
  position: absolute; right: 1rem; bottom: 1rem; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(252,251,248,0.7); color: var(--bianco);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item:hover .gallery-glyph, .gallery-item:focus-visible .gallery-glyph { opacity: 1; transform: translateY(0); }
.gallery-caption { padding-top: 0.9rem; }
.gallery-caption .title { font-family: var(--font-display); font-size: 1.15rem; }
.gallery-caption .medium { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.2rem; }
.gallery-caption .note { font-size: 0.76rem; letter-spacing: 0.03em; color: var(--oro-deep); margin-top: 0.35rem; }

.works-note { margin-top: 2.6rem; font-size: 0.9rem; color: var(--ink-soft); max-width: 60ch; }
.works-note strong { color: var(--ink); font-weight: 600; }

/* ==================== COLLABORATIONS ==================== */
.collab { background: var(--bianco-deep); }
.collab-inner { max-width: 62ch; }
.collab-lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: var(--font-display); font-weight: 500;
  color: var(--ink); max-width: 34ch; margin: 0 0 2rem;
}
.collab-tags {
  list-style: none; margin: 0 0 2.2rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem;
}
.collab-tags li {
  font-size: 0.82rem; letter-spacing: 0.03em; color: var(--verde-soft);
  border: 1px solid var(--verde-soft); border-radius: 999px;
  padding: 0.5em 1.1em;
}
.collab-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  color: var(--oro-deep); text-decoration: none; border-bottom: 1px solid var(--oro-light);
  padding-bottom: 0.15em; transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.collab-link:hover, .collab-link:focus-visible { gap: 0.8em; color: var(--oro); }

/* ==================== FAQ ====================
   Visible question-and-answer pairs (also mirrored, Italian only, in the
   FAQPage JSON-LD in index.html; keep both in sync). Editorial two-column
   rows on wide screens, stacked on narrow ones; same reveal + reduced-
   motion behaviour as every other section. */
.faq .section-head { max-width: 60ch; }
.faq-list { border-top: 1px solid rgba(169,129,63,0.35); }
.faq-item {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0.6rem clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(1.4rem, 2.6vw, 2rem);
  border-bottom: 1px solid rgba(169,129,63,0.35);
}
.faq-q {
  font-size: clamp(1.12rem, 1.7vw, 1.32rem); line-height: 1.3; color: var(--ink);
  max-width: 30ch;
}
.faq-a { margin: 0; color: var(--ink-soft); max-width: 58ch; overflow-wrap: anywhere; }

/* ==================== CONTACT ==================== */
.contact {
  background: var(--nero); color: var(--bianco);
  background-image: radial-gradient(circle at 85% 20%, rgba(169,129,63,0.18), transparent 55%);
}
.contact .section-head p { color: rgba(252,251,248,0.72); }
.contact .section-head .tag { color: var(--oro-light); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.2rem; }
.contact .btn { border-color: var(--oro-light); }
.contact .btn:hover, .contact .btn:focus-visible { background: var(--oro-light); color: var(--nero); }

/* ==================== FOOTER ==================== */
footer.site-footer {
  padding-block: 2.4rem; background: var(--nero); color: rgba(252,251,248,0.55);
  font-size: 0.8rem;
}
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-row a { text-decoration: none; color: rgba(252,251,248,0.75); }
.footer-row a:hover { color: var(--oro-light); }
.footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-left: auto; }
.footer-credit { font-size: 0.8rem; color: var(--bianco); }
.footer-credit a {
  color: var(--bianco); font-weight: 700;
  text-shadow: 0 0 10px rgba(252,251,248,0.9), 0 0 24px rgba(252,251,248,0.6);
}
.footer-credit a:hover { color: var(--oro-light); text-shadow: 0 0 10px rgba(216,189,134,0.9), 0 0 24px rgba(216,189,134,0.6); }

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: var(--nero);
  padding: clamp(1rem, 5vw, 3rem);
  overflow-y: auto;
}
body.lightbox-open .site-nav { visibility: hidden; }
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; text-align: center; }
.lightbox-inner img {
  max-height: 78vh; margin-inline: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(12px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.lightbox.is-open img { opacity: 1; transform: translateY(0) scale(1); }
.lightbox-caption { color: var(--bianco); margin-top: 1.2rem; font-family: var(--font-display); }
.lightbox-caption .medium { font-family: var(--font-body); font-size: 0.85rem; color: rgba(252,251,248,0.65); margin-top: 0.3rem; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: clamp(1.25rem, 4vw, 2.5rem);
  background: none; border: 1px solid rgba(252,251,248,0.4); color: var(--bianco);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(252,251,248,0.15); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 340px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .faq-item { grid-template-columns: 1fr; }
  .faq-q { max-width: none; }
}

@media (max-width: 640px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100svh;
    background: var(--bianco); color: var(--ink); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.6rem; padding: 2.5rem; transform: translateX(100%);
    transition: transform 0.45s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,0.15); }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a, .nav-links .lang-toggle { color: var(--ink) !important; }
  .nav-toggle-mobile {
    display: flex; flex-direction: column; gap: 5px; width: 26px; z-index: 101;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
  }
  .nav-toggle-mobile span { height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
  .site-nav:not(.is-scrolled) .nav-toggle-mobile { color: var(--bianco); }
  body.nav-open .nav-toggle-mobile span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle-mobile span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-mobile span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(20,18,15,0.4); z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

  .gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .credentials { font-size: 0.88rem; }
  .collab-tags li { font-size: 0.78rem; padding: 0.45em 0.9em; }
}
