/* ==========================================================================
   Pamella Laciprete — Massoterapia & Terapias Holísticas
   Editorial Geometry (Crisp Straight Lines) + Terra, Argila & Sálvia Palette
   Motion & Mobile Craft: Emil Kowalski + Apple Fluid Interfaces
   ========================================================================== */

:root {
  /* Palette — Terra, Argila & Sálvia Botânica (harmonized with original PL logo) */
  --bg-canvas: #f6f1e9;
  --bg-warm: #efe8dd;
  --bg-surface: #fbf8f3;
  --bg-header: rgba(246, 241, 233, 0.88);

  --ink-primary: #261e19;
  --ink-secondary: #5c4d42;
  --ink-muted: #7c6c5f;

  --sage: #3d5d44;
  --sage-hover: #2d4733;
  --sage-soft: rgba(61, 93, 68, 0.08);

  --terracotta: #b25a39;
  --terracotta-soft: rgba(178, 90, 57, 0.1);

  --ochre: #c2995f;
  --border-subtle: rgba(38, 30, 25, 0.12);
  --border-strong: rgba(38, 30, 25, 0.24);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Emil Kowalski Sanctioned Curves */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Crisp Architectural Radii */
  --radius-xs: 3px;
  --radius-sm: 4px;
}

/* Mobile-Native & Reset Baseline */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-canvas);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

button,
a,
[role='button'],
[role='tab'] {
  touch-action: manipulation;
}

button,
[role='button'],
[role='tab'],
.btn,
.contact-item {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--ink-primary);
  color: var(--bg-surface);
  font-size: 0.875rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ==========================================================================
   Full-Width Clean Translucent Header Bar (No Pill)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg-header);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.94);
  border-bottom-color: var(--border-strong);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.header-symbol {
  width: 38px;
  height: auto;
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.header-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.header-brand-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 180ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--ink-primary);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   Crisp Rectangular Buttons (No Pill Rounding)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform 140ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.btn-sm {
  padding: 0.52rem 1.15rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 0.85rem 1.55rem;
  font-size: 0.94rem;
}

.btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--sage);
  color: #fbf8f3;
  border: 1px solid var(--sage);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--sage-hover);
    border-color: var(--sage-hover);
  }
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
  padding: 0.72rem 1.25rem;
  font-size: 0.9rem;
}

.btn-secondary.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.94rem;
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background-color: var(--bg-surface);
    border-color: var(--ink-primary);
  }
}

/* ==========================================================================
   Hero — Architectural Editorial Digital Signature (min-height: 100svh)
   ========================================================================== */
.hero {
  min-height: calc(100svh - 69px);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-heading-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.hero-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.4vw, 4.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-optical-sizing: auto;
  color: var(--ink-primary);
}

.hero-subtitle {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--sage);
}

.hero-subtitle span {
  font-weight: 400;
  color: var(--ink-secondary);
}

.hero-quote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  max-width: 34ch;
}

.hero-summary {
  margin: 0 0 2rem;
  color: var(--ink-secondary);
  max-width: 50ch;
  font-size: 0.96rem;
}

.action-block {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.action-primary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding-top: 0.25rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 0.2rem 0;
  transition: color 180ms ease, transform 140ms var(--ease-out);
}

.contact-item:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .contact-item:hover {
    color: var(--terracotta);
  }
}

.contact-sep {
  color: var(--border-strong);
  font-size: 0.82rem;
}

.hero-location {
  margin: -0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--terracotta);
}

.hero-quick-practices {
  margin: 2rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* Crisp Straight-Edged Gallery Frame (No Rounded Photo Corners) */
.hero-studio {
  margin: 0;
}

.studio-mat {
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.studio-photo {
  width: 100%;
  aspect-ratio: 4 / 4.85;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 0;
}

.studio-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.85rem;
}

.studio-caption-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.studio-caption-text {
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Hero One-Shot Choreography (Non-Uniform Delays)
   ========================================================================== */
@keyframes choreoRise {
  from {
    opacity: 0;
    transform: translateY(var(--rise, 10px));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes choreoFadeSoft {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.choreo-lead {
  --rise: 12px;
  animation: choreoRise 540ms var(--ease-out) both;
}

.choreo-support-1 {
  --rise: 8px;
  animation: choreoRise 480ms var(--ease-out) 75ms both;
}

.choreo-support-2 {
  --rise: 6px;
  animation: choreoRise 460ms var(--ease-out) 130ms both;
}

.choreo-deco {
  animation: choreoFadeSoft 500ms var(--ease-out) 40ms both;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  scroll-margin-top: 4.75rem;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2.25rem;
}

.section-head {
  max-width: 580px;
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  color: var(--ink-primary);
}

.section-subtitle {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

/* ==========================================================================
   Practices + Crisp Rectangular Emil Kowalski clip-path Tabs
   ========================================================================== */
.tabs-shell {
  position: relative;
  display: inline-grid;
  padding: 3px;
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  max-width: 100%;
}

.tabs-track {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
}

.tab-btn {
  position: relative;
  padding: 0.52rem 1rem;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), color 180ms ease;
}

.tab-btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .tab-btn:hover {
    color: var(--ink-primary);
  }
}

.tabs-active-layer {
  pointer-events: none;
  background: var(--sage);
  border-radius: var(--radius-xs);
  clip-path: inset(0 66% 0 0 round 3px);
  transition: clip-path 240ms var(--ease-in-out);
}

.tab-btn-active {
  color: #fbf8f3;
}

/* Practices Grid with blur-masked filter crossfade */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  transition: filter 180ms ease, opacity 180ms ease;
}

.practices-grid.is-switching {
  filter: blur(2px);
  opacity: 0.72;
}

.practice-card {
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--sage);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    background-color 180ms ease;
}

.practice-card-earth {
  border-top-color: var(--terracotta);
}

.practice-card[hidden] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .practice-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    border-top-color: var(--sage);
  }
  .practice-card-earth:hover {
    border-top-color: var(--terracotta);
  }
}

.practice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.05rem;
}

.practice-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.practice-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.practice-tag-earth {
  color: var(--terracotta);
}

.practice-name {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.practice-desc {
  margin: 0 0 1.45rem;
  font-size: 0.91rem;
  color: var(--ink-secondary);
  flex: 1;
}

.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sage);
  align-self: flex-start;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  justify-content: space-between;
  transition: color 180ms ease, transform 140ms var(--ease-out);
}

.practice-link svg {
  transition: transform 180ms var(--ease-out);
}

.practice-link:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .practice-link:hover {
    color: var(--terracotta);
  }
  .practice-link:hover svg {
    transform: translateX(3px);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-quote-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-xs);
}

.about-blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.about-caption {
  margin: 0;
  font-size: 0.88rem;
  color: var(--terracotta);
  font-weight: 500;
}

.about-vcard {
  margin-top: 1.75rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--border-subtle);
}

.about-vcard-title {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.about-vcard-text {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.about-vcard-btn {
  width: 100%;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-secondary);
}

.about-copy strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.pillars-list {
  margin: 1.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pillar-item {
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-strong);
}

.pillar-item dt {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.3rem;
}

.pillar-item dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Studio & Booking Section (Reliable Scroll clip-path Reveal + Crisp Frame)
   ========================================================================== */
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: start;
}

.studio-media-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.studio-reveal-wrap {
  width: 100%;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.studio-reveal-img {
  width: 100%;
  aspect-ratio: 4 / 3.8;
  object-fit: cover;
  object-position: 85% 42%;
  border-radius: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 620ms var(--ease-in-out);
}

.studio-reveal-wrap[data-visible='true'] .studio-reveal-img {
  clip-path: inset(0 0 0 0);
}

.studio-logo {
  width: min(260px, 76%);
  height: auto;
  margin: 0.45rem auto -0.65rem;
}

.studio-intro {
  margin: 0 0 1.65rem;
  color: var(--ink-secondary);
  max-width: 52ch;
}

.info-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.info-value {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 2.5rem 0 calc(2.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: auto;
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.footer-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.footer-links a {
  transition: color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--terracotta);
  }
}

.footer-copy {
  width: 100%;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Sonner-Style Crisp Rectangular Toast (400ms ease)
   ========================================================================== */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 60;
  pointer-events: none;
  width: min(360px, calc(100% - 2rem));
  display: flex;
  justify-content: center;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--ink-primary);
  color: var(--bg-surface);
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px -14px rgba(38, 30, 25, 0.45);
  opacity: 0;
  transform: translateY(100%) scale(0.97);
  transition: opacity 400ms ease, transform 400ms ease;
}

.toast[data-visible='true'] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #87b58f;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .studio-layout {
    grid-template-columns: 1fr;
  }

  .hero-studio {
    max-width: 480px;
    width: 100%;
  }

  .practices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, 100% - 1.5rem);
  }

  .header-nav {
    display: none;
  }

  .header-brand-sub {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 3.25rem;
  }

  .contact-strip {
    gap: 0.45rem 1.1rem;
  }

  .contact-sep {
    display: none;
  }

  .studio-logo {
    width: min(230px, 76%);
    margin: 0.35rem auto -0.45rem;
  }

  .action-primary-row {
    flex-direction: column;
    width: 100%;
  }

  .action-primary-row .btn {
    width: 100%;
  }

  .tabs-shell {
    width: 100%;
  }

  .tabs-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab-btn {
    padding: 0.52rem 0.45rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .practices-grid {
    grid-template-columns: 1fr;
  }

  .studio-photo {
    aspect-ratio: 4 / 3.6;
  }

  .studio-actions,
  .studio-actions > .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion & Reduced Transparency
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .choreo-lead,
  .choreo-support-1,
  .choreo-support-2,
  .choreo-deco {
    animation: choreoReducedFade 200ms ease both;
  }

  @keyframes choreoReducedFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .studio-reveal-img {
    clip-path: none;
    opacity: 0;
    transition: opacity 220ms ease;
  }

  .studio-reveal-wrap[data-visible='true'] .studio-reveal-img {
    opacity: 1;
  }

  .toast {
    transform: none;
    transition: opacity 200ms ease;
  }

  .tabs-active-layer {
    transition-duration: 120ms;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
