/* ============================================================
   DR.INK TATTOO STUDIO — "THE INK CLINIC"
   Medical-noir × tattoo flash. Acid green on ink black.
   ============================================================ */

:root {
  --ink: #08080a;
  --ink-2: #101014;
  --ink-3: #16161c;
  --bone: #ede6da;
  --bone-dim: #b7b0a4;
  --acid: #c6ff3a;
  --blood: #e23428;
  --line: rgba(237, 230, 218, 0.14);
  --line-soft: rgba(237, 230, 218, 0.07);
  --f-black: "Pirata One", cursive;
  --f-sans: "Archivo", sans-serif;
  --f-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--acid); color: var(--ink); }

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

a { color: inherit; text-decoration: none; }

/* ---------- custom cursor ---------- */
@media (pointer: fine) {
  body { cursor: none; }
  body a, body button, body .tilt { cursor: none; }
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--acid); mix-blend-mode: difference; }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(198, 255, 58, 0.65);
  transition: width .25s, height .25s, border-color .25s, background .25s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(198,255,58,.12); border-color: var(--acid); }
.ink-splat {
  position: fixed; pointer-events: none; z-index: 9998; border-radius: 50%;
  background: var(--acid); transform: translate(-50%,-50%);
  animation: splat .6s ease-out forwards;
}
@keyframes splat {
  0% { opacity: .9; scale: .2; }
  100% { opacity: 0; scale: 1.6; }
}
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- grain + scanlines ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 9000; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-8%); }
  20% { transform: translate(-12%,3%); } 30% { transform: translate(6%,-10%); }
  40% { transform: translate(-4%,12%); } 50% { transform: translate(-10%,6%); }
  60% { transform: translate(12%,0); } 70% { transform: translate(0,10%); }
  80% { transform: translate(-8%,-2%); } 90% { transform: translate(8%,4%); }
}
.scanlines {
  position: fixed; inset: 0; z-index: 9001; pointer-events: none; opacity: .05;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #000 2px 3px);
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; transition: transform .7s cubic-bezier(.76,0,.24,1);
}
.preloader.done { transform: translateY(-101%); }
.ekg-wrap { width: min(560px, 82vw); }
.ekg-wrap svg { width: 100%; overflow: visible; }
.ekg-line {
  fill: none; stroke: var(--acid); stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(198,255,58,.8));
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  animation: ekg 1.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes ekg { to { stroke-dashoffset: 0; } }
.preloader .stamp-name {
  font-family: var(--f-black); font-size: clamp(42px, 8vw, 84px); color: var(--bone);
  letter-spacing: .02em; opacity: 0; scale: 1.6; rotate: -6deg;
  animation: stampIn .35s cubic-bezier(.34,1.56,.64,1) 1.35s forwards;
}
.preloader .stamp-sub {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .5em; color: var(--acid);
  text-transform: uppercase; opacity: 0; animation: fadeUp .4s ease 1.6s forwards;
}
@keyframes stampIn { to { opacity: 1; scale: 1; rotate: -2deg; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 8000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; mix-blend-mode: normal;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,8,10,.86); backdrop-filter: blur(12px); border-bottom-color: var(--line-soft); }
.nav-logo { font-family: var(--f-black); font-size: 28px; line-height: 1; }
.nav-logo .cross { color: var(--acid); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-dim); position: relative; padding: 4px 0; transition: color .25s;
}
.nav-links a:hover { color: var(--acid); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--acid); transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--acid); color: var(--acid) !important; padding: 10px 18px;
  position: relative; overflow: hidden; transition: color .3s !important;
}
.nav-cta::before {
  content: ""; position: absolute; inset: 0; background: var(--acid);
  transform: translateY(101%); transition: transform .3s cubic-bezier(.76,0,.24,1); z-index: -1;
}
.nav-cta:hover { color: var(--ink) !important; }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta::after { display: none; }
.burger { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; z-index: 8600; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--bone); transition: .3s;
}
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 21px; rotate: 45deg; background: var(--acid); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; rotate: -45deg; background: var(--acid); }

@media (max-width: 1020px) {
  .nav-links {
    position: fixed; inset: 0; background: rgba(8,8,10,.97); flex-direction: column;
    justify-content: center; gap: 34px; opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 16px; }
  .burger { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.72);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(8,8,10,.88) 100%),
              linear-gradient(180deg, rgba(8,8,10,.5), transparent 30%, transparent 65%, var(--ink));
}
.hero-inner { position: relative; z-index: 2; padding: 0 20px; }
.hero-tag {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--acid); margin-bottom: 18px;
}
.hero-title {
  font-family: var(--f-black); font-weight: 400;
  font-size: clamp(88px, 20vw, 250px); line-height: .85; color: var(--bone);
  position: relative; display: inline-block;
}
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
}
.glitch::before {
  color: var(--acid); z-index: -1; clip-path: inset(20% 0 40% 0);
  animation: glitchA 3.2s steps(2) infinite;
}
.glitch::after {
  color: var(--blood); z-index: -2; clip-path: inset(60% 0 5% 0);
  animation: glitchB 2.7s steps(2) infinite;
}
@keyframes glitchA {
  0%, 91% { transform: none; opacity: 0; }
  92% { transform: translate(-6px, 2px); opacity: 1; clip-path: inset(10% 0 55% 0); }
  94% { transform: translate(5px, -1px); opacity: 1; clip-path: inset(45% 0 20% 0); }
  96% { transform: translate(-3px, 0); opacity: 1; clip-path: inset(70% 0 5% 0); }
  98%, 100% { transform: none; opacity: 0; }
}
@keyframes glitchB {
  0%, 88% { transform: none; opacity: 0; }
  89% { transform: translate(6px, -2px); opacity: 1; clip-path: inset(5% 0 70% 0); }
  92% { transform: translate(-5px, 1px); opacity: 1; clip-path: inset(55% 0 10% 0); }
  95%, 100% { transform: none; opacity: 0; }
}
.hero-sub {
  font-family: var(--f-mono); font-size: clamp(11px, 1.6vw, 14px); letter-spacing: .34em;
  text-transform: uppercase; color: var(--bone-dim); margin-top: 22px;
}
.hero-sub b { color: var(--bone); font-weight: 700; }
.hero-ctas { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 30px; border: 1px solid var(--bone); color: var(--bone);
  position: relative; overflow: hidden; display: inline-block; transition: color .3s, border-color .3s;
  background: none;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--bone);
  transform: translateY(101%); transition: transform .32s cubic-bezier(.76,0,.24,1); z-index: -1;
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn.acid { border-color: var(--acid); color: var(--acid); }
.btn.acid::before { background: var(--acid); }
.btn.acid:hover { color: var(--ink); }

/* rotating stamp */
.stamp-badge {
  position: absolute; right: 4vw; bottom: 22vh; width: 130px; height: 130px; z-index: 3;
  filter: drop-shadow(0 0 12px rgba(198,255,58,.25));
}
.stamp-badge svg { width: 100%; height: 100%; }
.stamp-badge text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; fill: var(--acid); }
.stamp-badge .core { font-family: var(--f-black); font-size: 34px; fill: var(--bone); letter-spacing: 0; }
@media (max-width: 720px) { .stamp-badge { display: none; } }

/* hero ekg strip */
.hero-ekg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; opacity: .8; }
.hero-ekg svg { display: block; width: 100%; height: 60px; }
.hero-ekg path {
  fill: none; stroke: var(--acid); stroke-width: 1.6; opacity: .8;
  filter: drop-shadow(0 0 5px rgba(198,255,58,.7));
  stroke-dasharray: 8 1400; animation: ekgRun 4s linear infinite;
}
@keyframes ekgRun { to { stroke-dashoffset: -1408; } }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 16px 0; background: var(--ink); position: relative; z-index: 4;
}
.marquee.tilt-l { rotate: -1.4deg; scale: 1.02; background: var(--acid); border: none; }
.marquee.tilt-l .m-track span { color: var(--ink); -webkit-text-stroke: 0; }
.m-track { display: flex; gap: 44px; width: max-content; animation: marq 28s linear infinite; will-change: transform; }
.marquee.rev .m-track { animation-direction: reverse; }
.m-track span {
  font-family: var(--f-black); font-size: 30px; white-space: nowrap; color: var(--bone);
  display: flex; align-items: center; gap: 44px;
}
.m-track .x { color: var(--acid); font-size: 20px; }
.marquee.tilt-l .m-track .x { color: var(--ink); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 6vw; position: relative; }
.sec-head { margin-bottom: 64px; position: relative; }
.sec-label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--acid); display: block; margin-bottom: 14px;
}
.sec-label::before { content: "+ "; color: var(--blood); }
.sec-title {
  font-family: var(--f-black); font-weight: 400; font-size: clamp(46px, 7.5vw, 110px);
  line-height: .92; color: var(--bone);
}
.sec-title .ghost {
  -webkit-text-stroke: 1.5px var(--line); color: transparent; display: block;
}

/* reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }

/* ---------- diagnosis (about) ---------- */
.diag-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.diag-copy p { color: var(--bone-dim); font-size: 17px; max-width: 54ch; margin-bottom: 1.2em; }
.diag-copy p b { color: var(--bone); }
.diag-copy .lead {
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.45; color: var(--bone); font-weight: 500;
}
.lead .hl { background: linear-gradient(transparent 55%, rgba(198,255,58,.35) 55%); }
.diag-img { position: relative; }
.diag-img img { border: 1px solid var(--line); filter: saturate(.85); }
.diag-img::after {
  content: "FIG. 01 — THE PRACTICE"; position: absolute; left: 0; bottom: -30px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: var(--bone-dim);
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 80px; }
.stat { background: var(--ink); padding: 34px 20px; text-align: center; }
.stat .num { font-family: var(--f-black); font-size: clamp(38px, 5vw, 64px); color: var(--acid); line-height: 1; }
.stat .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-dim); margin-top: 10px; }
@media (max-width: 900px) { .diag-grid { grid-template-columns: 1fr; } .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- treatments (services / Rx cards) ---------- */
.rx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rx-card {
  border: 1px solid var(--line); background: var(--ink-2); padding: 34px 28px;
  position: relative; overflow: hidden; transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s;
}
.rx-card:hover { transform: translateY(-8px) rotate(-.5deg); border-color: var(--acid); }
.rx-card::before {
  content: "℞"; position: absolute; top: -22px; right: -6px; font-size: 110px;
  color: var(--line-soft); font-family: Georgia, serif; transition: color .4s;
}
.rx-card:hover::before { color: rgba(198,255,58,.16); }
.rx-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--blood); }
.rx-card h3 { font-family: var(--f-black); font-weight: 400; font-size: 34px; margin: 12px 0 10px; }
.rx-card p { color: var(--bone-dim); font-size: 14.5px; }
.rx-card .dose {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--acid); text-transform: uppercase;
}
@media (max-width: 980px) { .rx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rx-grid { grid-template-columns: 1fr; } }

/* ---------- theatre (horizontal gallery) ---------- */
.theatre { position: relative; height: 380vh; }
.theatre-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.theatre-head { padding: 0 6vw 30px; }
.theatre-track { display: flex; gap: 3vw; padding: 0 6vw; will-change: transform; }
.t-item { flex: 0 0 auto; width: min(480px, 72vw); position: relative; }
.t-item .frame { overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/4; background: var(--ink-3); }
.t-item.wide .frame { aspect-ratio: 4/3; }
.t-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: scale .8s cubic-bezier(.22,1,.36,1), filter .8s; scale: 1.08; }
.t-item:hover img { scale: 1; filter: saturate(1.05); }
.t-cap { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-dim); }
.t-cap b { color: var(--acid); font-weight: 400; }

/* ---------- specialists ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-card {
  border: 1px solid var(--line); background: var(--ink-2); padding: 30px;
  position: relative; transition: border-color .3s, background .3s;
}
.spec-card:hover { border-color: var(--acid); background: var(--ink-3); }
.spec-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: var(--blood); text-transform: uppercase; }
.spec-card h3 { font-family: var(--f-black); font-weight: 400; font-size: 40px; margin: 10px 0 4px; }
.spec-role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--acid); margin-bottom: 14px; }
.spec-card p { color: var(--bone-dim); font-size: 14px; }
.spec-note { margin-top: 14px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--bone-dim); opacity: .6; text-transform: uppercase; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- residency ---------- */
.res-band {
  background: var(--acid); color: var(--ink); padding: 100px 6vw; position: relative; overflow: hidden;
}
.res-band .sec-label { color: var(--ink); }
.res-band .sec-label::before { color: var(--blood); }
.res-band .sec-title { color: var(--ink); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.res-copy p { max-width: 52ch; font-size: 17px; color: rgba(8,8,10,.78); margin-top: 20px; }
.res-cards { display: grid; gap: 16px; }
.res-card {
  border: 2px solid var(--ink); padding: 26px 28px; display: flex; align-items: baseline;
  justify-content: space-between; gap: 20px; background: transparent; transition: background .3s, color .3s;
}
.res-card:hover { background: var(--ink); color: var(--acid); }
.res-card .n { font-family: var(--f-black); font-size: 30px; }
.res-card .p { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; white-space: nowrap; }
.res-band .btn { border-color: var(--ink); color: var(--ink); margin-top: 26px; }
.res-band .btn::before { background: var(--ink); }
.res-band .btn:hover { color: var(--acid); }
.res-band .big-ghost {
  position: absolute; right: -2vw; bottom: -4vw; font-family: var(--f-black);
  font-size: 22vw; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(8,8,10,.14);
  pointer-events: none; user-select: none;
}
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; } }

/* ---------- records (reviews) ---------- */
.g-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.g-badge {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); padding: 12px 18px; background: var(--ink-2);
}
.g-btn { padding: 14px 24px; }
.g-badge .g-score { font-family: var(--f-black); font-size: 26px; color: var(--acid); }
.g-badge .g-meta { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }

.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rec-card {
  border: 1px solid var(--line); padding: 30px; background: var(--ink-2); position: relative;
  transform: rotate(var(--rot, 0deg)); transition: transform .4s, border-color .4s;
}
.rec-card:hover { transform: rotate(0) translateY(-6px); border-color: var(--acid); }
.rec-card .stars { color: var(--acid); letter-spacing: 4px; font-size: 14px; }
.rec-card blockquote { font-size: 15px; color: var(--bone); margin: 16px 0 18px; line-height: 1.65; }
.rec-card .who { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.rec-demo {
  position: absolute; top: 14px; right: 14px; font-family: var(--f-mono); font-size: 8.5px;
  letter-spacing: .14em; color: var(--blood); border: 1px solid var(--blood);
  padding: 3px 7px; text-transform: uppercase; opacity: .85;
}
@media (max-width: 900px) { .rec-grid { grid-template-columns: 1fr; } }

/* ---------- aftercare rx ---------- */
.after-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.rx-sheet {
  background: var(--bone); color: var(--ink); padding: 40px 38px; rotate: -1.2deg;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); position: relative;
}
.rx-sheet::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--blood) 0 24px, var(--ink) 24px 48px, var(--acid) 48px 72px);
}
.rx-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 20px; }
.rx-head .t { font-family: var(--f-black); font-size: 34px; }
.rx-head .rx { font-family: Georgia, serif; font-size: 40px; }
.rx-sheet ol { margin-left: 20px; }
.rx-sheet li { font-family: var(--f-mono); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.rx-sheet li::marker { font-weight: 700; color: var(--blood); }
.rx-sig { margin-top: 24px; display: flex; justify-content: space-between; align-items: end; }
.rx-sig .sig { font-family: var(--f-black); font-size: 26px; rotate: -4deg; }
.rx-sig .date { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; }
.after-copy p { color: var(--bone-dim); font-size: 16.5px; max-width: 50ch; margin-bottom: 1.1em; }
.after-copy p b { color: var(--bone); }
@media (max-width: 900px) { .after-wrap { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit { text-align: center; padding: 140px 6vw; position: relative; overflow: hidden; }
.visit .sec-title { font-size: clamp(52px, 9vw, 140px); }
.visit-info {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin: 36px 0 44px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim);
}
.visit-info b { color: var(--bone); font-weight: 400; }
.visit-info .sep { color: var(--acid); }
.pulse-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acid);
  margin-right: 8px; animation: pulse 1.6s ease infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(198,255,58,.5); } 50% { box-shadow: 0 0 0 9px rgba(198,255,58,0); } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 50px 6vw 90px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: start; }
.foot-logo { font-family: var(--f-black); font-size: 34px; }
.foot-logo .cross { color: var(--acid); }
.foot-col { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--bone-dim); line-height: 2.1; text-transform: uppercase; }
.foot-col a:hover { color: var(--acid); }
.foot-fine {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; color: rgba(237,230,218,.4);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-transform: uppercase;
}

/* ---------- vijaya toast ---------- */
.vj-toast {
  position: fixed; left: 18px; bottom: 18px; z-index: 8500; max-width: 300px;
  background: var(--ink-2); border: 1px solid var(--line); padding: 14px 16px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--bone-dim);
  display: flex; gap: 12px; align-items: start; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.vj-toast b { color: var(--acid); font-weight: 400; }
.vj-toast button { background: none; border: none; color: var(--bone); font-size: 14px; line-height: 1; padding: 0; }
.vj-toast button:hover { color: var(--blood); }

/* ---------- social proof popup ---------- */
.sp-pop {
  position: fixed; right: 18px; bottom: 18px; z-index: 8400; width: 280px;
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--acid);
  padding: 14px 16px; transform: translateX(120%); transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.sp-pop.show { transform: none; }
.sp-pop .sp-line { font-size: 12.5px; color: var(--bone); }
.sp-pop .sp-line b { color: var(--acid); font-weight: 700; }
.sp-pop .sp-meta { font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; color: var(--bone-dim); margin-top: 6px; text-transform: uppercase; }
.sp-pop .sp-demo { color: var(--blood); }

/* ---------- wa float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 110px; z-index: 8300; width: 54px; height: 54px;
  border-radius: 50%; background: var(--acid); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(198,255,58,.35); transition: scale .25s;
}
.wa-float:hover { scale: 1.1; }
.wa-float svg { width: 28px; height: 28px; fill: var(--ink); }

/* ---------- noimg fallback ---------- */
.noimg { position: relative; }
.noimg::after {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 20px; background: var(--ink-3);
  font-family: var(--f-black); font-size: 28px; color: var(--line); letter-spacing: .04em;
}

/* ---------- contact page ---------- */
.c-hero { padding: 180px 6vw 60px; }
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 6vw 80px; }
.c-card { border: 1px solid var(--line); background: var(--ink-2); padding: 32px; }
.c-card h3 { font-family: var(--f-black); font-weight: 400; font-size: 30px; margin-bottom: 14px; }
.c-card h3 .plus { color: var(--acid); }
.c-card p, .c-card a.line { display: block; color: var(--bone-dim); font-size: 14.5px; margin-bottom: 8px; }
.c-card a.line:hover { color: var(--acid); }
.c-card .mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; }
.map-wrap { padding: 0 6vw 100px; }
.map-frame {
  border: 1px solid var(--line); aspect-ratio: 21/9; overflow: hidden; position: relative;
  filter: grayscale(1) contrast(1.05); transition: filter .5s;
}
.map-frame:hover { filter: grayscale(0); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .c-grid { grid-template-columns: 1fr; } .map-frame { aspect-ratio: 4/3; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
