/* ============================================================
   Vivid Ink Derby Tattoo Studio · Bespoke Sites demo
   Design language: ink black + vivid violet + bone
   Display: Syne · Body/UI: Space Grotesk · Micro: Space Mono
   Shape system (documented rule): buttons, chips & pills = pill,
   media = 14px, everything else sharp. One accent: violet.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #110D17;          /* page background, near-black violet */
  --ink-deep: #0D0A12;     /* footer */
  --coal: #171220;         /* elevated sections */
  --plum: #221A2E;         /* bands & panels */
  --bone: #F3EEF9;         /* primary text */
  --muted: #A79CB6;        /* secondary text (AA on ink) */
  --muted-bright: #B9AEC6;  /* small labels & captions */
  --violet: #9B6DE8;       /* accent (AA on ink) */
  --violet-soft: #B79AF0;  /* accent text / emphasis */
  --line: rgba(243, 238, 249, 0.12);
  --line-soft: rgba(243, 238, 249, 0.07);

  --font-display: 'Syne', 'Arial Black', sans-serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --radius-media: 14px;
  --radius-pill: 999px;

  --container: 1160px;
  --header-h: 64px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* fluid type scale */
  --text-xs: clamp(0.72rem, 0.7rem + 0.12vw, 0.8rem);
  --text-sm: clamp(0.84rem, 0.81rem + 0.2vw, 0.94rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.1rem);
  --text-lg: clamp(1.12rem, 1.05rem + 0.4vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.9vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.9vw, 2.6rem);
  --text-3xl: clamp(2.1rem, 1.6rem + 2.8vw, 3.3rem);
  --text-hero: clamp(2.35rem, 1.9rem + 2.4vw, 3.6rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film grain: fixed, pointer-events none, static (perf-safe) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
  font-size: var(--text-sm);
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.35rem, 4vw, 2rem);
}
.container.narrow { max-width: 900px; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: normal;
  color: var(--violet-soft);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.section-title {
  font-size: var(--text-3xl);
  max-width: 18ch;
}
.section-lead {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: var(--text-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--bone);
  color: var(--ink);
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  box-shadow: inset 0 0 0 1.5px var(--bone);
}
.btn-ghost:hover { background: rgba(243, 238, 249, 0.08); transform: translateY(-2px); }

.btn-light {
  background: var(--bone);
  color: var(--ink);
  font-size: var(--text-lg);
  padding: 1.05rem 2.4rem;
}
.btn-light:hover { transform: translateY(-2px); background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(17, 13, 23, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-decoration: none;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--bone);
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-mono);
  margin-top: 0.28rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: none;
  gap: 2.1rem;
}
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--bone);
  text-decoration: none;
  position: relative;
  padding-block: 0.4rem;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  background: var(--bone);
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.nav-call:hover { background: #fff; transform: translateY(-1px); }
.nav-call-icon { flex: none; fill: currentColor; }

/* ---------- Mobile menu ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--bone);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2.2rem;
  padding: 6rem clamp(1.25rem, 8vw, 3rem) 3rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav {
  display: grid;
  gap: 0.6rem;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--bone);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  animation: menu-in 0.6s var(--ease) forwards;
}
.mobile-menu nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu nav a:nth-child(2) { animation-delay: 0.12s; }
.mobile-menu nav a:nth-child(3) { animation-delay: 0.19s; }
.mobile-menu nav a:nth-child(4) { animation-delay: 0.26s; }
@keyframes menu-in {
  to { opacity: 1; transform: none; }
}
body.menu-open { overflow: hidden; }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2.8rem, 7vh, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.hero .container { max-width: 1240px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: var(--text-hero);
  margin-top: 1.1rem;
  max-width: 14ch;
}

.hero-sub {
  margin-top: 1.2rem;
  max-width: 44ch;
  color: var(--muted);
  font-size: var(--text-lg);
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-figure {
  position: relative;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 0 0 1px var(--line-soft), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(17, 13, 23, 0.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(183, 154, 240, 0.35);
}
.hero-chip-stars {
  color: var(--violet-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.hero-chip-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bone);
  line-height: 1;
}
.hero-chip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* load-in entrance (JS adds .anim-ready to <html>) */
.anim-ready .load-in {
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.anim-ready .hero-figure { animation-delay: 0.15s; }
.anim-ready .hero-title { --d: 0.05s; }
.anim-ready .hero-sub { --d: 0.15s; }
.anim-ready .hero-cta { --d: 0.25s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Proof band ---------- */
.proof {
  background: linear-gradient(180deg, var(--plum), #1D1526);
  color: var(--bone);
  padding-block: 1.8rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.75rem;
  text-align: center;
}

.proof-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  color: var(--bone);
}
.proof-stat dd {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 16ch;
  margin-inline: auto;
  min-height: 2.4em;
}

.proof-note {
  margin-top: 1.4rem;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
}
.stars {
  color: var(--violet-soft);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-right: 0.35rem;
}

/* ---------- The work (gallery) ---------- */
.work { padding-block: clamp(3.5rem, 8vw, 5.5rem); }

.work .section-title { max-width: 16ch; }

.work-grid {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.work-tile {
  border-radius: var(--radius-media);
  overflow: hidden;
  position: relative;
  background: var(--coal);
  box-shadow: 0 0 0 1px var(--line-soft), 0 14px 34px rgba(0, 0, 0, 0.35);
}
.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.work-tile:hover img { transform: scale(1.035); }

.work-tile figcaption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-bright);
  padding: 0.8rem 0.2rem 0.3rem;
}

/* tile aspect ratios: keep the photography's native shape */
.work-tile:nth-child(1) img { aspect-ratio: 4 / 4.55; }
.work-tile:nth-child(2) img { aspect-ratio: 4 / 6.78; }
.work-tile:nth-child(3) img { aspect-ratio: 1 / 1; }
.work-tile:nth-child(4) img { aspect-ratio: 4 / 5.03; }
.work-tile-wide img { aspect-ratio: 3 / 2; }

.work-note {
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: 52ch;
}

/* ---------- Services ---------- */
.services {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: var(--coal);
}

.services .section-title { max-width: 17ch; }

.service-clusters {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
}

.cluster-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--bone);
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--violet);
  width: fit-content;
}

.service-list {
  margin-top: 0.9rem;
}
.service-list li {
  padding: 0.68rem 0;
  font-size: var(--text-base);
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  margin-right: 0.85rem;
  vertical-align: middle;
  opacity: 0.8;
}
.service-list li:hover {
  transform: translateX(6px);
  color: var(--bone);
}

.services-note {
  margin-top: 2.6rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: var(--text-sm);
}
.services-note a {
  color: var(--violet-soft);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 154, 240, 0.4);
}
.services-note a:hover { border-color: var(--violet-soft); }

/* ---------- The studio (why us) ---------- */
.studio {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(42rem 24rem at 90% 0%, rgba(155, 109, 232, 0.14), transparent 62%);
  pointer-events: none;
}

.studio-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.studio-rows {
  display: grid;
}
.studio-row {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.studio-row:first-child { padding-top: 0; }
.studio-row:last-child { border-bottom: none; }
.studio-row dt {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--bone);
}
.studio-row:first-child dt {
  font-size: clamp(2rem, 1.6rem + 2.2vw, 2.9rem);
  color: var(--violet-soft);
  line-height: 1;
}
.studio-row dd {
  margin-top: 0.4rem;
  color: var(--muted);
  max-width: 44ch;
}

/* ---------- Visit ---------- */
.visit {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: var(--coal);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.visit-address {
  margin-top: 1.4rem;
  font-style: normal;
  font-size: var(--text-lg);
  color: var(--bone);
  line-height: 1.5;
}

.directions-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--violet-soft);
  text-decoration: none;
  border-bottom: 1.5px solid var(--violet);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.directions-link:hover { color: var(--bone); border-color: var(--bone); }

.visit-notes {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}
.visit-notes li {
  color: var(--muted);
  padding-left: 1.6rem;
  position: relative;
}
.visit-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.85rem;
  height: 2px;
  background: var(--violet);
}

.visit-hours {
  background: var(--plum);
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  padding: 1.8rem clamp(1.4rem, 3vw, 2.2rem) 2.2rem;
}

.hours-title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--text-base);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list time { font-weight: 700; color: var(--bone); white-space: nowrap; }

.hours-list li.is-today span {
  color: var(--violet-soft);
  font-weight: 700;
}
.hours-list li.is-today span::after {
  content: " · today";
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.hours-note {
  margin-top: 1.2rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.cta {
  background: linear-gradient(180deg, var(--plum), #1B1425);
  color: var(--bone);
  text-align: center;
  padding-block: clamp(4.5rem, 11vw, 7rem);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42rem 20rem at 85% -10%, rgba(155, 109, 232, 0.22), transparent 60%),
    radial-gradient(34rem 18rem at 8% 110%, rgba(183, 154, 240, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta-title {
  font-size: var(--text-3xl);
  color: var(--bone);
}
.cta-title em { color: var(--violet-soft); }

.cta-sub {
  margin: 1.1rem auto 0;
  max-width: 46ch;
  color: var(--muted);
}

.cta .btn-light { margin-top: 2rem; }

.cta-note {
  margin-top: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--muted);
  padding-block: 2.8rem 2.2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  justify-items: start;
}

.footer-brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.footer-brand .brand-mark { color: var(--bone); font-size: 1.4rem; }
.footer-brand .brand-name { color: var(--muted); }

.footer-meta p { font-size: var(--text-sm); line-height: 1.8; }
.footer-meta a { color: var(--bone); text-decoration: none; font-weight: 700; }
.footer-meta a:hover { text-decoration: underline; }

.footer-legal {
  font-size: var(--text-xs);
  color: var(--muted);
  justify-self: stretch;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--bone);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.footer-legal a:hover { border-color: var(--violet); }

/* ---------- Scroll reveal (JS) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn { width: 100%; }
}

@media (max-width: 439px) {
  .nav-call {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .nav-call-text { display: none; }
  .brand-name { display: none; }
  .brand-mark { font-size: 1.22rem; }
  .work-tile-wide img { aspect-ratio: 4 / 3; }
}

/* ---------- Tablet (768px+) ---------- */
@media (min-width: 768px) {
  .site-nav { display: flex; }

  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-tile-wide { grid-column: 1 / -1; }

  .service-clusters { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

  .visit-grid { grid-template-columns: 3fr 2fr; gap: clamp(2rem, 4vw, 3.5rem); }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    justify-items: stretch;
    row-gap: 1.6rem;
  }
  .footer-legal { grid-column: 1 / -1; justify-self: stretch; }
}

/* ---------- Desktop (1024px+) ---------- */
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + clamp(3.5rem, 8vh, 5.5rem)); }
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(2.5rem, 6vw, 5rem);
  }
  .studio-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 6rem);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .anim-ready .load-in { opacity: 1; }
  .work-tile:hover img { transform: none; }
}
