/* ═══════════════════════════════════════════════════════════════
   Eternal Bliss Tattoo — brand system (black & white duality)
   ink #0a0a0a · panel #141414 · bone #f2f2f2 · smoke #a3a3a3
   accent #ffffff · hairline rgba(255,255,255,.14)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #0a0a0a;
  --panel: #141414;
  --bone: #f2f2f2;
  --smoke: #a3a3a3;
  --accent: #ffffff;
  --hairline: rgba(255, 255, 255, .14);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label: "Marcellus", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 800px at 50% -10%, rgba(255, 255, 255, .035), transparent 60%),
    radial-gradient(1000px 700px at 85% 110%, rgba(255, 255, 255, .025), transparent 60%);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--ink); }

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  padding: .6rem 1.2rem;
  font-family: var(--font-label);
  letter-spacing: .1em;
}
.skip-link:focus { left: 0; }

/* ── layout ─────────────────────────────────────────────────── */

.container {
  width: min(1100px, calc(100% - 3rem));
  margin-inline: auto;
}
.container.narrow { width: min(720px, calc(100% - 3rem)); }

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--hairline);
  position: relative;
}

/* ── type ───────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-label);
  font-size: .75rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
  opacity: .5;
  vertical-align: middle;
  margin-right: 1rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 2rem;
}
h2 em, h3 em {
  font-style: italic;
  color: var(--accent);
}

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: .4rem 0 .8rem;
}

p { margin: 0 0 1.4rem; }

/* ── header ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1.2rem, 4vw, 2.5rem);
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.header-wordmark {
  display: block;
  text-decoration: none;
  line-height: 1;
}
.header-wordmark img {
  height: 1.35rem;
  width: auto;
  display: block;
  transition: opacity .3s;
}
.header-wordmark:hover img { opacity: .7; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.site-nav a {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  padding: .3rem 0;
}
.site-nav a:hover { color: var(--bone); }
.site-nav .nav-cta {
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, .55);
  padding: .45rem 1.1rem;
  transition: background .3s, color .3s;
}
.site-nav .nav-cta:hover { background: var(--accent); color: var(--ink); }

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ── emblem ─────────────────────────────────────────────────── */

.emblem {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.rotating { animation: emblem-turn 240s linear infinite; }

@keyframes emblem-turn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── hero ───────────────────────────────────────────────────── */

.hero {
  min-height: calc(100svh - 3.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

/* like the footer's emblem-over-wordmark lockup, larger and bolder */
.hero-mark {
  width: clamp(150px, 24vw, 215px);
  height: clamp(150px, 24vw, 215px);
  margin-bottom: 2.2rem;
  opacity: .92;
}

.wordmark { margin: 0 0 1.6rem; }

.wordmark-img {
  display: block;
  width: clamp(280px, 78vw, 640px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 50px rgba(10, 10, 10, .9));
}

.wordmark-tattoo {
  display: block;
  width: clamp(110px, 24vw, 196px);
  height: auto;
  margin: 1.5rem auto 0;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--accent);
  margin: 0 0 .6rem;
}

.hero-locations {
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--smoke);
  margin: 0 0 2.6rem;
}

/* ── buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: .8rem;
  letter-spacing: .32em;
  text-indent: .32em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  padding: 1.05rem 2.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s, color .35s, box-shadow .35s;
}
.btn:hover {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 40px rgba(255, 255, 255, .2);
}
.btn:disabled { opacity: .5; cursor: wait; }

/* ── the practice ───────────────────────────────────────────── */

.practice { text-align: center; }
.practice h2 { margin-bottom: 2.6rem; }

.practice .lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.5;
  color: var(--bone);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2.4rem 0;
  color: var(--accent);
}
.divider::before, .divider::after {
  content: "";
  width: clamp(2.5rem, 8vw, 5rem);
  height: 1px;
  background: var(--hairline);
}
.divider span {
  font-size: 1.5rem;
  line-height: 1;
  opacity: .9;
}

.closing-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--accent);
  margin-top: 2.6rem;
}

/* ── recent work ────────────────────────────────────────────── */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, 2vw, 1.4rem);
  margin-top: 2.5rem;
}
@media (max-width: 720px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

.work-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.work-tile {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--panel);
  transition: border-color .35s;
}
.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* monotone black and grey so every post shares the site's duality */
  filter: grayscale(1) contrast(1.05) brightness(.92);
  transition: transform .6s ease, filter .6s ease;
}
.work-tile:hover, .work-tile:focus-visible { border-color: var(--accent); }
.work-tile:hover img {
  transform: scale(1.035);
  filter: grayscale(1) contrast(1.05) brightness(1);
}

.work-follow {
  margin-top: 2.2rem;
  text-align: center;
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* ── studios ────────────────────────────────────────────────── */

.studio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin-top: 2.5rem;
}

.studio-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
}
.studio-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .55;
}

.badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: .35rem .9rem;
  margin: 0 0 1.2rem;
}

.studio-card p:last-child { margin-bottom: 0; color: var(--smoke); }

.residency-dates {
  margin-top: 2.4rem;
  text-align: center;
}
.residency-label {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 1rem;
}
.residency-dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem 2.4rem;
}
.residency-dates li {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bone);
}
.residency-dates li::before {
  content: "✦";
  color: var(--accent);
  font-size: .8em;
  margin-right: .7rem;
}

/* ── booking ────────────────────────────────────────────────── */

.booking { overflow: hidden; }

.booking-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(120vmin, 980px);
  height: min(120vmin, 980px);
  transform: translate(-50%, -50%);
  opacity: .09;
  pointer-events: none;
}

.booking .container { position: relative; }

.booking-intro {
  max-width: 620px;
  color: var(--smoke);
  margin-bottom: 2.5rem;
}

.prompt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.9rem, 2vw, 1.4rem);
  margin-bottom: 3rem;
}

.prompt-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: 1.7rem 1.8rem;
}
.prompt-card .prompt-title {
  font-family: var(--font-label);
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}
.prompt-card .prompt-title::before {
  content: "✦";
  margin-right: .6rem;
  font-size: .85em;
}
.prompt-card p:last-child {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--bone);
}

/* form */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.8rem;
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field.wide { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: .55rem;
}
.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  padding: .85rem 1rem;
  border-radius: 0;
  transition: border-color .3s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--smoke); opacity: .75; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2f2f2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field select:invalid { color: var(--smoke); }

.field input[type="date"] { color-scheme: dark; }

.field input[type="file"] { padding: .7rem 1rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  padding: .5rem 1rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.field input[type="file"]::file-selector-button:hover {
  background: var(--accent);
  color: var(--ink);
}

.field-hint {
  font-size: .82rem;
  color: var(--smoke);
  margin: .5rem 0 0;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #d6d6d6; }

/* honeypot — visually removed, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 2.6rem;
  text-align: center;
}
.btn-submit { min-width: 240px; }

.form-blessing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--smoke);
  margin: 1.2rem 0 0;
}

.form-status {
  text-align: center;
  min-height: 1.4em;
  margin: 1.4rem 0 0;
  color: #cfcfcf;
  font-size: .95rem;
}
.form-status.ok { color: var(--accent); }

.form-success {
  text-align: center;
  padding: 3.5rem 1rem;
  border: 1px solid var(--hairline);
  background: var(--panel);
}
.success-glyph {
  color: var(--accent);
  font-size: 2rem;
  margin: 0 0 1rem;
}
.success-message {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--bone);
  margin-bottom: .8rem;
}
.success-aftercare { color: var(--smoke); margin: 0; }

/* ── policies ───────────────────────────────────────────────── */

.policy-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}
.policy-list li {
  display: flex;
  gap: 1.4rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
  text-align: left;
}
.policy-list li:last-child { border-bottom: 1px solid var(--hairline); }
.policy-list .glyph { color: var(--accent); flex: none; font-size: .9rem; }
.policy-list p { margin: 0; color: var(--smoke); }
.policy-list strong {
  font-family: var(--font-label);
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--bone);
  display: block;
  margin-bottom: .2rem;
}

/* ── footer ─────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.footer-emblem {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.4rem;
  opacity: .8;
}

.footer-wordmark { margin: 0 0 .4rem; }
.footer-wordmark img {
  display: block;
  width: min(210px, 60vw);
  height: auto;
  margin: 0 auto;
}
.footer-wordmark span {
  display: block;
  font-family: var(--font-label);
  font-size: .62rem;
  letter-spacing: .7em;
  text-indent: .7em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.2rem;
  margin: 1.8rem 0;
}
.footer-links a {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: .85rem;
  color: var(--smoke);
  margin: 0;
}

/* ── aftercare page ─────────────────────────────────────────── */

.page-hero {
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 1.5rem 0;
}
.page-hero .page-emblem {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.8rem;
  opacity: .85;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0 0 1rem;
}
.page-hero h1 em { color: var(--accent); }
.page-hero .page-intro {
  max-width: 560px;
  margin: 0 auto;
  color: var(--smoke);
}

.aftercare-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}
.aftercare-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aftercare-section ul li {
  padding: .85rem 0 .85rem 1.9rem;
  position: relative;
  border-top: 1px solid var(--hairline);
  color: var(--smoke);
}
.aftercare-section ul li:first-child { border-top: none; }
.aftercare-section ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8em;
  top: 1.1em;
}
.aftercare-section strong { color: var(--bone); font-weight: 400; }

.aftercare-note {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--accent);
  padding: 1.4rem 1.7rem;
  color: var(--smoke);
  margin-top: 1.8rem;
}

/* ── reveal on scroll ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── reduced motion ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotating { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .work-tile img { transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
