/* Old Soul Tattoo, first draft. Palette is taken from the logo. */
:root {
  --ink: #0e0d0c;
  --char: #262626;       /* matches the logo field */
  --panel: #1a1918;
  --panel-2: #141312;
  --gold: #c9a95e;
  --gold-hi: #e6cd8c;
  --gold-lo: #8a7138;
  --paper: #ece3d0;
  --paper-dim: #b9b0a0;
  --line: rgba(201, 169, 94, .35);
  --display: "Cinzel", "Times New Roman", serif;
  --deco: "Cinzel Decorative", "Cinzel", serif;
  --body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: .06em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* placeholders read as clearly unfilled, in a muted gold italic */
.ph { color: var(--gold); font-style: italic; opacity: .9; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--display); font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: #17130a; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  border: 1px solid var(--gold-hi);
  padding: 15px 30px;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--line);
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { color: var(--gold-hi); background: transparent; border-color: var(--gold); }
.btn-small { padding: 10px 18px; font-size: .72rem; box-shadow: none; }

/* ---------- ornaments ---------- */
.flourish { display: block; margin: 18px auto; width: 220px; height: 22px; color: var(--gold); }
.corner { position: absolute; width: 34px; height: 34px; color: var(--gold); pointer-events: none; }
.corner.tl { top: 10px; left: 10px; }
.corner.tr { top: 10px; right: 10px; transform: scaleX(-1); }
.corner.bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.corner.br { bottom: 10px; right: 10px; transform: scale(-1, -1); }
.frame { position: relative; border: 1px solid var(--line); background: var(--panel); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(ellipse 75% 60% at 50% 42%, #2a2928 0%, #1a1918 55%, var(--ink) 100%);
  padding: 20px 14px 92px;
}
/* The morph (hero-morph.js) covers the whole hero once it leaves the opening layout; the photos
   show clean, with nothing laid over them but the thumbnails. */
.hero-photos, .hero-photos canvas, .hero-photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero-photos { z-index: 2; opacity: 0; pointer-events: none; }
.hero.on-photo .hero-photos { opacity: 1; }
.hero.no-capture .hero-photos, .hero-photos.fade { transition: opacity 1.2s ease; }
.hero-photos img { object-fit: cover; transition: opacity 1.2s ease; }
.hero-thumbs {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 8px; margin: 0; padding: 0 0 6px; list-style: none;
  max-width: calc(100% - 28px); overflow-x: auto; scrollbar-width: thin;
}
.hero-thumbs button {
  display: block; padding: 0; cursor: pointer; background: var(--ink);
  border: 1.5px solid transparent; border-radius: 3px; overflow: hidden; opacity: .55;
  transition: opacity .3s ease, border-color .3s ease;
}
.hero-thumbs button:hover { opacity: .85; }
.hero-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold-hi); }
.hero-thumbs button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.hero-thumbs img { display: block; width: 64px; height: 42px; object-fit: cover; }
.hero-thumbs img.logo-thumb { object-fit: contain; background: var(--char); }
@media (max-width: 600px) { .hero-thumbs img { width: 46px; height: 34px; } }
.hero-pause {
  position: absolute; z-index: 3; right: 18px; bottom: 26px;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  padding: 0; cursor: pointer; color: var(--gold-hi);
  background: rgba(14,13,12,.6); border: 1px solid var(--line); border-radius: 50%;
}
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause:hover { background: rgba(14,13,12,.85); }
.hero-pause:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
@media (max-width: 600px) { .hero-pause { bottom: auto; top: 14px; right: 14px; } }
.hero-frame {
  position: relative; max-width: 1060px; margin: 0 auto; width: 100%;
  border: 1px solid var(--line);
  outline: 1px solid rgba(201,169,94,.18); outline-offset: 6px;
  padding: 46px 14px 44px;
  text-align: center;
  background: radial-gradient(ellipse 85% 75% at 50% 40%, var(--char) 60%, #151413 100%);
}
.logo-img {
  /* capped by screen height too, so the whole opening layout fits one screen */
  width: 100%; max-width: min(740px, 60svh); height: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 97%, transparent);
  mask-composite: intersect;
}
.hero-line { font-family: var(--display); font-size: clamp(1.25rem, 5.2vw, 2.1rem); letter-spacing: .08em; color: var(--gold-hi); margin: 0 0 .35em; }
.hero-sub { font-style: italic; color: var(--paper-dim); font-size: clamp(1.1rem, 3.8vw, 1.4rem); margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* ---------- sections ---------- */
.section { padding: 76px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--panel-2), #171615 50%, var(--panel-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 40px; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .32em; font-size: .72rem; color: var(--gold); margin-bottom: 12px; }
.section-head h2 { font-family: var(--deco); font-weight: 700; font-size: clamp(2rem, 8vw, 3.2rem); color: var(--gold-hi); letter-spacing: .05em; text-shadow: 0 2px 0 rgba(0,0,0,.6); }

.lede { font-size: 1.5rem; line-height: 1.45; color: var(--paper); }

/* about */
.about { display: grid; gap: 40px; align-items: start; }
.about-photo { min-height: 320px; display: flex; padding: 0; overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-ph { margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px; color: var(--gold); font-style: italic; }
.photo-ph svg { width: 34px; height: 34px; }
.notes { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; }
.notes li { display: flex; gap: 16px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--line); }
.notes svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gold); margin-top: 4px; }
.notes h3 { font-size: 1rem; margin-bottom: 2px; }
.notes p { margin: 0; }

/* artists */
.artists { display: grid; gap: 30px; }
.artist { text-align: center; padding: 34px 24px 30px; background: var(--panel); border: 1px solid var(--line); position: relative; }
.artist::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201,169,94,.15); pointer-events: none; }
.cameo {
  width: 150px; height: 190px; margin: 0 auto 24px;
  border: 1px solid var(--gold); border-radius: 75px 75px 6px 6px;
  outline: 1px solid var(--line); outline-offset: 5px;
  background: radial-gradient(circle at 50% 35%, #34312c, #1d1c1a 70%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-style: italic; font-size: 1rem; text-align: center; padding: 10px;
}
.artist h3 { font-size: 1.2rem; margin-bottom: 4px; color: var(--gold-hi); }
.role { font-family: var(--display); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.handle { text-decoration: none; letter-spacing: .04em; }

.artists { max-width: 820px; margin: 0 auto; }
.artist.featured { display: grid; gap: 26px; justify-items: center; }
.artist.featured .cameo { margin: 0; }
.artist.featured .artist-text { text-align: center; }
.artist.featured h3 { font-size: 1.9rem; }

/* work grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
  margin: 0;
  position: relative; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold); font-style: italic; font-size: 1rem; text-align: center; padding: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #2a2826, #181716 60%, #11100f);
  overflow: hidden;
}
.tile::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201,169,94,.16); }
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(201,169,94,.10), transparent 55%); }
.tile:nth-child(3n+2) { background: linear-gradient(200deg, #24221f, #151413 70%); }
.tile:nth-child(3n) { background: linear-gradient(315deg, #2b2927, #12110f 70%); }
.tile svg { width: 22px; height: 38px; position: relative; z-index: 1; opacity: .8; }
.tile.photo { padding: 0; background: #0b0a09; }
.tile.photo::before { display: none; }
.tile.photo::after { background: none; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12) contrast(1.02); }
.tile span { position: relative; z-index: 1; }
.grid-note { text-align: center; margin: 28px 0 0; font-size: 1.1rem; color: var(--paper-dim); }
.grid-note a { text-decoration: none; }

/* pricing + good-to-know */
.pricing { margin: 30px 0 0; padding: 26px 24px 22px; border: 1px solid var(--line); position: relative; background: rgba(201,169,94,.04); }
.pricing::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(201,169,94,.14); pointer-events: none; }
.pricing h3 { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; text-align: center; }
.pricing ul, .good { list-style: none; margin: 0; padding: 0; }
.pricing li { padding: 10px 0; border-top: 1px solid var(--line); text-align: center; font-size: 1.12rem; color: var(--gold-hi); }
@media (min-width: 900px) { .pricing li { font-size: 1.3rem; } }
.pricing li:first-child { border-top: 0; color: var(--paper); }
.good { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.good li { font-size: 1.25rem; padding-left: 18px; position: relative; }
.good li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* booking */
.book { display: grid; gap: 40px; align-items: start; }
.contact { margin: 28px 0 0; }
.contact div { display: flex; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact div:last-child { border-bottom: 1px solid var(--line); }
.contact dt { flex: 0 0 96px; font-family: var(--display); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.contact dd { margin: 0; }
.contact a { text-decoration: none; }
.form { padding: 54px 22px 46px; display: grid; gap: 18px; }
.row2 { display: grid; gap: 18px; }
.field label { display: block; font-family: var(--display); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.1rem; color: var(--paper);
  background: #0f0e0d; border: 1px solid rgba(201,169,94,.4); border-radius: 0;
  padding: 11px 13px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .95rem; font-style: italic; color: var(--paper-dim); }
.form-note.shown { color: var(--gold-hi); }

/* visit */
.visit { display: grid; gap: 40px; align-items: stretch; }
.visit h3 { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.visit-info h3:not(:first-child) { margin-top: 28px; }
.addr { font-size: 1.5rem; line-height: 1.4; }
.hours { margin: 0 0 18px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.hours div:last-child { border-bottom: 1px solid var(--line); }
.hours dt, .hours dd { margin: 0; }
.small { font-size: 1rem; }
.map-ph { min-height: 280px; display: flex; background: repeating-linear-gradient(45deg, #1a1918 0 14px, #181716 14px 28px); }

/* footer */
.footer { text-align: center; padding: 50px 20px 40px; border-top: 1px solid var(--line); background: #0a0908; }
.footer .flourish { margin: 0 auto 14px; }
.footer-logo {
  display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 28px; }
.footer-links a { text-decoration: none; font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-dim); }
.footer-links a.ph { color: var(--gold); font-family: var(--body); font-size: 1rem; letter-spacing: .04em; text-transform: none; }
.footer-fine { font-size: .95rem; color: var(--paper-dim); margin: 0 0 4px; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .row2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { font-size: 1.25rem; }
  .hero { padding: 36px 36px 100px; }
  .hero-frame { padding: 70px 40px 64px; }
  .section { padding: 110px 0; }
  .wrap { padding: 0 36px; }
  .about { grid-template-columns: 1.15fr 1fr; gap: 70px; }
  .about-photo { min-height: 520px; }
  .artist.featured { grid-template-columns: auto 1fr; gap: 56px; text-align: left; padding: 48px 56px; justify-items: start; align-items: center; }
  .artist.featured .artist-text { text-align: left; }
  .book { grid-template-columns: 1fr 1.2fr; gap: 70px; }
  .form { padding: 64px 44px 54px; }
  .visit { grid-template-columns: 1fr 1.3fr; gap: 70px; }
  .map-ph { min-height: 380px; }
  .corner { width: 44px; height: 44px; }
  .corner.tl { top: 14px; left: 14px; }
  .corner.tr { top: 14px; right: 14px; }
  .corner.bl { bottom: 14px; left: 14px; }
  .corner.br { bottom: 14px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
