/* Massive Tattoo Studio — v2 (Dave's 2008 logo: black, white, ink-splat red)
   Layout idea: a flash-poster page. Ink-navy ground for the work, white paper for reading,
   signal red only for "Text Dave". Left-aligned, condensed marquee type, the roundel as the one bold device. */

@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #151515;        /* near-black, the page ground (Dave's logo black is #231f20) */
  --grey: #2b2b2b;       /* raised surfaces on black */
  --splat: #ed1c24;      /* the logo's ink-splat red: accents, lines, logo */
  --red: #c8161e;        /* a deeper cut of the same red for buttons and red panels, so white text reads */
  --paper: #ffffff;
  --mist: #e9efee;       /* quiet surfaces on paper */
  --steel: #a9b4b3;      /* secondary text on charcoal */
  --slate: #50585a;      /* secondary text on paper */
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1200px;
  --r: 999px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1.0625rem/1.55 var(--body); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ffd23f; outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font: 400 clamp(2.4rem, 9vw, 4.75rem)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.005em; margin: 0 0 0.35em; text-wrap: balance; }
.h3 { font: 700 1.35rem/1.2 var(--body); margin: 0 0 0.5em; }
.lede { max-width: 36em; color: var(--steel); margin: 0 0 1.5rem; font-size: 1.1rem; }
.tag { display: inline-block; font: 600 0.72rem/1 var(--body); background: #ffd23f; color: #1c1e21; padding: 0.3em 0.55em; border-radius: 4px; vertical-align: 0.15em; margin-left: 0.25em; white-space: nowrap; }

/* draft bar */
.draftbar { background: #ffd23f; color: #1c1e21; font: 600 0.8rem/1.3 var(--body); padding: 0.45rem var(--gutter); text-align: left; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.4rem; border-radius: var(--r); font: 700 1.05rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .12s ease; }
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b51d27; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.95rem; }

/* header */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; padding: 0.55rem var(--gutter); background: rgba(21, 21, 21, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.logo { display: block; height: 50px; width: auto; }
.logo-foot { height: 64px; }
.foot-est { display: block; margin-top: 0.5rem; color: var(--steel); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: none; gap: 1.6rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--steel); }
.nav a:hover { color: #fff; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 760px); min-height: min(86svh, 760px); display: flex; align-items: flex-end; background: var(--ink) url("../media/hero-mobile.jpg") center/cover no-repeat; }
.hero-video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,21,21,.15) 0%, rgba(21,21,21,.35) 40%, rgba(21,21,21,.92) 100%); }
.hero-inner { width: min(var(--max), 100%); margin: 0 auto; padding: 4rem var(--gutter) 1.75rem; }
@media (min-width: 900px) { .hero-inner { padding-bottom: 2.25rem; } }
.hero-title { margin: 0 0 1.2rem; font: 400 clamp(3.6rem, 19vw, 9.5rem)/0.98 var(--display); text-transform: uppercase; letter-spacing: -0.005em; }
.hero-title span { display: block; }
.hero-title .l3 { font-size: 0.62em; letter-spacing: 0.01em; }
.hero-title em { font-style: normal; color: var(--red); -webkit-text-stroke: 0; }
@keyframes slam { from { transform: translateY(18px) scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-sub { max-width: 24em; font: 600 clamp(1.3rem, 5.2vw, 1.6rem)/1.3 var(--body); margin: 0 0 1.4rem; color: #fff; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.4rem; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.98rem; color: #d7daee; }
.hero-proof strong { font: 400 1.35rem/1 var(--display); color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.hero-proof b { color: #fff; font-weight: 700; }
.proof-sep { margin: 0 0.6em; color: var(--splat); }
.hero-proof a { text-decoration: none; }
.hero-proof a:hover { text-decoration: underline; }

/* styles band */
.styles-band { background: var(--red); color: #fff; overflow: hidden; border-block: 3px solid var(--ink); }
.band-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0.7rem 0; animation: band 22s linear infinite; }
.band-track li { font: 400 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; padding: 0 1.1rem; display: flex; align-items: center; gap: 2.2rem; white-space: nowrap; }
.band-track li::after { content: ""; width: 34px; height: 30px; background: url(../img/brand/splat-m-white.svg) center / contain no-repeat; flex: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* work */
.work { padding: 4rem 0 3rem; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 6px; }
.grid li { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #222; }
.grid li.feature { grid-column: span 2; aspect-ratio: 4 / 3.2; }
.grid button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.grid button:focus-visible { outline: 3px solid #ffd23f; outline-offset: -3px; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.grid button:hover img { transform: scale(1.04); }
.more { margin-top: 1.5rem; width: 100%; }
.more[hidden] { display: none; }

/* big pieces strip */
.big { padding: 3rem 0 3.5rem; background: #0f0f0f; }
.strip { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 380px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip li { scroll-snap-align: start; }
.strip button { all: unset; cursor: zoom-in; display: block; }
.strip img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 6px; }
.strip p { margin: 0.6rem 0 0; color: var(--steel); font-size: 0.95rem; }

/* reel */
.reel { padding: 3rem 0; }
.reel-grid { display: grid; gap: 1.5rem; align-items: center; }
.reel-frame { width: min(360px, 100%); border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 0 0 6px var(--splat); margin-inline: auto; }
.reel-frame video { width: 100%; aspect-ratio: 9 / 16; background: #000; }

/* Dave (paper) */
.dave { background: var(--paper); color: var(--ink); padding: 4.5rem 0; }
.dave .lede, .dave p { color: var(--ink); }
.dave-grid { display: grid; gap: 2.5rem; }
.dave-copy { max-width: 38em; }
.dave-copy > p { margin: 0 0 1rem; font-size: 1.1rem; }
.quote { margin: 2rem 0; padding: 0 0 0 1.2rem; border-left: 6px solid var(--red); }
.quote p { font: 400 clamp(1.6rem, 5.6vw, 2.2rem)/1.15 var(--display); margin: 0 0 0.5rem; color: var(--ink); }
.quote footer { font-weight: 700; color: var(--slate); }
.dave-photo { margin: 0; }
.dave-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.dave-photo figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--slate); }

/* artists */
.artists { padding: 3rem 0 3.5rem; }
.artist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 760px; }
.artist { display: grid; grid-template-columns: 132px 1fr; gap: 0; align-items: stretch; padding: 0; overflow: hidden; border: 1.5px solid rgba(255,255,255,.18); border-radius: 10px; }
.artist > div:last-child { padding: 1rem 1.1rem 1.1rem; }
@media (min-width: 700px) { .artist { grid-template-columns: 160px 1fr; } }
/* v3.28: Dave's card no longer outlined in red all the time; only hover and the open card turn red */
.artist.is-draft { border-style: dashed; }
.artist-pic { width: 100%; height: 100%; min-height: 180px; border-radius: 0; object-fit: cover; object-position: 50% 25%; background: repeating-linear-gradient(135deg, #222 0 10px, #2b2b2b 10px 20px); }
.artist h3 { margin: 0; font: 400 1.6rem/1 var(--display); text-transform: uppercase; }
.artist .role { margin: 0.25rem 0 0.5rem; color: var(--steel); font-weight: 600; font-size: 0.92rem; }
.artist p { margin: 0 0 0.5rem; font-size: 0.98rem; }
.artist .links { margin: 0.6rem 0 0; font-weight: 600; }
.artist .links .dot { margin: 0 0.45rem; color: var(--steel); }

/* booking (paper) */
.booking { background: var(--paper); color: var(--ink); padding: 4.5rem 0; }
.steps { list-style: none; counter-reset: s; margin: 1.2rem 0 0.5rem; padding: 0; display: grid; gap: 1.6rem; max-width: 46em; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 0 1rem; }
.steps li::before { content: counter(s); grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 400 1.6rem/1 var(--display); color: #fff; background: var(--red); }
.steps h3 { font: 700 1.25rem/1.2 var(--body); margin: 0.6rem 0 0.25rem; }
.steps p { margin: 0; color: var(--slate); }

/* reviews */
.reviews { padding: 4rem 0; }
.big-num { color: var(--red); font-size: 1.35em; margin-right: 0.08em; }
.reviews .lede a { color: #fff; font-weight: 600; }
.quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.quotes .placeholder { border: 1.5px dashed rgba(255,255,255,.3); border-radius: 10px; padding: 1.2rem; color: var(--steel); }

/* faq (mist) */
.faq { background: var(--mist); color: var(--ink); padding: 4.5rem 0; }
.faq-list { max-width: 46em; display: grid; gap: 8px; }
.faq details { background: #fff; border-radius: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.1rem; font-weight: 700; font-size: 1.08rem; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--slate); }

/* visit */
.visit { padding: 3.5rem 0; }
.visit-grid { display: grid; gap: 2rem; align-items: center; }
.visit address { font: 400 clamp(1.7rem, 7vw, 2.5rem)/1.05 var(--display); text-transform: uppercase; margin-bottom: 1rem; font-style: normal; }
.visit p { color: #dfe2f2; max-width: 32em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.visit-actions .btn { flex: 1 1 180px; }
.phone { font-weight: 600; }
.visit-photos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visit-photos img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

/* artists wanted */
.wanted { background: var(--red); color: #fff; padding: 3.5rem 0; border-top: 6px solid var(--ink); }
.wanted p { max-width: 34em; margin: 0 0 1.5rem; font-size: 1.1rem; }

/* footer */
.foot { padding: 2.5rem 0 calc(6rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; padding: 0; margin: 0; font-weight: 600; }
.foot-phone { flex-basis: 100%; margin: 0; font: 400 1.6rem/1.1 var(--display); letter-spacing: 0.02em; }
.foot-phone a { color: #fff; }
.credit { flex-basis: 100%; margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--steel); }
.credit a { color: #fff; }

/* floating roundel: the one bold device */
.fab { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 0; text-decoration: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); transform: translateY(140%); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); }
.fab.is-shown { transform: none; }
.fab.is-shown.is-tucked { transform: translateY(140%); }
.fab-icon { width: 66px; height: 66px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 3px #fff; }
.fab-icon img { width: 52px; height: auto; }
.fab > span:last-child { background: var(--red); color: #fff; font: 700 1rem/1 var(--body); padding: 0.7rem 1.1rem 0.7rem 1.5rem; border-radius: 0 var(--r) var(--r) 0; margin-left: -18px; order: 2; }

/* lightbox */
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 80; background: rgba(12, 12, 12, .97); display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: 1fr; padding: calc(10px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; touch-action: pan-y; }
.lb-fig img { max-height: 100%; min-height: 0; object-fit: contain; flex: 1 1 auto; }
.lb-fig figcaption { color: #dfe2f2; text-align: center; font-size: 1rem; }
.lb-close { justify-self: end; }
.lb-close, .lb-prev, .lb-next { min-height: 44px; padding: 0 1rem; border-radius: var(--r); border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: 600 0.95rem/1 var(--body); cursor: pointer; }
.lb-prev, .lb-next { display: none; }
.lb-text { justify-self: center; }

/* desktop text sheet */
.sheet { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 90; background: rgba(12, 12, 12, .72); display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 1.8rem; max-width: 380px; text-align: center; border-top: 10px solid var(--red); }
.sheet-card img { margin: 1rem auto; }
.sheet-num { font: 400 2rem/1 var(--display); margin: 0.5rem 0 1rem; }
.sheet-actions { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.sheet-status { min-height: 1.4em; margin: 0.8rem 0 0; color: var(--slate); font-size: 0.95rem; }

/* larger screens */
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .grid li.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .more { width: auto; }
  .reel-grid { grid-template-columns: 1fr auto; }
  .dave-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .visit-grid { grid-template-columns: 1.2fr 1fr; }
  .lightbox { grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; }
  .lb-close { grid-column: 3; }
  .lb-prev, .lb-next { display: inline-flex; align-items: center; align-self: center; }
  .lb-prev { grid-column: 1; grid-row: 2; }
  .lb-fig { grid-column: 2; grid-row: 2; }
  .lb-next { grid-column: 3; grid-row: 2; }
  .lb-text { grid-column: 2; grid-row: 3; }
}
@media (min-width: 980px) {
  .menu-btn { display: none; }
  .nav { display: flex; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .hero { min-height: 640px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .fab { display: none; }
  .foot { padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { animation: none; }
  .band-track { flex-wrap: wrap; width: auto; }
  .band-track li[aria-hidden] { display: none; }
  .grid img, .fab, .btn { transition: none; }
}

/* inside the shop */
.shop { padding: 4.5rem 0; background: linear-gradient(180deg, var(--ink) 0%, #222 100%); border-top: 6px solid var(--splat); }
.shop-grid { display: grid; gap: 1.6rem; }
.shop-loop { margin: 0; width: min(280px, 64%); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 0 0 6px var(--splat); }
.shop-loop video { width: 100%; height: 100%; object-fit: cover; }
.shop-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-photos li.wide { grid-column: span 2; }
.shop-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.shop-photos li.wide img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .shop-grid { grid-template-columns: 340px 1fr; align-items: start; gap: 3rem; }
  .shop-loop { width: 100%; }
}

.draftbar button { font: inherit; text-decoration: underline; background: none; border: 0; color: inherit; padding: 0; cursor: pointer; }

div.artist-pic { display: grid; place-items: center; text-align: center; padding: 0.5rem; font: 600 0.8rem/1.25 var(--body); color: var(--steel); }

/* plain text pages (questions, email, thanks) */
.legal { max-width: 46rem; padding-top: 2.5rem; padding-bottom: 5rem; }
.legal .h3 { margin-top: 2rem; }
.legal p { color: #dfe3e3; }
.legal-date { color: var(--steel); font-size: 0.9rem; }
.legal .btn { margin-top: 1.5rem; }

.hero-proof a { display: inline-block; padding: 0.6rem 0; }

/* phone menu: a Menu button that drops the section links under the header */
.menu-btn { margin-left: auto; min-height: 44px; padding: 0 1rem; border-radius: var(--r); border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: 600 0.95rem/1 var(--body); cursor: pointer; }
.top.is-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: rgba(21,21,21,.98); border-bottom: 1px solid rgba(255,255,255,.1); padding: 0.25rem var(--gutter) 0.75rem; }
.top.is-open .nav a { padding: 0.85rem 0; font-size: 1.1rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.top.is-open .nav a:last-child { border-bottom: 0; }

/* older iPhones (Safari before 15) don't know aspect-ratio: keep the photos in shape another way */
@supports not (aspect-ratio: 1 / 1) {
  .grid li { height: 0; padding-bottom: 133.33%; }
  .grid li.feature { padding-bottom: 80%; }
  .grid button { position: absolute; top: 0; left: 0; }
  .strip img { height: calc(min(78vw, 380px) * 1.4); }
  .shop-loop video, .shop-photos img, .reel-frame video { height: auto; }
}

/* ---------- opening (v2.3): all black. A drop of Dave's red falls and hits; his own splat "m"
   (straight from his 2008 logo file) bursts out while droplets fly off it and land, some off the
   screen; the headline slams in; then all the red slowly fades away, leaving the words on black.
   Old phones and Reduce Motion skip straight to the words on black. */
.hero { background: var(--ink); }
.intro-stage { display: none; }
.hero-inner { position: relative; z-index: 1; }
html.intro .intro-stage { display: block; position: absolute; left: 50%; top: 36%; width: 0; height: 0; z-index: 0; pointer-events: none; }
html.intro .hero-title span, html.intro .hero-sub, html.intro .hero-proof { opacity: 0; }

.intro-drop, .intro-ring, .intro-fleck, .intro-splat { position: absolute; opacity: 0; }
.intro-drop { left: -11px; top: -32px; width: 22px; height: 32px; }
.intro-splat { max-width: none; height: auto; width: min(64vw, 360px); left: calc(min(64vw, 360px) / -2); top: calc(min(64vw, 360px) * -0.47); }
.intro-ring { width: 40px; height: 40px; left: -20px; top: -20px; border-radius: 50%; border: 3px solid var(--splat); }
.intro-fleck { width: var(--s); height: var(--s); left: calc(var(--s) / -2); top: calc(var(--s) / -2); border-radius: 50%; background: var(--splat); }

html.intro.intro-play .intro-stage { animation: intro-fade 3.5s ease-in-out 2.1s forwards; }
html.intro.intro-play .intro-drop { animation: intro-drop .5s cubic-bezier(.55,0,1,.45) both; }
html.intro.intro-play .intro-splat { animation: intro-splat .6s cubic-bezier(.2,.8,.2,1) .48s forwards; }
html.intro.intro-play .intro-ring { animation: intro-ring .6s cubic-bezier(.1,.7,.3,1) .48s forwards; }
html.intro.intro-play .intro-fleck { animation: intro-fleck .55s cubic-bezier(.08,.8,.25,1) .48s forwards; }
html.intro.intro-play .hero { animation: intro-shake .26s linear .5s both; }
html.intro.intro-play .hero-title span { animation: intro-pop .5s cubic-bezier(.2,1.4,.4,1) both; transform-origin: 0 100%; }
html.intro.intro-play .hero-title .l1 { animation-delay: 1.02s; }
html.intro.intro-play .hero-title .l2 { animation-delay: 1.14s; }
html.intro.intro-play .hero-title .l3 { animation-delay: 1.26s; }
html.intro.intro-play .hero-sub, html.intro.intro-play .hero-proof { animation: intro-rise .5s ease-out 1.7s both; }
/* as the splat fades out, the red fades into "2008": same start (2.1 s), same length (3.5 s),
   same easing as the ink fade, so one goes down exactly as the other comes up */
html.intro.intro-play .hero-title em { animation: intro-redden 3.5s ease-in-out 2.1s both; }
@keyframes intro-redden { from { color: #4a4a4a; } to { color: var(--red); } }

@keyframes intro-drop {
  0%   { opacity: 1; transform: translateY(-46vh) scale(.8, 1.25); }
  92%  { opacity: 1; transform: translateY(-6px) scale(.72, 1.45); }
  100% { opacity: 0; transform: translateY(0) scale(1.7, .45); }
}
@keyframes intro-splat {
  0%   { opacity: 1; transform: scale(.1) rotate(-8deg); }
  45%  { opacity: 1; transform: scale(1.1) rotate(2deg); }
  70%  { opacity: 1; transform: scale(.97) rotate(0); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes intro-ring {
  0%   { opacity: .9; transform: scale(.3); }
  100% { opacity: 0; transform: scale(10); }
}
/* each droplet flies out along its line and lands, stretched a little in the direction it flew */
@keyframes intro-fleck {
  0%   { opacity: 1; transform: translate(0, 0) rotate(var(--r)) scale(.6, .6); }
  60%  { opacity: 1; transform: translate(calc(var(--dx) * .92), calc(var(--dy) * .92)) rotate(var(--r)) scale(calc(var(--k) * 1.5), .8); }
  100% { opacity: 1; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(var(--k), 1); }
}
@keyframes intro-fade { from { opacity: 1; } to { opacity: 0; } }
@keyframes intro-shake {
  0%, 100% { transform: none; }
  20% { transform: translate(-4px, 3px); }
  40% { transform: translate(4px, -2px); }
  60% { transform: translate(-3px, 1px); }
  80% { transform: translate(2px, -1px); }
}
@keyframes intro-pop {
  0%   { opacity: 0; transform: scale(1.7) translateY(12%); }
  55%  { opacity: 1; transform: scale(.95); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes intro-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* headline as one solid block: each line's box is exactly the height of Anton's capitals
   (1760/2048 = 0.859em) plus a hairline for the round letters' overshoot, so the lines touch
   without overlapping; site.js then sizes lines 2 and 3 to the exact width of line 1 */
.hero-title.block span { display: table; line-height: 0.874; white-space: nowrap; }
.hero-title.block .l3 { letter-spacing: 0; }
.hero-title b { font-weight: inherit; }
/* bridge over the T-to-L joint: covers the sub-pixel seam where the two lines meet.
   Sits on the L's stem (78/2048 em in, 352/2048 em wide) and reaches up into the T's stem. */
.hero-title.block .l2 { position: relative; }
.hero-title.block .l2::before { content: ""; position: absolute; left: 0.0381em; width: 0.1719em; top: -0.06em; height: 0.12em; background: #fff; }

/* draft only: photo numbers so Dave can name the ones to cut */
.grid button { position: relative; }
.grid .num { position: absolute; left: 6px; top: 6px; min-width: 1.7em; padding: 0.15em 0.4em; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; font: 700 0.85rem/1.2 var(--body); text-align: center; pointer-events: none; }
.mission { font-style: italic; color: var(--slate); }
.dave-work { margin-top: 3.5rem; }
.dave-work .lede { color: var(--slate); }
.dave-loop { width: min(320px, 100%); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 6px solid var(--ink); box-shadow: 0 0 0 6px var(--splat); }
.dave-loop video { width: 100%; height: 100%; object-fit: cover; display: block; }
@supports not (aspect-ratio: 1) { .dave-loop video { height: auto; } }
.artist-sec { padding: 4rem 0 3rem; border-top: 1px solid rgba(255,255,255,.1); }

/* email us page */
.mail-form { max-width: 560px; margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.mail-form[hidden], .sent[hidden] { display: none; }
.mail-form .field { display: grid; gap: 0.4rem; font-weight: 600; }
.mail-form .field-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .mail-form .field-row { grid-template-columns: 1fr 1fr; } }
.mail-form input, .mail-form textarea { font: 400 1.05rem/1.4 var(--body); color: var(--paper); background: var(--grey); border: 1.5px solid rgba(255,255,255,.22); border-radius: 8px; padding: 0.75rem 0.85rem; width: 100%; box-sizing: border-box; -webkit-appearance: none; }
.mail-form input:focus, .mail-form textarea:focus { outline: 2px solid var(--splat); outline-offset: 1px; }
/* v4.3: iPhone autofill paints filled fields pale yellow with dark text; keep them dark like the rest */
.mail-form input:-webkit-autofill, .mail-form input:-webkit-autofill:hover, .mail-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--grey) inset; box-shadow: 0 0 0 1000px var(--grey) inset;
  -webkit-text-fill-color: var(--paper); caret-color: var(--paper); transition: background-color 9999s ease-out 0s; }
.mail-form .opt { font-weight: 400; color: var(--steel); }
.mail-form .hint { margin: 0; color: var(--steel); font-size: 0.95rem; }
.mail-form .pick { justify-self: start; cursor: pointer; }
.pick-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.pick-input:focus + .thumbs, .pick:focus-within { outline: 2px solid var(--splat); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--grey); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.75); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.mail-form .send { justify-self: start; min-width: 10rem; }
.mail-form .send:disabled { opacity: .6; }
.hp { position: absolute; left: -9999px; }
.sent { margin-top: 2rem; }
@supports not (aspect-ratio: 1) { .thumbs li { height: 100px; } }
.or-email { margin: 0.9rem 0 0; color: inherit; } .or-email a { font-weight: 700; color: inherit; }
.artist .links a { white-space: nowrap; }

/* v3.11: artist drawers, one contact section, questions on their own page */
.artist.has-panel { cursor: pointer; }
.artist.has-panel:hover, .artist:focus-within { border-color: var(--splat); }
.artist.is-open { border-color: var(--splat); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.see-work { font: 600 1rem/1.4 var(--body); color: #fff; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.see-work::after { content: " \25BE"; text-decoration: none; display: inline-block; margin-left: 0.25rem; transition: transform .2s ease; }
.is-open .see-work::after { transform: rotate(180deg); }
.artist-drawer { list-style: none; margin-top: -12px; }
.artist-panel { border: 1.5px solid var(--splat); border-top: 0; border-radius: 0 0 10px 10px; padding: 1.4rem 1.1rem 1.6rem; background: #1b1b1b; }
.artist-panel .wrap { padding: 0; width: auto; }
.artist-panel .dave-grid { gap: 1.5rem; }
.artist-panel .dave-copy > p, .artist-panel .lede, .artist-panel .dave-work .lede { color: #dfe2f2; }
.artist-panel .mission { font-style: italic; color: #fff; font-size: 1.15rem; }
.artist-panel .dave-work { margin-top: 2rem; }
.artist-panel .dave-loop { width: min(240px, 70%); }
.artist-panel .grid { margin-top: 1rem; }

.contact { background: var(--red); color: #fff; padding: 3.5rem 0; }
.contact .lede { color: #fff; opacity: .92; }
.contact-ways { display: grid; gap: 12px; max-width: 760px; }
@media (min-width: 700px) { .contact-ways { grid-template-columns: 1.3fr 1fr; } }
.way { display: grid; gap: 0.2rem; padding: 1.1rem 1.25rem; border-radius: 12px; text-decoration: none; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.way:hover { background: rgba(255,255,255,.08); }
.way-main { background: #fff; color: var(--ink); border-color: #fff; }
.way-main:hover { background: #fff; }
.textdave.way-main:hover .way-detail, .textdave.way-main:hover .way-note, .textdave.way-main:focus-visible .way-detail { text-decoration: underline; text-underline-offset: 3px; }
.way-label { font: 400 1.9rem/1 var(--display); text-transform: uppercase; }
.way-detail { font: 700 1.2rem/1.3 var(--body); }
.way-note { font-size: 0.95rem; line-height: 1.4; opacity: .8; }
.way-main .way-detail { color: var(--red); }
.how { margin-top: 1.25rem; max-width: 760px; background: rgba(0,0,0,.18); border-radius: 12px; }
.how summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; font-size: 1.1rem; position: relative; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 11px; height: 11px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-70%) rotate(45deg); }
.how[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.how .steps { padding: 0 1.25rem 1.25rem; margin: 0; gap: 1.1rem; }
.how .steps li::before { background: #fff; color: var(--red); width: 44px; height: 44px; font-size: 1.35rem; }
.how .steps li { grid-template-columns: 48px 1fr; }
.how .steps h3 { margin-top: 0.4rem; }
.how .steps p { color: #fff; opacity: .9; }

.visit .shop-loop { justify-self: center; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.2fr 1fr; } }
.more-info { padding: 0 0 3rem; }
.info-link { display: grid; gap: 0.25rem; max-width: 760px; padding: 1.2rem 3rem 1.2rem 1.25rem; border: 1.5px solid rgba(255,255,255,.25); border-radius: 12px; text-decoration: none; color: #fff; position: relative; }
.info-link:hover { border-color: var(--splat); }
.info-link > span:first-child { font: 400 1.6rem/1.05 var(--display); text-transform: uppercase; }
.info-sub { color: var(--steel); font-size: 0.98rem; }
.info-link::after { content: "\2192"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--splat); }
.back-home { padding: 0 0 3rem; }
.artist .links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; } .artist .links .dot { display: none; }
.artist-panel .quote p { color: #fff; font-size: clamp(1.35rem, 6vw, 1.8rem); }
.artist-panel .quote footer { color: var(--steel); }
.artist-panel .dave-loop { width: min(200px, 60%); }
/* hero tagline: "CUSTOM TATTOOS" in red display type over a light line */
.hero-sub { font: 400 clamp(1.15rem, 4.8vw, 1.45rem)/1.35 var(--body); color: #d9d9d9; letter-spacing: 0.01em; }
.hero-sub b { display: block; font: 400 clamp(1.6rem, 7.4vw, 2.1rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--red); margin-bottom: 0.25rem; }
/* CUSTOM TATTOOS turns red with 2008, on the same timing as the splat fading out */
html.intro.intro-play .hero-sub b { animation: intro-redden 3.5s ease-in-out 2.1s both; }
@media (prefers-reduced-motion: reduce) { html.intro.intro-play .hero-sub b { animation: none; } }
/* v3.14 phones: the opening is only as tall as the words, so the ticker and the video show on the
   first screen; the splat plays behind the headline (2008 and CUSTOM TATTOOS start charcoal, so
   nothing red sits on red) */
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 2.75rem; }
  html.intro .intro-stage { top: 44%; }
}
/* footer social icons */
.foot-links.social { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; list-style: none; padding: 0; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.social a:hover, .social a:focus-visible { background: var(--red); border-color: var(--red); }
.social svg { width: 22px; height: 22px; }
.social .is-soon { display: flex; align-items: center; gap: 0.5rem; }
.social .is-soon a { opacity: .45; pointer-events: none; }
#mose .quote p { font: 400 1.12rem/1.6 var(--body); text-transform: none; color: #fff; }
.mose-at-work { margin: 1.5rem 0 0; max-width: 320px; } .mose-at-work img { width: 100%; height: auto; border-radius: 10px; display: block; }
/* one Google review between the artists and Get in touch */
.review { padding: 0 0 3rem; }
.review-card { margin: 0; max-width: 760px; padding: 1.5rem 1.4rem 1.4rem; border-left: 4px solid var(--red); background: #1b1b1b; border-radius: 0 12px 12px 0; }
.review-stars { margin: 0 0 0.6rem; color: #f5b301; font-size: 1.25rem; letter-spacing: 0.15em; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.6; color: #fff; font-style: italic; }
.review-card figcaption { margin-top: 0.9rem; font-weight: 700; color: var(--steel); }
.artist .links a.ig { display: inline-flex; align-items: center; gap: 0.4rem; }
.artist .links a.ig svg { color: #fff; transition: color .15s ease; flex: none; }
.artist .links a.ig:hover svg, .artist .links a.ig:focus-visible svg { color: #e1306c; }

/* v3.26: artist cards slide in from alternating sides (only when JS adds .slide-ready) */
.artists { overflow-x: hidden; }
.slide-ready .artist { opacity: 0; transition: opacity .7s ease-out, transform .7s cubic-bezier(.2,.7,.2,1), border-color .2s ease; }
.slide-ready .artist.from-left { -webkit-transform: translateX(-56px); transform: translateX(-56px); }
.slide-ready .artist.from-right { -webkit-transform: translateX(56px); transform: translateX(56px); }
.slide-ready .artist.in { opacity: 1; -webkit-transform: none; transform: none; }

/* v3.26: email card shows the shop address plus the upload page */
.way-email:hover { background: #fff; }
.way-email a { color: inherit; text-decoration: none; }
.way-email .way-detail { color: var(--red); word-wrap: break-word; overflow-wrap: break-word; }
.way-email a:hover, .way-email a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* v3.27: Hide button at the bottom of each artist's photos */
.hide-work { display: block; width: 100%; margin-top: 1.5rem; min-height: 48px; }
.hide-work::after { content: " \25B4"; }

/* v4.6: underline "tap here" on the Email card so the upload link is obvious */
.way-email .tap-here { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 700; color: var(--ink); }
