/* ═══════════════════════════════════════════════════════════════
   RobynDe. — main.css
   robynde.studio
═══════════════════════════════════════════════════════════════ */

/* ── 1. FONTS ──────────────────────────────────────────────── */

@font-face {
  font-family: 'Merriweather';
  src: url('/assets/fonts/Merriweather-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('/assets/fonts/Merriweather-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('/assets/fonts/Merriweather-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('/assets/fonts/Merriweather-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('/assets/fonts/Merriweather-700i.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('/assets/fonts/Merriweather-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather Sans';
  src: url('/assets/fonts/MerriweatherSans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather Sans';
  src: url('/assets/fonts/MerriweatherSans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ── 2. DESIGN TOKENS ──────────────────────────────────────── */

:root {
  /* Palette */
  --canvas:    #FFFFFF;
  --cream:     #F7E6D2;
  --mint:      #D2F7D3;
  --sky:       #D2E3F7;
  --lavender:  #F7D2F6;
  --ink:       #0D0D0D;
  --ink-mid:   #3A3A3A;
  --ink-soft:  #6B6B6B;
  --accent:    #D42135;
  --accent-dk: #A81929;
  --nav-bg:    rgba(8, 6, 18, 0.95);
  --nav-dark:  #080612;

  /* Typography */
  --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --sans:  'Merriweather Sans', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  /* Nav height */
  --nav-h: 72px;

  /* Max content width */
  --max-w: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}


/* ── 3. RESET + BASE ────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Safe-area insets for notched phones */
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

body {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--canvas);
  line-height: 1.7;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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


/* ── 4. LAYOUT UTILITY ──────────────────────────────────────── */

.inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.dot {
  color: var(--accent);
}


/* ── 5. BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary — red fill */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* Outline — red border, transparent bg */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ghost Nav — for dark nav background */
.btn-ghost-nav {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}
.btn-ghost-nav:hover,
.btn-ghost-nav:focus-visible {
  border-color: rgba(255,255,255,0.9);
  color: #fff;
}

/* Solid Nav — red fill, smaller */
.btn-solid-nav {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}
.btn-solid-nav:hover,
.btn-solid-nav:focus-visible {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* For dark section (contact) */
.btn-primary-light {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #fff;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
}
.btn-primary-light:hover,
.btn-primary-light:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.5);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
}
.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  border-color: #fff;
  color: #fff;
}

/* Text link button */
.btn-text {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0;
  border: none;
  background: none;
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}
.btn-text:hover,
.btn-text:focus-visible {
  color: var(--accent-dk);
}

/* Focus styles */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


/* ── 6. NAVIGATION ──────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 2;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  width: 100%;
}

/* CTA group — single list item, flex pair */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 1002;
  padding: 0;
}

.nav-hamburger .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Hamburger → X when open */
.nav-hamburger[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nav-overlay.is-active {
  opacity: 1;
}


/* ── 7. HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--canvas);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 4rem;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero illustration side */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 62% 38% 55% 45% / 48% 52% 44% 56%;
  z-index: 0;
  right: -5%;
}

.hero-logo-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  height: auto;
  animation: hero-float 6s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1.5deg); }
}


/* ── 8. SERVICES ────────────────────────────────────────────── */

.services {
  padding-block: var(--space-xl);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.services-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.service-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
}

.service-card--cream     { background: var(--cream); }
.service-card--mint      { background: var(--mint); }
.service-card--lavender  { background: var(--lavender); }

.service-card-icon {
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.service-card-heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.service-card-body {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mid);
  flex: 1;
}

.service-card-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-top: 0.5rem;
  transition: color 0.2s var(--ease);
}
.service-card-link:hover { color: var(--accent-dk); }

.service-card-coming-soon {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}


/* ── 9. GALLERY PREVIEW ─────────────────────────────────────── */

.gallery-preview {
  padding-block: var(--space-xl);
  background: var(--canvas);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.gallery-preview-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gallery-preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.gallery-view-all {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: color 0.2s var(--ease);
}
.gallery-view-all:hover { color: var(--accent-dk); }

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

/* Orphan centering for incomplete row */
.gallery-grid > *:nth-child(3n+1):last-child {
  grid-column: 2;
}
.gallery-grid > *:nth-child(3n+2):last-child {
  grid-column: 2 / span 2;
}

/* Placeholder art blocks — replace with <img> tags when photos arrive */
.gallery-placeholder {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--cream) 0%,
    var(--lavender) 50%,
    var(--sky) 100%
  );
  position: relative;
}
.gallery-placeholder::after {
  content: '+ photo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Real gallery items */
.gallery-item {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}


/* ── 10. ABOUT TEASER ───────────────────────────────────────── */

.about-teaser {
  padding-block: var(--space-xl);
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.about-teaser-heading {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-teaser-body {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 48ch;
  margin-bottom: 2rem;
}

/* Photo placeholder — replace with <img> when ready */
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 480px;
  margin-inline: auto;
  background: linear-gradient(160deg, var(--lavender) 0%, var(--sky) 100%);
  border-radius: 4px;
  position: relative;
}
.about-photo-placeholder::after {
  content: 'Robyn\'s photo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}


/* ── 11. CONTACT / CTA ──────────────────────────────────────── */

.contact {
  padding-block: var(--space-xl);
  background: var(--nav-dark);
  color: #fff;
}

.contact-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-sub {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.contact-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}
.social-link:hover { color: rgba(255,255,255,0.9); }

.social-divider {
  color: rgba(255,255,255,0.25);
}


/* ── 12. FOOTER ─────────────────────────────────────────────── */

.footer {
  background: var(--nav-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}


/* ── 13. RESPONSIVE: 1024px ─────────────────────────────────── */

@media (max-width: 1024px) {

  /* Nav — switch to hamburger */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 85vw);
    background: var(--nav-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    z-index: 1000;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }
  .nav-overlay.is-active {
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
  }

  .nav-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .btn-ghost-nav,
  .btn-solid-nav {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Hero — stack at tablet */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    order: 1;
  }
  .hero-art {
    order: 0;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-sub {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Services — 2-col at tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Orphan: 1 card in 2-col = center it */
  .services-grid > *:nth-child(2n+1):last-child {
    grid-column: 2;
  }

  /* Gallery — 2-col at tablet */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Orphan for 2-col gallery */
  .gallery-grid > *:nth-child(3n+1):last-child {
    grid-column: auto;
  }
  .gallery-grid > *:nth-child(3n+2):last-child {
    grid-column: auto;
  }
  .gallery-grid > *:nth-child(2n+1):last-child {
    grid-column: 2;
  }

  /* About — stack */
  .about-teaser-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-teaser-art {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
    width: 100%;
  }
}


/* ── 14. RESPONSIVE: 768px ──────────────────────────────────── */

@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .contact-social {
    flex-direction: column;
    gap: 0.5rem;
  }

  .social-divider {
    display: none;
  }
}


/* ── 15. RESPONSIVE: 600px ──────────────────────────────────── */

@media (max-width: 600px) {

  /* Services — 1-col */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Reset orphan centering for single column */
  .services-grid > *:nth-child(2n+1):last-child {
    grid-column: auto;
  }

  /* Gallery — 1-col */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid > *:nth-child(2n+1):last-child {
    grid-column: auto;
  }
  .gallery-grid > *:last-child {
    grid-column: auto;
  }

  .gallery-preview-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .contact-ctas {
    flex-direction: column;
    width: 100%;
  }

  .contact-ctas a {
    width: 100%;
    justify-content: center;
  }
}


/* ── 16. REDUCED MOTION ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
