/* ============================================================
   CRISTINA OCCHIALI — style.css  (lista d'attesa)
   ============================================================ */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

:root {
  --ink: #070706;
  --ink-2: #0e0d0b;
  --ink-3: #171512;
  --bone: #ece6da;
  --mute: rgba(236, 230, 218, 0.56);
  --line: rgba(236, 230, 218, 0.14);
  --gold: #c9a45c;
  --red: #9b1c22;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }

.serif { font-family: var(--serif); font-weight: 400; }
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.wrap { padding-inline: var(--pad); max-width: 1920px; margin-inline: auto; }

/* split text helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.1em; margin: 0 -0.06em -0.1em; }
.c { display: inline-block; will-change: transform; }
.sw { display: inline-block; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

/* curtain / preloader */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.curtain-brand { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 5vw, 84px); line-height: 1; }
.curtain-count { position: absolute; right: var(--pad); bottom: var(--pad); font-family: var(--serif); font-size: clamp(48px, 8vw, 140px); line-height: 0.8; font-variant-numeric: tabular-nums; color: var(--gold); }
.curtain-note { position: absolute; left: var(--pad); bottom: var(--pad); }
.curtain.is-quiet .curtain-brand, .curtain.is-quiet .curtain-count, .curtain.is-quiet .curtain-note { display: none; }
html.seen .curtain .curtain-brand, html.seen .curtain .curtain-count, html.seen .curtain .curtain-note { display: none; }

/* cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--bone); pointer-events: none; mix-blend-mode: difference;
  display: none; align-items: center; justify-content: center;
}
.cursor.is-label { mix-blend-mode: normal; }
.cursor span { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); opacity: 0; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .cursor { display: flex; } body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad);
}
@media (min-width: 900px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-logo { justify-self: start; }
  .nav-clock { justify-self: center; text-align: center; }
  .nav-links { justify-self: end; }
}
.nav-logo { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; line-height: 1; }
.nav-clock { display: none; }
.nav-links { display: flex; gap: clamp(22px, 3vw, 44px); }
.nav a, .nav-clock { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-link { position: relative; padding: 4px 0 7px; }
.nav-link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0.4; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.6s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
@media (min-width: 900px) { .nav-clock { display: block; } }

/* buttons / links */
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.link-arrow i { display: inline-block; width: 46px; height: 1px; background: currentColor; position: relative; transition: width 0.6s var(--ease); }
.link-arrow i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover i { width: 76px; }

.back, .d-cat, .pn .label {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
  text-decoration-color: rgba(236, 230, 218, 0.38); transition: text-decoration-color 0.4s var(--ease), color 0.3s;
}
.back:hover, .d-cat:hover { text-decoration-color: currentColor; }
.pn a:hover .label { text-decoration-color: currentColor; }

.hair { height: 1px; background: var(--line); transform-origin: 0 50%; }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: 52%; width: 70vmax; height: 70vmax; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(155, 28, 34, 0.38), rgba(201, 164, 92, 0.06) 50%, transparent 100%); filter: blur(30px); }
.hero-name { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-family: var(--serif); font-size: clamp(72px, 12.6vw, 260px); line-height: 0.86; letter-spacing: -0.02em; }
.hero-name .l1 { position: absolute; left: 3.5vw; top: 15vh; font-style: italic; }
.hero-name .l2 { position: absolute; right: 3.5vw; bottom: 13vh; }
.hero-art { position: relative; z-index: 2; width: min(25vw, 56vh); aspect-ratio: 4 / 5; margin-top: 3vh; perspective: 1200px; }
.hero-art a { display: block; width: 100%; height: 100%; }
.hero-frame { position: relative; width: 100%; height: 100%; overflow: hidden; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(236, 230, 218, 0.06); transform-style: preserve-3d; will-change: transform; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; will-change: transform; }
.hero-meta { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.hero-meta .scroll-cue { justify-self: end; }
.hero-cta { pointer-events: auto; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 14px 24px 12px; border: 1px solid rgba(201, 164, 92, 0.45); background: rgba(7, 7, 6, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color 0.5s var(--ease), background 0.5s var(--ease); }
.hero-cta-kicker { color: var(--gold); }
.hero-cta-text { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.65vw, 28px); line-height: 1.12; color: var(--bone); }
.hero-cta-go { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); }
.hero-cta-go i { display: inline-block; width: 28px; height: 1px; background: currentColor; position: relative; transition: width 0.5s var(--ease); }
.hero-cta-go i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.hero-cta:hover { border-color: var(--gold); background: rgba(7, 7, 6, 0.8); }
.hero-cta:hover .hero-cta-go i { width: 46px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue i { display: block; width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--bone); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(220%); } }

@media (max-width: 899px) {
  .hero { align-content: center; padding-top: 80px; }
  .hero-art { width: min(62vw, 40svh); margin-top: 0; }
  .hero-name { font-size: 22vw; }
  .hero-name .l1 { top: 13svh; left: 5vw; }
  .hero-name .l2 { bottom: 17svh; right: 5vw; }
  .hero-meta { bottom: 14px; grid-template-columns: 1fr; justify-items: center; }
  .hero-meta > .label, .hero-meta > .scroll-cue { display: none; }
  .hero-cta { width: 100%; max-width: 420px; }
}


/* statement */
.statement { padding-block: clamp(100px, 18vw, 260px); }
.statement-grid { display: grid; gap: 48px 0; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.statement h2 { grid-column: 1 / -1; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 8.6vw, 168px); line-height: 0.98; letter-spacing: -0.02em; }
.statement p { grid-column: 1 / -1; max-width: 430px; color: var(--mute); font-size: 15px; }
@media (min-width: 900px) { .statement-grid { column-gap: 24px; } .statement p { grid-column: 8 / span 4; justify-self: end; } }
.statement h2 em { color: var(--gold); }

/* ------------------------------------------------------------
   SHOWCASE (horizontal)
   ------------------------------------------------------------ */
.showcase { position: relative; background: var(--ink-2); overflow: hidden; }
.showcase-track { display: flex; flex-direction: column; }
.panel { position: relative; }
.panel-intro { padding: clamp(80px, 12vw, 140px) var(--pad) 40px; }
.panel-intro h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 9vw, 180px); line-height: 0.92; letter-spacing: -0.02em; }
.panel-intro .label { margin-top: 28px; display: block; }
.panel-work { padding: 40px var(--pad); }
.panel-work a { display: block; }
.p-frame { position: relative; overflow: hidden; width: 100%; background: var(--ink-3); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9); }
.p-frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: center; will-change: transform; }
.p-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 22px; }
.p-num { font-family: var(--serif); font-size: clamp(64px, 10vw, 180px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(236, 230, 218, 0.28); }
.p-title { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 76px); line-height: 1; }
.p-meta { margin-top: 10px; display: block; }
.panel-end { padding: 80px var(--pad) 120px; display: flex; align-items: flex-start; }
.end-circle { width: clamp(150px, 16vw, 230px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; transition: background 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s; }
.end-circle:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

@media (min-width: 900px) {
  .showcase { height: 100vh; }
  .showcase-track { flex-direction: row; align-items: center; height: 100%; width: max-content; will-change: transform; }
  .panel { height: 100%; display: flex; flex-direction: column; justify-content: center; flex: 0 0 auto; }
  .panel-intro { width: 56vw; padding: 0 4vw 0 var(--pad); }
  .panel-work { width: auto; padding: 0 5vw; }
  .p-frame { height: 62vh; width: calc(62vh * var(--r)); }
  .panel-work.alt { padding-top: 12vh; }
  .panel-work:not(.alt) { padding-bottom: 10vh; }
  .p-frame img { left: 0; top: 0; width: 100%; height: 100%; }
  .p-info { position: relative; margin-top: 26px; }
  .p-num { position: absolute; right: -2.6vw; top: -9vh; z-index: 2; mix-blend-mode: difference; -webkit-text-stroke-color: rgba(255, 255, 255, 0.7); }
  .p-info > div { position: relative; }
  .panel-end { width: 42vw; align-items: center; justify-content: center; padding: 0; }
}
@media (max-width: 899px) {
  .p-frame { aspect-ratio: var(--r); }
  .panel-work + .panel-work { padding-top: 60px; }
}

/* ------------------------------------------------------------
   CINEMA (quote)
   ------------------------------------------------------------ */
.cinema { position: relative; min-height: 130vh; display: grid; align-items: end; justify-items: start; overflow: hidden; isolation: isolate; padding: 120px var(--pad) clamp(70px, 12vh, 150px); }
.cinema-bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.cinema-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cinema::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink-2) 0%, rgba(7, 7, 6, 0.55) 28%, rgba(7, 7, 6, 0.6) 72%, var(--ink) 100%); }
.cinema blockquote { margin: 0; max-width: 15ch; font-family: var(--serif); font-style: italic; font-size: clamp(42px, 7.4vw, 140px); line-height: 1.02; letter-spacing: -0.015em; }
.cinema cite { display: block; margin-top: 44px; font-style: normal; }

/* ------------------------------------------------------------
   ARTIST
   ------------------------------------------------------------ */
.artist { position: relative; padding-block: clamp(90px, 12vw, 200px); overflow: hidden; }
.artist-mono { position: absolute; right: -4vw; top: 6%; font-family: var(--serif); font-style: italic; font-size: 46vw; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(236, 230, 218, 0.07); pointer-events: none; user-select: none; }
.artist-grid { position: relative; display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .artist-grid { grid-template-columns: 5fr 6fr; gap: 8vw; } }
.artist-photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.artist-photo img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: center; filter: grayscale(0.15) contrast(1.05); }
.artist-cap { margin-top: 18px; }
.artist h2 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(54px, 7.4vw, 140px); line-height: 0.95; letter-spacing: -0.02em; margin: 18px 0 36px; }
.artist-bio { max-width: 460px; color: var(--mute); font-size: 15px; }
.artist-bio + .artist-bio { margin-top: 18px; }
.details { margin-top: 56px; max-width: 460px; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; position: relative; font-size: 14px; }
.detail-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.detail-row:last-child::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.detail-row dt { color: var(--mute); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 3px; }
.detail-row dd { text-align: right; }
.artist .link-arrow { margin-top: 52px; }

/* ------------------------------------------------------------
   FINALE + FOOTER
   ------------------------------------------------------------ */
.finale { position: relative; text-align: center; padding: clamp(110px, 16vw, 260px) var(--pad); overflow: hidden; border-top: 1px solid var(--line); }
.finale h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(60px, 14vw, 280px); line-height: 0.9; letter-spacing: -0.03em; }
.finale h2 em { color: var(--gold); }
.finale-btn { display: inline-grid; place-items: center; width: clamp(130px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%; margin-top: 56px; background: var(--bone); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; text-align: center; transition: background 0.5s, color 0.5s; will-change: transform; }
.finale-btn:hover { background: var(--gold); }
.footer { border-top: 1px solid var(--line); padding: 34px var(--pad); display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
@media (min-width: 900px) { .footer { grid-template-columns: 1fr auto 1fr; } .footer > :first-child { justify-self: start; text-align: left; } .footer > :last-child { justify-self: end; text-align: right; } }
.footer a:hover { color: var(--bone); }


/* ------------------------------------------------------------
   COMUNI (bottoni, link, pagina legale)
   ------------------------------------------------------------ */
.u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(236, 230, 218, 0.38); transition: text-decoration-color 0.4s var(--ease); }
.u:hover { text-decoration-color: currentColor; }
.artist-links { display: flex; flex-wrap: wrap; gap: 18px 36px; }

.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 38px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s, opacity 0.3s; }
.btn-solid i { display: inline-block; width: 28px; height: 1px; background: currentColor; position: relative; transition: width 0.5s var(--ease); }
.btn-solid i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); }
.btn-solid:hover i { width: 44px; }
.btn-solid[disabled] { opacity: 0.55; cursor: progress; }

.page-hero { padding: clamp(140px, 17vw, 260px) var(--pad) 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(88px, 21vw, 420px); line-height: 0.82; letter-spacing: -0.03em; }
.page-hero .label { padding-bottom: 1.2vw; text-align: right; }
.legal { max-width: 760px; padding-block: 40px 120px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); margin: 44px 0 12px; }
.legal p { color: var(--mute); font-size: 15px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.co-hint { color: var(--mute); font-size: 13px; line-height: 1.6; }
@media (max-width: 560px) { .page-hero { flex-direction: column; align-items: flex-start; } .page-hero .label { text-align: left; } }

/* ------------------------------------------------------------
   VELO — le opere non sono ancora pubbliche
   ------------------------------------------------------------ */
.veil-tag { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; background: rgba(7, 7, 6, 0.72); backdrop-filter: blur(6px); color: var(--bone); }
.hero-frame img, .p-frame img { background: var(--ink-3); }
.panel-work .p-title { font-style: italic; }
.p-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.07); }

/* ------------------------------------------------------------
   LISTA D'ATTESA
   ------------------------------------------------------------ */
.lista { position: relative; background: #000; overflow: hidden; padding-block: clamp(100px, 11vw, 170px); border-top: 1px solid var(--line); }
.lista-title { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 11vw, 220px); line-height: 0.92; letter-spacing: -0.03em; }
.lista-lead { margin-top: clamp(24px, 3vw, 40px); max-width: 38ch; color: var(--bone); opacity: 0.9; font-size: clamp(16px, 1.4vw, 20px); }

.wl-form { margin-top: clamp(36px, 4vw, 64px); max-width: 880px; display: grid; gap: 34px; }
.wl-field { display: grid; gap: 14px; }
.wl-field input { width: 100%; font-family: var(--serif); font-size: clamp(30px, 4.6vw, 76px); line-height: 1.1; letter-spacing: -0.01em; color: var(--bone); background: transparent; border: 0; border-bottom: 1px solid rgba(236, 230, 218, 0.4); border-radius: 0; padding: 6px 0 18px; transition: border-color 0.5s var(--ease); }
.wl-field input::placeholder { color: rgba(236, 230, 218, 0.4); font-style: italic; }
.wl-field input:focus { outline: none; border-bottom-color: var(--gold); }
.wl-field input.is-bad { border-bottom-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-consent { display: flex; align-items: flex-start; gap: 14px; max-width: 58ch; font-size: 13px; line-height: 1.6; color: rgba(236, 230, 218, 0.8); cursor: pointer; }
.wl-consent input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid rgba(236, 230, 218, 0.45); border-radius: 0; background: transparent; display: grid; place-content: center; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.wl-consent input::after { content: ''; width: 10px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 0.3s var(--ease); }
.wl-consent input:checked { background: var(--gold); border-color: var(--gold); }
.wl-consent input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.wl-consent.is-bad input { border-color: var(--red); }
.wl-consent a { color: var(--bone); }
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.wl-msg { min-height: 1.5em; font-size: 14px; color: var(--mute); }
.wl-msg.is-err { color: #e0868b; }

.wl-done { margin-top: clamp(48px, 6vw, 96px); max-width: 760px; display: grid; gap: 22px; outline: none; }
.wl-done-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 9vw, 150px); line-height: 0.92; letter-spacing: -0.02em; color: var(--gold); }
.wl-done-text { max-width: 46ch; color: var(--bone); opacity: 0.8; font-size: clamp(16px, 1.3vw, 19px); }
.wl-social { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.wl-field input:focus-visible { outline: none; }
@media (max-width: 560px) { .btn-solid { width: 100%; } .wl-actions { flex-direction: column; align-items: stretch; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue i::after { animation: none; }
  .curtain { display: none; }
}
@media (max-width: 560px) {
  .nav { padding: 20px var(--pad); gap: 12px; }
  .nav-logo { font-size: 18px; white-space: nowrap; }
  .nav-links { gap: 14px; }
  .nav a { font-size: 10px; letter-spacing: 0.14em; }
  .hero-meta { bottom: 20px; }
  .hero-meta .label { font-size: 9.5px; letter-spacing: 0.16em; }
}


/* ------------------------------------------------------------
   BANNER COOKIE
   ------------------------------------------------------------ */
.cookie { position: fixed; z-index: 300; left: var(--pad); right: var(--pad); bottom: 20px; max-width: 560px; padding: 22px 24px; background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); display: grid; gap: 16px; }
.cookie p { font-size: 13px; line-height: 1.6; color: rgba(236, 230, 218, 0.85); }
.cookie a { text-decoration: underline; text-underline-offset: 4px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button { flex: 1 1 140px; padding: 14px 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--bone); transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.cookie-actions [data-cookie="yes"] { background: var(--bone); color: var(--ink); }
.cookie-actions [data-cookie="yes"]:hover { background: var(--gold); border-color: var(--gold); }
.cookie-actions [data-cookie="no"]:hover { background: rgba(236, 230, 218, 0.12); }
body.has-cursor .cookie, body.has-cursor .cookie button { cursor: pointer; }
