/* =========================================================
   PINK TATTOO — Castellana Grotte
   ========================================================= */

:root {
  --paper: #efebe6;
  --paper-2: #e6e1db;
  --ink: #111111;
  --ink-soft: #5b5752;
  --pink: #d9bac2;       /* rosa del logo */
  --pink-ink: #8f5263;   /* stessa tinta, scurita per testi su fondo chiaro */
  --pink-text: var(--pink-ink);
  --white: #ffffff;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--pink); color: var(--ink); }

.container { padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pink { color: var(--pink-text); }
.section--ink, .hscroll, .footer, .hero, .marquee--ink, .lightbox { --pink-text: var(--pink); }

/* ---------- Display type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 85%;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.02em;
}
.h-xxl { font-size: clamp(64px, 17vw, 280px); }
.h-xl  { font-size: clamp(52px, 11vw, 190px); }
.h-l   { font-size: clamp(42px, 7.4vw, 124px); }
.h-m   { font-size: clamp(32px, 4.6vw, 74px); }
.h-s   { font-size: clamp(24px, 2.6vw, 40px); }

.split-line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.split-line > span { display: inline-block; will-change: transform; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.label::before { content: ""; width: 8px; height: 8px; background: var(--pink-text); border-radius: 50%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9500;
  background: var(--pink);
  display: grid; place-items: center;
  transition: transform 1s var(--ease) .1s;
}
.preloader__logo {
  width: min(52vw, 320px); aspect-ratio: 700 / 572;
  background: var(--ink);
  -webkit-mask: url(../img/logo-pink-full.png) center / contain no-repeat;
  mask: url(../img/logo-pink-full.png) center / contain no-repeat;
  clip-path: inset(0 100% 0 0);
  animation: logoDraw 1.1s var(--ease) .15s forwards;
}
.preloader__count { position: absolute; bottom: var(--gutter); right: var(--gutter); font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 9vw, 140px); line-height: .8; color: var(--ink); }
.preloader__since { position: absolute; bottom: var(--gutter); left: var(--gutter); color: var(--ink); }
@keyframes logoDraw { to { clip-path: inset(0 0 0 0); } }
.is-loaded .preloader { transform: translateY(-101%); }
.no-js .preloader { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: transform .5s var(--ease), background .4s;
}
.header.is-hidden { transform: translateY(-110%); }
.header.is-solid { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.on-dark:not(.is-solid) { color: var(--white); --pink-text: var(--pink); }
.header.on-dark:not(.is-solid) .logo { background: var(--white); }

.logo {
  display: block; width: 74px; aspect-ratio: 600 / 490;
  background: var(--ink);
  -webkit-mask: url(../img/logo-pink.png) center / contain no-repeat;
  mask: url(../img/logo-pink.png) center / contain no-repeat;
  transition: background .3s;
}
.logo:hover { background: var(--pink-text) !important; }

.header__right { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.header__cta { font-family: var(--f-display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; padding: 10px 16px; background: var(--pink); color: var(--ink); border-radius: 100px; transition: background .3s, transform .3s; white-space: nowrap; }
.header__cta:hover { background: var(--ink); }
.menu-btn { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.menu-btn .star { width: 26px; height: 26px; }

/* Spinning star */
.star { display: inline-block; color: var(--pink-text); animation: spin 8s linear infinite; }
.star svg { width: 100%; height: 100%; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 900;
  background: var(--pink); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 10px) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__top { position: absolute; top: 0; left: 0; right: 0; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); }
.menu__close { font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.menu__close .x { width: 24px; height: 24px; position: relative; }
.menu__close .x::before, .menu__close .x::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 3px; background: currentColor; transform: rotate(45deg); }
.menu__close .x::after { transform: rotate(-45deg); }
.menu .logo { background: var(--ink); }
.menu__nav { display: flex; flex-direction: column; margin-top: auto; margin-bottom: auto; }
.menu__nav a {
  font-family: var(--f-display); font-weight: 900; font-stretch: 85%;
  text-transform: uppercase; line-height: .92; letter-spacing: -.02em;
  font-size: clamp(44px, 8.4vw, 120px);
  display: flex; align-items: baseline; gap: 18px;
  overflow: hidden;
}
.menu__nav a span.t { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out), color .3s; }
.menu.is-open .menu__nav a span.t { transform: none; }
.menu__nav a:nth-child(2) span.t { transition-delay: .05s; }
.menu__nav a:nth-child(3) span.t { transition-delay: .1s; }
.menu__nav a:nth-child(4) span.t { transition-delay: .15s; }
.menu__nav a:nth-child(5) span.t { transition-delay: .2s; }
.menu__nav a:nth-child(6) span.t { transition-delay: .25s; }
.menu.is-open .menu__nav a span.t { transition-delay: calc(.25s + var(--i, 0) * .06s); }
.menu__nav a .n { font-family: var(--f-mono); font-size: 13px; font-weight: 400; letter-spacing: .1em; }
.menu__nav a:hover span.t { color: var(--pink-ink); }
.menu__nav a.is-current span.t { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.menu__foot a:hover { color: var(--pink-ink); }

/* ---------- Scroll line (tattoo needle) ---------- */
.ink-line { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: -1; overflow: visible; }
.ink-line path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ink-line .tip { fill: var(--pink); }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--pink); pointer-events: none; z-index: 9200; transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s; display: grid; place-items: center; }
.cursor__txt { font-family: var(--f-display); font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: color-mix(in srgb, var(--pink) 35%, transparent); }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--pink); }
.cursor.is-view .cursor__txt { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Buttons (bracket frame + arrow box) ---------- */
.btn {
  display: inline-flex; align-items: stretch; gap: 10px;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(16px, 1.5vw, 22px);
}
.btn__frame { position: relative; display: flex; align-items: center; justify-content: center; padding: 22px clamp(28px, 4vw, 64px); min-width: min(100%, 300px); transition: color .4s; overflow: hidden; }
.btn__frame::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.btn__frame i { position: absolute; width: 14px; height: 14px; border-color: currentColor; border-style: solid; border-width: 0; transition: all .4s var(--ease); }
.btn__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.btn__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.btn__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.btn__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.btn__frame { isolation: isolate; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.btn__arrow { width: 70px; flex: 0 0 70px; display: grid; place-items: center; background: var(--pink); color: var(--ink); transition: background .4s; overflow: hidden; }
.btn__arrow svg { width: 26px; height: 26px; transition: transform .5s var(--ease); }
.btn:hover .btn__frame { color: var(--white); }
.btn:hover .btn__frame::before { transform: scaleY(1); }
.btn:hover .btn__frame i { width: 22px; height: 22px; border-color: var(--pink); }
.btn:hover .btn__arrow svg { transform: rotate(45deg); }
.btn--light { color: var(--white); }
.btn--light .btn__frame::before { background: var(--white); }
.btn--light:hover .btn__frame { color: var(--ink); }
.btn--ink .btn__arrow { background: var(--ink); }

/* Big booking CTA button */
.book {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 90%; text-transform: uppercase;
  font-size: clamp(18px, 2vw, 26px); letter-spacing: .01em;
  padding: 22px 34px 22px 38px; border-radius: 100px;
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s;
}
.book::before { content: ""; position: absolute; inset: 0; background: var(--pink); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.book:hover::before { transform: none; }
.book .star { width: 26px; height: 26px; color: var(--pink); transition: color .4s; }
.book:hover { color: var(--ink); }
.book:hover .star { color: var(--ink); }
.book--pink { background: var(--pink); }
.book--pink::before { background: var(--ink); }
.book--pink { color: var(--ink); }
.book--pink .star { color: var(--ink); }
.book--pink:hover { color: var(--white); }
.book--pink:hover .star { color: var(--pink); }

/* Floating booking button (mobile) */
.fab { position: fixed; z-index: 700; right: 16px; bottom: 16px; display: none; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 100px; background: var(--pink); color: var(--ink); font-family: var(--f-display); font-weight: 900; font-size: 14px; text-transform: uppercase; box-shadow: 0 10px 30px rgba(143, 82, 99, .35); transition: transform .5s var(--ease); }
.fab svg { width: 18px; height: 18px; }
.fab.is-away { transform: translateY(160%); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__media { position: absolute; inset: -6% 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(.25) contrast(1.05); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.1) 35%, rgba(17,17,17,.15) 60%, rgba(17,17,17,.75) 100%); }
.hero__title { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 3vh); text-align: center; text-shadow: 0 10px 60px rgba(0,0,0,.25); }
.hero__title .display { font-size: clamp(64px, 19.5vw, 340px); line-height: .8; letter-spacing: -.035em; }
.hero__sub { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end; }
.hero__sub p { font-weight: 500; max-width: 34ch; }
.hero__sub .mono:last-child { justify-self: end; text-align: right; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span.bar { width: 1px; height: 54px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__scroll span.bar::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--pink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* Page hero (internal pages) */
.phero { position: relative; padding: calc(var(--header-h) + clamp(60px, 12vh, 140px)) var(--gutter) clamp(40px, 7vh, 80px); }
.phero__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(24px, 4vh, 48px); }
.phero__title { font-size: clamp(56px, 14vw, 240px); }
.phero__title .outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.phero__intro { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px; margin-top: clamp(32px, 6vh, 64px); align-items: end; }
.phero__intro p { font-size: clamp(17px, 1.4vw, 21px); }
.phero__cover { margin-top: clamp(32px, 6vh, 72px); height: clamp(320px, 78vh, 820px); overflow: hidden; position: relative; }
.phero__cover img { width: 100%; height: 120%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { background: var(--pink); color: var(--ink); overflow: hidden; padding: clamp(14px, 2vw, 22px) 0; position: relative; z-index: 2; border-block: 2px solid var(--ink); }
.marquee--tilt { transform: rotate(-2deg) scale(1.04); margin-block: clamp(30px, 5vw, 60px); }
.marquee--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee__group { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
.marquee__group span { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; text-transform: uppercase; font-size: clamp(30px, 5vw, 76px); line-height: 1; white-space: nowrap; }
.marquee__group .o { -webkit-text-stroke: 1.5px currentColor; color: transparent; }
.marquee__group .star { width: clamp(26px, 3.4vw, 52px); height: clamp(26px, 3.4vw, 52px); color: currentColor; }
.marquee--ink .marquee__group .star { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 14vh, 180px) var(--gutter); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--pink { background: var(--pink); color: var(--ink); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 7vh, 90px); flex-wrap: wrap; }

/* Intro / about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.about__media { position: relative; }
.about__img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; clip-path: inset(0 0 0 0); }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__badge { position: absolute; right: -28px; bottom: -28px; width: clamp(110px, 12vw, 170px); aspect-ratio: 1; z-index: 2; }
.about__badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.about__badge text { font-family: var(--f-mono); font-size: 10.4px; letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); }
.about__badge .core { position: absolute; inset: 32%; background: var(--pink); border-radius: 50%; display: grid; place-items: center; }
.about__badge .core .star { color: var(--ink); width: 55%; height: 55%; animation-duration: 5s; }
.about__text .reveal-words { font-family: var(--f-display); font-weight: 800; font-stretch: 92%; font-size: clamp(26px, 3.1vw, 50px); line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }
.about__text p.body { margin-top: 30px; max-width: 60ch; color: var(--ink-soft); }
.about__text p.body + p.body { margin-top: 16px; }
.about__sign { display: block; width: 140px; aspect-ratio: 600 / 490; background: var(--pink-text); -webkit-mask: url(../img/logo-pink.png) center / contain no-repeat; mask: url(../img/logo-pink.png) center / contain no-repeat; margin-top: 34px; }
.about__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }

.reveal-words .w { display: inline-block; opacity: .14; transition: none; }
.no-js .reveal-words .w { opacity: 1; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid currentColor; margin-top: clamp(60px, 10vh, 120px); }
.stat { padding: 28px 20px 0 0; border-right: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 20px; }
.stat__n { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: clamp(46px, 6vw, 96px); line-height: .9; }
.stat__n sup { font-size: .4em; color: var(--pink-text); vertical-align: top; }
.stat__l { margin-top: 10px; font-size: 14px; color: inherit; opacity: .7; }

/* Services list with hover image */
.services { border-top: 2px solid currentColor; }
.service {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center;
  padding: clamp(22px, 3.4vw, 44px) 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  transition: padding .5s var(--ease), color .4s;
}
.service__n { font-family: var(--f-mono); font-size: 13px; }
.service__t { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; text-transform: uppercase; font-size: clamp(42px, 8vw, 132px); line-height: .9; letter-spacing: -.02em; transition: transform .5s var(--ease), color .4s; }
.service__d { max-width: 32ch; font-size: 15px; text-align: right; opacity: .75; }
.service__arrow { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: var(--ink); display: grid; place-items: center; scale: 0; transition: scale .5s var(--ease); }
.service__arrow svg { width: 24px; height: 24px; }
.service:hover .service__t { transform: translateX(clamp(10px, 2vw, 30px)); color: var(--pink); }
.service:hover .service__arrow { scale: 1; }
.service:hover .service__d { opacity: 0; }
.hover-img { position: fixed; top: 0; left: 0; width: clamp(220px, 22vw, 340px); aspect-ratio: 3 / 4; pointer-events: none; z-index: 50; overflow: hidden; opacity: 0; scale: .7; transition: opacity .35s, scale .5s var(--ease-out); border-radius: 4px; }
.hover-img.is-on { opacity: 1; scale: 1; }
.hover-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.hover-img img.is-active { opacity: 1; }
@media (hover: none) { .hover-img { display: none; } }

/* Horizontal gallery */
.hscroll { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hscroll__inner { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 10px) 40px; }
.hscroll__head { padding-inline: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(20px, 4vh, 44px); }
.hscroll__track { display: flex; gap: clamp(14px, 1.8vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.hscroll__item { position: relative; flex: 0 0 auto; width: clamp(220px, 24vw, 380px); height: min(62vh, 560px); overflow: hidden; border-radius: 3px; cursor: none; }
.hscroll__item:nth-child(even) { margin-top: 6vh; }
.hscroll__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; filter: grayscale(1) contrast(1.05); }
.hscroll__item:hover img { transform: scale(1.06); filter: none; }
.hscroll__item .tag { position: absolute; left: 12px; bottom: 12px; background: var(--paper); color: var(--ink); padding: 6px 10px; }
.hscroll__end { flex: 0 0 auto; width: clamp(260px, 30vw, 460px); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-left: 20px; padding-right: var(--gutter); }
@media (hover: none) { .hscroll__item img { filter: none; } .hscroll__item { cursor: pointer; } }

/* Polaroid value cards */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); padding-top: 20px; }
.vcard { background: var(--white); padding: 14px 14px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); transform: rotate(var(--r, -3deg)); transition: transform .6s var(--ease-out); }
.vcard:nth-child(2) { --r: 2.5deg; margin-top: 50px; }
.vcard:nth-child(3) { --r: -1.5deg; margin-top: 10px; }
.vcard:hover { transform: rotate(0) translateY(-10px); }
.vcard__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; }
.vcard__meta { display: flex; justify-content: space-between; margin-top: 16px; color: var(--ink-soft); }
.vcard h3 { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; text-transform: uppercase; font-size: clamp(30px, 3vw, 46px); line-height: .95; margin-top: 8px; color: var(--ink); }
.vcard p { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }

/* Image-in-text block */
.textimg { font-family: var(--f-display); font-weight: 900; font-stretch: 80%; text-transform: uppercase; line-height: .82; letter-spacing: -.03em; font-size: clamp(70px, 19vw, 330px); background-size: cover; background-position: center 30%; -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .textimg { color: var(--ink); background: none; } }

/* Split feature (studio teaser / safety) */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 30px); align-items: center; }
.feature__media { grid-column: 1 / span 6; position: relative; }
.feature__media .main { aspect-ratio: 4 / 5; overflow: hidden; }
.feature__media .main img { width: 100%; height: 118%; object-fit: cover; }
.feature__media .float { position: absolute; width: 46%; aspect-ratio: 3 / 4; right: -14%; bottom: -10%; overflow: hidden; border: 10px solid var(--paper); }
.section--ink .feature__media .float { border-color: var(--ink); }
.feature__media .float img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { grid-column: 8 / span 5; }
.feature__body h2 { margin: 20px 0 28px; }
.feature__body p { color: inherit; opacity: .8; }
.feature__body p + p { margin-top: 16px; }
.feature__body .btn, .feature__body .book { margin-top: 36px; }
.feature--rev .feature__media { grid-column: 7 / span 6; order: 2; }
.feature--rev .feature__media .float { right: auto; left: -14%; }
.feature--rev .feature__body { grid-column: 1 / span 5; }

/* Safety list */
.checks { list-style: none; margin-top: 30px; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.checks li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.checks li .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: var(--ink); display: grid; place-items: center; }
.checks li .ic svg { width: 20px; height: 20px; }
.checks strong { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 18px; letter-spacing: .01em; }
.checks span.t { font-size: 15px; opacity: .78; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.reviews__score { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.reviews__g { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: 0 0 auto; }
.reviews__g svg { width: 34px; height: 34px; }
.reviews__stars { display: flex; gap: 4px; color: var(--pink); }
.reviews__stars svg { width: 26px; height: 26px; }
.reviews__card { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 52px); position: relative; transform: rotate(1.5deg); }
.reviews__card::before { content: "\201C"; position: absolute; top: -.25em; left: 18px; font-family: var(--f-display); font-weight: 900; font-size: 160px; line-height: 1; color: var(--pink); }
.reviews__card p { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; }
.reviews__card .mono { margin-top: 22px; display: block; color: var(--ink-soft); }
.reviews__embed:empty { display: none; }

/* Big CTA band */
.cta { position: relative; background: var(--pink); color: var(--ink); overflow: hidden; padding: clamp(90px, 16vh, 200px) var(--gutter); text-align: center; }
.cta__title { font-size: clamp(54px, 12.5vw, 220px); line-height: .84; }
.cta__title .outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.cta__star { position: absolute; width: clamp(120px, 18vw, 300px); height: clamp(120px, 18vw, 300px); color: var(--ink); opacity: .9; }
.cta__star--a { top: -6%; left: -4%; }
.cta__star--b { bottom: -8%; right: -3%; animation-direction: reverse; color: var(--pink-ink); }
.cta p { max-width: 46ch; margin: 30px auto 0; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; }
.cta__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .book { background: var(--ink); }
.cta .book::before { background: var(--white); }
.cta .book:hover { color: var(--ink); }

/* ---------- Galleries ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 100px; transition: background .3s, color .3s; }
.filters button.is-active, .filters button:hover { background: var(--ink); color: var(--paper); }

.masonry { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.masonry figure { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); position: relative; overflow: hidden; cursor: none; background: var(--paper-2); }
.masonry figure img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: flex; justify-content: space-between; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transform: translateY(10px); transition: all .4s var(--ease-out); }
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.masonry figure.is-hidden { display: none; }
@media (hover: none) { .masonry figure { cursor: pointer; } .masonry figure figcaption { opacity: 1; transform: none; } }

/* Studio grid (bento) */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 220px); gap: clamp(10px, 1.4vw, 20px); }
.bento figure { position: relative; overflow: hidden; cursor: none; background: var(--paper-2); }
.bento figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.bento figure:hover img { transform: scale(1.06); }
.bento .b1 { grid-column: span 7; grid-row: span 3; }
.bento .b2 { grid-column: span 5; grid-row: span 2; }
.bento .b3 { grid-column: span 5; grid-row: span 2; }
.bento .b4 { grid-column: span 4; grid-row: span 3; }
.bento .b5 { grid-column: span 3; grid-row: span 2; }
.bento .b6 { grid-column: span 4; grid-row: span 2; }
.bento .b7 { grid-column: span 4; grid-row: span 2; }
.bento .b8 { grid-column: span 4; grid-row: span 2; }
@media (hover: none) { .bento figure { cursor: pointer; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9100; background: rgba(17,17,17,.96); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 86vh; margin: auto; object-fit: contain; transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox button { color: var(--white); width: 56px; height: 56px; margin: auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s; }
.lightbox button:hover { background: var(--pink); color: var(--ink); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--white); }

/* Rent page */
.rent-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: 40px; }
.rent-point { border-top: 2px solid currentColor; padding-top: 20px; }
.rent-point .n { font-family: var(--f-mono); font-size: 12px; color: var(--pink-text); }
.rent-point h3 { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 1; margin: 10px 0; }
.rent-point p { font-size: 15px; opacity: .78; }
.mailbox { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mailbox__addr { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: clamp(26px, 4.6vw, 80px); line-height: 1; letter-spacing: -.02em; word-break: break-all; position: relative; }
.mailbox__addr::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 4px; background: var(--ink); transform-origin: left; transform: scaleX(.15); transition: transform .6s var(--ease); }
.mailbox__addr:hover::after { transform: scaleX(1); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.clist { border-top: 2px solid var(--ink); }
.clist a, .clist div.row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 16px; align-items: center; padding: 26px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); transition: padding .4s var(--ease), color .3s; }
.clist .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.clist .v { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2vw, 30px); line-height: 1.15; text-transform: uppercase; }
.clist svg { width: 24px; height: 24px; transition: transform .4s var(--ease); }
.clist a:hover { padding-left: 14px; color: var(--pink-text); }
.clist a:hover svg { transform: rotate(45deg); }
.map { position: relative; min-height: 460px; height: 100%; overflow: hidden; filter: grayscale(1) contrast(1.1); transition: filter .6s; }
.map:hover { filter: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: var(--paper); padding: clamp(70px, 12vh, 140px) var(--gutter) 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: 18px; }
.footer__claim { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 52px); line-height: .95; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--pink); }
.footer__logo { display: block; width: clamp(150px, 14vw, 200px); aspect-ratio: 700 / 572; margin-bottom: 30px; background: var(--paper); -webkit-mask: url(../img/logo-pink-full.png) center / contain no-repeat; mask: url(../img/logo-pink-full.png) center / contain no-repeat; transition: background .3s; }
.footer__logo:hover { background: var(--pink); }
.footer__bottom { margin-top: clamp(50px, 8vh, 90px) !important; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* ---------- Generic reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-clip] { clip-path: inset(100% 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { padding-top: 40px; }
  .masonry { columns: 2; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .logo { width: 60px; }
  .header__cta { display: none; }
  .fab { display: inline-flex; }
  .hero__sub { grid-template-columns: 1fr; }
  .hero__sub .hero__scroll { display: none; }
  .hero__sub .mono:last-child { justify-self: start; text-align: left; }
  .about, .reviews, .contacts, .phero__intro { grid-template-columns: 1fr; }
  .about__badge { right: 10px; bottom: -40px; }
  .service { grid-template-columns: 40px 1fr; }
  .service__d { grid-column: 2; text-align: left; }
  .service__arrow { display: none; }
  .values { grid-template-columns: 1fr; gap: 40px; max-width: 420px; margin-inline: auto; }
  .vcard:nth-child(n) { margin-top: 0; }
  .feature, .feature--rev { grid-template-columns: 1fr; }
  .feature .feature__media, .feature--rev .feature__media { grid-column: 1; order: 0; margin-right: 12%; }
  .feature--rev .feature__media { margin-right: 0; margin-left: 12%; }
  .feature .feature__body, .feature--rev .feature__body { grid-column: 1; margin-top: 50px; }
  .rent-points { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .bento figure[class] { grid-column: span 1; grid-row: span 1; }
  .bento .b1, .bento .b4 { grid-column: span 2 !important; grid-row: span 2 !important; }
  .clist a, .clist div.row { grid-template-columns: 1fr 30px; }
  .clist .k { grid-column: 1 / -1; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 60px; }
  .lightbox__prev { left: 30%; } .lightbox__next { right: 30%; }
  .cta__star { opacity: .5; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .btn__frame { padding: 18px 22px; min-width: 0; }
  .btn__arrow { width: 58px; flex-basis: 58px; }
  .book { padding: 18px 24px; font-size: 16px; }
  .menu-btn span.t { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js [data-clip] { opacity: 1; transform: none; clip-path: none; }
  .reveal-words .w { opacity: 1 !important; }
}

@media (max-width: 820px) {
  .hscroll__inner { height: auto; padding-block: clamp(80px, 12vh, 120px); }
  .hscroll__viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .hscroll__viewport::-webkit-scrollbar { display: none; }
  .hscroll__item { scroll-snap-align: center; width: 72vw; height: 92vw; }
  .hscroll__item:nth-child(even) { margin-top: 0; }
  .hscroll__end { width: 72vw; }
}

.section--pink .label::before, .cta .label::before { background: var(--ink); }
.feature__body h2.h-m { font-size: clamp(32px, 4.4vw, 76px); }

/* ---------- Google reviews ---------- */
.rv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.rv-score { display: flex; align-items: center; gap: 18px; }
.rv-score__n { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: clamp(64px, 8vw, 120px); line-height: .8; }
.rv-score__meta { display: grid; gap: 6px; }
.rv-stars { display: flex; gap: 3px; color: var(--ink); }
.rv-stars svg { width: 20px; height: 20px; }
.rv-rail { margin-top: clamp(40px, 7vh, 80px); overflow: hidden; margin-inline: calc(var(--gutter) * -1); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.rv-rail:hover .rv-track { animation-play-state: paused; }
.rv-group { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-right: clamp(14px, 1.6vw, 24px); align-items: flex-start; }
.rv-card { width: clamp(270px, 26vw, 380px); background: var(--paper); color: var(--ink); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; transform: rotate(var(--r, 0deg)); box-shadow: 0 24px 50px -30px rgba(0,0,0,.45); }
.rv-card:nth-child(3n+1) { --r: -1.4deg; }
.rv-card:nth-child(3n+2) { --r: 1.1deg; margin-top: 26px; }
.rv-card:nth-child(3n) { --r: -.4deg; margin-top: 10px; }
.rv-card .rv-stars { color: var(--pink-ink); }
.rv-card .rv-stars svg { width: 16px; height: 16px; }
.rv-card blockquote { font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.32; }
.rv-card footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.rv-card cite { font-style: normal; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 14px; }
.rv-card .g { width: 22px; height: 22px; flex: 0 0 auto; }
.rv-actions { margin-top: clamp(36px, 6vh, 64px); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
@media (max-width: 820px) { .rv-head { grid-template-columns: 1fr; } }
.header.is-solid { background: color-mix(in srgb, var(--paper) 96%, transparent); }
.header.is-solid .header__cta { background: var(--ink); color: var(--white); }
.header.is-solid .header__cta:hover { background: var(--pink); color: var(--ink); }

/* Arrow box: always visible, swaps colour on hover */
.btn__arrow { transition: background .4s, color .4s; }
.btn:hover .btn__arrow { background: var(--ink); color: var(--pink); }
.btn--ink .btn__arrow { background: var(--ink); color: var(--pink); }
.btn--ink:hover .btn__arrow { background: var(--paper); color: var(--ink); }
.btn--ink:hover .btn__frame i { border-color: var(--paper); }
.btn--light:hover .btn__arrow { background: var(--paper); color: var(--ink); }
