/* EM Studio — quiet frame, loud work */
:root {
  --bone: #ffffff;
  --bone-deep: #f3f3f3;
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --ink-mute: #7a7a7a;
  --line: #e8e8e8;
  --brass: #b08d4a;
  --brass-deep: #8a6c35;
  --surface: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
  --font: "Sen", "Avenir Next", "Segoe UI", sans-serif;
  --rainbow: linear-gradient(
    90deg,
    #ff5c5c,
    #ffb84d,
    #ffe95c,
    #4fd08a,
    #3ec6b8,
    #58a8ff,
    #6f7bf7,
    #9d5cff
  );
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-splash-locking,
body.is-nav-open {
  overflow: hidden;
}

/* —— Splash (vandy.design–inspired) —— */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  touch-action: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  cursor: default;
  --splash-fade: 1;
}

.splash.is-drawing {
  cursor: crosshair;
}

.splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-flashes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.splash-trace {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.splash-trace-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  height: 220%;
  transform: translate(-50%, -50%);
  animation: vDrift 120s linear infinite;
  pointer-events: none;
}

.splash-center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  pointer-events: none;
  text-align: center;
  padding: 0 1.5rem;
  width: min(92vw, 40rem);
}

.splash-hero {
  position: relative;
  width: 100%;
  min-height: min(58vw, 11.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-stage {
  position: relative;
  width: min(58vw, 11.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-origin: center center;
}

.splash-stage.is-ready .splash-guides {
  opacity: 0.35;
  transition: opacity 0.8s var(--ease);
}

.splash-stage.is-flying .splash-guides {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.splash-blast {
  display: none;
}

.splash-guides {
  position: absolute;
  inset: -22%;
  pointer-events: none;
  opacity: 0;
  animation: guides-in 1.4s var(--ease) 0.15s forwards;
  z-index: 0;
}

.splash-guides line,
.splash-guides circle {
  stroke: #d4d4d4;
  fill: none;
}

.splash-guides .dash {
  stroke-dasharray: 4 6;
}

.splash-logo {
  width: 100%;
  height: 100%;
  color: #111111;
  position: relative;
  z-index: 1;
}

.logo-flight {
  position: fixed;
  z-index: 320;
  margin: 0;
  color: #111;
  pointer-events: none;
  will-change: left, top, width, height;
}

.logo-flight .em-draw {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}

.splash-logo .em-draw {
  fill: none;
  stroke: currentColor;
  stroke-width: 5.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: em-draw 1.5s var(--ease) forwards;
}

.splash-logo .em-draw:nth-child(1) { animation-delay: 0.08s; }
.splash-logo .em-draw:nth-child(2) { animation-delay: 0.18s; }
.splash-logo .em-draw:nth-child(3) { animation-delay: 0.28s; }
.splash-logo .em-draw:nth-child(4) { animation-delay: 0.38s; }
.splash-logo .em-draw:nth-child(5) { animation-delay: 0.48s; }
.splash-logo .em-draw:nth-child(6) { animation-delay: 0.58s; }
.splash-logo .em-draw:nth-child(7) { animation-delay: 0.68s; }
.splash-logo .em-draw:nth-child(8) { animation-delay: 0.78s; }

@keyframes em-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes guides-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.splash-name {
  position: relative;
  z-index: 4;
  margin: 1.25rem 0 0;
  font-size: clamp(1.65rem, 6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: transparent;
  background-image: linear-gradient(
    105deg,
    #111 0%,
    #111 35%,
    #ff5c5c 45%,
    #58a8ff 55%,
    #9d5cff 65%,
    #111 75%,
    #111 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.splash-name.is-reveal {
  animation: name-soft-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes name-soft-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
    background-position: 0% 50%;
  }
  55% {
    opacity: 1;
    transform: translateY(0);
    background-position: 60% 50%;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    background-position: 100% 50%;
    color: #111;
    background-image: none;
    -webkit-text-fill-color: #111;
  }
}

.splash-hint {
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.splash-hint.is-on {
  opacity: 1;
  transform: translateY(0);
}

.splash-hint-word {
  display: inline-block;
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    #ff5c5c,
    #ffb84d,
    #ffe95c,
    #4fd08a,
    #3ec6b8,
    #58a8ff,
    #6f7bf7,
    #9d5cff,
    #ff5c5c
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: swipe-hue 3.2s linear infinite;
}

@keyframes swipe-hue {
  to {
    background-position: 200% 50%;
  }
}

.splash-mark {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 4;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4c4c4;
  pointer-events: none;
  opacity: var(--splash-fade, 1);
}

.site-shell {
  opacity: 0;
}

.site-shell.is-visible {
  opacity: 1;
}

.site-shell .brand img {
  transition: opacity 0.25s ease;
}

@keyframes vDrift {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.06);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes vTrail {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  18% {
    opacity: 0.42;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(0.55);
  }
}

@keyframes vBurst {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  28% {
    opacity: 0.62;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes vFlash {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  40% {
    opacity: 0.38;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo .em-draw {
    animation: none;
    stroke-dashoffset: 0;
  }
  .splash-guides {
    animation: none;
    opacity: 0.6;
  }
  .splash-trace-dots,
  .splash-hint-word {
    animation: none;
  }
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brass-deep);
}

/* —— Header —— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
  padding: 1rem var(--pad);
  padding-top: max(1rem, env(safe-area-inset-top));
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
}

/* Option 2 — quiet rainbow hairline under sticky header */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--rainbow);
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
}

/* Soft one-shot settle on inner pages (no home splash) */
body:not(:has(#splash)) .site-header::after {
  animation: rainbow-hairline-settle 1s var(--ease) forwards;
}

@keyframes rainbow-hairline-settle {
  0% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.38;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(:has(#splash)) .site-header::after {
    animation: none;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.brand:hover {
  color: var(--ink);
}

.brand img,
.brand svg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-place {
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 420px) {
  .brand-place {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.88rem;
  flex: 0 1 auto;
  min-width: 0;
}

.nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.nav .nav-cta {
  margin-left: 0.2rem;
  min-height: 2.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav .nav-cta[aria-current="page"] {
  background: color-mix(in oklch, var(--ink) 88%, var(--brass));
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav-toggle span:nth-child(1) {
  top: 0.95rem;
}
.nav-toggle span:nth-child(2) {
  top: 1.3rem;
}
.nav-toggle span:nth-child(3) {
  top: 1.65rem;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

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

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.35rem var(--pad) max(1.25rem, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav a:not(.btn):last-of-type {
    border-bottom: none;
  }

  .nav .nav-cta {
    margin: 0.75rem 0 0.25rem;
    width: 100%;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* —— Layout —— */
main {
  min-height: 60vh;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 36rem;
  line-height: 1.45;
  margin: 0;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.page-head-copy {
  min-width: 0;
  flex: 1;
}

.page-head-cta {
  flex-shrink: 0;
  margin-top: 1.65rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .page-head {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .page-head-cta {
    margin-top: 0;
    align-self: flex-end;
  }
}

.muted {
  color: var(--ink-mute);
}

/* —— Buttons —— */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.85rem 1.4rem;
  color: var(--bone);
  text-decoration: none;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    linear-gradient(var(--ink), var(--ink)) border-box;
  background-clip: padding-box, border-box;
  transition:
    transform 0.25s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

/* Option 1 — quiet rainbow cue on primary CTAs (not a filled button) */
.btn::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 2px;
  background: var(--rainbow);
  background-size: 200% 100%;
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: center;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease),
    left 0.45s var(--ease),
    right 0.45s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: var(--bone);
  background:
    linear-gradient(
        color-mix(in oklch, var(--ink) 88%, var(--brass)),
        color-mix(in oklch, var(--ink) 88%, var(--brass))
      )
      padding-box,
    var(--rainbow) border-box;
  background-clip: padding-box, border-box;
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 0.95;
  left: 0;
  right: 0;
  transform: scaleX(1);
  animation: btn-rainbow-shimmer 1.8s linear infinite;
}

.btn:focus-visible {
  outline: none;
}

.btn:active {
  transform: scale(0.98);
}

@keyframes btn-rainbow-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover::after,
  .btn:focus-visible::after {
    animation: none;
    background-position: 0% 50%;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost::after {
  content: none;
  display: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--ink);
  background: var(--bone-deep);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

/* —— Home hero —— */
.hero {
  padding: clamp(3rem, 10vh, 6.5rem) 0 clamp(3rem, 8vh, 5rem);
}

.hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-mark {
  width: clamp(4.5rem, 10vw, 6rem);
  height: clamp(4.5rem, 10vw, 6rem);
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.05s forwards;
}

.hero h1 {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero .lede {
  margin-top: 1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.28s forwards;
}

.doors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.doors a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.doors a:hover {
  border-bottom-color: var(--brass);
}

.hero .cta-row {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.52s forwards;
}

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

/* —— Practice orb cluster (home) —— */
.practice-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: auto;
  margin-inline: auto;
  justify-self: end;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.practice-cluster .practice-orb {
  position: static;
  width: clamp(8rem, 14vw, 10rem);
  margin: 0;
  transition: transform 0.45s var(--ease);
}

.practice-cluster .practice-orb-title {
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
}

.practice-cluster .practice-orb-sub {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.practice-cluster .practice-orb:hover,
.practice-cluster .practice-orb:focus-visible {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .hero--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    text-align: left;
  }

  .practice-cluster {
    justify-self: center;
    width: 100%;
    max-width: 100%;
    gap: 0.85rem;
  }

  .practice-cluster .practice-orb {
    width: clamp(7.5rem, 32vw, 9rem);
    max-width: 100%;
  }
}

/* —— Practice orbs (circular) —— */
.practice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  justify-items: center;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

@media (max-width: 720px) {
  .hero--split {
    gap: 2rem;
    padding-top: clamp(2rem, 6vh, 3.5rem);
    padding-bottom: clamp(2.5rem, 6vh, 4rem);
  }

  .practice-cluster {
    gap: 0.7rem;
  }

  .practice-cluster .practice-orb {
    width: clamp(6.25rem, 36vw, 8rem);
  }

  .practice-cluster .practice-orb-title {
    font-size: clamp(0.72rem, 3.4vw, 0.88rem);
  }

  .practice-cluster .practice-orb-sub {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  /* Home cluster: always show labels in the narrow stack (no hover required) */
  .practice-cluster .practice-orb-label {
    opacity: 1;
    transform: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 65%);
  }

  .practice-cluster .practice-orb-dots,
  .practice-cluster .practice-orb-gauze {
    display: none;
  }

  .practice-cluster .practice-orb:hover .practice-orb-media img,
  .practice-cluster .practice-orb:focus-visible .practice-orb-media img {
    transform: none;
    filter: none;
  }

  .practice-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 4rem;
  }

  .practice-strip .practice-orb {
    width: min(100%, 17rem);
  }
}

@media (max-width: 390px) {
  .practice-cluster .practice-orb {
    width: min(6.5rem, 42vw);
  }
}

/* Phones / touch: keep practice labels visible without hover */
@media (max-width: 720px) and (hover: none) {
  .practice-orb-label {
    opacity: 1;
    transform: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 65%);
  }

  .practice-orb-dots,
  .practice-orb-gauze {
    display: none;
  }

  .practice-orb:hover .practice-orb-media img,
  .practice-orb:focus-visible .practice-orb-media img {
    transform: none;
    filter: none;
  }
}

.practice-orb {
  text-decoration: none;
  color: inherit;
  display: block;
  width: min(100%, 15.5rem);
}

.practice-orb-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.practice-orb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transition: transform 0.85s var(--ease), filter 0.85s var(--ease);
}

.practice-orb--stylist .practice-orb-media img {
  object-position: center 22%;
}

.practice-orb-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background-image: radial-gradient(#fff 1.1px, transparent 1.2px);
  background-size: 11px 11px;
  mix-blend-mode: soft-light;
  transition: opacity 0.55s var(--ease);
}

.practice-orb-gauze {
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  background: conic-gradient(
    from 20deg,
    #ff5c5c,
    #ffb84d,
    #ffe95c,
    #4fd08a,
    #3ec6b8,
    #58a8ff,
    #6f7bf7,
    #9d5cff,
    #b45cff,
    #ff5c5c
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  transform: scale(0.72);
  transition: opacity 0.55s var(--ease), transform 0.85s var(--ease);
}

.practice-orb-label {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.practice-orb-title {
  display: block;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.practice-orb-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.practice-orb:hover .practice-orb-media img,
.practice-orb:focus-visible .practice-orb-media img {
  transform: scale(1.08);
  filter: brightness(0.72) saturate(1.05);
}

.practice-orb:hover .practice-orb-dots,
.practice-orb:focus-visible .practice-orb-dots {
  opacity: 0.85;
}

.practice-orb:hover .practice-orb-gauze,
.practice-orb:focus-visible .practice-orb-gauze {
  opacity: 0.55;
  transform: scale(1.08);
  animation: orb-gauze-pulse 2.4s ease-in-out infinite;
}

.practice-orb:hover .practice-orb-label,
.practice-orb:focus-visible .practice-orb-label {
  opacity: 1;
  transform: translateY(0);
}

.practice-orb:focus-visible {
  outline: none;
}

.practice-orb:focus-visible .practice-orb-media {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111;
}

@keyframes orb-gauze-pulse {
  0%,
  100% {
    opacity: 0.42;
    filter: blur(22px);
    transform: scale(1.02) rotate(0deg);
  }
  50% {
    opacity: 0.72;
    filter: blur(18px);
    transform: scale(1.14) rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-orb:hover .practice-orb-gauze,
  .practice-orb:focus-visible .practice-orb-gauze {
    animation: none;
  }
}

/* —— Placeholders (until real photos) —— */
.ph {
  display: grid;
  place-items: end start;
  padding: 1.25rem;
  color: var(--bone);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ph-stylist {
  background:
    linear-gradient(145deg, oklch(0.35 0.04 50) 0%, oklch(0.55 0.06 70) 45%, oklch(0.28 0.03 40) 100%);
}

.ph-artist {
  background:
    linear-gradient(160deg, oklch(0.65 0.18 25) 0%, oklch(0.7 0.16 140) 35%, oklch(0.55 0.2 280) 70%, oklch(0.75 0.15 90) 100%);
}

.ph-craft {
  background:
    linear-gradient(180deg, oklch(0.78 0.04 85) 0%, oklch(0.62 0.05 60) 100%);
}

.ph-hair-1 {
  background: linear-gradient(120deg, oklch(0.4 0.05 40), oklch(0.7 0.04 80));
}
.ph-hair-2 {
  background: linear-gradient(200deg, oklch(0.3 0.03 250), oklch(0.55 0.05 30));
}
.ph-hair-3 {
  background: linear-gradient(90deg, oklch(0.5 0.06 70), oklch(0.35 0.04 20));
}

.ph-pet {
  aspect-ratio: 1;
  min-height: 12rem;
}

.ph-betty {
  background: linear-gradient(135deg, #e85d4c, #5b6fd8 40%, #f0c14a);
}
.ph-tucker {
  background: linear-gradient(160deg, #2a6fb5, #f4e27a 55%, #e8a0b0);
}
.ph-nelson {
  background: conic-gradient(from 30deg, #e4572e, #f0c808, #3a86ff, #8338ec, #e4572e);
}
.ph-squirt {
  background: linear-gradient(180deg, #c5e063, #8fbc3a);
}
.ph-loki {
  background: linear-gradient(145deg, #4cc9f0, #fff 40%, #4895ef);
}
.ph-samson {
  background: linear-gradient(180deg, #90be6d, #f9c74f 60%, #f94144);
}
.ph-nala {
  background: linear-gradient(135deg, #ff6b6b, #ffe66d 50%, #4ecdc4);
}
.ph-sundance {
  background: linear-gradient(45deg, #f72585, #7209b7, #3a0ca3, #4361ee);
}
.ph-cola {
  background: linear-gradient(120deg, #fb8500, #ffb703, #023047);
}

/* —— Gallery —— */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery figure {
  margin: 0;
}

.gallery a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gallery .frame {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bone-deep);
}

.gallery .frame img,
.gallery .frame .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.gallery a:hover .ph,
.gallery a:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* —— Lookbook —— */
.lookbook {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2.5rem;
}

@media (max-width: 800px) {
  .lookbook {
    grid-template-columns: 1fr;
  }
}

.lookbook .tall {
  aspect-ratio: 1;
  width: min(100%, 28rem);
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bone-deep);
}

.lookbook .tall img,
.lookbook .stack .frame img,
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.lookbook .stack {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
}

.lookbook .stack-orbs {
  align-content: center;
  justify-items: center;
}

.lookbook .stack .frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-orb {
  width: min(100%, 14rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
}

.service-orb--light {
  background: #f3f3f3;
  border: 1px solid var(--line);
}

.service-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-orb--sm {
  width: 3.25rem;
  flex-shrink: 0;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.service-head h3 {
  margin: 0;
}

/* —— Services list —— */
.services {
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

@media (max-width: 600px) {
  .service {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service li {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .service .note {
    flex-basis: 100%;
  }
}

.service h3 {
  margin: 0;
}

.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.service .note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* —— Stylist page: one-viewport service cards —— */
.page-stylist {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page-stylist main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.page-stylist .stylist-section {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3.5vh, 2.25rem) 0 clamp(1rem, 2.5vh, 1.75rem);
}

.page-stylist .page-head {
  align-items: center;
  gap: 1rem 1.5rem;
  flex-shrink: 0;
}

.page-stylist .eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
}

.page-stylist h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin-bottom: 0.35rem;
}

.page-stylist .lede {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.35;
}

.page-stylist .page-head-cta {
  margin-top: 0;
  min-height: 2.5rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

.page-stylist .services {
  margin: clamp(1rem, 2.5vh, 1.5rem) 0 0;
  border-top: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1rem);
  align-content: start;
  align-items: start;
}

.page-stylist .service {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: auto;
  padding: clamp(0.75rem, 1.8vh, 1.1rem) clamp(0.85rem, 1.6vw, 1.15rem);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.page-stylist .service:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.1);
}

.page-stylist .service-head {
  gap: 0.65rem;
}

.page-stylist .service-orb--sm {
  width: 2.5rem;
}

.page-stylist .service h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.page-stylist .service ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-stylist .service li {
  padding: 0.22rem 0;
  font-size: 0.88rem;
  line-height: 1.35;
  gap: 0.5rem 0.75rem;
}

.page-stylist .service .note {
  font-size: 0.75rem;
}

.page-stylist .site-footer {
  padding: 0.85rem var(--pad) 1rem;
  flex-shrink: 0;
}

.page-stylist .site-footer .em-mini {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.4rem;
}

.page-stylist .site-footer p {
  margin: 0;
}

@media (max-width: 520px) {
  .page-stylist .stylist-section {
    padding: 1.15rem 0 1.25rem;
  }

  .page-stylist .page-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .page-stylist .page-head-cta {
    align-self: flex-start;
  }

  .page-stylist .services {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .page-stylist .service li {
    flex-wrap: wrap;
  }

  .page-stylist .service .note {
    flex-basis: 100%;
  }
}

@media (min-width: 1100px) and (min-height: 780px) {
  .page-stylist .services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-stylist .service {
    transition: none;
  }

  .page-stylist .service:hover {
    transform: none;
  }
}

/* —— Story —— */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 800px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

.portrait {
  aspect-ratio: 1;
  width: min(100%, 15rem);
  margin-inline: auto;
  border-radius: 50%;
  background: var(--bone-deep);
  overflow: hidden;
}

.portrait .ph-ernesto {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 40% 30%, oklch(0.55 0.04 50), transparent 50%),
    linear-gradient(180deg, oklch(0.45 0.03 60), oklch(0.22 0.02 50));
  display: grid;
  place-items: end start;
  padding: 1.25rem;
  color: var(--bone);
  font-size: 0.85rem;
}

.prose {
  max-width: 38rem;
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.1;
}

.stat span {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

/* —— Contact —— */
.contact-hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 48rem);
  display: grid;
  align-items: end;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a2430;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep Golden Gate prominent on the left */
  object-position: 8% 40%;
  display: block;
  max-width: none;
}

.contact-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 22%, transparent 58%, rgba(255, 255, 255, 0.35) 100%);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  align-content: end;
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.contact-panel {
  width: min(100%, 26rem);
  padding: clamp(1.5rem, 3.5vw, 2.15rem);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

.contact-panel .eyebrow {
  margin-top: 0;
}

.contact-panel h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
}

.contact-panel .lede {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  max-width: none;
}

.contact-panel .contact-place {
  margin-top: 1.35rem;
}

.contact-panel .contact-actions {
  margin-top: 1.1rem;
}

.contact-panel .contact-map {
  margin-top: 1.1rem;
}

.contact-panel .contact-action {
  background: #fff;
}

.contact-panel .contact-action:hover,
.contact-panel .contact-action--phone:hover {
  background: #fafafa;
}

.contact-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact-address {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.contact-address a {
  color: inherit;
  text-decoration: none;
}

.contact-address a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-map {
  position: relative;
  margin-top: 0.85rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f4f4f4;
  z-index: 0;
}

.contact-map.leaflet-container {
  font: inherit;
  background: #f4f4f4;
}

.contact-map .leaflet-control-zoom a {
  width: 28px;
  height: 28px;
  line-height: 28px;
  font-size: 14px;
  color: var(--ink, #1a1a1a);
  border-radius: 0;
}

.contact-map .leaflet-bar {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.contact-map .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.75);
  color: #666;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-map .leaflet-control-attribution a {
  color: #555;
}

.salon-pin {
  background: transparent !important;
  border: none !important;
}

.salon-pin-svg {
  display: block;
  width: 28px;
  height: 42px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.contact-actions {
  display: grid;
  gap: 0.55rem;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-action:hover {
  border-color: var(--ink);
  background: #fafafa;
}

.contact-action-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
  color: var(--ink);
}

.contact-action-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.contact-action-text strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-action-text span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

@media (min-width: 960px) {
  .contact-hero {
    align-items: center;
  }

  .contact-hero-inner {
    justify-items: end;
  }

  .contact-panel {
    width: min(100%, 28rem);
  }
}

@media (max-width: 860px) {
  .contact-hero {
    min-height: min(72vh, 36rem);
    align-items: end;
    padding: clamp(1.75rem, 5vw, 2.5rem) 0 clamp(1.25rem, 4vw, 1.75rem);
  }

  .contact-hero-inner {
    justify-items: stretch;
  }

  .contact-panel {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .contact-hero-bg::after {
    background:
      linear-gradient(180deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.35) 68%, rgba(255, 255, 255, 0.55) 100%);
  }

  .contact-hero-bg img {
    object-position: 10% 35%;
  }
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.site-footer .em-mini {
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto 1rem;
}

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: oklch(0.15 0.01 70 / 0.88);
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: min(92vw, 40rem);
  width: 100%;
}

.lightbox-inner .frame {
  aspect-ratio: 1;
  max-height: min(72vh, 36rem);
  margin-inline: auto;
  background: #111;
  display: grid;
  place-items: center;
}

.lightbox-inner .frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-caption {
  color: var(--bone);
  margin-top: 1rem;
  text-align: center;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  background: none;
  border: none;
  color: var(--bone);
  font: inherit;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
}

/* —— Moodboard & wire extras —— */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.swatch {
  width: 5.5rem;
}

.swatch i {
  display: block;
  aspect-ratio: 1;
  margin-bottom: 0.4rem;
  border: 1px solid var(--line);
}

.swatch span {
  font-size: 0.75rem;
  color: var(--ink-mute);
}

.wire-box {
  border: 1px dashed var(--ink-mute);
  padding: 1.5rem;
  min-height: 4rem;
  color: var(--ink-mute);
  font-size: 0.85rem;
}

.wire-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.type-sample {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.type-sample .display {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.docs-nav {
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.docs-nav a {
  margin-right: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* —— Mobile polish —— */
@media (max-width: 820px) {
  .section {
    padding: clamp(2.25rem, 7vw, 4rem) 0;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .hero {
    padding: clamp(2.75rem, 10vh, 5rem) 0 clamp(2rem, 6vh, 3.5rem);
  }

  .site-footer {
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }
}

.gallery .frame img,
.gallery .frame .ph,
.practice-orb-media img,
.service-orb img,
.lookbook .tall img,
.portrait img,
.contact-hero-bg img {
  max-width: none;
}
