/* INKFERNAL V56 — shared design system.
 * This is the single public color/contrast layer for Home, Portfolio, Booking,
 * category pages, Aftercare and Privacy. Older layout CSS remains unchanged.
 * Appearance writes ONLY the eight --ink-* variables; no dynamic CSS strings.
 */
:root{
  --ink-background:#E9E1D6;
  --ink-surface:#E9E1D6;
  --ink-text:#24201C;
  --ink-accent:#B99A64;
  --ink-accent-on-light:#765D37;
  --ink-dark:#131210;
  --ink-dark-text:#E9E1D6;
  --ink-button:#24201C;
  --ink-button-text:#E9E1D6;
  /* Older layout files consume these aliases. */
  --paper:var(--ink-background);
  --ivory:var(--ink-background);
  --cream:var(--ink-surface);
  --sand-soft:var(--ink-surface);
  --gold:var(--ink-accent);
  --ink:var(--ink-text);
  --charcoal:var(--ink-dark);
  --obsidian:var(--ink-dark);
  --on-dark:var(--ink-dark-text);
  --btn:var(--ink-button);
  --btn-text:var(--ink-button-text);
}
/* Light canvas and text */
html, body{background:var(--ink-background);color:var(--ink-text)}
.site-header,.site-nav,.booking-header,.hero-copy,.featured,.process,.faq,.about-copy,
.practice-carousel,.info-page,.portfolio-main,.portfolio-intro,.portfolio-section,
.portfolio-footer,.booking-page .booking-aside,.booking-page .booking-form-panel,
.portfolio-photo-info{background-color:var(--ink-surface)!important;color:var(--ink-text)!important}
.hero,.booking-page{background-color:var(--ink-background)!important;color:var(--ink-text)!important}
.site-header{background-color:var(--ink-surface)!important}
.site-header a:not(.header-cta),.site-nav a,.booking-header a:not(.booking-header-cta),
.booking-header nav a,.portfolio-intro a,.portfolio-photo-info,.portfolio-photo-category,
.about-copy h2,.about-copy p,.about-copy .text-link,.process h2,.process h3,.process p,
.faq h2,.faq h3,.faq summary,.faq p,.info-page h1,.info-page h2,.info-page h3,
.info-page p,.info-page li,.hero h1,.hero-copy .intro,.hero-copy .location,
.hero-copy .styles,.service-area,.section-head h2,.section-head a,
.portfolio-intro h1,.portfolio-description,.portfolio-note,.portfolio-section-heading h2,
.portfolio-photo h3,.portfolio-photo-description,.portfolio-status,
.booking-page .booking-aside h2,.booking-page .booking-aside h3,
.booking-page .booking-aside p,.booking-page .booking-form-panel h2,
.booking-page form#booking-form label{color:var(--ink-text)!important}
.site-header,.booking-header,.portfolio-header{border-bottom-color:color-mix(in srgb,var(--ink-text) 15%,transparent)!important}
/* Dark sections. Scoped foreground selectors avoid leaking dark text onto buttons. */
.contact,.portfolio,footer,.portfolio-header,.portfolio-contact,.booking-hero,
.about-photo,.studio-preview{background-color:var(--ink-dark)!important;color:var(--ink-dark-text)!important}
.contact h1,.contact h2,.contact h3,.contact p,.contact a:not(.btn),
.portfolio h1,.portfolio h2,.portfolio h3,.portfolio p,.portfolio a:not(.btn),
footer h1,footer h2,footer h3,footer p,footer a,footer strong,
.portfolio-header a:not(.portfolio-book),.portfolio-contact h1,.portfolio-contact h2,
.portfolio-contact p,.portfolio-contact a:not(.portfolio-book),
.booking-hero h1,.booking-hero p,.studio-overlay h3,.studio-overlay p,.studio-overlay a{
  color:var(--ink-dark-text)!important;
}
/* Decorative accents use full gold on dark, a derived high-contrast shade on light. */
.site-header .brand-symbol,.booking-star,.portfolio-brand-mark,.hero-image-copy em,
.booking-eyebrow,.booking-hero .booking-eyebrow,.contact .eyebrow:not(.light){color:var(--ink-accent)!important}
.hero-copy .eyebrow,.about-copy .eyebrow,.info-page .eyebrow,.portfolio-eyebrow,
.portfolio-photo-category,.service-area,.featured .eyebrow{color:var(--ink-accent-on-light)!important}
.contact .eyebrow.light,.contact-methods span,footer small{color:var(--ink-dark-text)!important}
.contact .eyebrow.light i{background:var(--ink-dark-text)!important;opacity:.65}
.eyebrow i,.service-area i,.section-head i,.portfolio-eyebrow span,.booking-hero::after{background-color:var(--ink-accent)!important}
.booking-hero{background:color-mix(in srgb,var(--ink-dark) 95%,transparent)!important;border-color:color-mix(in srgb,var(--ink-accent) 48%,transparent)!important}
.booking-hero h1,.booking-hero>p:not(.booking-eyebrow){color:var(--ink-dark-text)!important}
body:has(.booking-page)::before{background:linear-gradient(180deg,rgba(19,18,16,.84) 0%,rgba(36,32,28,.72) 34%,rgba(233,225,214,.97) 100%),url('/assets/hero-editorial.webp') center top/cover no-repeat!important}
/* Dedicated button selectors defeat old generic .site-header a/.booking-header a rules. */
.site-header a.header-cta,.booking-header a.booking-header-cta,
.hero-actions a.btn.dark,.contact a.btn.dark,.info-page a.cta-link,
.booking-page form#booking-form button[type=submit],
.portfolio-header a.portfolio-book,.portfolio-contact a.portfolio-book{
  background:var(--ink-button)!important;
  color:var(--ink-button-text)!important;
  border-color:var(--ink-button)!important;
  font-weight:600!important;
  text-shadow:none!important;
}
.site-header a.header-cta span,.booking-header a.booking-header-cta span,
.hero-actions a.btn.dark span,.contact a.btn.dark span,.info-page a.cta-link span,
.portfolio-header a.portfolio-book span,.portfolio-contact a.portfolio-book span{
  color:var(--ink-button-text)!important;
}
.hero-actions a.btn.outline,.btn.outline{color:var(--ink-text)!important;border-color:var(--ink-text)!important}
/* Gallery's gold CTA is deliberately gold-filled, with dark text for visibility. */
.portfolio-contact a.portfolio-book,.portfolio-contact a.portfolio-book span{
 background:var(--ink-accent)!important;color:var(--ink-dark)!important;border-color:var(--ink-accent)!important;
}
/* Portfolio: modern muted surface, dark navbar and readable footer. */
.portfolio-intro,.portfolio-section{background:var(--ink-surface)!important}
.portfolio-photo{background:color-mix(in srgb,var(--ink-surface) 90%,white)!important}
.portfolio-footer{background:var(--ink-surface)!important;color:var(--ink-text)!important}
.portfolio-section-heading,.faq-list details,.process-grid article,.booking-page .booking-aside h2{
 border-color:color-mix(in srgb,var(--ink-text) 20%,transparent)!important
}
/* Booking form inputs stay white, not dark. This prevents accidental low contrast. */
.booking-page .booking-aside,.booking-page .booking-form-panel{background:var(--ink-surface)!important}
.booking-page form#booking-form input:not([type=checkbox]):not([type=file]),
.booking-page form#booking-form textarea,.booking-page form#booking-form select{
 color:var(--ink-text)!important;background:#fff!important;
 border-color:color-mix(in srgb,var(--ink-text) 35%,white)!important;
}
.booking-page .booking-flash,.booking-page .booking-upload{
 background:color-mix(in srgb,var(--ink-accent) 13%,var(--ink-surface))!important;
 border-color:color-mix(in srgb,var(--ink-text) 22%,var(--ink-surface))!important;
}
/* Improved readable labels + minimally thicker editorial titles. */
.contact-methods span,footer small,.portfolio-photo-category{font-size:clamp(11px,.85vw,12px)}
.hero h1,.section-head h2,.featured .section-head h2,.about-copy h2,.faq-title h2,
.contact-copy h2,.studio-overlay h3,.footer-center strong,.portfolio-intro h1,
.portfolio-section-heading h2,.portfolio-contact h2,.info-page h1,.info-page h2,
.booking-hero h1,.booking-aside h2,.booking-form-panel h2,.brand-type,
.portfolio-brand-type,.booking-brand span{
 -webkit-text-stroke:.22px currentColor;
 text-shadow:0 0 .01px currentColor;
}
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible{
 outline:2px solid var(--ink-accent-on-light);outline-offset:3px;
}
.tattoo-compare:focus-within{outline-color:var(--ink-accent-on-light)!important}
@media(max-width:980px){.site-nav{background:var(--ink-surface)!important}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .reveal{transition:none;transform:none;opacity:1}
 .image-button img,.tile img{transition:none}
}
