/* Layout: "lab file" — hairline frames, mono metadata strips, crosshair marks, one brushed-steel control surface. Single dark look by choice (concrete + steel). */
:root {
  color-scheme: dark;
  --logo: url(/assets/img/logo.png);
  --concrete: #0e0f11;
  --slab: #16181b;
  --slab-2: #1d2024;
  --line: #2a2e33;
  --line-hi: #3b4047;
  --ink: #e6e8ea;
  --ink-dim: #9aa1a8;
  --ink-faint: #656b72;
  --steel-hi: #f2f4f5;
  --steel: #b8bec5;
  --steel-lo: #7c838b;
  --signal: #5b86ff;
  --ember: #e39a5b;
  --ok: #7fd4a4;
  --paper: #d9d6cf;
  --paper-ink: #16181a;
  --stamp: #b4402f;

  --f-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .78rem;
  --step-0: 1rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.8rem);

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --steel-grad:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.04) 1px 3px),
    linear-gradient(100deg, #8a9097 0%, #eef0f2 20%, #a5abb2 38%, #f7f8f9 55%, #9097a0 74%, #d7dbdf 90%, #a9afb6 100%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  font-variation-settings: "wdth" 100;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--concrete); }
main, header, footer, section { position: relative; z-index: 1; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.mono { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); }
.tabular { font-variant-numeric: tabular-nums; }

.frame { position: relative; border: 1px solid var(--line); }
.frame::before, .frame::after { content: ""; position: absolute; width: 11px; height: 11px; pointer-events: none; border-color: var(--steel); border-style: solid; }
.frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* Brushed steel control: the studio's aluminium reception counter */
.btn-steel {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: 0 1.6em; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--steel-grad); background-size: 100% 100%, 240% 100%; background-position: 0 0, 0% 0;
  color: #0e0f11; font-family: var(--f-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(0,0,0,.25), 0 10px 30px -12px rgba(0,0,0,.8);
  transition: background-position .9s cubic-bezier(.2,.7,.2,1), transform .2s;
}
.btn-steel:hover { background-position: 0 0, 100% 0; }
.btn-steel:active { transform: translateY(1px); }
.btn-steel[disabled] { opacity: .35; cursor: not-allowed; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.4em; border: 1px solid var(--line-hi); border-radius: 2px; background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--steel); background: rgba(255,255,255,.03); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: .66rem; }
.arrow { width: 16px; height: 10px; }

/* ── Top bar ── */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--concrete) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: block; line-height: 0; }
.logo img { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.l { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink-dim); }
.nav a.l:hover, .nav a.l[aria-current="page"] { color: var(--ink); }
.nav .btn-steel { min-height: 40px; padding: 0 1.1em; font-size: .66rem; }
@media (max-width: 860px) { .nav a.l.hide-sm { display: none; } .nav { gap: 14px; } }

/* ── Hero ── */
.hero { overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(32px, 6vw, 80px); align-items: end; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 30px; }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.off { background: var(--ink-faint); box-shadow: none; }
/* Real logo, filled with brushed steel */
.logo-steel {
  width: min(100%, 600px); aspect-ratio: 854 / 255;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  background: linear-gradient(100deg, #8f959c 0%, #f4f5f6 18%, #a9afb6 34%, #ffffff 48%, #8b9198 62%, #dfe2e5 80%, #9aa0a7 100%);
  background-size: 260% 100%; animation: sheen 7s cubic-bezier(.45,0,.55,1) infinite alternate;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.tagline { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-faint); margin-top: 22px; }
.hero h1 { font-family: var(--f-body); font-variation-settings: "wdth" 118; font-weight: 500; font-size: var(--step-3); line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; margin-top: 36px; max-width: 18ch; }
.hero .lede { color: var(--ink-dim); max-width: 46ch; margin-top: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 26px; max-width: 560px; }
.readout { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--slab); min-width: 0; }
.readout .k { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.readout .v { font-family: var(--f-display); font-size: .8rem; letter-spacing: .05em; margin-top: 4px; }
.readout > div { min-width: 0; }
.readout button { margin-left: auto; flex: none; }
@media (max-width: 520px) { .hero-strip { grid-template-columns: minmax(0, 1fr); } }
.hero-photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: var(--slab) center / cover no-repeat; }
.hero-photo .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,17,0) 45%, rgba(14,15,17,.85) 100%); }
.hero-photo .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.hero-photo .scan { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(91,134,255,.8), transparent); top: 18%; animation: scan 6s cubic-bezier(.45,0,.55,1) infinite; }
.reticle { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; color: var(--steel); }
@keyframes scan { 0%, 100% { top: 14%; opacity: 0; } 10% { opacity: 1; } 50% { top: 82%; opacity: 1; } 60% { opacity: 0; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { aspect-ratio: 16 / 11; order: -1; }
  .logo-steel { width: min(100%, 420px); }
}

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--slab); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-dim); padding: 13px 0; white-space: nowrap; }
.ticker span::after { content: "+"; color: var(--steel-lo); margin: 0 26px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── Sections ── */
.sec { border-bottom: 1px solid var(--line); }
.sec > .wrap { padding-block: clamp(48px, 8vw, 96px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 30px; }
.sec-head h2 { font-family: var(--f-display); font-size: var(--step-2); letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; }
.sec-head p { color: var(--ink-dim); max-width: 44ch; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { padding: 28px 22px; display: grid; gap: 14px; align-content: start; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar svg { width: 30px; height: 30px; color: var(--steel); }
.pillar h3 { font-family: var(--f-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; }
.pillar p { color: var(--ink-dim); font-size: .92rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillar:nth-child(3) { border-left: 0; } .pillar:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .pillar { padding: 22px 14px; } }

/* Services spec sheet */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 4px; }
.tab { flex: none; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.tab:hover { border-color: var(--line-hi); color: var(--ink); }
.tab[aria-pressed="true"] { border-color: var(--steel-hi); color: var(--ink); background: var(--slab-2); }
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) 112px 96px auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, var(--steel-hi), transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc:hover::after { transform: scaleX(1); }
.svc .code { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-faint); letter-spacing: .1em; }
.svc h3 { font-family: var(--f-body); font-variation-settings: "wdth" 115; font-weight: 600; font-size: 1.04rem; letter-spacing: .02em; text-transform: uppercase; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.svc p { color: var(--ink-dim); font-size: .92rem; margin-top: 4px; }
.svc .dur, .svc .price { font-family: var(--f-mono); font-size: .86rem; font-variant-numeric: tabular-nums; }
.svc .dur { color: var(--ink-dim); }
.svc .price { text-align: right; }
.svc .btn-ghost { min-height: 40px; padding: 0 1em; font-size: .68rem; }
@media (max-width: 760px) {
  .svc { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .svc .code, .svc .info { grid-column: 1 / -1; }
  .svc .dur { grid-column: 1; }
  .svc .price { grid-column: 2; }
  .svc .btn-ghost { grid-column: 1 / -1; margin-top: 8px; }
}
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--line-hi); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); border-radius: 2px; white-space: nowrap; font-weight: 400; }
.chip.ex { border-style: dashed; }
.chip.hot { border-color: color-mix(in srgb, var(--ember) 60%, transparent); color: var(--ember); }
.chip.paid { border-color: color-mix(in srgb, var(--ok) 55%, transparent); color: var(--ok); }
.chip.new { border-color: color-mix(in srgb, var(--signal) 70%, transparent); color: var(--signal); }

/* Club membership card */
.club { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; background: var(--slab); margin-top: 36px; }
.club > div { padding: clamp(22px, 4vw, 40px); }
.club .l { border-right: 1px solid var(--line); }
.club h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 3vw, 1.8rem); letter-spacing: .08em; margin-top: 10px; }
.club p { color: var(--ink-dim); margin-top: 12px; max-width: 48ch; }
.club .price { font-family: var(--f-display); font-size: clamp(1.8rem, 5vw, 2.6rem); font-variant-numeric: tabular-nums; }
.club .price small { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-dim); letter-spacing: .1em; }
.club ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; color: var(--ink-dim); font-size: .92rem; }
.club li::before { content: "+"; color: var(--steel); margin-right: 10px; font-family: var(--f-mono); }
@media (max-width: 760px) { .club { grid-template-columns: minmax(0, 1fr); } .club .l { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Manifesto */
.power { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.power-photo { aspect-ratio: 272 / 470; max-width: 100%; max-height: 560px; width: 100%; background: var(--slab) center / cover no-repeat; }
.power blockquote { margin: 0; font-family: var(--f-body); font-variation-settings: "wdth" 120; font-weight: 500; font-size: var(--step-3); line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
.power .body { color: var(--ink-dim); max-width: 52ch; margin-top: 22px; }
.power .rule { width: 42px; height: 1px; background: var(--steel); margin: 22px 0; }
@media (max-width: 760px) { .power { grid-template-columns: minmax(0, 1fr); } .power-photo { aspect-ratio: 4 / 5; max-height: 460px; } }

/* Team: lab ID cards */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.idcard { background: var(--slab); display: grid; align-content: start; }
.idcard .ph { aspect-ratio: 4 / 3.4; background: var(--slab-2) center 22% / cover no-repeat; border-bottom: 1px solid var(--line); position: relative; filter: grayscale(1) contrast(1.05); }
.idcard .ph.lowres { background-size: cover; image-rendering: auto; }
.idcard .ph span { position: absolute; left: 12px; top: 10px; }
.idcard .in { padding: 18px; display: grid; gap: 12px; }
.idcard h3 { font-family: var(--f-body); font-variation-settings: "wdth" 118; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; }
.idcard .role { color: var(--ink-dim); font-size: .92rem; }
.idcard dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.idcard dl div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.idcard dt { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); flex: none; }
.idcard dd { margin: 0; font-family: var(--f-mono); font-size: .74rem; text-align: right; color: var(--ink); }
.idcard .btn-ghost { min-height: 44px; width: 100%; }
.barcode { height: 22px; color: var(--ink-faint); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: minmax(0, 1fr); } .idcard .ph { aspect-ratio: 4 / 3; } }

/* Reviews readout */
.rv-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 5vw, 60px); align-items: end; margin-bottom: 30px; }
.score { font-family: var(--f-display); font-size: clamp(3.4rem, 10vw, 6.4rem); line-height: .9; font-variant-numeric: tabular-nums; }
.stars { display: flex; gap: 4px; color: var(--steel-hi); margin-top: 12px; }
.stars svg { width: 16px; height: 16px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.review-card { background: var(--slab); padding: 20px; display: grid; gap: 14px; align-content: space-between; }
.review-card q { font-size: 1rem; line-height: 1.5; quotes: "“" "”"; }
.review-card .by { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.review-card .by b { color: var(--ink-dim); font-weight: 500; }
@media (max-width: 860px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reviews { grid-template-columns: minmax(0, 1fr); } .rv-head { grid-template-columns: minmax(0, 1fr); } }

/* Studio gallery */
.gallery { display: grid; grid-template-columns: 1.1fr .9fr 1fr; grid-template-rows: 260px 220px; gap: 10px; }
.gallery figure { margin: 0; position: relative; background: var(--slab) center / cover no-repeat; overflow: hidden; }
.gallery figure:nth-child(1) { grid-row: 1 / 3; }
.gallery figure:nth-child(4) { grid-column: 2 / 4; }
.gallery figcaption { position: absolute; left: 10px; bottom: 8px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px 170px; }
  .gallery figure:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
  .gallery figure:nth-child(4) { grid-column: 1 / 3; }
}

/* Location */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.loc-card { background: var(--slab); padding: 24px; display: grid; gap: 16px; align-content: start; }
.loc-card h3 { font-family: var(--f-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.addr { font-variation-settings: "wdth" 112; font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .82rem; font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.hours div.today { color: var(--ink); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-row code { font-family: var(--f-mono); font-size: .95rem; user-select: all; overflow-wrap: anywhere; }
.loc .btn-ghost { min-height: 44px; }
@media (max-width: 760px) { .loc { grid-template-columns: minmax(0, 1fr); } }

footer .wrap { padding-block: 34px 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer p { color: var(--ink-faint); font-size: .86rem; max-width: 60ch; }

/* Mobile sticky booking bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 10px; align-items: center;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: color-mix(in srgb, var(--concrete) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.mbar.show { transform: none; }
.mbar .t { flex: 1; min-width: 0; }
.mbar .t b { display: block; font-family: var(--f-display); font-size: .74rem; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.mbar .t span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.mbar .btn-steel { min-height: 46px; }
@media (max-width: 760px) { .mbar { display: flex; } footer .wrap { padding-bottom: 110px; } }

/* HUD cursor (fine pointers only) */
.hud { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; transform: translate(-200px, -200px); }
.hud .ring { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(242,244,245,.75); border-radius: 50%; transition: width .2s, height .2s, margin .2s, border-color .2s; }
.hud .ring::before, .hud .ring::after { content: ""; position: absolute; background: rgba(242,244,245,.75); }
.hud .ring::before { left: 50%; top: -6px; width: 1px; height: 6px; }
.hud .ring::after { top: 50%; left: -6px; height: 1px; width: 6px; }
.hud .pt { position: absolute; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; background: var(--steel-hi); border-radius: 50%; }
.hud .xy { position: absolute; left: 20px; top: 14px; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; color: var(--ink-faint); white-space: nowrap; }
.hud.on-link .ring { width: 50px; height: 50px; margin: -25px 0 0 -25px; border-color: var(--signal); }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) { .hud { display: block; } }

/* ── Booking sheet ── */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(5,6,7,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.sheet-panel { width: min(760px, 100%); height: min(880px, 100%); min-width: 0; background: var(--concrete); border: 1px solid var(--line-hi); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); animation: rise .35s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { padding: 16px 20px 0; border-bottom: 1px solid var(--line); }
.sheet-head .t { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head h2 { font-family: var(--f-display); font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; }
.icon-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; border-radius: 2px; }
.icon-btn:hover { border-color: var(--steel); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 16px 0 0; list-style: none; padding: 0; }
.steps li { padding: 10px 0 12px; border-top: 2px solid var(--line); font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps li.done { border-color: var(--steel-lo); color: var(--ink-dim); }
.steps li.on { border-color: var(--steel-hi); color: var(--ink); }
@media (max-width: 560px) { .steps li span { display: none; } }
.sheet-body { overflow-y: auto; padding: 22px 20px 28px; overscroll-behavior: contain; min-width: 0; }
.sheet-body h3.q { font-family: var(--f-body); font-variation-settings: "wdth" 115; font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 16px; }
.sheet-body h4 { font-family: var(--f-mono); font-weight: 400; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin: 20px 0 10px; }
.sheet-body h4:first-of-type { margin-top: 0; }
.sheet-foot { border-top: 1px solid var(--line); padding: 14px 20px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.sheet-foot .sum { min-width: 0; flex: 1; }
.sheet-foot .sum .a { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-foot .sum .b { font-family: var(--f-display); font-size: .84rem; letter-spacing: .05em; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-foot .btn-ghost, .sheet-foot .btn-steel { min-height: 46px; flex: none; }
@media (max-width: 560px) {
  .sheet { padding: 0; align-items: stretch; }
  .sheet-panel { width: 100%; height: 100%; border: 0; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
  .sheet-head, .sheet-body, .sheet-foot { padding-left: 16px; padding-right: 16px; }
  .sheet-foot { flex-wrap: wrap; }
  .sheet-foot .sum { flex-basis: 100%; }
  .sheet-foot .btn-steel { flex: 1; padding: 0 1em; }
  .sheet-foot .btn-ghost { padding: 0 1em; }
}

.opt-list { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; width: 100%; text-align: left; padding: 15px 16px; background: var(--slab); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line-hi); }
.opt[aria-pressed="true"] { border-color: var(--steel-hi); background: var(--slab-2); box-shadow: inset 3px 0 0 var(--steel-hi); }
.opt .n { font-weight: 600; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.opt .d { grid-column: 1; color: var(--ink-dim); font-size: .88rem; }
.opt .r { grid-row: 1 / 3; grid-column: 2; text-align: right; font-family: var(--f-mono); font-size: .82rem; font-variant-numeric: tabular-nums; }
.opt .r small { display: block; color: var(--ink-faint); font-size: .7rem; margin-top: 2px; }
.opt.barber { grid-template-columns: 52px minmax(0, 1fr) auto; }
.opt.barber .av { grid-row: 1 / 3; width: 52px; height: 52px; background: var(--slab-2) center 20% / cover no-repeat; border: 1px solid var(--line); display: grid; place-items: center; filter: grayscale(1); color: var(--ink-dim); }
.opt.barber .d { grid-column: 2; }
.opt.barber .r { grid-column: 3; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 0 4px 8px; margin: 0 -4px 18px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 64px; scroll-snap-align: start; display: grid; gap: 2px; justify-items: center; padding: 10px 0; background: var(--slab); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.day .w { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.day .n { font-family: var(--f-display); font-size: 1.05rem; }
.day .m { font-family: var(--f-mono); font-size: .6rem; color: var(--ink-faint); text-transform: uppercase; }
.day[aria-pressed="true"] { background: var(--steel-grad); background-size: 100% 100%, 240% 100%; color: #0e0f11; border-color: transparent; }
.day[aria-pressed="true"] .w, .day[aria-pressed="true"] .m { color: #2b2f34; }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.slot-group { margin-bottom: 18px; }
.slot-group .eyebrow { margin-bottom: 10px; display: block; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 46px; background: transparent; border: 1px solid var(--line-hi); border-radius: 2px; cursor: pointer; font-family: var(--f-mono); font-size: .9rem; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--steel); }
.slot[aria-pressed="true"] { background: var(--steel-hi); color: #0e0f11; border-color: var(--steel-hi); }
.empty { padding: 22px; background: var(--slab); color: var(--ink-dim); }
.empty button { margin-top: 12px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--slab); border: 1px solid var(--line-hi); border-radius: 2px; color: var(--ink); font: inherit; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--steel-hi); }
.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.phone span { display: grid; place-items: center; padding: 0 12px; background: var(--slab-2); border: 1px solid var(--line-hi); border-right: 0; font-family: var(--f-mono); font-size: .9rem; color: var(--ink-dim); }
.err { color: var(--ember); font-size: .84rem; min-height: 1.2em; }
.hint { color: var(--ink-faint); font-size: .84rem; }

.review { display: grid; border-top: 1px solid var(--line); margin: 0 0 22px; }
.review div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.review dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); flex: none; }
.review dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.pay { display: grid; gap: 8px; margin-bottom: 16px; }
.policy { color: var(--ink-faint); font-size: .84rem; }

.processing { display: grid; place-items: center; gap: 18px; padding: 60px 0; text-align: center; }
.spinner { width: 46px; height: 46px; border: 1px solid var(--line-hi); border-top-color: var(--steel-hi); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Confirmation: lab archive file */
.file { background: var(--paper); color: var(--paper-ink); padding: 18px; font-family: var(--f-mono); position: relative; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); }
.file .hdr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--paper-ink); }
.file .hdr > div { padding: 8px 10px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.file .hdr > div + div { border-left: 1px solid var(--paper-ink); }
.file .brand { font-family: var(--f-display); font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: .04em; margin: 18px 0 2px; }
.file .sub { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.file .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--paper-ink); margin-top: 16px; }
.file .grid > div { padding: 9px 10px; border-bottom: 1px solid var(--paper-ink); min-width: 0; }
.file .grid > div:nth-child(odd) { border-right: 1px solid var(--paper-ink); }
.file .grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.file .grid small { display: block; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #55595e; }
.file .grid b { display: block; font-weight: 500; font-size: .86rem; margin-top: 2px; overflow-wrap: anywhere; }
.file .stripe { margin-top: 14px; padding: 6px 10px; background: repeating-linear-gradient(-45deg, var(--paper-ink) 0 6px, transparent 6px 12px); }
.file .stripe span { background: var(--paper-ink); color: var(--paper); padding: 2px 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.file .foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 14px; }
.file .foot svg { height: 34px; width: 170px; max-width: 55%; color: var(--paper-ink); }
.stamp { position: absolute; right: 18px; top: 58px; transform: rotate(-8deg); border: 2px solid var(--stamp); color: var(--stamp); padding: 4px 10px; font-family: var(--f-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; animation: stamp .5s cubic-bezier(.3,1.6,.5,1) .25s both; }
@keyframes stamp { from { transform: rotate(-8deg) scale(1.8); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: .9; } }
.after { display: grid; gap: 10px; margin-top: 20px; }
.after .row { display: flex; flex-wrap: wrap; gap: 10px; }
.wa { margin-top: 22px; background: #0b141a; border: 1px solid var(--line); padding: 14px; }
.wa .who { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-dim); margin-bottom: 12px; }
.wa .who i { width: 30px; height: 30px; border-radius: 50%; background: #1c1f22 var(--logo) center / 80% no-repeat; }
.wa .bubble { background: #1f2c34; color: #e9edef; padding: 10px 12px 18px; border-radius: 8px 8px 8px 2px; font-size: .9rem; max-width: 420px; position: relative; white-space: pre-line; }
.wa .bubble time { position: absolute; right: 10px; bottom: 4px; font-size: .66rem; color: #8696a0; }

/* ── Studio panel ── */
.panel-wrap { padding-block: 28px 64px; }
.panel-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.panel-top h1 { font-family: var(--f-display); font-size: var(--step-2); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.kpi { background: var(--slab); padding: 16px; }
.kpi .k { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.kpi .v { font-family: var(--f-display); font-size: 1.3rem; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi .s { color: var(--ink-dim); font-size: .8rem; margin-top: 4px; }
.meter { height: 3px; background: var(--line); margin-top: 10px; }
.meter i { display: block; height: 100%; background: var(--steel); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.agenda-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--slab); }
.agenda { display: grid; grid-template-columns: 54px repeat(3, minmax(150px, 1fr)); min-width: 520px; }
.agenda .colh { position: sticky; top: 0; padding: 12px 10px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--slab-2); display: flex; align-items: center; gap: 10px; min-width: 0; }
.agenda .colh .av { width: 28px; height: 28px; flex: none; background: var(--slab) center 20% / cover no-repeat; border: 1px solid var(--line); filter: grayscale(1); }
.agenda .colh b { font-weight: 600; font-size: .84rem; text-transform: uppercase; font-variation-settings: "wdth" 110; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda .corner { border-bottom: 1px solid var(--line); background: var(--slab-2); }
.times, .col { position: relative; }
.col { border-left: 1px solid var(--line); background-image: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 36px); }
.times div { position: absolute; left: 0; right: 6px; text-align: right; font-family: var(--f-mono); font-size: .62rem; color: var(--ink-faint); transform: translateY(-50%); }
.off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 6px, transparent 6px 12px); border-block: 1px dashed var(--line); display: grid; place-items: center; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.appt { position: absolute; left: 5px; right: 5px; padding: 5px 8px; background: var(--slab-2); border: 1px solid var(--line-hi); border-left: 2px solid var(--steel); border-radius: 2px; overflow: hidden; text-align: left; cursor: pointer; display: grid; align-content: start; gap: 1px; }
.appt:hover { border-color: var(--steel); }
.appt.web { border-left-color: var(--signal); background: color-mix(in srgb, var(--signal) 12%, var(--slab-2)); }
.appt b { font-size: .76rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt span { font-family: var(--f-mono); font-size: .6rem; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowline { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--ember); z-index: 2; pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--ink-faint); font-size: .8rem; }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-left: 2px solid var(--steel); background: var(--slab-2); }
.legend i.web { border-left-color: var(--signal); background: color-mix(in srgb, var(--signal) 20%, var(--slab-2)); }
.drawer { margin-top: 16px; padding: 18px; background: var(--slab); display: grid; gap: 14px; }
.drawer .row { display: flex; flex-wrap: wrap; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 200; background: var(--steel-hi); color: #0e0f11; padding: 12px 18px; border-radius: 2px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); max-width: calc(100% - 32px); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Producción: estados, consentimiento, gestión de reserva ── */
.skeleton { height: 74px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.notice { padding: 18px 20px; background: var(--slab); border-left: 2px solid var(--ember); color: var(--ink-dim); display: grid; gap: 10px; }
.notice b { color: var(--ink); font-weight: 600; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; color: var(--ink-dim); font-size: .9rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--steel-hi); }
.check a { color: var(--ink); }
.linkbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 12px; background: var(--slab); border: 1px solid var(--line); }
.linkbox code { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-dim); overflow-wrap: anywhere; user-select: all; }
.status-line { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.status-line.ok { color: var(--ok); }
.status-line.bad { color: var(--ember); }
.file.cancelled { filter: grayscale(1); opacity: .75; }
.stamp.void { border-color: #444; color: #444; }
.mybooking { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--slab-2); border: 1px solid var(--line-hi); margin-top: 18px; max-width: 560px; }
.mybooking span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }

/* ── Páginas de texto (privacidad) ── */
.doc { max-width: 760px; }
.doc h1 { font-family: var(--f-display); font-size: var(--step-2); letter-spacing: .08em; text-transform: uppercase; margin: 10px 0 24px; }
.doc h2 { font-family: var(--f-body); font-variation-settings: "wdth" 115; font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink-dim); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* ── Panel ── */
.login { min-height: calc(100dvh - 140px); display: grid; place-items: center; padding-block: 40px; }
.login-card { width: min(420px, 100%); background: var(--slab); padding: 28px; display: grid; gap: 18px; }
.login-card h1 { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; }
.login-card .btn-steel { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-dim); text-decoration: underline; cursor: pointer; font-size: .86rem; justify-self: start; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar .btn-ghost, .toolbar .btn-steel { min-height: 40px; padding: 0 1em; font-size: .66rem; }
.daynav { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.daynav input[type="date"] { min-height: 40px; background: var(--slab); color: var(--ink); border: 1px solid var(--line-hi); border-radius: 2px; padding: 0 10px; font-family: var(--f-mono); }
.daynav .label { font-family: var(--f-display); font-size: .9rem; letter-spacing: .06em; margin-left: 6px; }
.appt.done { opacity: .55; border-left-color: var(--ok); }
.appt.no_show { border-left-color: var(--ember); opacity: .7; }
.appt.cancelled { opacity: .35; border-style: dashed; }
.blockbox { position: absolute; left: 5px; right: 5px; padding: 5px 8px; border: 1px dashed var(--line-hi); background: repeating-linear-gradient(-45deg, rgba(227,154,91,.08) 0 6px, transparent 6px 12px); text-align: left; cursor: pointer; overflow: hidden; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); border-radius: 2px; }
.field select { width: 100%; min-height: 50px; padding: 0 12px; background: var(--slab); border: 1px solid var(--line-hi); border-radius: 2px; color: var(--ink); font: inherit; }
.field input[type="date"], .field input[type="time"] { font-family: var(--f-mono); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.confirm-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--ember) 50%, transparent); }
.confirm-row span { color: var(--ink-dim); font-size: .88rem; }
