/* ==========================================================================
   Aligned Form — styles.css
   ========================================================================== */

:root {
  --stone: #2C2825;
  --warm-black: #1A1816;
  --cream: #F5F0EB;
  --sand: #E8E0D6;
  --terracotta: #C4805A;
  --terracotta-light: #D4956F;
  --sage: #8A9A7B;
  --muted-gold: #B8A68E;
  --light-stone: #A39E98;
  --off-white: #FDFBF9;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 76px;
  --section-pad-y: clamp(5rem, 10vw, 9rem);
  --section-pad-x: clamp(1.5rem, 5vw, 5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset ---------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol {
  margin: 0;
  padding: 0;
}

ul { list-style: none; }

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

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

button { font-family: inherit; }

::selection {
  background: var(--terracotta);
  color: var(--cream);
}

.italic { font-style: italic; }
.terracotta { color: var(--terracotta); }
.terracotta-light { color: var(--terracotta-light); }

/* --- Reveal animations ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

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

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

/* --- Section shared ------------------------------------------------------- */

.section__tag {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.section__tag-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--terracotta);
}

.section__tag--light { color: var(--terracotta-light); }
.section__tag--light .section__tag-line { background: var(--terracotta-light); }

.section__tag--center {
  justify-content: center;
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--stone);
  margin-bottom: 1.8rem;
}

.section__heading--light { color: var(--cream); }
.section__heading--center { text-align: center; }

/* --- Navigation ----------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--section-pad-x);
  background: linear-gradient(to bottom,
              rgba(26, 24, 22, 0.48) 0%,
              rgba(26, 24, 22, 0.32) 60%,
              rgba(26, 24, 22, 0.18) 100%);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  transition: background 0.5s var(--ease),
              backdrop-filter 0.5s var(--ease),
              -webkit-backdrop-filter 0.5s var(--ease),
              border-color 0.4s var(--ease),
              padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(245, 240, 235, 0.78);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border-bottom-color: rgba(44, 40, 37, 0.08);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  justify-self: start;
  transition: color 0.4s var(--ease);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25);
}

.nav.is-scrolled .nav__logo {
  color: var(--stone);
  text-shadow: none;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  justify-self: center;
}

.nav__links a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  padding: 0.35rem 0;
  display: inline-block;
  transition: color 0.4s var(--ease);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25);
}

.nav.is-scrolled .nav__links a {
  color: var(--stone);
  text-shadow: none;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  justify-self: end;
  display: inline-block;
  background: transparent;
  color: var(--cream);
  padding: 0.85rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(245, 240, 235, 0.7);
  border-radius: 2px;
  transition: background-color 0.35s var(--ease),
              color 0.35s var(--ease),
              border-color 0.35s var(--ease),
              transform 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--cream);
  color: var(--warm-black);
  border-color: var(--cream);
  transform: translateY(-1px);
}

.nav.is-scrolled .nav__cta {
  background: var(--warm-black);
  color: var(--cream);
  border-color: var(--warm-black);
}

.nav.is-scrolled .nav__cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

/* --- Hamburger toggle (hidden on desktop) -------------------------------- */

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px 6px;
  margin: 0;
  cursor: pointer;
  justify-self: end;
  z-index: 101;
}

.nav__toggle-line {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--cream);
  margin: 6px 0;
  transition: background-color 0.35s var(--ease),
              transform 0.35s var(--ease),
              opacity 0.35s var(--ease);
}

.nav.is-scrolled .nav__toggle-line,
body.page--solid-nav .nav__toggle-line {
  background: var(--stone);
}

/* --- Mobile menu overlay ------------------------------------------------- */

.mobile-menu {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--warm-black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.4s var(--ease),
                transform 0.45s var(--ease),
                visibility 0s linear 0.45s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease),
                transform 0.45s var(--ease),
                visibility 0s linear 0s;
  }
}

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(245, 240, 235, 0.2);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  background: rgba(196, 128, 90, 0.15);
  border-color: var(--terracotta);
  outline: none;
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
}

.mobile-menu__links li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease),
              transform 0.5s var(--ease);
}

.mobile-menu.is-open .mobile-menu__links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__links li:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) { transition-delay: 0.29s; }

.mobile-menu__links a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

.mobile-menu__links a[aria-current="page"] {
  color: var(--terracotta-light);
  font-style: italic;
}

.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible {
  color: var(--terracotta-light);
  outline: none;
}

.mobile-menu__cta {
  display: inline-block;
  background: var(--cream);
  color: var(--warm-black);
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease) 0.38s,
              transform 0.5s var(--ease) 0.38s,
              background-color 0.3s var(--ease),
              color 0.3s var(--ease);
}

.mobile-menu.is-open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__cta:hover,
.mobile-menu__cta:focus-visible {
  background: var(--terracotta);
  color: var(--cream);
  outline: none;
}

.mobile-menu__brand {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 235, 0.35);
  pointer-events: none;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  overflow: hidden;
}

.hero__content {
  position: relative;
  padding: calc(var(--nav-height) + 2rem) clamp(2rem, 5vw, 5rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__inner {
  max-width: 560px;
}

.hero__tag {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  margin-bottom: 2rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--stone);
  margin-bottom: 2rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--light-stone);
  margin-bottom: 2.75rem;
  max-width: 480px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
  transition: color 0.3s var(--ease);
}

.hero__cta-circle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s var(--ease),
              color 0.4s var(--ease),
              transform 0.4s var(--ease),
              border-color 0.4s var(--ease);
}

.hero__cta-circle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.hero__cta:hover .hero__cta-circle {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
  transform: translateX(4px);
}

.hero__cta:hover .hero__cta-circle svg {
  transform: translateX(2px);
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: clamp(2rem, 5vw, 5rem);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero__scroll-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--stone);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.hero__scroll-text {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--light-stone);
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroImgIn 1.6s var(--ease) both;
}

@keyframes heroImgIn {
  from { transform: scale(1.08); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Staggered hero reveal */
.hero .reveal {
  transition-delay: 0.2s;
}
.hero .reveal[data-delay="120"] { transition-delay: 0.35s; }
.hero .reveal[data-delay="240"] { transition-delay: 0.5s; }
.hero .reveal[data-delay="360"] { transition-delay: 0.65s; }

/* --- About ---------------------------------------------------------------- */

.about {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--off-white);
  overflow: hidden;
}

.about__quote {
  position: absolute;
  top: 2rem;
  right: clamp(1rem, 4vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(10rem, 18vw, 18rem);
  line-height: 1;
  color: var(--sand);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media-border {
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(253, 251, 249, 0.45);
  pointer-events: none;
}

.about__media-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  z-index: 2;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
}

.about__content {
  max-width: 560px;
}

.about__para {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--stone);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.about__stats {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(44, 40, 37, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about__stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--terracotta);
}

.about__stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--light-stone);
}

/* --- Services ------------------------------------------------------------- */

.services {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--warm-black);
  color: var(--cream);
  overflow: hidden;
}

.services__header {
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service {
  position: relative;
  padding: 3rem 2.25rem 2.5rem;
  background: rgba(245, 240, 235, 0.035);
  border: 1px solid rgba(245, 240, 235, 0.08);
  overflow: hidden;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
}

.service:hover {
  background: rgba(245, 240, 235, 0.055);
  border-color: rgba(245, 240, 235, 0.14);
}

.service:hover::before {
  transform: scaleX(1);
}

.service__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(196, 128, 90, 0.35);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.service__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.service__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--terracotta-light);
  margin-bottom: 1.25rem;
}

.service__desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245, 240, 235, 0.72);
  margin-bottom: 1.75rem;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service__tags li {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.85rem;
  color: var(--terracotta-light);
  border: 1px solid rgba(212, 149, 111, 0.35);
  border-radius: 999px;
}

/* --- Testimonials --------------------------------------------------------- */

.testimonials {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--cream);
}

.testimonials__header {
  max-width: 1400px;
  margin: 0 auto 4rem;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial {
  position: relative;
  padding: 3.5rem 2.25rem 2.25rem;
  background: var(--off-white);
  border: 1px solid var(--sand);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--stone);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease),
              box-shadow 0.5s var(--ease),
              border-color 0.5s var(--ease);
}

.testimonial:hover,
.testimonial:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(44, 40, 37, 0.22);
  border-color: var(--muted-gold);
}

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

.testimonial__mark {
  position: absolute;
  top: -1.5rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--sand);
  pointer-events: none;
  user-select: none;
}

.testimonial blockquote {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--stone);
  font-style: italic;
  margin-bottom: 2rem;
  flex: 1 0 auto;
}

.testimonial__foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(44, 40, 37, 0.08);
  margin-top: auto;
}

.testimonial__read {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}

.testimonial:hover .testimonial__read,
.testimonial:focus-visible .testimonial__read {
  opacity: 1;
  transform: translateX(0);
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone);
}

.testimonial__role {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--light-stone);
}

/* --- CTA ------------------------------------------------------------------ */

.cta {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--warm-black);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}

.cta__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.18;
}

.cta__glow--left {
  top: -120px;
  left: -120px;
  background: var(--terracotta);
}

.cta__glow--right {
  bottom: -120px;
  right: -120px;
  background: var(--sage);
  opacity: 0.14;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245, 240, 235, 0.72);
  margin-bottom: 2.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta__button {
  display: inline-block;
  background: var(--cream);
  color: var(--warm-black);
  padding: 1.1rem 2.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 2px;
  transition: background-color 0.3s var(--ease),
              color 0.3s var(--ease),
              transform 0.3s var(--ease);
}

.cta__button:hover {
  background: var(--terracotta);
  color: var(--cream);
  transform: translateY(-2px);
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  background: var(--warm-black);
  color: var(--cream);
  padding: 2.25rem var(--section-pad-x);
  border-top: 1px solid rgba(245, 240, 235, 0.08);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  justify-self: start;
}

.footer__social {
  display: flex;
  gap: 1.75rem;
  justify-self: center;
}

.footer__social a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 240, 235, 0.72);
  transition: color 0.3s var(--ease);
}

.footer__social a:hover {
  color: var(--terracotta-light);
}

.footer__copy {
  justify-self: end;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 235, 0.5);
}

/* --- Testimonials "Read More" link on index ------------------------------ */

.testimonials__more {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.link-quiet {
  position: relative;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
  padding: 0.5rem 0;
  transition: color 0.35s var(--ease);
}

.link-quiet span {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.4s var(--ease);
}

.link-quiet::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: transform 0.5s var(--ease), background-color 0.35s var(--ease);
}

.link-quiet:hover {
  color: var(--terracotta);
}

.link-quiet:hover::after {
  transform: scaleX(1);
}

.link-quiet:hover span {
  transform: translateX(4px);
}

/* --- Solid-nav (for non-hero pages) -------------------------------------- */

body.page--solid-nav .nav {
  background: rgba(245, 240, 235, 0.82);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border-bottom-color: rgba(44, 40, 37, 0.08);
}

body.page--solid-nav .nav__logo,
body.page--solid-nav .nav__links a {
  color: var(--stone);
  text-shadow: none;
}

body.page--solid-nav .nav__cta {
  background: var(--warm-black);
  color: var(--cream);
  border-color: var(--warm-black);
}

body.page--solid-nav .nav__cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

body.page--solid-nav .nav__links a[aria-current="page"] {
  color: var(--terracotta);
}

body.page--solid-nav .nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* --- Testimonials page --------------------------------------------------- */

.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 5rem) var(--section-pad-x) clamp(3rem, 6vw, 5rem);
  background: var(--cream);
  overflow: hidden;
}

.page-header__quote {
  position: absolute;
  top: calc(var(--nav-height) + 1rem);
  right: clamp(1rem, 4vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(12rem, 22vw, 24rem);
  line-height: 0.8;
  color: var(--sand);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--stone);
  margin-bottom: 1.75rem;
  max-width: 14ch;
}

.page-header__sub {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--light-stone);
  max-width: 540px;
}

.features {
  background: var(--cream);
  padding: clamp(2rem, 5vw, 4rem) var(--section-pad-x) var(--section-pad-y);
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(44, 40, 37, 0.12);
}

.feature:last-child {
  border-bottom: 1px solid rgba(44, 40, 37, 0.12);
}

.feature--alt {
  grid-template-columns: 2.1fr 0.9fr;
}

.feature--alt .feature__side {
  order: 2;
  text-align: right;
  align-items: flex-end;
}

.feature--alt .feature__body {
  order: 1;
}

.feature__side {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  align-self: start;
}

.feature__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}

.feature__author {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature--alt .feature__author {
  align-items: flex-end;
}

.feature__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.feature__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--stone);
  line-height: 1.1;
}

.feature__role {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--light-stone);
}

.feature__body {
  position: relative;
  padding-left: 0;
}

.feature__mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(5rem, 8vw, 7rem);
  line-height: 0.6;
  color: var(--terracotta);
  opacity: 0.55;
  margin-bottom: 1rem;
  pointer-events: none;
  user-select: none;
}

.feature--alt .feature__mark {
  text-align: right;
}

.feature__body blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.55;
  color: var(--stone);
  font-style: italic;
}

.feature__body blockquote p {
  margin-bottom: 1.6rem;
}

.feature__body blockquote p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__image {
    display: none;
  }

  .hero__content {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 6rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__media {
    max-width: 480px;
    margin: 0 auto;
  }

  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature,
  .feature--alt {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature--alt .feature__side {
    order: 0;
    text-align: left;
    align-items: flex-start;
  }

  .feature--alt .feature__body {
    order: 0;
  }

  .feature--alt .feature__author {
    align-items: flex-start;
  }

  .feature--alt .feature__mark {
    text-align: left;
  }

  .feature__side {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .feature__num {
    font-size: 3.25rem;
  }

  .feature__avatar {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-x: 1.5rem;
  }

  .nav {
    padding: 1rem 1.25rem;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__logo {
    font-size: 1.1rem;
  }

  /* Hero: image becomes a full-width banner above the text content */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero__image {
    display: block;
    order: -1;
    width: 100%;
    height: 50vh;
    max-height: 50vh;
    flex: 0 0 auto;
  }

  .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
  }

  .hero__content {
    padding: 3rem 1.5rem 5rem;
    min-height: auto;
  }

  .hero__scroll {
    position: static;
    margin-top: 3rem;
  }

  .hero__scroll {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about__media-label {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .footer__logo,
  .footer__copy,
  .footer__social {
    justify-self: center;
  }

  .service {
    padding: 2.5rem 1.75rem 2rem;
  }

  .testimonial {
    padding: 3rem 1.75rem 2rem;
  }

  .page-header {
    padding-top: calc(var(--nav-height) + 3rem);
  }

  .page-header__quote {
    font-size: 10rem;
    top: calc(var(--nav-height) + 0.5rem);
  }

  .feature {
    padding: 3.5rem 0;
  }

  .feature__num {
    font-size: 2.75rem;
  }

  .feature__avatar {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .feature__body blockquote {
    font-size: 1.1rem;
  }
}
