/* Agate Radiology Clinic — Shared Design System & Styles */
@import url('/assets/fonts/figtree.css');

:root {
  /* Calm clinical palette: logo accent, muted actions, slate type, mist surfaces. */
  --brand: #28a4d8;
  --blue: #266f89;
  --blue-hover: #1d586e;
  --blue-dark: #24647b;
  --blue-light: #eaf2f4;
  --blue-subtle: #f3f7f7;
  --navy: #294955;
  --navy-dark: #2c4651;
  --navy-light: #3a6270;
  --ink: #283d46;
  --ink-secondary: #485d66;
  --muted: #5b6d75;
  --line: #dbe4e6;
  --line-subtle: #eaf0f0;
  --paper: #f7f8f6;
  --mist: #edf4f4;
  --on-dark: #e0eaee;
  --on-dark-muted: #c4d5dc;
  --rating: #a47122;
  --white: #ffffff;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-arch: 140px 140px 20px 20px;
  --radius-arch-hero: 180px 180px 24px 24px;
  
  --shadow-sm: 0 4px 12px rgba(41, 73, 85, 0.04);
  --shadow-md: 0 12px 32px rgba(41, 73, 85, 0.06);
  --shadow-lg: 0 20px 50px rgba(41, 73, 85, 0.09);
  
  --font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4 {
  color: var(--navy);
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.25rem;
  max-width: 68ch;
}

.shell {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-xs);
  border: 2px solid var(--blue);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.85rem;
}

.eyebrow--light {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.button:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 8px 24px rgba(38, 111, 137, 0.16);
  transform: translateY(-2px);
  color: var(--white);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--small {
  min-height: 42px;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

.button--navy {
  background: var(--blue);
  border-color: var(--blue);
}

.button--navy:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 8px 24px rgba(38, 111, 137, 0.16);
}

.button--light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.button--light:hover {
  background: #f0f7fb;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.button--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.button--outline:hover {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  color: var(--blue);
  gap: 0.65rem;
}

.link-arrow {
  display: inline-block;
  transition: transform 180ms var(--ease);
}

.text-link:hover .link-arrow,
.button:hover .link-arrow,
a:hover > .link-arrow {
  transform: translate(3px, -3px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Header & Topline */
.topline {
  background: var(--blue-light);
  color: var(--navy);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.topline__inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topline a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topline a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 229, 235, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(40, 164, 216, 0.08);
}

.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 200ms ease;
}

.brand:hover img {
  transform: scale(1.05);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 0.5rem 0;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current=page] {
  color: var(--blue-dark);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 220ms var(--ease);
  transform-origin: left;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current=page]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  padding: 8px;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform 200ms var(--ease), opacity 150ms ease;
}

.menu-button[aria-expanded=true] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Dialog */
dialog.mobile-menu {
  position: fixed;
  inset: 16px 16px auto auto;
  margin: 0;
  width: min(440px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 32px));
  height: min(680px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(40, 164, 216, 0.22);
}

dialog.mobile-menu:not([open]) {
  display: none;
}

dialog.mobile-menu[open] {
  display: flex;
  flex-direction: column;
}

dialog.mobile-menu::backdrop {
  background: rgba(4, 31, 44, 0.6);
  backdrop-filter: blur(4px);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.mobile-menu__head .eyebrow {
  margin-bottom: 4px;
}

.mobile-menu__head h2 {
  font-size: 1.5rem;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  flex: none;
}

dialog.mobile-menu[open] nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 8px 24px 24px;
  overflow-y: auto;
}

dialog.mobile-menu nav a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 12px 0;
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

dialog.mobile-menu nav a[aria-current=page] {
  color: var(--blue-dark);
  font-weight: 600;
}

dialog.mobile-menu nav .button {
  margin-top: 20px;
  width: 100%;
}

/* Sections General */
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section--compact {
  padding-top: 2.5rem;
}

.section--tint {
  background: var(--paper);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-head--center p {
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Hero Section (Matching Reference Layout) */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue-subtle) 0%, var(--white) 100%);
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
  min-height: clamp(540px, 46vw, 680px);
  display: flex;
  align-items: center;
}

.hero-grid {
  position: static;
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem clamp(1.2rem, 2.5vw, 2.5rem);
  align-items: center;
}

.hero-intro {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
}

.hero-intro h1 span,
.hero-content h1 span {
  display: block;
}

.hero-emphasis {
  color: var(--blue);
  font-weight: 600;
}

.hero-subheading {
  color: var(--navy);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 1rem 0 0;
  max-width: 40ch;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-top: 1.5rem;
  max-width: 560px;
}

.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 6px;
  min-height: 50px;
  padding: 0.5rem;
}

.hero-call:hover {
  color: var(--blue-dark);
}

/* Hero Proof / Trust Strip */
.hero-proof {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.hero-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.hero-proof-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.hero-proof-text span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.hero-proof-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.15rem;
}

/* Hero Media Blending Frame (Matches Reference Template: Fills Red Box from Top to Right Edge & Bottom) */
.hero-media-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.hero-ambient-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background: radial-gradient(circle, rgba(40, 164, 216, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-frame,
.hero-arch-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 0; /* Natural template shape - no curve borders */
  overflow: hidden;
  background: transparent;
  /* On landscape & desktop screen: LEFT part fades into and blends into text */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.12) 3%, rgba(0, 0, 0, 0.85) 12%, black 25%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.12) 3%, rgba(0, 0, 0, 0.85) 12%, black 25%);
}

.hero-image-frame::after,
.hero-arch-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0.35) 4%, transparent 15%);
  z-index: 3;
}

.hero-image-frame img,
.hero-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  transition: transform 600ms var(--ease);
}

.hero-image-frame:hover img,
.hero-arch-frame:hover img {
  transform: scale(1.02);
}

/* Services Grid (Clean 6-Card Row/Grid Matching Reference) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 2.2rem 2rem;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #b8dded;
}

.service-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  flex: none;
}

.service-icon-badge img,
.service-icon-badge svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  transition: color 180ms ease;
}

.service-card:hover h3 {
  color: var(--blue);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .text-link {
  margin-top: auto;
}

.center-action {
  text-align: center;
  margin-top: 3.5rem;
}

/* Clinic / About Section (3-part Asymmetrical Layout Matching Reference) */
.about-clinic-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: stretch;
}

.about-photo-arch {
  height: 100%;
  min-height: 440px;
  /* Asymmetric Arch matching Reference About Section: Large top-left curve, gentle 24px elsewhere */
  border-radius: 140px 24px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #eef5f8;
  position: relative;
}

.about-photo-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms var(--ease);
}

.about-photo-arch:hover img {
  transform: scale(1.025);
}

.about-clinic-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-clinic-content h2 {
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.clinic-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.pillar-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.pillar-text p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.clinic-stats-card {
  background: var(--mist);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clinic-stats-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.clinic-stats-card .eyebrow {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.stats-list {
  display: grid;
  gap: 1.2rem;
  margin: 1.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.stat-item span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stat-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: 0.2rem;
}

/* About Dr Kaka Section (Centered Specialist Card) */
.doctor-layout-wrap {
  max-width: 940px;
  margin-inline: auto;
}

.doctor-profile-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--white);
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
}

.doctor-photo-frame {
  height: 380px;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #eef5f8;
}

.doctor-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 500ms var(--ease);
}

.doctor-photo-frame:hover img {
  transform: scale(1.03);
}

.doctor-details h3 {
  font-size: 1.85rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.doctor-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: block;
}

.doctor-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}

.doctor-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.65rem;
}

.doctor-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.doctor-points li svg {
  color: var(--blue);
  flex: none;
}

/* Patient Stories / Reviews Section */
.reviews-section {
  background: var(--mist);
  color: var(--ink);
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}

.reviews-section .eyebrow {
  color: var(--blue-dark);
}

.reviews-section h2 {
  color: var(--navy);
}

.reviews-section .section-head--center p {
  color: var(--ink-secondary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 220ms var(--ease), background 220ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.review-quote-mark {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-stars {
  color: var(--rating);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.reviewer-tag {
  font-size: 0.75rem;
  color: var(--muted);
}

.reviews-action-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.reviews-action-bar .button--light {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.reviews-action-bar .button--light:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.reviews-action-bar .button--ghost {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.reviews-action-bar .button--ghost:hover {
  background: var(--white);
}

/* Appointment Section (Split Layout with Arch Visual on Left & Form on Right) */
.appointment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.appointment-visual-wrap {
  display: flex;
  flex-direction: column;
}

.appointment-arch-frame {
  width: 100%;
  max-width: 440px;
  height: 380px;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f0f6f9;
  margin-bottom: 2rem;
}

.appointment-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.appointment-left-content h2 {
  margin-bottom: 1rem;
}

.appointment-left-content p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

.appointment-steps-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
}

.appointment-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex: none;
}

.step-text h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Appointment Form Card (Shared on Homepage and Contact Page) */
.appointment-form-card {
  background: var(--white);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-card-head {
  margin-bottom: 2rem;
}

.form-card-head h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.form-card-head p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.enquiry-form,
.field {
  display: grid;
  gap: 0.45rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.field-grid + .field-grid,
.field-grid + .field,
.field + .field,
.field + .check {
  margin-top: 1.2rem;
}

.field label,
.review-message label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.field label span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.review-message textarea {
  width: 100%;
  border: 1px solid #adc6d4;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--blue-dark);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 164, 216, 0.18);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: #d32f2f;
  background: #fff8f8;
}

.error {
  color: #d32f2f;
  font-size: 0.82rem;
  min-height: 0.2rem;
}

.error:empty {
  display: none;
}

.hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.4rem 0 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--blue);
  flex: none;
}

.form-submit-row {
  margin-top: 1.8rem;
}

.form-submit-row .button {
  width: 100%;
}

/* 2-Stage Review Container */
.review {
  outline: none;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.review-head h3 {
  font-size: 1.65rem;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  padding: 0.5rem 0;
  cursor: pointer;
}

.review dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.review dt,
.review dd {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.review dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.review dd {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.review-message {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.review-message textarea {
  background: var(--paper);
  resize: vertical;
  font-family: monospace;
  font-size: 0.88rem;
}

.review-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-actions .button {
  width: 100%;
}

.review-actions p {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* FAQ Accordion */
.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 4rem;
  align-items: flex-start;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--blue-dark);
  transition: transform 200ms var(--ease);
  flex: none;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--ink-secondary);
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

/* Subpage Specifics */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, #f2f7fa 0%, #ffffff 100%);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 3rem;
  align-items: flex-end;
}

.page-hero h1 {
  margin-top: 0.5rem;
}

.page-hero .lede {
  font-size: 1.2rem;
  color: var(--ink-secondary);
  margin: 1.2rem 0 0;
}

.breadcrumbs {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: #adc6d4;
}

.breadcrumbs a {
  color: var(--blue-dark);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Service Directory (/services/) */
.directory-toolbar {
  margin-bottom: 2.5rem;
}

.directory-toolbar label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.directory-toolbar input {
  width: min(100%, 540px);
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font: inherit;
  background: var(--white);
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.service-filters button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-secondary);
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 180ms ease;
}

.service-filters button:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.service-filters button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.directory-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}

.directory-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #b8dded;
}

.directory-card__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.directory-card__number span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.directory-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.directory-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.directory-card details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-subtle);
}

.directory-card summary {
  font-size: 0.9rem;
  color: var(--blue-dark);
  font-weight: 600;
  cursor: pointer;
}

.directory-card details p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.directory-card .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

/* Patient Information (/patient-information/) */
.info-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 4rem;
}

.side-nav {
  position: sticky;
  top: 120px;
  display: grid;
  border-top: 1px solid var(--line);
}

.side-nav strong,
.side-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.92rem;
}

.side-nav a {
  color: var(--muted);
}

.side-nav a:hover,
.side-nav a[aria-current] {
  color: var(--blue-dark);
  font-weight: 600;
}

.prose section {
  scroll-margin-top: 120px;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.4rem;
  color: var(--ink-secondary);
}

.prose li + li {
  margin-top: 0.5rem;
}

.note {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.note h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.note p {
  margin: 0;
  font-size: 0.92rem;
}

/* Contact Page (/contact/) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-list {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-list a {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.contact-list a span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-list a strong {
  font-size: 1.2rem;
  color: var(--navy);
  margin-top: 0.2rem;
}

.hours-card {
  background: var(--mist);
  color: var(--ink);
  padding: 2.2rem;
  border-radius: var(--radius-md);
}

.hours-card .eyebrow {
  color: var(--blue-dark);
}

.hours-card p {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.clinic-map {
  margin-top: 1.8rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.clinic-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.clinic-map p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--navy);
}

.clinic-review-box {
  margin-top: 1.5rem;
  text-align: center;
}

/* Blog / Guides (/blog/) */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.4rem 2rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #b8dded;
}

.guide-card span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-dark);
}

.guide-card h2,
.guide-card h3 {
  font-size: 1.6rem;
  margin: 0.8rem 0;
}

.guide-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.guide-card b {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 600;
}

.article {
  max-width: 800px;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}

.article .standfirst {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.article h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin: 2.5rem 0 1rem;
}

.article-callout {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

/* Muted slate footer anchors the light page surfaces. */
.site-footer {
  background: var(--navy-dark);
  color: var(--on-dark);
  padding-top: 4.5rem;
}

.footer-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2.8rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-intro p {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.03em;
}

.footer-intro a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.footer-intro a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.85fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.4rem;
  background: transparent;
  padding: 0;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease;
}

.footer-brand:hover img {
  transform: scale(1.05);
}

.footer-lead p {
  font-size: 0.95rem;
  color: var(--on-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 340px;
}

.site-footer h2 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.site-footer address,
.site-footer p,
.site-footer li {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}

.footer-base p {
  margin: 0;
}

/* Animations & Micro-interactions */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s var(--ease);
  transition-delay: var(--enter-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 1.25rem clamp(1rem, 1.8vw, 1.8rem);
  }
  
  .hero-proof {
    gap: 0.85rem;
  }
  
  .hero-proof-item {
    gap: 0.55rem;
  }
  
  .hero-proof-text span {
    font-size: 0.72rem;
  }
  
  .hero-proof-text strong {
    font-size: 0.82rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-clinic-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-photo-arch {
    height: 380px;
    max-width: 500px;
    border-radius: 110px 20px 20px 20px;
  }
  
  .doctor-profile-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.2rem;
  }
  
  .doctor-photo-frame {
    max-width: 320px;
    height: 340px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .info-layout,
  .contact-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .nav-enquire {
    display: none;
  }
  
  .menu-button {
    display: block;
  }
  
  .clinic-pillars {
    grid-template-columns: 1fr;
  }
  
  .directory {
    grid-template-columns: 1fr;
  }
  
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Tablet Mode (Under 960px): Shifts Below Text, Top Part Fades into Text */
@media (max-width: 960px) {
  .hero {
    min-height: auto;
    display: block;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
    width: 100%;
  }

  /* 1. Clearer imaging text & call buttons */
  .hero-intro {
    order: 1;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  /* 2. Hero machine image shifts below the text */
  .hero-media-wrap {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin: 0.5rem 0 1rem 0;
    z-index: 1;
    display: block;
    justify-content: stretch;
  }

  /* 3. Location, hours and Saturday details */
  .hero-proof {
    order: 3;
    width: 100%;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .hero-image-frame,
  .hero-arch-frame {
    width: 100%;
    max-width: 100%;
    height: clamp(280px, 48vw, 440px);
    border-radius: 0; /* Natural template shape - no curve borders */
    background: transparent;
    /* In mobile & tablet mode: The TOP part of the image is the part that will fade and blend into the text */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 4%, rgba(0, 0, 0, 0.85) 18%, black 32%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 4%, rgba(0, 0, 0, 0.85) 18%, black 32%);
  }

  .hero-image-frame::after,
  .hero-arch-frame::after {
    display: block;
    background: linear-gradient(to bottom, var(--white) 0%, rgba(255, 255, 255, 0.35) 4%, transparent 18%);
  }

  .hero-image-frame img,
  .hero-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }
  
  .topline__inner {
    justify-content: center;
  }
  
  .topline__inner > span {
    display: none;
  }
  
  .hero-proof {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .field-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-intro {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
