/* =========================================================================
   VladeX Tattoo Studio — visual system
   Dark editorial gallery · single gold/amber accent (matched to the studio's
   "available appointments" calendar artwork). Colours live in tokens so a
   client's accent can be swapped in one place.
   ========================================================================= */
:root {
  --ink: #0a0a0a;
  --ink-soft: #111110;
  --ink-raised: #161513;
  --paper: #f1eee8;
  --paper-muted: #b9b5ad;
  --muted: #8f8a80;
  --line: rgba(241, 238, 232, .14);
  --line-strong: rgba(241, 238, 232, .24);

  /* Single accent — gold / amber, taken from the calendar artwork */
  --gold: #c8912e;
  --gold-bright: #e6b45c;
  --amber: #e6a23c;
  --amber-hi: #f4c274;
  --amber-lo: #b7701f;
  --amber-deep: #8f560f;

  --display: "Italiana", Georgia, serif;
  --script: "Great Vibes", "Italiana", cursive;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --ui: "Manrope", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0; color: var(--paper); background: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6; overflow-x: hidden;
}
/* Film grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
em { font-weight: 400; font-style: italic; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--gold-bright); color: var(--ink); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { height: 5.25rem; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; position: fixed; inset: 0 0 auto; z-index: 40; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled { background: rgba(10, 10, 10, .82); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-logo { display: block; height: 2.9rem; width: auto; }
.brand-name { font: 400 1.1rem/1 var(--display); letter-spacing: .04em; display: flex; flex-direction: column; }
.brand-name small { margin-top: .25rem; font: 500 .52rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--paper-muted); }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.4rem); font: 500 .72rem/1 var(--ui); text-transform: uppercase; letter-spacing: .14em; }
.desktop-nav a { padding: 1.1rem 0; position: relative; }
.desktop-nav a:not(.nav-book)::after { content: ""; position: absolute; inset: auto 0 .7rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-book { border: 1px solid rgba(230, 180, 92, .6); padding: .75rem 1rem !important; }
.nav-book span { color: var(--gold-bright); margin-left: .4rem; }
.menu-toggle, .mobile-nav { display: none; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.button { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.65rem; padding: .9rem 1.35rem; font: 600 .72rem/1 var(--ui); text-transform: uppercase; letter-spacing: .14em; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #17110a; }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-bright); }
.button-primary:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.button-ghost { border: 1px solid var(--line-strong); background: transparent; color: var(--paper); }
.button-ghost:hover { border-color: var(--gold); }
.button-light { background: var(--paper); color: var(--ink); }
.text-link { font: 500 .75rem/1 var(--ui); text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid rgba(241, 238, 232, .4); padding: .5rem 0; }
.text-link:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { min-height: 100svh; padding: 8rem var(--pad) 4rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(26rem, 1.1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
/* Warm light leak over the footage */
.hero::before { content: ""; position: absolute; z-index: 1; width: 46rem; height: 46rem; right: -16rem; top: 6rem; background: radial-gradient(circle, rgba(200, 145, 46, .16), transparent 65%); filter: blur(18px); pointer-events: none; }
/* Background footage. The still is the first paint and stays when the video can't or shouldn't play */
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink) url("assets/video/hero-poster.webp") center / cover no-repeat; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
/* Shade for the type: dark behind the headline, open over the needle, melts into the page at the bottom */
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .72) 30%, rgba(10, 10, 10, .28) 60%, rgba(10, 10, 10, .2) 100%),
  linear-gradient(180deg, rgba(10, 10, 10, .6) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, 0) 66%, var(--ink) 100%); }
@media (max-aspect-ratio: 799/1000) { .hero-media { background-image: url("assets/video/hero-poster-portrait.webp"); } }
.hero-copy { position: relative; z-index: 2; max-width: 42rem; }
.eyebrow { margin: 0 0 1.4rem; color: var(--gold-bright); font: 500 .69rem/1.2 var(--ui); letter-spacing: .24em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(4.2rem, 8vw, 8.6rem); line-height: .82; }
h1 em, h2 em { color: var(--gold-bright); }
.hero-intro { max-width: 34rem; margin: 2.2rem 0; color: #c9c5be; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.hero-meta { margin-top: clamp(3rem, 8vh, 6rem); display: flex; gap: 2rem; flex-wrap: wrap; color: var(--muted); font: 500 .66rem/1.5 var(--ui); letter-spacing: .14em; text-transform: uppercase; }
/* The two photos sit on top of the footage */
.hero-gallery { position: relative; align-self: stretch; min-height: 41rem; z-index: 2; }
.hero-image { position: absolute; margin: 0; overflow: hidden; background: #171717; box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, .55); }
.hero-image::after, .work-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 55%, rgba(200, 145, 46, .14)); pointer-events: none; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.06); }
.hero-image-main { width: 66%; height: 83%; right: 0; top: 0; }
.hero-image-accent { width: 42%; height: 50%; left: 0; bottom: 0; border: .75rem solid var(--ink); }
.hero-index { position: absolute; left: 5%; top: 8%; writing-mode: vertical-rl; display: flex; align-items: center; gap: .8rem; color: var(--paper-muted); font: 500 .6rem/1 var(--ui); letter-spacing: .15em; }
.hero-index i { display: block; height: 3.5rem; width: 1px; background: var(--gold); }
.image-caption { position: absolute; right: 1rem; bottom: 1rem; margin: 0; font: 500 .6rem/1 var(--ui); text-transform: uppercase; letter-spacing: .17em; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; color: #8c877e; }
.hero-scroll { position: absolute; z-index: 2; left: var(--pad); bottom: 1.5rem; color: #8a857c; font: 500 .61rem/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; }
.hero-scroll span { width: 4rem; height: 1px; background: #605b54; }

/* ── Section heads (shared) ───────────────────────────────────────────── */
.section-head { display: grid; grid-template-columns: 1fr minmax(16rem, .38fr); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 5rem); }
.section-head > p { max-width: 26rem; color: var(--muted); margin: 0; }
.section-head h2, .booking-heading h2, .artist-copy h2, .final-cta h2 { font-size: clamp(3rem, 5.6vw, 6.2rem); line-height: .92; }

/* ── Works / gallery ──────────────────────────────────────────────────── */
.works-section { padding: clamp(6rem, 11vw, 11rem) var(--pad); background: #0c0c0b; }
.works-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.5rem; }
.filter-chip { border: 1px solid var(--line-strong); background: transparent; color: var(--paper-muted); padding: .6rem 1.1rem; font: 500 .64rem/1 var(--ui); text-transform: uppercase; letter-spacing: .14em; cursor: pointer; transition: .25s ease; }
.filter-chip:hover { border-color: var(--gold); color: var(--paper); }
.filter-chip.is-active { background: var(--gold); border-color: var(--gold); color: #17110a; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.work { margin: 0; min-width: 0; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; display: block; }
.work.is-hidden { display: none; }
.work-image { display: block; aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: #171717; }
.work-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.06); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.work:hover .work-image img, .work:focus-visible .work-image img { transform: scale(1.04); filter: saturate(.98) contrast(1.03); }
.work-index { position: absolute; left: .9rem; top: .9rem; z-index: 2; color: rgba(255,255,255,.55); font: 500 .62rem/1 var(--ui); letter-spacing: .18em; }
.work-expand { position: absolute; right: .9rem; top: .9rem; z-index: 2; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0); background: rgba(255,255,255,0); color: rgba(255,255,255,0); transition: .3s ease; }
.work:hover .work-expand, .work:focus-visible .work-expand { border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: rgba(255,255,255,.85); }
.work .work-cap { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .9rem .15rem; border-bottom: 1px solid var(--line); }
.work .work-cap b { font: 400 1.1rem/1.15 var(--display); color: var(--paper); transition: color .3s ease; }
.work:hover .work-cap b, .work:focus-visible .work-cap b { color: var(--gold-bright); }
.work .work-cap > span { color: var(--muted); font: 500 .58rem/1 var(--ui); text-transform: uppercase; letter-spacing: .12em; text-align: right; }
.instagram-link { margin-top: 4rem; padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-transform: uppercase; font: 500 .68rem/1.4 var(--ui); letter-spacing: .14em; }
.instagram-link strong { color: var(--gold-bright); font-weight: 500; }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2rem); background: rgba(6, 5, 4, .86); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox-dialog { position: relative; width: min(100%, 64rem); height: min(90svh, 52rem); max-height: 92svh; display: grid; grid-template-columns: 1.25fr .75fr; background: var(--ink-raised); border: 1px solid var(--line-strong); overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.lightbox.is-open .lightbox-dialog { transform: none; }
.lightbox-media { position: relative; background: #0b0b0a; min-height: 20rem; overflow: hidden; }
.lightbox-media img { width: 100%; height: 100%; object-fit: contain; }
.works-more-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.works-more-wrap .button { min-width: 14rem; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; background: rgba(0,0,0,.4); color: #fff; cursor: pointer; transition: background .2s ease; }
.lightbox-nav:hover { background: rgba(0,0,0,.65); }
.lightbox-prev { left: .8rem; } .lightbox-next { right: .8rem; }
.lightbox-counter { position: absolute; right: 1rem; bottom: .9rem; color: rgba(255,255,255,.6); font: 500 .66rem/1 var(--ui); letter-spacing: .18em; }
.lightbox-detail { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.4rem); overflow-y: auto; }
.lightbox-detail .eyebrow { margin: 0; }
.lightbox-detail h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
.lightbox-desc { color: #c6c2ba; font-size: .92rem; line-height: 1.75; margin: 0; }
.lightbox-meta { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: .3rem; }
.lightbox-meta div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.lightbox-meta dt { color: var(--gold); font: 600 .6rem/1.5 var(--ui); text-transform: uppercase; letter-spacing: .14em; }
.lightbox-meta dd { margin: 0; font-size: .85rem; color: var(--paper); }
.lightbox-thumbs { display: flex; gap: .5rem; margin-top: auto; padding-top: .5rem; overflow-x: auto; }
.lightbox-thumbs button { width: 2.9rem; height: 3.6rem; flex: 0 0 auto; border: 0; padding: 0; overflow: hidden; opacity: .4; cursor: pointer; transition: opacity .2s ease, box-shadow .2s ease; }
.lightbox-thumbs button.is-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--gold); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-close { position: absolute; right: .7rem; top: .7rem; z-index: 5; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(0,0,0,.4); color: var(--paper); cursor: pointer; transition: .2s ease; }
.lightbox-close:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ── Booking (dark) ───────────────────────────────────────────────────── */
.booking-section { background: var(--ink); color: var(--paper); padding: clamp(5rem, 10vw, 9rem) var(--pad); display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(36rem, 1.28fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; border-top: 1px solid var(--line); }
.booking-heading { position: sticky; top: 6rem; }
.booking-heading .eyebrow { color: var(--gold-bright); }
.booking-heading h2 em { color: var(--gold-bright); }
.booking-heading > p:not(.eyebrow) { color: var(--muted); max-width: 32rem; margin: 2rem 0 2.5rem; }
.booking-notes { margin: 0; border-top: 1px solid var(--line); }
.booking-notes div { display: grid; grid-template-columns: 2.6rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.booking-notes dt { color: var(--gold); font: 500 .65rem/1.6 var(--ui); }
.booking-notes dd { margin: 0; font: 500 .78rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: .1em; }

.booking-card { background: var(--ink-raised); border: 1px solid var(--line-strong); min-height: 38rem; padding: clamp(1.35rem, 3vw, 2.6rem); box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, .45); }
.booking-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.booking-kicker { margin: 0 0 .3rem; color: var(--muted); font: 500 .62rem/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.booking-step-title { margin: 0; font: 400 clamp(1.35rem, 2vw, 1.8rem)/1.25 var(--display); }
.step-counter { margin: .25rem 0 0; color: var(--muted); font: 500 .7rem/1 var(--ui); letter-spacing: .16em; }
.step-counter span { color: var(--gold-bright); }
.progress { height: 2px; background: rgba(255,255,255,.1); margin: 1.6rem 0 2.2rem; }
.progress span { display: block; height: 100%; width: 33.333%; background: var(--gold); transition: width .35s ease; }
.booking-message { flex: 1 1 12rem; margin: 0; min-height: 1.4rem; color: var(--paper-muted); font-size: .82rem; line-height: 1.4; }
.booking-message.is-error { color: #e88a6a; }
.booking-step { animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }

.service-grid { display: grid; gap: .75rem; }
.service-card { width: 100%; display: grid; grid-template-columns: 2.3rem 1fr auto; grid-template-rows: auto auto; gap: .35rem 1rem; text-align: left; padding: 1.25rem 1.15rem; border: 1px solid var(--line-strong); background: transparent; color: var(--paper); cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.service-card:hover { transform: translateX(4px); border-color: var(--gold); }
.service-card.is-selected { background: var(--gold); border-color: var(--gold); color: #17110a; }
.service-number { grid-row: 1 / 3; color: var(--gold); font: 500 .66rem/1.7 var(--ui); }
.service-card.is-selected .service-number { color: #4a3410; }
.service-name { font: 400 1.25rem/1.2 var(--display); }
.service-detail { grid-column: 2; color: var(--muted); font: 500 .67rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: .08em; }
.service-card.is-selected .service-detail { color: #5a4212; }
.service-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--gold); font-size: 1.2rem; }
.service-card.is-selected .service-arrow { color: #4a3410; }

/* ── Ornamental calendar (matched to the studio artwork) ─────────────────── */
.calendar-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.calendar-panel { border: 1px solid var(--gold); background: linear-gradient(180deg, #0c0b09, #0a0a09); padding: 1.5rem 1.35rem 1.75rem; position: relative; }
.calendar-panel::after { content: ""; position: absolute; inset: .5rem; border: 1px solid rgba(200, 145, 46, .28); pointer-events: none; }
.cal-crest { display: flex; justify-content: center; margin-bottom: .35rem; color: var(--gold-bright); }
.cal-crest img { width: clamp(6rem, 45%, 8.5rem); height: auto; }
.cal-title { text-align: center; color: var(--gold-bright); font: 400 .78rem/1.2 var(--display); letter-spacing: .28em; text-transform: uppercase; margin: 0; }
.cal-ornament { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .5rem 0 .1rem; color: var(--gold); }
.cal-ornament::before, .cal-ornament::after { content: ""; height: 1px; width: 2.6rem; background: linear-gradient(90deg, transparent, var(--gold)); }
.cal-ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.cal-ornament span { font-size: .7rem; }
.calendar-header { display: grid; grid-template-columns: 2rem 1fr 2rem; align-items: center; margin: .1rem 0 .6rem; }
.calendar-header p { text-align: center; margin: 0; color: var(--gold-bright); font: 400 clamp(2.6rem, 6vw, 3.6rem)/1 var(--script); text-transform: lowercase; }
.icon-button { border: 0; background: transparent; padding: .4rem; cursor: pointer; color: var(--gold); font-size: 1rem; }
.icon-button:disabled { opacity: .3; cursor: not-allowed; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .28rem; }
.weekdays { margin-bottom: .5rem; color: var(--gold); font: 500 .5rem/1 var(--ui); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.calendar-day { aspect-ratio: 1; border: 0; background: transparent; display: grid; place-items: center; position: relative; cursor: default; color: var(--muted); font: 500 .8rem/1 var(--ui); }
.calendar-grid { transition: opacity .2s ease; }
.calendar-grid.is-loading { opacity: .35; pointer-events: none; }
.hp { display: none; }
.calendar-day.is-available { cursor: pointer; color: #2a1c05; font-weight: 600; background: radial-gradient(circle at 38% 30%, var(--amber-hi), var(--amber) 52%, var(--amber-lo)); border-radius: 50%; box-shadow: 0 2px 7px rgba(0,0,0,.55), inset 0 1px 2px rgba(255,255,255,.4); transition: transform .18s ease, filter .18s ease; }
.calendar-day.is-available:hover { transform: scale(1.07); filter: brightness(1.08); }
.calendar-day.is-selected { background: radial-gradient(circle at 38% 30%, #fff0d6, var(--gold-bright) 55%, var(--amber-deep)); box-shadow: 0 0 0 2px var(--gold-bright), 0 2px 9px rgba(0,0,0,.6); }
.calendar-day.is-today::after { content: ""; position: absolute; bottom: .18rem; width: .3rem; height: .3rem; border-radius: 50%; background: var(--gold); }
.calendar-day.is-available.is-today::after { background: #2a1c05; }
.cal-year { text-align: center; margin: 1rem 0 0; color: var(--gold-bright); font: 400 1.4rem/1 var(--display); letter-spacing: .3em; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.cal-year::before, .cal-year::after { content: "❧"; color: var(--gold); font-size: .85rem; }
.cal-year::after { transform: scaleX(-1); }
.calendar-legend { margin: .9rem 0 0; display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .68rem; }
.calendar-legend span { width: .7rem; height: .7rem; border-radius: 50%; background: radial-gradient(circle at 38% 30%, var(--amber-hi), var(--amber) 55%, var(--amber-lo)); }

.times-panel { border: 1px solid var(--line-strong); padding: 1.25rem; }
.times-label, .summary-label { margin: 0; color: var(--muted); font: 600 .6rem/1 var(--ui); text-transform: uppercase; letter-spacing: .16em; }
.selected-date-label { min-height: 3rem; margin: .6rem 0 1.2rem; color: var(--paper); font: 400 1.15rem/1.3 var(--display); }
.time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.time-button { border: 1px solid var(--line-strong); background: transparent; color: var(--paper); padding: .75rem .5rem; font: 500 .72rem/1 var(--ui); cursor: pointer; transition: .2s ease; }
.time-button:hover { border-color: var(--gold); }
.time-button.is-selected { background: var(--gold); color: #17110a; border-color: var(--gold); }
.empty-times { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }

/* ── Booking details / summary ────────────────────────────────────────── */
.details-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.4rem; }
.fields { display: grid; gap: .9rem; }
.fields label { color: var(--paper-muted); font: 600 .63rem/1.2 var(--ui); text-transform: uppercase; letter-spacing: .09em; }
.fields input, .fields textarea { width: 100%; margin-top: .45rem; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--paper); padding: .8rem .9rem; outline: none; border-radius: 0; font: 400 .88rem/1.4 var(--sans); text-transform: none; letter-spacing: 0; transition: border .2s ease; }
.fields input::placeholder, .fields textarea::placeholder { color: #6f6a61; }
.fields input:focus, .fields textarea:focus { border-color: var(--gold); }
.fields input[aria-invalid="true"], .fields textarea[aria-invalid="true"] { border-color: #e0685a; }
.check-label input[aria-invalid="true"] { outline: 2px solid #e0685a; outline-offset: 2px; }
.field-error { display: block; margin-top: .4rem; color: #e88a6a; font: 500 .74rem/1.35 var(--sans); text-transform: none; letter-spacing: 0; }
.field-error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.check-label { display: flex !important; align-items: flex-start; gap: .7rem; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.45 !important; font-weight: 400 !important; color: var(--paper-muted); }
.check-label input { width: 1rem; height: 1rem; margin: .1rem 0 0; accent-color: var(--gold); }
.booking-summary { background: rgba(255,255,255,.03); border: 1px solid var(--line); padding: 1.25rem; align-self: start; }
.summary-row { display: grid; gap: .2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.summary-row small { color: var(--muted); font: 500 .58rem/1 var(--ui); text-transform: uppercase; letter-spacing: .12em; }
.summary-row strong { font: 400 .95rem/1.4 var(--display); }
.demo-note { margin: 1rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.booking-actions .button { min-width: 9rem; }
.booking-success { max-width: 36rem; margin: 1rem auto 0; text-align: center; padding: 2rem 1rem; }
.success-mark { margin: 0 auto 1.5rem; width: 4rem; height: 4rem; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-bright); font-size: 1.4rem; }
.booking-success h3 { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; }
.booking-success > p:not(.eyebrow) { color: var(--paper-muted); }
.success-details { margin: 1.5rem 0; padding: 1rem; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.text-button { border: 0; background: transparent; color: var(--gold-bright); text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; font-size: .8rem; }

/* ── Studio ───────────────────────────────────────────────────────────── */
.artist-section { padding: clamp(6rem, 11vw, 11rem) var(--pad); background: #0c0c0b; color: var(--paper); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 10rem); align-items: center; border-top: 1px solid var(--line); }
.artist-portrait { position: relative; aspect-ratio: 4 / 5; border: 1px solid #292724; background: #10100f; overflow: hidden; display: grid; place-items: center; }
.artist-portrait::before { content: "VLADEX"; position: absolute; color: rgba(241, 238, 232, .035); font: 400 7vw/1 var(--display); letter-spacing: .04em; transform: rotate(-90deg); }
.artist-portrait::after { content: ""; position: absolute; inset: 1.2rem; border: 1px solid rgba(200, 145, 46, .35); }
.artist-portrait .artist-photo { width: clamp(7.5rem, 12vw, 10.5rem); height: clamp(7.5rem, 12vw, 10.5rem); border-radius: 50%; object-fit: cover; filter: grayscale(1) sepia(.2) contrast(1.1) brightness(.96); box-shadow: 0 0 0 .6rem #10100f, 0 0 0 calc(.6rem + 1px) rgba(200, 145, 46, .55); }
.artist-mark { position: absolute; z-index: 1; left: 2rem; bottom: 2rem; width: clamp(6rem, 10vw, 9rem); height: auto; }
.artist-copy .eyebrow { color: var(--gold-bright); }
.artist-copy .lead { max-width: 42rem; font: 400 clamp(1.25rem, 2vw, 1.7rem)/1.5 var(--display); }
.artist-copy > p:not(.lead):not(.eyebrow) { color: var(--paper-muted); max-width: 42rem; }
.artist-copy h2 em { color: var(--gold-bright); }
.artist-facts { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.artist-facts div { padding: 1.2rem 1rem 0 0; }
.artist-facts small { display: block; color: var(--gold); margin-bottom: .55rem; font: 600 .57rem/1 var(--ui); text-transform: uppercase; letter-spacing: .14em; }
.artist-facts span { font: 400 .98rem/1.45 var(--display); }
.artist-facts a:hover { color: var(--gold-bright); }

/* ── Szalon + elérhetőség ─────────────────────────────────────────────── */
.salon-section { padding: clamp(6rem, 11vw, 11rem) var(--pad); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; border-top: 1px solid var(--line); background: var(--ink); }
/* Map as a dark print in the calendar's double gold frame; decorative only (no pointer events) */
.salon-map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--gold); background: #0c0b09; overflow: hidden; }
.salon-map::after { content: ""; position: absolute; inset: .5rem; border: 1px solid rgba(200, 145, 46, .28); pointer-events: none; }
.salon-map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(1) invert(.92) sepia(.3) contrast(.95) brightness(.88); }
.salon-pin { position: absolute; left: 50%; top: 50%; width: 1.15rem; height: 1.15rem; margin: -.575rem 0 0 -.575rem; border-radius: 50%; background: radial-gradient(circle at 38% 30%, var(--amber-hi), var(--amber) 52%, var(--amber-lo)); box-shadow: 0 0 0 .5rem rgba(230, 162, 60, .22), 0 0 0 1rem rgba(230, 162, 60, .09), 0 2px 7px rgba(0, 0, 0, .6); }
.salon-map-card { position: absolute; z-index: 1; top: 0; right: 0; min-width: 14rem; display: grid; gap: .3rem; padding: 1.1rem 1.2rem 1.2rem; background: var(--ink-raised); border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.salon-map-card strong { font: 400 1.25rem/1.1 var(--display); color: var(--paper); }
.salon-map-card span { color: var(--paper-muted); font-size: .8rem; }
.salon-route { justify-self: start; margin-top: .6rem; display: inline-flex; gap: .6rem; padding: .7rem 1rem; background: var(--gold); color: #17110a; font: 600 .64rem/1 var(--ui); text-transform: uppercase; letter-spacing: .14em; transition: background .25s ease; }
.salon-route:hover, .salon-route:focus-visible { background: var(--gold-bright); }
.salon-copy h2 { font-size: clamp(3rem, 5.6vw, 6.2rem); line-height: .92; }
.salon-contacts { margin: 2.6rem 0 2.4rem; border-top: 1px solid var(--line); }
.salon-contacts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.salon-contacts dt { color: var(--gold); font: 600 .57rem/2.1 var(--ui); text-transform: uppercase; letter-spacing: .14em; }
.salon-contacts dd { margin: 0; color: var(--paper); font: 400 1.05rem/1.45 var(--display); }
.salon-contacts a:hover, .salon-contacts a:focus-visible { color: var(--gold-bright); }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final-cta { padding: clamp(6rem, 12vw, 12rem) var(--pad); text-align: center; background: linear-gradient(180deg, #241a0e, #150f08); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(78vw, 880px); aspect-ratio: 485 / 200; transform: translate(-50%, -50%); background: url("assets/logo/vladex-logo.webp") center / contain no-repeat; opacity: .07; pointer-events: none; }
.final-cta > * { position: relative; }
.final-cta h2 { margin-bottom: 2.5rem; }
.final-cta h2 em { color: var(--gold-bright); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { padding: 4rem var(--pad) 6.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; border-top: 1px solid var(--line); color: var(--paper-muted); background: var(--ink); }
.footer-brand .brand { margin-bottom: 1.2rem; color: var(--paper); }
.footer-brand p { margin: 0; max-width: 24rem; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.footer-col h4 { margin: 0 0 1rem; color: var(--gold); font: 600 .6rem/1 var(--ui); text-transform: uppercase; letter-spacing: .16em; }
.footer-col a, .footer-col p { display: block; margin: 0 0 .55rem; color: var(--paper-muted); font-size: .86rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font: 500 .62rem/1.5 var(--ui); letter-spacing: .04em; text-transform: uppercase; }
.mobile-booking-bar { display: none; }

/* ── Reveal ───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(1.4rem); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 48rem; }
  .hero-gallery { min-height: 38rem; width: min(100%, 42rem); justify-self: end; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-section { grid-template-columns: 1fr; }
  .booking-heading { position: static; }
  .booking-notes { display: grid; grid-template-columns: repeat(3, 1fr); }
  .booking-notes div { grid-template-columns: 1fr; gap: .3rem; border-right: 1px solid var(--line); padding-right: 1rem; }
  .booking-notes div:last-child { border-right: 0; }
  .artist-section { grid-template-columns: .85fr 1.15fr; gap: 3rem; }
  .salon-section { grid-template-columns: 1fr; gap: 3rem; }
  .salon-map { aspect-ratio: 16 / 9; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { padding-bottom: 4.25rem; }
  .site-header { height: 4.5rem; }
  .brand-logo { height: 2.4rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; gap: .35rem; border: 0; background: transparent; padding: .8rem .2rem .8rem .8rem; cursor: pointer; }
  .menu-toggle span { display: block; width: 1.55rem; height: 1px; background: var(--paper); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .mobile-nav { position: absolute; display: grid; top: 4.5rem; left: 0; right: 0; background: #0b0b0a; border-bottom: 1px solid var(--line); padding: 1.2rem var(--pad) 1.8rem; gap: .3rem; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font: 400 1.3rem/1 var(--display); }
  .hero { min-height: auto; padding-top: 7.5rem; grid-template-columns: 1fr; gap: 3.5rem; }
  /* Phones: the text on top, the photos under it, the footage runs behind both */
  .hero-media::after { background: linear-gradient(180deg, rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, .5) 38%, rgba(10, 10, 10, .3) 60%, rgba(10, 10, 10, .5) 86%, var(--ink) 100%); }
  h1 { font-size: clamp(4.1rem, 21vw, 6.6rem); }
  .hero-meta { margin-top: 3rem; }
  .hero-gallery { min-height: 34rem; }
  .hero-image-main { width: 76%; }
  .hero-image-accent { width: 46%; height: 48%; }
  .hero-scroll { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .works-grid { grid-template-columns: 1fr; }
  .work-image { aspect-ratio: 4 / 5; }
  .instagram-link { align-items: flex-start; flex-direction: column; }
  .lightbox-dialog { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; max-height: 94svh; }
  .lightbox-media { height: 40svh; min-height: 14rem; }
  .booking-section { padding-left: 1rem; padding-right: 1rem; }
  .booking-notes { grid-template-columns: 1fr; }
  .booking-notes div { grid-template-columns: 2.6rem 1fr; border-right: 0; }
  .booking-card { padding: 1.2rem; }
  .calendar-layout, .details-layout { grid-template-columns: 1fr; }
  .times-panel { min-height: 9rem; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .booking-summary { order: -1; } /* choice first, so the consent box sits right above "Küldés" */
  .booking-message { flex-basis: 100%; }
  .booking-actions { justify-content: stretch; }
  .booking-actions .button { flex: 1; min-width: 0; }
  .artist-section { grid-template-columns: 1fr; }
  .artist-portrait { max-height: 36rem; aspect-ratio: 5 / 4; } /* squatter while it only holds the small photo */
  .artist-facts { grid-template-columns: 1fr; }
  .artist-facts div { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .salon-map { aspect-ratio: 1 / 1; } /* square: the corner card never covers the pin in the middle */
  .salon-map-card { min-width: 0; padding: .9rem 1rem 1rem; }
  .salon-map-card strong { font-size: 1.05rem; }
  .salon-contacts div { grid-template-columns: 5.6rem 1fr; }
  .salon-copy .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-booking-bar { position: fixed; z-index: 30; display: flex; justify-content: space-between; align-items: center; left: 0; right: 0; bottom: 0; min-height: 4.25rem; padding: 0 1.25rem; background: var(--gold); color: #17120b; font: 600 .75rem/1 var(--ui); text-transform: uppercase; letter-spacing: .14em; transition: transform .25s ease, visibility 0s; }
  /* Off while the booking section is on screen: it covered the start times and passed for the send button */
  .mobile-booking-bar.is-away { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
}

@media (max-width: 420px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-gallery { min-height: 29rem; }
  .time-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-template-columns: 1.8rem 1fr auto; gap: .3rem .6rem; padding: 1rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
