/*
Theme Name: Black Lotus Tattoo & Art Gallery
Version: 1.0.0
Text Domain: kit
*/

:root {
  --ink: #050406;
  --plum: #120d14;
  --plum-2: #1d1420;
  --bone: #efe8de;
  --bone-ink: #1a1418;
  --pink: #e0457b;
  --gold: #c9a45c;
  --mute: rgba(239, 232, 222, .72);
  --quiet: rgba(239, 232, 222, .5);
  --wrap: 1240px;
  --gap: 24px;
  --head: 'Rozha One', 'Bodoni 72', Didot, serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grain: radial-gradient(circle at 30% 40%, rgba(0,0,0,.05) 0 1px, transparent 1.5px), radial-gradient(circle at 70% 70%, rgba(0,0,0,.04) 0 1px, transparent 1.5px);
}

body { font: 400 17px/1.6 var(--body); color: var(--bone); background: var(--plum); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: .98; margin: 0 0 .35em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.kicker { font: 600 1rem/1.2 var(--body); color: var(--pink); margin: 0 0 14px; }
.kicker::before { content: '\2740'; margin-right: 10px; color: var(--gold); }
.fine { font-size: .9rem; color: var(--quiet); }
.lede { color: var(--mute); }
.proto-note { margin: 0; padding: 7px var(--gap); background: var(--pink); color: #fff; font: 500 .88rem/1.3 var(--body); text-align: center; }

.masthead { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.masthead-in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gap); min-height: 72px; }
.brand-name { font: 400 1.7rem/1 var(--head); color: var(--bone); }
.brand-name i { font-style: normal; color: var(--pink); }
.nav-list a { font: 500 1rem/1 var(--body); color: var(--bone); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { border-color: var(--pink); }
.nav-call { font: 600 1rem/1 var(--body); text-decoration: none; background: var(--pink); color: #fff; padding: 13px 18px; border-radius: 0; }
.nav-toggle { background: none; border: 1px solid var(--bone); color: var(--bone); border-radius: 0; padding: 0 14px; font: 600 1rem var(--body); }
.top-call { display: none; }
@media (max-width: 1080px) {
  .site-nav { background: var(--ink); padding: 8px var(--gap) 22px; border-bottom: 2px solid var(--pink); }
  .nav-list a { font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .top-call { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 14px; background: var(--pink); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; }
  .nav-toggle { margin-left: 8px; padding: 0 12px; }
}
@media (max-width: 520px) { .masthead-in { padding: 10px 14px; gap: 8px; } .brand-name { font-size: 1.35rem; } }

.btn-solid { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; background: var(--pink); color: #fff; font: 600 1.08rem/1 var(--body); text-decoration: none; border: 0; box-shadow: 6px 6px 0 var(--ink), 6px 6px 0 1px var(--pink); transition: transform .2s, box-shadow .2s; }
.btn-solid:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink), 8px 8px 0 1px var(--pink); }
.btn-line { display: inline-flex; align-items: center; min-height: 56px; padding: 0 22px; color: var(--bone); font: 600 1.08rem/1 var(--body); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(239,232,222,.6); }
.acts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }

/* hero: ink in water, the lotus inks itself across the words */
.bl-hero { position: relative; min-height: calc(100svh - 106px); max-height: 940px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,6,.88) 0%, rgba(5,4,6,.55) 45%, rgba(5,4,6,.15) 100%); }
.hero-lotus { position: absolute; z-index: -1; right: 6%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); color: var(--pink); opacity: .9; filter: drop-shadow(0 0 18px rgba(224,69,123,.45)); }
.lotus { display: block; width: 100%; height: auto; }
.lotus path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-lotus .lotus path { animation: ink 2.4s cubic-bezier(.6,0,.2,1) forwards; }
.hero-lotus .lotus path:nth-child(2) { animation-delay: .25s; } .hero-lotus .lotus path:nth-child(3) { animation-delay: .4s; }
.hero-lotus .lotus path:nth-child(4) { animation-delay: .6s; } .hero-lotus .lotus path:nth-child(5) { animation-delay: .75s; } .hero-lotus .lotus path:nth-child(6) { animation-delay: 1s; }
@keyframes ink { to { stroke-dashoffset: 0; } }
.hero-in { position: relative; width: 100%; padding-top: 40px; padding-bottom: 40px; padding-right: 120px; }
.bl-hero h1 { margin: 0; display: flex; flex-direction: column; }
.h-black { font-size: clamp(4.6rem, 13vw, 12rem); line-height: .82; color: var(--bone); letter-spacing: -.01em; }
.h-lotus { font-size: clamp(4.6rem, 13vw, 12rem); line-height: .82; color: transparent; -webkit-text-stroke: 2px var(--pink); margin-left: .5em; }
.hero-what { font: 600 1.25rem/1.2 var(--body); margin: 22px 0 0; color: var(--gold); }
.hero-what i { font-style: normal; color: var(--pink); margin: 0 6px; }
.hero-lead { max-width: 30em; margin: 14px 0 0; font-size: 1.12rem; color: var(--mute); }
.hrs-rail { position: absolute; right: 0; top: 0; bottom: 0; width: 92px; margin: 0; padding: 18px 0; list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 2px; background: rgba(5,4,6,.72); border-left: 1px solid rgba(224,69,123,.5); backdrop-filter: blur(4px); }
.hrs-rail li { display: grid; text-align: center; padding: 8px 0; font-size: .82rem; color: var(--mute); }
.hrs-rail b { font: 400 1.15rem/1 var(--head); color: var(--bone); }
.hrs-rail li.off b { color: var(--quiet); }

.band { position: relative; padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }

/* custom work: bone paper, the lotus inks in as it scrolls into view */
.custom { background: var(--bone); color: var(--bone-ink); background-image: var(--grain); background-size: 6px 6px, 9px 9px; }
.custom .kicker { color: #b22a5c; }
.cu-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.cu-art { color: var(--bone-ink); }
.cu-art .lotus path { transition: stroke-dashoffset 2.2s cubic-bezier(.6,0,.2,1); }
.cu-art .lotus path:nth-child(2) { transition-delay: .2s; } .cu-art .lotus path:nth-child(3) { transition-delay: .35s; } .cu-art .lotus path:nth-child(4) { transition-delay: .55s; } .cu-art .lotus path:nth-child(5) { transition-delay: .7s; } .cu-art .lotus path:nth-child(6) { transition-delay: .95s; }
.cu-art.in .lotus path, html:not(.js) .cu-art .lotus path { stroke-dashoffset: 0; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 70px 1fr; column-gap: 16px; padding: 18px 0; border-top: 1px solid rgba(26,20,24,.15); }
.steps .n { grid-row: span 2; font: 400 2.6rem/1 var(--head); color: #b22a5c; }
.steps h3 { font-size: 1.6rem; margin: 0 0 4px; }
.steps p { margin: 0; color: rgba(26,20,24,.72); }
.js .steps li { opacity: 0; transform: translateX(30px); transition: opacity .7s ease calc(var(--i) * .15s + .3s), transform .8s ease calc(var(--i) * .15s + .3s); }
.js .steps.in li { opacity: 1; transform: none; }

/* three tall panels */
.panels { background: var(--plum); }
.pn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pn { position: relative; display: block; aspect-ratio: 3/4.4; overflow: hidden; text-decoration: none; box-shadow: 0 30px 50px -30px rgba(0,0,0,.9); }
.pn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .6s; filter: saturate(.85); }
.pn:hover img { transform: scale(1.06); filter: saturate(1.1); }
.pn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,4,6,.92)); }
.pn-t { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; color: var(--mute); }
.pn-t b { display: block; font: 400 2.6rem/1 var(--head); color: var(--bone); margin-bottom: 8px; }
.js .pn { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1) calc(var(--i) * .15s); }
.js .pn.in { clip-path: inset(0 0 0 0); }

/* gallery wall */
.wall { background: var(--plum-2); }
.wall-track { display: flex; align-items: center; gap: 22px; overflow-x: auto; padding: 34px var(--gap) 40px max(var(--gap), calc((100vw - var(--wrap)) / 2 + var(--gap))); scroll-snap-type: x proximity; cursor: grab; scrollbar-color: var(--pink) transparent; }
.fr { flex: none; margin: 0; padding: 12px; background: linear-gradient(135deg, #3a2b1c, #1c140d); box-shadow: 0 24px 40px -20px rgba(0,0,0,.95), inset 0 0 0 2px var(--gold); scroll-snap-align: start; }
.fr img { display: block; height: 100%; width: 100%; object-fit: cover; }
.fr.tall { width: 260px; height: 360px; } .fr.wide { width: 440px; height: 290px; } .fr.sq { width: 300px; height: 300px; }

/* visit */
.visit { background: var(--plum); }
.vs-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.city { font: 400 1.5rem var(--head); color: var(--gold); margin: -4px 0 18px; }
.week { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.week li { display: grid; padding: 12px 4px; text-align: center; background: rgba(255,255,255,.04); border-top: 3px solid var(--pink); font-size: .85rem; color: var(--mute); }
.week li.off { border-top-color: rgba(255,255,255,.15); color: var(--quiet); }
.week b { font: 400 1.15rem/1.1 var(--head); color: var(--bone); }
.js .week li { transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.js .week.in li { transform: none; }
.js .week li:nth-child(2) { transition-delay: .06s; } .js .week li:nth-child(3) { transition-delay: .12s; } .js .week li:nth-child(4) { transition-delay: .18s; } .js .week li:nth-child(5) { transition-delay: .24s; } .js .week li:nth-child(6) { transition-delay: .3s; } .js .week li:nth-child(7) { transition-delay: .36s; }
.v-call a { font: 400 2.2rem/1.1 var(--head); text-decoration: none; color: var(--pink); }
.map { border: 1px solid rgba(224,69,123,.6); box-shadow: 14px 14px 0 rgba(224,69,123,.25); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* consult */
.consult { background: var(--bone); color: var(--bone-ink); background-image: var(--grain); background-size: 6px 6px, 9px 9px; }
.consult .kicker { color: #b22a5c; }
.rq-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.consult p { color: rgba(26,20,24,.72); }
.call-big { font: 400 1.7rem/1.2 var(--head); color: var(--bone-ink) !important; }
.call-big a { color: #b22a5c; text-decoration: none; }
.rq-form { background: #fff; padding: clamp(22px, 3vw, 34px); box-shadow: 10px 10px 0 var(--bone-ink); border: 1px solid var(--bone-ink); }
.kit-form label { font-weight: 600; font-size: .95rem; color: var(--bone-ink); }
.kit-form input, .kit-form select, .kit-form textarea { border: 1px solid #cbbfb4; border-radius: 0; padding: 10px 14px; background: #fff; color: var(--bone-ink); }
.kit-form input:focus, .kit-form select:focus, .kit-form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(224,69,123,.2); }
.kit-form input.touched:invalid { border-color: #9b2a20; }
.kit-form .btn-solid { box-shadow: 6px 6px 0 var(--bone-ink); }
.form-note { padding: 12px 14px; font-weight: 600; }
.form-note.ok { background: #e3efe0; color: #2d5a28; }
.form-note.err { background: #f6e1de; color: #8a1c14; }

.foot { background: var(--ink); color: var(--mute); padding: 48px 0 0; border-top: 3px solid var(--pink); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-title { font: 400 1.6rem/1.1 var(--head); color: var(--bone); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--pink); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-base { max-width: var(--wrap); margin: 36px auto 0; padding: 18px var(--gap) 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
html { overflow-x: clip; }

@media (max-width: 900px) {
  .bl-hero { min-height: 0; max-height: none; flex-direction: column; align-items: stretch; }
  .hero-in { padding: 46px var(--gap) 30px; }
  .hero-lotus { width: 80vw; right: -14vw; top: 30%; opacity: .55; }
  .h-lotus { margin-left: .3em; }
  .hrs-rail { position: relative; width: auto; flex-direction: row; justify-content: space-between; padding: 8px 10px; border-left: 0; border-top: 1px solid rgba(224,69,123,.5); }
  .hrs-rail li { padding: 4px 0; font-size: .72rem; }
  .hrs-rail b { font-size: .95rem; }
  .cu-in, .vs-in, .rq-in { grid-template-columns: 1fr; }
  .cu-art { max-width: 320px; }
  .pn-grid { grid-template-columns: 1fr; }
  .pn { aspect-ratio: 4/3.4; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fr.tall { width: 200px; height: 280px; } .fr.wide { width: 300px; height: 210px; } .fr.sq { width: 230px; height: 230px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lotus path { stroke-dashoffset: 0 !important; animation: none !important; }
  .js .steps li, .js .pn, .js .week li { opacity: 1; transform: none; clip-path: none; }
}
@media (max-width: 900px) { .hrs-rail { padding-right: 58px; } }
