/* ============================================================
   NAUTILUS TATTOO — page-specific styles
   ============================================================ */

/* =========== HOME PAGE =========== */

.home {
  position: relative;
  padding-bottom: 80px;
}

/* HERO ROW (matches reference) */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.4fr 1.05fr;
  gap: 22px;
  align-items: stretch;
  padding-top: 18px;
  min-height: 680px;
}

.hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}
.hero-left .hero-display { margin-top: -18px; }
.hero > .hero-left, .hero > .hero-center, .hero > .hero-right { min-width: 0; }
.hero-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(58px, 8.5vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin: 0;
}
.hero-display .dot { color: var(--accent); }

.hero-display-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-display-meta .num { font-variant-numeric: tabular-nums; }

/* index + connector lines (editorial) */
.hero-index {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 30px;
  margin-top: auto;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-index .hi-nums { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.hero-index .hi-nums span { font-variant-numeric: tabular-nums; }
.hero-index .idx-line { flex: 1; height: 1px; background: var(--ink); opacity: 0.3; }
.hero-index.hi-left .idx-line { position: relative; top: 2px; }
.hero-index.hi-left .hi-nums { position: relative; top: 2px; }
.hero-index.hi-right { justify-content: flex-end; }

/* small photos under WORK MADE TO STAY */
.hero-left-photos {
  padding-top: 0;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: end;
}
.hero-left-photos .ph.small { aspect-ratio: 3/4; }
.hero-left-photos .ph.tall { aspect-ratio: 1/1; }
.hero-left-photos .ph, .hero-right-photos .ph { width: 100%; min-width: 0; }

/* center large portrait */
.hero-center {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-center .frame {
  position: relative;
  height: 100%;
  width: 100%;
}
.hero-center .frame .corner-label-tr {
  position: absolute;
  top: -22px; right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.hero-center .frame .corner-label-bl {
  position: absolute;
  left: 0; bottom: -22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.hero-center .frame .crop-mark-tl,
.hero-center .frame .crop-mark-tr,
.hero-center .frame .crop-mark-bl,
.hero-center .frame .crop-mark-br {
  position: absolute;
  width: 22px; height: 22px;
}
.hero-center .frame .crop-mark-tl { top: -8px; left: -8px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.hero-center .frame .crop-mark-tr { top: -8px; right: -8px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.hero-center .frame .crop-mark-bl { bottom: -8px; left: -8px; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.hero-center .frame .crop-mark-br { bottom: -8px; right: -8px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }

/* right column */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 150px;
}
.hero-right .request-link {
  align-self: flex-start;
  margin-left: 56px;
  display: inline-flex; align-items: flex-start; gap: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  transition: color .2s ease;
}
.hero-right .request-link > span:first-child { flex-shrink: 0; }
.hero-right .request-link:hover { color: var(--accent); }
.hero-right .request-link .arrow-line {
  width: 52px; height: 1px; background: currentColor;
  margin-top: 11px;
  position: relative;
  transition: width .3s cubic-bezier(.2,.8,.2,1);
  flex-shrink: 0;
}
.hero-right .request-link .arrow-line::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.hero-right .request-link:hover .arrow-line { width: 100px; }

.hero-right-photos {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 16px;
  align-items: end;
}
.hero-right-photos .ph.tall { aspect-ratio: 1/1; }
.hero-right-photos .ph.small { aspect-ratio: 3/4; }

.hero-row-labels {
  position: absolute;
  top: -22px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.hero-row-labels .num-block {
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.2;
}

/* hero supplemental row labels (01 02 03) */
.hero-supp-labels {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr 1.05fr;
  gap: 22px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ============================================================
   MINIMAL HERO (variant B) + gallery strip
   ============================================================ */
.hero-minimal {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  min-height: auto;
  padding-top: 24px;
}
.hero-minimal .hm-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-minimal .hm-sub {
  margin-top: 30px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
}
.btn-hero {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  transition: background .25s ease, color .25s ease;
}
.btn-hero .bh-arrow {
  width: 30px; height: 1px; background: currentColor; position: relative;
  transition: width .25s ease;
}
.btn-hero .bh-arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 8px; height: 8px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn-hero:hover { background: transparent; color: var(--ink); }
.btn-hero:hover .bh-arrow { width: 44px; }

.hero-minimal .hm-feature .frame {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
}
.hero-minimal .hm-feature .frame .corner-label-tr {
  position: absolute; top: -22px; right: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
}
.hero-minimal .hm-feature .frame .corner-label-bl {
  position: absolute; left: 0; bottom: -22px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
}
.hero-minimal .hm-feature .frame .crop-mark-tl,
.hero-minimal .hm-feature .frame .crop-mark-tr,
.hero-minimal .hm-feature .frame .crop-mark-bl,
.hero-minimal .hm-feature .frame .crop-mark-br {
  position: absolute; width: 22px; height: 22px;
}
.hero-minimal .hm-feature .frame .crop-mark-tl { top: -8px; left: -8px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.hero-minimal .hm-feature .frame .crop-mark-tr { top: -8px; right: -8px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.hero-minimal .hm-feature .frame .crop-mark-bl { bottom: -8px; left: -8px; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.hero-minimal .hm-feature .frame .crop-mark-br { bottom: -8px; right: -8px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }

/* calm equal gallery strip */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.hero-strip .hs-photo {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.hero-strip .hs-photo > * { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 780px) {
  .hero-minimal { grid-template-columns: 1fr; gap: 32px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
}

/* ARTIST ARCHIVE label rule */
.archive-section {
  margin-top: 80px;
  position: relative;
}
.archive-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.archive-title-row .archive-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.archive-rule { flex: 1; height: 1px; background: var(--ink); }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 880px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 560px) {
  .archive-grid { grid-template-columns: 1fr; }
}

.archive-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
}
.archive-card .ac-top {
  display: flex; align-items: center; gap: 14px;
}
.archive-card .ac-name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 23px;
}
.archive-card .ac-arrow {
  flex: 1; height: 1px; background: var(--ink); position: relative;
  transition: opacity .2s;
}
.archive-card .ac-arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-right: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  transform: rotate(45deg);
}
.archive-card .ac-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 1.15fr;
  gap: 16px;
  align-items: start;
}
.archive-card .ac-style {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
  padding-top: 4px;
  overflow-wrap: normal;
}
.archive-card .ac-photo {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.archive-card .ac-photo > .wc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right { padding-top: 20px; }
  .hero-supp-labels { grid-template-columns: 1fr; gap: 8px; }
  /* the central photo's corner crop-marks + labels float/detach when stacked */
  .hero-center .frame .crop-mark-tl,
  .hero-center .frame .crop-mark-tr,
  .hero-center .frame .crop-mark-bl,
  .hero-center .frame .crop-mark-br,
  .hero-center .frame .corner-label-tr,
  .hero-center .frame .corner-label-bl { display: none; }
}

/* =========== STUDIO INTRO + STYLE + CTA SECTIONS =========== */

.section {
  padding-top: 120px;
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.intro-grid .intro-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--accent);
}
.intro-grid p {
  font-size: 18px; line-height: 1.55; max-width: 60ch;
  color: var(--ink);
}
.intro-grid .intro-bullets {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.intro-grid .intro-bullets li::before { content: "+ "; color: var(--ink-4); }

/* style cards row */
.styles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
@media (max-width: 900px) { .styles-row { grid-template-columns: 1fr; } }
.style-card {
  position: relative;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--ink);
  display: flex; flex-direction: column;
  gap: 18px;
  transition: background .2s;
  cursor: pointer;
}
.styles-row .style-card { padding: 28px 24px 36px; }
.styles-row .style-card + .style-card { border-left: 1px solid var(--ink); }
@media (max-width: 900px) {
  .styles-row .style-card + .style-card { border-left: 0; }
}
.style-card:hover { background: rgba(11,11,11,0.04); }
.style-card .sc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}
.style-card .sc-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.style-card .sc-photo {
  aspect-ratio: 4/3;
}
.style-card .sc-desc {
  font-size: 14px; color: var(--ink-3); line-height: 1.55;
  max-width: 38ch;
}
.style-card .sc-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color .2s ease, gap .2s ease;
}
.style-card:hover .sc-cta { color: var(--accent); gap: 16px; }

/* booking steps */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.booking-step {
  padding: 28px 24px 32px;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  display: flex; flex-direction: column;
  gap: 16px;
}
.booking-step:last-child { border-right: 0; }
.booking-step .bs-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 60px;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.booking-step .bs-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.booking-step p {
  font-size: 13.5px; color: var(--ink-3); margin: 0; line-height: 1.55;
}
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .booking-step { border-right: 1px solid var(--ink); }
  .booking-step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-step { border-right: 0; }
}

/* visit / location card */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-info { padding-top: 12px; }
.visit-info dl { margin: 32px 0 0; display: grid; grid-template-columns: 140px 1fr; row-gap: 18px; }
.visit-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.visit-info dd { margin: 0; font-size: 14.5px; line-height: 1.55; }

.visit-map {
  position: relative;
  background: var(--paper-2);
  aspect-ratio: 4/3;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  align-self: start;
}
.visit-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.visit-map .studio-map-svg { display: block; }
.visit-map .pin {
  position: absolute;
  left: 56%; top: 48%;
  width: 14px; height: 14px;
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.visit-map .pin::before {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid var(--ink); opacity: 0.4;
}
.visit-map .pin::after {
  content: ""; position: absolute; inset: -20px;
  border-radius: 50%; border: 1px solid var(--ink); opacity: 0.18;
}
.visit-map .map-label {
  position: absolute;
  left: 24px; top: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper);
  padding: 6px 10px;
  border: 1px solid var(--ink);
}

/* FAQ */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item {
  border-bottom: 1px solid var(--ink);
  padding: 22px 0;  cursor: pointer;
}
.faq-item .faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq-item .faq-q-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.02em;
}
.faq-item .faq-plus {
  width: 22px; height: 22px;
  position: relative; flex-shrink: 0;
}
.faq-item .faq-plus::before,
.faq-item .faq-plus::after {
  content: ""; position: absolute; background: var(--ink);
}
.faq-item .faq-plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-item .faq-plus::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); transition: transform .2s; }
.faq-item.open .faq-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-item .faq-a-inner {
  padding-top: 16px;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 40px;
}
.trust-strip .ts-item {
  padding: 28px 24px;
  border-left: 1px solid var(--rule);
}
.trust-strip .ts-item:first-child { border-left: 0; }
.trust-strip .ts-k {
  font-family: var(--font-display);
  font-weight: 900;  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.trust-strip .ts-k .ts-star { color: var(--accent); }
.trust-strip .ts-v {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 10px;
}
@media (max-width: 760px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .ts-item:nth-child(3) { border-left: 0; }
  .trust-strip .ts-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ============ REVIEWS ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.review-card {
  margin: 0;
  padding: 30px 34px 28px;
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column;
  min-height: 200px;
}
.review-card:nth-child(odd) { border-left: 0; }
.review-card:nth-child(n+3) { border-top: 1px solid var(--rule); }
.review-card .review-stars {
  color: var(--accent);
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 18px;
}
.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}
.review-card figcaption {
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.review-card .rc-name {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
}
.review-card .rc-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { border-left: 0; border-top: 1px solid var(--rule); min-height: 0; }
  .review-card:first-child { border-top: 0; }
}

/* final CTA */
.final-cta {
  margin-top: 0;
  padding: 120px 0 80px;
  border-top: none;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) { .final-cta { grid-template-columns: 1fr; padding: 56px 0; } }
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 130px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
}
.final-cta .fc-side {
  display: flex; flex-direction: column;
  gap: 18px;
  padding-bottom: 16px;
}
.final-cta .fc-side p { font-size: 14.5px; color: var(--ink-3); margin: 0; max-width: 36ch; line-height: 1.55; }
.final-cta .fc-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* =========== ARTISTS PAGE =========== */
.page-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  padding-top: 24px; padding-bottom: 56px;
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(68px, 11vw, 180px);
  letter-spacing: -0.05em;
  line-height: 0.86;
  margin: 0;
}
.page-hero .ph-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.page-hero p { font-size: 17px; line-height: 1.55; max-width: 48ch; margin: 0; }
.page-hero .ph-side { display: flex; flex-direction: column; gap: 18px; padding-bottom: 16px; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.filter-chip:hover { background: var(--ink-3); color: var(--paper); }
.filter-chip.active { background: var(--ink); color: var(--paper); }

/* artist pre-filter chip (set from "View portfolio") */
.filter-chip.chip-artist {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  margin-right: 4px;
  display: inline-flex; align-items: center; gap: 9px;
}
.filter-chip.chip-artist:hover { background: var(--accent); color: var(--paper); filter: brightness(1.08); }
.filter-chip.chip-artist .chip-x { font-size: 14px; line-height: 1; opacity: 0.85; }

.artists-list {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.artist-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.6fr 200px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--ink);
  align-items: start;
}
@media (max-width: 900px) {
  .artist-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
}
.artist-row .ar-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; color: var(--ink-4);
}
.artist-row .ar-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 8px;
}
.artist-row .ar-tags {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.artist-row .ar-desc { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); max-width: 48ch; margin: 0; }
.artist-row .ar-thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.artist-row .ar-thumbs .ph { aspect-ratio: 3/4; }
.artist-row .ar-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.artist-row .ar-actions a {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  transition: background .15s, color .15s;
}
.artist-row .ar-actions a:hover { background: var(--ink); color: var(--paper); }
.artist-row .ar-actions a.primary { background: var(--ink); color: var(--paper); }
.artist-row .ar-actions a.primary:hover { background: var(--ink-3); }

/* =========== STYLES PAGE =========== */
.styles-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--ink);
}
@media (max-width: 900px) { .styles-list { grid-template-columns: 1fr; } }
.styles-list .style-row {
  padding: 40px 24px 48px;
  border-bottom: 1px solid var(--ink);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.styles-list .style-row:nth-child(odd) { border-right: 1px solid var(--ink); }
@media (max-width: 900px) {
  .styles-list .style-row:nth-child(odd) { border-right: 0; }
}
.styles-list .style-row .sr-photo { aspect-ratio: 3/4; }
.styles-list .style-row .sr-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; color: var(--ink-4);
  margin-bottom: 8px;
}
.styles-list .style-row .sr-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 12px;
}
.styles-list .style-row .sr-desc {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-3); margin: 0 0 16px;
}
.styles-list .style-row .sr-artists {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 16px;
}

/* =========== ARTIST HEADER (on filtered gallery) =========== */
.artist-head {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: 8px 0 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}
.ah-portrait {
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.ah-body { padding-top: 4px; }
.ah-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ah-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: -0.035em; line-height: 0.95;
  margin: 0 0 16px;
}
.ah-desc {
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55;
  color: var(--ink-3); max-width: 52ch; margin: 0 0 22px;
}
.ah-tags {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.ah-quote {
  margin: 0 0 28px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.5;
  color: var(--ink-2); max-width: 54ch;
}
.ah-stars { display: block; color: var(--accent); letter-spacing: 2px; font-size: 13px; margin-bottom: 8px; }
.ah-quote cite {
  display: block; margin-top: 10px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; color: var(--ink-4);
}
.ah-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ah-all {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px;
  white-space: nowrap;
}
.ah-all:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 720px) {
  .artist-head { grid-template-columns: 1fr; gap: 24px; }
  .ah-portrait { max-width: 260px; }
}

/* =========== GALLERY PAGE =========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: 40px 0;
}
.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s;
}
.gallery-item .ph { width: 100%; height: 100%; }
.gallery-item .gi-meta {
  position: absolute;
  left: 12px; bottom: 12px; right: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
}
.gallery-item:hover .gi-meta { opacity: 1; }
.gallery-item .gi-num {
  position: absolute;
  top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.85);
}

/* asymmetric gallery items */
.gi-1 { grid-column: span 4; aspect-ratio: 3/4; }
.gi-2 { grid-column: span 5; aspect-ratio: 4/4.2; }
.gi-3 { grid-column: span 3; aspect-ratio: 3/4.2; }
.gi-4 { grid-column: span 4; aspect-ratio: 3/4; }
.gi-5 { grid-column: span 3; aspect-ratio: 3/4; }
.gi-6 { grid-column: span 5; aspect-ratio: 4/3.2; }
.gi-7 { grid-column: span 5; aspect-ratio: 4/3; }
.gi-8 { grid-column: span 4; aspect-ratio: 3/4; }
.gi-9 { grid-column: span 3; aspect-ratio: 3/4; }
.gi-10 { grid-column: span 4; aspect-ratio: 3/4.2; }
.gi-11 { grid-column: span 4; aspect-ratio: 3/4; }
.gi-12 { grid-column: span 4; aspect-ratio: 3/4; }

/* healed work cues */
.gi-healed {
  position: absolute;
  top: 12px; right: 12px; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  padding: 5px 9px;
  background: var(--ink);
  color: var(--paper);
  text-transform: uppercase;
}
.filter-chip.chip-healed { border: 1px solid var(--accent); color: var(--accent); }
.filter-chip.chip-healed:hover,
.filter-chip.chip-healed.active { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.filter-chip.chip-coverup { border: 1px solid var(--accent); color: var(--accent); }
.filter-chip.chip-coverup:hover,
.filter-chip.chip-coverup.active { background: var(--accent); color: var(--paper); border-color: var(--accent); }

/* cover-up before/after card */
.gi-coverup { cursor: default; }
.gi-coverup .ba-stage { position: absolute; inset: 0; overflow: hidden; }
.gi-coverup .ba-layer {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .4s ease;
}
.gi-coverup .ba-layer.on { opacity: 1; }
.gi-coverup .ba-layer .ph { width: 100%; height: 100%; }
.gi-coverup .ba-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  padding: 5px 9px;
  background: var(--accent); color: var(--paper);
  text-transform: uppercase; white-space: nowrap;
}
.gi-coverup .ba-badge.ba-badge-coverup { background: var(--ink); color: var(--paper); }
.gi-coverup .ba-state {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  padding: 5px 9px;
  background: rgba(11,11,11,0.62); color: var(--paper);
  text-transform: uppercase; backdrop-filter: blur(2px);
}
.gi-coverup .ba-toggle {
  position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%);
  z-index: 4; display: flex;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(11,11,11,0.45); backdrop-filter: blur(3px);
}
.gi-coverup .ba-toggle button {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px; cursor: pointer;
  background: transparent; border: 0;
  transition: background .15s, color .15s;
}
.gi-coverup .ba-toggle button + button { border-left: 1px solid rgba(255,255,255,0.35); }
.gi-coverup .ba-toggle button.on { background: var(--paper); color: var(--ink); }
.gi-coverup .gi-meta { opacity: 1; }

.healed-note {
  display: flex; align-items: baseline; gap: 20px;
  padding: 24px 0 4px;
  flex-wrap: wrap;
}
.healed-note .hn-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--accent);
  white-space: nowrap;
}
.healed-note p {
  margin: 0; max-width: 60ch;
  font-size: 15px; line-height: 1.55; color: var(--ink-3);
}

.gallery-empty {
  grid-column: 1 / -1;
  border: 1px solid var(--rule);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.gallery-empty .ge-title {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink);
}
.gallery-empty .ge-sub {
  margin: 0 auto 28px; max-width: 46ch;
  font-size: 15px; line-height: 1.55; color: var(--ink-3);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  [class^="gi-"] { grid-column: span 1; aspect-ratio: 3/4; }
}

/* =========== BOOK PAGE =========== */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding-top: 40px;
}
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; gap: 32px; } }
.book-left h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(54px, 8vw, 110px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0 0 24px;
}
.book-left p { font-size: 16px; line-height: 1.55; color: var(--ink-3); max-width: 40ch; }
.book-left .book-meta {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4);
}

.book-form { display: flex; flex-direction: column; gap: 0; }
.book-form .step-header {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4);
  flex-wrap: wrap;
}
.book-form .step-header .sh-num { font-weight: 500; white-space: nowrap; }
.book-form .step-header .sh-title { color: var(--ink); white-space: nowrap; }
.book-form .step-body {
  padding-bottom: 32px;
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.book-form .step-body .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .book-form .step-body { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 2px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: var(--font-body);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,73,42,0.12);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field .hint { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-4); text-transform: uppercase; }
.field-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); margin-top: 8px; cursor: pointer; }
.field-check input { margin-top: 3px; }

.upload-area {
  border: 1px dashed var(--ink);
  padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4);
  cursor: pointer;
}
.upload-area:hover { background: rgba(11,11,11,0.04); }

/* reference photo previews */
.ref-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.ref-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule-strong);
  overflow: hidden;
  background: var(--paper-3);
}
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-remove {
  position: absolute; top: 6px; right: 6px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  border: none; cursor: pointer;
  font-size: 16px; line-height: 1;
  font-family: var(--font-body);
}
.ref-remove:hover { background: var(--accent); }
@media (max-width: 640px) {
  .ref-thumbs { grid-template-columns: repeat(3, 1fr); }
}

.btn[disabled] { opacity: 0.5; cursor: default; pointer-events: none; }

/* inline form success (shared booking form) */
.form-success {
  border: 1px solid var(--ink);
  padding: 48px 40px;
}
.form-success .fs-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.form-success p {
  margin: 0;
  font-size: 15px; line-height: 1.6; color: var(--ink-3);
  max-width: 46ch;
}

.submit-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.submit-row .legal { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-4); text-transform: uppercase; max-width: 32ch; }

/* success state */
.book-success {
  padding: 80px 0;
  text-align: left;
  max-width: 720px;
}
.book-success h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 24px;
}
.book-success p { font-size: 17px; line-height: 1.6; color: var(--ink-3); margin: 0 0 16px; }

/* =========== CONTACT PAGE =========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding-top: 32px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .ci-block { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.contact-grid .ci-block .ci-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4);
}
.contact-grid .ci-block .ci-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact-grid .ci-block a.ci-value:hover { color: var(--accent); }

/* =========== AFTERCARE PAGE =========== */
.care-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  padding-top: 40px;
}
@media (max-width: 900px) { .care-grid { grid-template-columns: 1fr; gap: 24px; } }
.care-list { display: flex; flex-direction: column; gap: 0; }
.care-item {
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  align-items: start;
}
.care-item:last-child { border-bottom: 1px solid var(--ink); }
.care-item .ci-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-4); }
.care-item .ci-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.02em; margin: 0 0 12px;
}
.care-item p { font-size: 15px; line-height: 1.6; color: var(--ink-3); margin: 0 0 8px; max-width: 60ch; }

/* ============================================================
   WORK CAROUSEL (artist cards on home)
   ============================================================ */
.wc {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  height: 100%;
  container-type: inline-size;
}
.wc-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.25,.9,.25,1);
}
@media (prefers-reduced-motion: reduce) { .wc-track { transition: none; } }
.wc-slide { flex: 0 0 100%; height: 100%; }
.wc-slide .ph-fill { display: block; width: 100%; height: 100%; }

.wc-ui {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  gap: 4px;
  padding: 4px 5px;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.wc:hover .wc-ui,
.wc:focus-within .wc-ui { opacity: 1; transform: none; }
@media (hover: none) { .wc-ui { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wc-ui { opacity: 1; transform: none; } }

.wc-btn {
  appearance: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  width: 22px; height: 20px;
  padding: 0;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.wc-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wc-count {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  user-select: none;
  flex: 0 1 auto;
  overflow: hidden;
}
/* on very narrow cards drop the counter — arrows only */
@container (max-width: 120px) {
  .wc-count { display: none; }
  .wc-ui { justify-content: space-between; }
}
.announce {
  display: flex; align-items: center;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.announce-track {
  display: flex; width: max-content;
  animation: announce-march 42s linear infinite;
}
.announce:hover .announce-track { animation-play-state: paused; }
.announce-seq {
  display: flex; align-items: center; gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}
@keyframes announce-march {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* live availability dot */
.announce .avail { display: inline-flex; align-items: center; gap: 9px; }
.announce .avail-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: avail-pulse 2.4s ease-out infinite;
}
@keyframes avail-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(184,73,42,0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(184,73,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,73,42,0); }
}
@media (max-width: 880px) { .announce { font-size: 9.5px; } .announce-seq { gap: 14px; padding-right: 14px; } }
.announce .sep { opacity: 0.4; }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .announce .avail-dot { animation: none; }
}

/* ============================================================
   ENTRANCE & SCROLL ANIMATIONS
   ============================================================ */

/* --- hero headline: lines rise out of a mask on load (transition-driven) --- */
.hero-display .hl { display: block; overflow: hidden; }
.hero-display .hl > span {
  display: block;
  transform: none;
  transition: transform 0.95s cubic-bezier(.19,.9,.22,1);
}
.hero-minimal .hero-display .hl > span { white-space: nowrap; }
.hero[data-intro="out"] .hero-display .hl > span { transform: translateY(112%); }
.hero[data-intro="in"] .hero-display .hl:nth-child(1) > span { transition-delay: 0.12s; }
.hero[data-intro="in"] .hero-display .hl:nth-child(2) > span { transition-delay: 0.24s; }
.hero[data-intro="in"] .hero-display .hl:nth-child(3) > span { transition-delay: 0.36s; }

.hero-display .dot {
  color: var(--accent);
  display: inline-block;
  transform-origin: bottom center;
  opacity: 1; transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,1.5,.4,1);
}
.hero[data-intro="out"] .hero-display .dot { opacity: 0; transform: scale(0); }
.hero[data-intro="in"] .hero-display .dot { transition-delay: 1.05s; }

/* hero crop marks + corner labels draw in after the headline */
.hero .frame .crop-mark-tl,
.hero .frame .crop-mark-tr,
.hero .frame .crop-mark-bl,
.hero .frame .crop-mark-br,
.hero .frame .corner-label-tr,
.hero .frame .corner-label-bl {
  opacity: 1;
  transition: opacity 0.7s ease;
}
.hero[data-intro="out"] .frame .crop-mark-tl,
.hero[data-intro="out"] .frame .crop-mark-tr,
.hero[data-intro="out"] .frame .crop-mark-bl,
.hero[data-intro="out"] .frame .crop-mark-br,
.hero[data-intro="out"] .frame .corner-label-tr,
.hero[data-intro="out"] .frame .corner-label-bl {
  opacity: 0;
}
.hero[data-intro="in"] .frame .crop-mark-tl { transition-delay: 0.55s; }
.hero[data-intro="in"] .frame .crop-mark-tr { transition-delay: 0.62s; }
.hero[data-intro="in"] .frame .crop-mark-bl { transition-delay: 0.69s; }
.hero[data-intro="in"] .frame .crop-mark-br { transition-delay: 0.76s; }
.hero[data-intro="in"] .frame .corner-label-tr { transition-delay: 0.84s; }
.hero[data-intro="in"] .frame .corner-label-bl { transition-delay: 0.9s; }

/* --- scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-display .hl > span,
  .hero-display .dot,
  .hero-center .frame .crop-mark-tl,
  .hero-center .frame .crop-mark-tr,
  .hero-center .frame .crop-mark-bl,
  .hero-center .frame .crop-mark-br,
  .hero-center .frame .corner-label-tr,
  .hero-center .frame .corner-label-bl { opacity: 1 !important; transform: none !important; transition: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}


/* keep button labels + arrows on one line (no orphaned arrows) */
.artist-row .ar-actions a > span:first-child { white-space: nowrap; }
.btn { white-space: nowrap; }


/* ============================================================
   GALLERY PHOTO EDITOR
   ============================================================ */

/* file-based gallery image fill (replaces image-slot in gallery) */
.gallery-item .ep-wrap { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery-item .gi-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  background: var(--ink, #1a1a1a);
}
.gi-coverup .ba-layer .ep-wrap { position: absolute; inset: 0; }

/* "Change photo" pencil shown on each tile in edit mode */
.ep-edit {
  position: absolute; left: 10px; bottom: 10px; z-index: 6;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 8px 12px;
  background: var(--paper, #fafaf8); color: var(--ink, #111);
  border: 1px solid var(--ink, #111); border-radius: 2px;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background .15s, color .15s;
}
.ep-edit:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.ep-edit.ep-changed { background: var(--accent); color: #fff; border-color: var(--accent); }
.ep-edit-ic { font-size: 13px; line-height: 1; }

/* edit-mode hint ring on tiles */
.gallery-edit-toggle ~ * .gallery-grid { } /* no-op anchor */

/* floating Edit photos / Done toggle (studio only) */
.gallery-edit-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 12px 18px;
  background: var(--ink, #141210); color: var(--paper, #ece8e1);
  border: 1px solid var(--ink, #141210); border-radius: 999px;
  cursor: pointer; box-shadow: 0 8px 26px rgba(0,0,0,0.32);
  transition: transform .12s ease, background .15s;
}
.gallery-edit-toggle:hover { transform: translateY(-1px); }
.gallery-edit-toggle.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* photo library picker modal */
.pp-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,11,10,0.72); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.pp-panel {
  width: min(960px, 96vw); max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--paper, #fafaf8); color: var(--ink, #141210);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.pp-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 24px 14px; }
.pp-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); }
.pp-title { font-family: var(--font-display, serif); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; margin-top: 6px; line-height: 1.2; max-width: 80%; }
.pp-close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink, #141210); padding: 4px; }
.pp-search {
  margin: 0 24px 14px; padding: 11px 14px;
  font-family: var(--font-mono); font-size: 13px;
  border: 1px solid rgba(0,0,0,0.2); background: #fff; color: var(--ink, #141210);
}
.pp-grid {
  overflow-y: auto; padding: 0 24px 8px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px;
}
.pp-thumb {
  position: relative; padding: 0; cursor: pointer;
  border: none; background: transparent;
  display: flex; flex-direction: column;
}
.pp-thumb-img {
  position: relative; aspect-ratio: 3/4; width: 100%;
  border: 1px solid rgba(0,0,0,0.14); background: #ddd; border-radius: 2px;
  overflow: hidden; transition: border-color .12s, transform .12s;
}
.pp-thumb:hover .pp-thumb-img { border-color: var(--accent); transform: translateY(-2px); }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-thumb.sel .pp-thumb-img { border: 2px solid var(--accent); }
.pp-name {
  font-family: var(--font-mono); font-size: 10px; line-height: 1.25;
  color: var(--ink, #141210); padding: 6px 2px 0; text-align: left;
  letter-spacing: 0.02em; word-break: break-word;
}
.pp-cur {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-align: center;
  padding: 4px; background: var(--accent); color: #fff;
}
.pp-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: #888; font-family: var(--font-mono); font-size: 13px; }
.pp-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px 20px; border-top: 1px solid rgba(0,0,0,0.1); margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: #888;
}
.pp-reset {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 8px 14px; background: none; border: 1px solid rgba(0,0,0,0.3); color: var(--ink, #141210);
  cursor: pointer;
}
.pp-reset:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- LIGHTBOX (view a work large) ---------- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,7,6,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  animation: lb-fade .18s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-close {
  position: fixed; top: 20px; right: 24px; z-index: 2;
  background: none; border: none; color: var(--paper, #ece8e1);
  font-size: 30px; line-height: 1; cursor: pointer; padding: 6px;
  opacity: 0.8; transition: opacity .15s;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.22);
  color: var(--paper, #ece8e1); font-size: 30px; line-height: 1;
  cursor: pointer; border-radius: 50%;
  transition: background .15s, transform .15s;
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-count { margin-left: 14px; color: rgba(255,255,255,0.4); }
@media (max-width: 640px) {
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
.lb-figure {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  max-width: 92vw; max-height: 88vh;
}
.lb-imgwrap { position: relative; display: flex; }
.lb-img {
  max-width: 92vw; max-height: 78vh;
  object-fit: contain; display: block;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}
.lb-toggle {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
}
.lb-toggle button {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 8px 16px; background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; text-transform: uppercase;
}
.lb-toggle button.on { background: var(--paper, #ece8e1); color: var(--ink, #141210); }
.lb-cap {
  margin-top: 18px; width: 100%; max-width: 680px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  color: var(--paper, #ece8e1);
}
.lb-cap-main { display: flex; flex-direction: column; gap: 4px; }
.lb-artist { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); }
.lb-style { font-family: var(--font-display, serif); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.lb-cap-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); white-space: nowrap; }
@media (max-width: 640px) {
  .lb-overlay { padding: 16px; }
  .lb-cap { flex-direction: column; gap: 6px; }
}
