/* ==========================================================================
   SHELTER + SANCTUARY  |  Homepage Concept
   Design language: Warm Editorial (type, spacing, motion only)
   Palette: Shelter + Sanctuary's real brand colors
     - Taupe #66615b   (their round S+S logo mark, sampled)
     - Charcoal #202626 (their accent walls, deepened for dark sections)
     - Warm ivory #fefbf6 (their wordmark background)
     - Oak #775846     (their cabinetry and photography woods)
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-dark:        #1c2121;
  --bg-dark-2:      #252b2b;
  --bg-light:       #f6f3ed;
  --bg-white:       #fdfbf6;

  /* Accent: their taupe, deepened for small-text contrast on light */
  --accent:         #66615b;
  --accent-deep:    #524d47;
  --accent-light:   #b9b1a5;
  --accent-muted:   rgba(102, 97, 91, 0.16);
  --oak:            #775846;

  /* Text */
  --text-dark:      #23211e;
  --text-body:      #4e4a44;
  --text-muted:     #8a847b;
  --text-light:     #f4f2ed;
  --text-light-muted: rgba(244, 242, 237, 0.66);

  /* Type */
  --font-display:   "Cormorant Garamond", Georgia, serif;
  --font-body:      "Inter", -apple-system, sans-serif;

  /* Layout */
  --max-width:      1160px;
  --gutter:         clamp(1.5rem, 4vw, 3rem);
  --nav-height:     84px;

  /* Motion */
  --ease-spring:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.container { max-width: min(90%, 1160px); margin-inline: auto; }

/* ── Typography helpers ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
}
.on-dark .eyebrow { color: var(--accent-light); }
.on-dark .eyebrow::before { background: var(--accent-light); }

.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
.on-dark .h-display { color: var(--text-light); }
.h-display em { font-style: italic; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border-radius: 100px;
  transition: background 0.45s var(--ease-spring), color 0.45s var(--ease-spring),
              border-color 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
  will-change: transform;
}
.btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.45s var(--ease-spring);
}
.btn:hover .btn__dot { transform: scale(1.7); }

.btn--solid { background: var(--text-dark); color: var(--bg-white); }
.btn--solid:hover { background: var(--accent-deep); }
.btn--outline {
  border: 1px solid rgba(35, 33, 30, 0.35);
  color: var(--text-dark);
}
.btn--outline:hover { border-color: var(--text-dark); background: var(--text-dark); color: var(--bg-white); }
.btn--light { background: var(--bg-light); color: var(--text-dark); }
.btn--light:hover { background: var(--accent-light); }
.btn--ghost-light {
  border: 1px solid rgba(244, 242, 237, 0.4);
  color: var(--text-light);
}
.btn--ghost-light:hover { border-color: var(--text-light); background: var(--text-light); color: var(--text-dark); }

/* ── Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}
.nav.is-scrolled {
  background: rgba(253, 251, 246, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(35, 33, 30, 0.07);
}
.nav__inner {
  width: min(94%, 1400px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.24em;
  color: var(--text-dark);
  white-space: nowrap;
}
.brand__tag {
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.28rem;
}
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-body);
  position: relative;
  padding-block: 0.4rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-spring);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { flex-shrink: 0; }
.nav__cta .btn { padding: 0.7rem 1.4rem; font-size: 0.72rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.6rem;
  z-index: 320;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.4s var(--ease-spring), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-smooth), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 300;
  color: var(--text-dark);
  padding-block: 0.55rem;
  display: inline-block;
}
.mobile-menu__divider {
  width: 3rem;
  height: 1px;
  background: var(--accent);
  margin-block: 1.6rem;
}
.mobile-menu__contact a {
  display: block;
  font-size: 0.95rem;
  color: var(--text-body);
  padding-block: 0.65rem;
}

/* ── Hero: light editorial split ────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  background: var(--bg-light);
}
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem)) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
}
.hero__title {
  font-size: clamp(2.9rem, 6.4vw, 5.2rem);
  margin: 1.6rem 0 1.5rem;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .w > span { display: inline-block; will-change: transform; }
.hero__sub {
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  max-width: 34rem;
  color: var(--text-body);
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero__caption {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: rgba(28, 33, 33, 0.72);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: 100px;
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--dark { background: var(--bg-dark); }
.section--dark-2 { background: var(--bg-dark-2); }
.section--ivory { background: var(--bg-light); }
.section--white { background: var(--bg-white); }
.on-dark { color: var(--text-light-muted); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .h-display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 1.4rem; }
.section-head p { margin-top: 1.2rem; max-width: 38rem; }

/* Philosophy */
.philosophy__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--text-light);
}
.philosophy__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 1.8rem;
}
.philosophy__body p + p { margin-top: 1.2rem; }
.philosophy__body .h-display { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 1.3rem 0 1.4rem; }

/* Services */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.service-split + .service-split { margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.service-split--flip .service-split__media { order: 2; }
.service-split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
}
.service-split__media img {
  width: 100%;
  height: 114%;
  object-fit: cover;
  will-change: transform;
}
.service-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(102, 97, 91, 0.25);
  transform: translate(14px, 14px);
  pointer-events: none;
}
.service-split__label {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--accent-muted);
  -webkit-text-stroke: 1px rgba(102, 97, 91, 0.35);
  color: transparent;
}
.service-split__content .h-display { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0.8rem 0 1.2rem; }
.service-split__content > p + p { margin-top: 1.1rem; }
.service-list { margin-top: 1.6rem; display: grid; gap: 0.65rem; }
.service-list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-body);
}
.service-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.1rem;
  height: 1px;
  background: var(--accent);
  transform: translateY(-4px);
}
.service-note {
  margin-top: 1.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent-muted);
  padding-left: 1.1rem;
}

/* ── Portfolio index (signature moment) ─────────────────────────────── */
.projects__intro { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.projects__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.project-index { border-top: 1px solid rgba(244, 242, 237, 0.14); }
.project-index__item {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding: 1.35rem 0.4rem;
  border-bottom: 1px solid rgba(244, 242, 237, 0.14);
  text-align: left;
  color: var(--text-light-muted);
  transition: color 0.4s var(--ease-smooth), padding-left 0.45s var(--ease-spring);
}
.project-index__num {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  flex-shrink: 0;
}
.project-index__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-light);
  transition: color 0.4s;
}
.project-index__loc {
  margin-left: auto;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.project-index__item:hover,
.project-index__item.is-active { padding-left: 1.1rem; }
.project-index__item:hover .project-index__name,
.project-index__item.is-active .project-index__name { color: var(--accent-light); }

.projects__stage {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
}
.projects__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.7s var(--ease-smooth), transform 1.4s var(--ease-spring);
}
.projects__stage img.is-visible { opacity: 1; transform: scale(1); }
.projects__stage-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  background: rgba(28, 33, 33, 0.72);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.05rem;
  border-radius: 100px;
}
/* Mobile portfolio cards (shown under 900px) */
.project-cards { display: none; }

/* ── Moments ────────────────────────────────────────────────────────── */
.moments { position: relative; overflow: hidden; }
.moments__quote {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  line-height: 1.4;
  color: var(--text-dark);
}
.moments__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 2rem;
}
.moments__eyebrow { text-align: center; display: block; margin-bottom: 2.2rem; }
.moments__eyebrow .eyebrow::before { display: none; }
.moments__figs { position: relative; z-index: 1; }
.moments__fig {
  position: absolute;
  width: clamp(120px, 16vw, 230px);
  overflow: hidden;
  will-change: transform;
}
.moments__fig img { width: 100%; height: 100%; object-fit: cover; }
.moments__fig--1 { left: 3%; top: -2rem; aspect-ratio: 3/2; }
.moments__fig--2 { right: 4%; top: 1.5rem; aspect-ratio: 2/3; }
.moments__fig--3 { left: 12%; bottom: -3rem; aspect-ratio: 3/3.6; }
.moments .container { position: relative; padding-block: clamp(2rem, 6vw, 5rem); }

/* ── Reviews ────────────────────────────────────────────────────────── */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.review {
  border-top: 1px solid rgba(35, 33, 30, 0.14);
  padding-top: 2rem;
}
.review__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-dark);
}
.review cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 1.6rem;
}

/* ── About ──────────────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__media { position: relative; overflow: hidden; }
.about__media img { width: 100%; height: auto; }
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 242, 237, 0.22);
  transform: translate(-14px, 14px);
  pointer-events: none;
}
.about__content .h-display { font-size: clamp(2rem, 4vw, 3rem); margin: 1.4rem 0 1.5rem; }
.about__content p + p { margin-top: 1.15rem; }
.about__creds {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid rgba(244, 242, 237, 0.14);
  padding-top: 1.8rem;
}
.about__creds li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.92rem;
}
.about__creds li strong {
  font-weight: 500;
  color: var(--text-light);
  min-width: 8.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.about__team {
  margin-top: 2rem;
  font-size: 0.92rem;
}
.about__team span { color: var(--text-light); }

/* ── Dream BIG ──────────────────────────────────────────────────────── */
.dreambig { text-align: center; }
.dreambig__inner { max-width: 44rem; margin-inline: auto; }
.dreambig .h-display { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1.4rem 0 1.3rem; }
.dreambig p + p { margin-top: 1.1rem; }

/* ── CTA ────────────────────────────────────────────────────────────── */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(ellipse at 50% 120%, rgba(102, 97, 91, 0.35), transparent 60%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta .h-display { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 1.5rem 0 1.2rem; }
.cta p { max-width: 34rem; margin-inline: auto; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.4rem;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: #161a1a;
  color: var(--text-light-muted);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 242, 237, 0.1);
}
.footer .brand__name { color: var(--text-light); }
.footer__tagline { margin-top: 1.1rem; font-size: 0.9rem; max-width: 20rem; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.1rem;
}
.footer li a, .footer li span {
  display: inline-block;
  font-size: 0.9rem;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.footer li a:hover { color: var(--text-light); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  color: rgba(244, 242, 237, 0.4);
}

/* ── 404 ────────────────────────────────────────────────────────────── */
.error-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  text-align: center;
}
.error__code {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(185, 177, 165, 0.5);
}
.error__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-light);
  margin: 1.2rem 0 1rem;
}
.error__body { max-width: 30rem; margin: 0 auto 2.2rem; }

/* ── Reveal animation base ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links { gap: 1.5rem; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__panel { padding-top: calc(var(--nav-height) + 2.5rem); }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__media img { height: 116%; }

  .philosophy__grid, .service-split, .about__grid, .reviews__grid {
    grid-template-columns: 1fr;
  }
  .service-split--flip .service-split__media { order: 0; }
  .about__media { max-width: 26rem; }

  /* Portfolio: hide hover index, show stacked cards */
  .projects__grid { display: none; }
  .project-cards { display: grid; gap: 2.2rem; }
  .project-card__media { overflow: hidden; aspect-ratio: 4 / 3; }
  .project-card__media img { width: 100%; height: 100%; object-fit: cover; }
  .project-card__meta {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-top: 1rem;
  }
  .project-card__num { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--accent-light); }
  .project-card__name {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--text-light);
  }
  .project-card__loc {
    margin-left: auto;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light-muted);
  }

  .moments__fig--1 { left: -2%; top: 0; }
  .moments__fig--2 { right: -3%; top: auto; bottom: 40%; }
  .moments__fig--3 { left: 4%; bottom: -1.5rem; }
  .moments__quote { max-width: 30rem; }
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer li a { padding-block: 0.65rem; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

@media (max-width: 480px) {
  .hero__panel { padding-top: calc(var(--nav-height) + 1.6rem); }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .moments__fig { opacity: 0.5; }
  .moments__quote { position: relative; z-index: 3; }
}
