/* ========================================
   Rentoule Projects - Complete Styles
   ======================================== */

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: block;
}

.section-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}
.section-heading em {
  font-family: 'Amsterdam', var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  font-size: 1.4em;
  line-height: 1;
  vertical-align: -0.05em;
  display: inline-block;
  padding-bottom: 0.15em;
}

.section-subtitle {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}
.btn--primary:hover {
  background: var(--gold-light);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--green);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  padding: 8px 0;
  border-bottom: 1px solid var(--gold);
}
.btn--ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14,14,12,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--nav-height);
  transition: background var(--duration) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  border-radius: 2px;
}
.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.3s ease;
  /* Reveal animation: logo starts hidden, fades in after the light sweep passes */
  opacity: 0;
  animation: logoReveal 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}
/* The signature stroke - a thin gold beam that sweeps across the logo on load */
.nav__logo::before {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -8px;
  right: -8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 150, 110, 0) 30%,
    rgba(184, 150, 110, 0.7) 50%,
    rgba(212, 180, 138, 0.9) 55%,
    rgba(184, 150, 110, 0.7) 60%,
    rgba(184, 150, 110, 0) 80%,
    transparent 100%
  );
  pointer-events: none;
  animation: logoSweep 2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
  opacity: 0;
  background-size: 200% 100%;
  background-position: -100% 0;
}
@keyframes logoSweep {
  0% {
    background-position: -100% 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}
@keyframes logoReveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.nav__logo:hover .nav__logo-img {
  opacity: 0.8;
  transform: scale(1.04);
  filter: drop-shadow(0 0 6px rgba(184, 150, 110, 0.4));
}
/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .nav__logo-img {
    animation: none;
    opacity: 1;
  }
  .nav__logo::before {
    animation: none;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.65);
  transition: color var(--duration-fast) ease;
  position: relative;
}
.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-fast) ease;
}
.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-md);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  background: #0e0e0c;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: var(--space-3xl) var(--space-xl);
  flex-direction: column;
  gap: var(--space-lg);
}
.nav__mobile.open {
  display: flex;
}
.nav__mobile a {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.7);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(245,243,239,0.08);
  transition: color 0.2s ease;
}
.nav__mobile a:hover,
.nav__mobile a.active {
  color: var(--gold);
}
.nav__mobile .btn {
  margin-top: var(--space-lg);
  text-align: center;
}

/* ---------- PAGE SECTIONS (visibility) ---------- */
.page { display: none; }
.page.active { display: block; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,12,0.3) 0%, rgba(14,14,12,0.6) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-3xl) var(--space-xl);
  animation: fadeUp 1s var(--ease) forwards;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: block;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 7vw, 6rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}
.hero__title em {
  font-family: 'Amsterdam', var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  font-size: 1.45em;
  line-height: 1;
  vertical-align: -0.08em;
  display: inline-block;
  padding: 0 0.05em 0.15em;
}
.hero__subtitle {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(245,243,239,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (shorter for inner pages) */
.hero--page {
  min-height: 50vh;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background: var(--green);
  padding: var(--space-sm) 0;
}
.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.breadcrumb__inner a,
.breadcrumb__inner span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.6);
}
.breadcrumb__inner a:hover {
  color: var(--gold);
}
.breadcrumb__sep {
  color: rgba(245,243,239,0.3);
}

/* ---------- SECTION PATTERNS ---------- */
.section {
  padding: clamp(var(--space-4xl), 8vw, var(--space-5xl)) 0;
}
.section--white { background: var(--white); }
.section--warm { background: var(--warm); }
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark .section-heading { color: var(--white); }
.section--dark .section-subtitle { color: rgba(245,243,239,0.6); }
.section--dark .eyebrow { color: var(--gold); }

.section--green {
  background: var(--green);
  color: var(--white);
}
.section--green .section-heading { color: var(--white); }
.section--green .section-subtitle { color: rgba(245,243,239,0.7); }

/* ---------- WELCOME / STATS ---------- */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.welcome__content { }
.welcome__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}
.welcome__stats {
  display: flex;
  gap: var(--space-3xl);
}
.stat__number {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.stat__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.welcome__image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.welcome__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome__video {
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.welcome__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- SERVICE CARDS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(14,14,12,0.06);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.service-card:hover {
  background: var(--green);
}
.service-card:hover .service-card__title,
.service-card:hover .service-card__text {
  color: var(--white);
}
.service-card:hover .service-card__link {
  color: var(--gold-light);
}
.service-card__image {
  position: relative;
  padding-top: 66%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
}
.service-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__image img {
  transform: scale(1.05);
}
.service-card__body {
  padding: var(--space-xl);
}
.service-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease);
}
.service-card__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  transition: color var(--duration) var(--ease);
}
.service-card__link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--duration-fast) ease;
}

/* ---------- VALUES ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.value-card {
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid rgba(14,14,12,0.06);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.value-card:hover {
  background: var(--green);
}
.value-card:hover .value-card__title,
.value-card:hover .value-card__text {
  color: var(--white);
}
.value-card__icon {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  font-style: italic;
}
.value-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease);
}
.value-card__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color var(--duration) var(--ease);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-xl);
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-xl);
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial__quote::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: -1.2rem;
  left: -1.5rem;
  line-height: 1;
}
.testimonial__author {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(14,14,12,0.15);
  cursor: pointer;
  transition: background 0.3s ease;
}
.testimonials-dot.active {
  background: var(--gold);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(14,14,12,0.1);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.faq-question__text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text);
  flex: 1;
  padding-right: var(--space-md);
}
.faq-question__icon {
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}
.faq-answer__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--gold);
  padding: clamp(var(--space-3xl), 6vw, var(--space-5xl)) 0;
  text-align: center;
}
.cta-band .section-heading {
  color: var(--black);
  margin-bottom: var(--space-md);
}
.cta-band .section-heading em {
  color: var(--green);
}
.cta-band .section-subtitle {
  color: rgba(14,14,12,0.7);
  margin: 0 auto var(--space-2xl);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  padding: var(--space-4xl) 0 var(--space-xl);
  color: rgba(245,243,239,0.6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}
.footer__logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: var(--space-md);
}
.footer__heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}
.footer__tagline {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}
.footer__about-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.footer__social {
  display: flex;
  gap: var(--space-md);
}
.footer__social a {
  color: rgba(245,243,239,0.5);
  transition: color 0.2s ease;
}
.footer__social a:hover {
  color: var(--gold);
}
.footer__links a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: var(--space-sm);
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--gold);
}
.footer__bottom {
  border-top: 1px solid rgba(245,243,239,0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

/* ---------- SERVICES PAGE: DETAILED SERVICE LAYOUT ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.service-detail--reverse {
  direction: rtl;
}
.service-detail--reverse > * {
  direction: ltr;
}
.service-detail__image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
}
.service-detail__image img {
  width: 100%;
  display: block;
}
.service-detail__content {}
.service-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.service-detail__tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid rgba(14,14,12,0.12);
}
.service-detail__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.service-detail__includes {
  margin-top: var(--space-xl);
}
.service-detail__includes-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-xl);
}
.includes-grid li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  padding-left: 1.4rem;
}
.includes-grid li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 400;
}

/* ---------- PROCESS STRIP ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}
.process-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}
.process-card__number {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: var(--space-md);
  line-height: 1;
}
.process-card__title {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.process-card__text {
  font-size: 0.85rem;
  color: rgba(245,243,239,0.5);
  line-height: 1.6;
}

/* ---------- LOCATION SECTION ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}
.locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
}
.locations-list li {
  font-size: 0.9rem;
  color: rgba(245,243,239,0.7);
  position: relative;
  padding-left: 1.2rem;
}
.locations-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- WHY RENTOULE CARDS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.why-card {
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid rgba(14,14,12,0.06);
  transition: background var(--duration) var(--ease);
}
.why-card:hover {
  background: var(--green);
}
.why-card:hover .why-card__title,
.why-card:hover .why-card__text {
  color: var(--white);
}
.why-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease);
}
.why-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color var(--duration) var(--ease);
}

/* ---------- CASE STUDIES ---------- */
.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.case-study:nth-child(even) {
  direction: rtl;
}
.case-study:nth-child(even) > * {
  direction: ltr;
}
.case-study__image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
}
.case-study__image img {
  width: 100%;
  display: block;
}
.case-study__content {}
.case-study__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}
.case-study__quote {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-lg);
}
.case-study__author {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- BLOG INDEX ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(14,14,12,0.06);
  padding: var(--space-2xl);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}
.blog-card:hover .blog-card__title,
.blog-card:hover .blog-card__excerpt,
.blog-card:hover .blog-card__date {
  color: var(--white);
}
.blog-card:hover .blog-card__meta {
  color: var(--gold-light);
}
.blog-card:hover .blog-card__link {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}
.blog-card__meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease);
}
.blog-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease);
  letter-spacing: -0.005em;
}
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  transition: color var(--duration) var(--ease);
  flex: 1;
}
.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(14,14,12,0.08);
  margin-top: auto;
}
.blog-card:hover .blog-card__footer {
  border-top-color: rgba(245,243,239,0.15);
}
.blog-card__date {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color var(--duration) var(--ease);
}
.blog-card__link {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease), border-bottom-color var(--duration) var(--ease);
}

/* 2 columns on tablets */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CAREERS ---------- */
.careers-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.career-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid rgba(14,14,12,0.06);
  transition: background var(--duration) var(--ease);
  gap: var(--space-xl);
}
.career-card:hover {
  background: var(--green);
}
.career-card:hover .career-card__title,
.career-card:hover .career-card__text {
  color: var(--white);
}
.career-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  transition: color var(--duration) var(--ease);
}
.career-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  transition: color var(--duration) var(--ease);
}
.career-card .btn {
  flex-shrink: 0;
}

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}
.form-group {
  margin-bottom: var(--space-lg);
}
.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid rgba(14,14,12,0.15);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b6760' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.form-group .error-msg {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 4px;
}
.form-group.error .error-msg {
  display: block;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #c0392b;
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl);
}
.form-success.show {
  display: block;
}
.form-success__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: var(--space-md);
}
.form-success__text {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-info {}
.contact-info__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: var(--space-xl);
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.contact-info__icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-info__value {
  font-size: 1rem;
  color: var(--text);
}
.contact-info__value a:hover {
  color: var(--gold);
}

/* ---------- ABOUT PAGE ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.about-story__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.about-story__text p {
  margin-bottom: var(--space-lg);
}
.about-video {
  position: relative;
  padding-top: 56.25%;
  background: var(--black);
  border-radius: 2px;
  overflow: hidden;
}
.about-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- PROJECTS PAGE ---------- */
.project-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.project-detail--reverse {
  direction: rtl;
}
.project-detail--reverse > * {
  direction: ltr;
}
.project-detail__slider {
  border-radius: 2px;
  overflow: hidden;
}
.project-detail__content {}
.project-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.project-detail__tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid rgba(14,14,12,0.12);
}
.project-detail__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.project-detail__meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xl);
}
.project-detail__cta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.project-detail__cta:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---------- BEFORE / AFTER SLIDER ---------- */
.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  border-radius: 2px;
  background: var(--black);
  /* Aspect ratio - let images define height */
}
/* 'after' image is the base layer (defines the height of the slider) */
.ba-slider__after {
  position: relative;
  width: 100%;
}
/* 'before' image sits on top, clipped from the right by JS */
.ba-slider__before {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0); /* default 50% - JS overrides */
}
.ba-slider__before img,
.ba-slider__after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Before / After pill labels */
.ba-slider__before::before,
.ba-slider__after::before {
  position: absolute;
  top: var(--space-md);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(14,14,12,0.6);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  pointer-events: none;
}
/* 'Before' label - top-left of the before layer (on top, clipped) */
.ba-slider__before::before {
  content: 'Before';
  left: var(--space-md);
  z-index: 4;
}
/* 'After' label - top-right of the after layer (base) */
.ba-slider__after::before {
  content: 'After';
  right: var(--space-md);
  z-index: 1;
}

/* Handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.ba-slider__line {
  width: 2px;
  height: 100%;
  background: var(--white);
  opacity: 0.9;
}
.ba-slider__knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  color: var(--white);
}
.ba-slider__knob svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta.desktop-only { display: none; }
  .nav__hamburger { display: flex; }

  .welcome { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .service-detail--reverse { direction: ltr; }
  .project-detail { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .project-detail--reverse { direction: ltr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .case-study:nth-child(even) { direction: ltr; }
  .about-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .blog-grid { grid-template-columns: 1fr; }
  .career-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 60px;
  }

  .container { padding: 0 var(--space-md); }

  .hero__title { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero__actions { flex-direction: column; align-items: center; }

  .welcome__stats { flex-direction: column; gap: var(--space-lg); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  .section { padding: var(--space-3xl) 0; }
  .section-heading { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  .testimonial__quote { font-size: 1.1rem; }
  .testimonial__quote::before { font-size: 3rem; left: -0.5rem; top: -0.8rem; }
}

/* ============================================
   ARTICLE PAGE (individual blog posts)
   ============================================ */

/* Article hero - slightly shorter than blog index hero, narrower content */
.hero--article {
  min-height: 60vh;
}
.hero--article .hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.005em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero__title--article em {
  font-size: 1.3em;
}

/* Article meta line in hero */
.article-meta {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.7);
}
.article-meta__sep {
  color: rgba(245,243,239,0.35);
}

/* Article body container - narrower than the standard container */
.article-section {
  padding-top: clamp(var(--space-3xl), 6vw, var(--space-4xl));
  padding-bottom: clamp(var(--space-3xl), 6vw, var(--space-4xl));
}
.article-section .article-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Article body typography */
.article-body {
  font-family: var(--sans);
  font-size: 1.0625rem; /* 17px */
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
}
.article-body > *:first-child { margin-top: 0; }
.article-body > *:last-child { margin-bottom: 0; }

.article-body p {
  margin: 0 0 var(--space-lg);
}
.article-body p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 300;
  letter-spacing: -0.005em;
}

.article-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: var(--space-3xl) 0 var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(14,14,12,0.08);
  color: var(--text);
}
.article-body h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.article-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: var(--space-2xl) 0 var(--space-sm);
  color: var(--text);
}

.article-body strong {
  font-weight: 500;
  color: var(--text);
}

.article-body em {
  font-style: italic;
  color: inherit; /* override base h-em rule */
}

.article-body a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(44,61,46,0.3);
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
.article-body a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Lists */
.article-body ul,
.article-body ol {
  margin: 0 0 var(--space-lg);
  padding-left: 0;
}
.article-body ul { list-style: none; }
.article-body ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: var(--space-sm);
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}
.article-body ol {
  list-style: decimal;
  padding-left: 1.4rem;
}
.article-body ol li {
  margin-bottom: var(--space-sm);
  padding-left: 0.4rem;
}
.article-body li > ul,
.article-body li > ol {
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: 0.92rem;
  background: var(--white);
}
.article-body thead th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: var(--space-md) var(--space-md);
  border-bottom: 2px solid var(--gold);
  background: rgba(184,150,110,0.06);
}
.article-body tbody td {
  padding: var(--space-md) var(--space-md);
  border-bottom: 1px solid rgba(14,14,12,0.08);
  vertical-align: top;
  line-height: 1.5;
}
.article-body tbody tr:nth-child(even) td {
  background: rgba(232,227,218,0.35);
}
.article-body tbody tr:hover td {
  background: rgba(184,150,110,0.08);
}
.article-body tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}

/* Blockquote (Jeff's pull quotes) */
.article-body blockquote {
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--gold);
  background: rgba(184,150,110,0.05);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}
.article-body blockquote p {
  margin: 0 0 var(--space-md);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body blockquote cite,
.article-body blockquote .quote-author {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* FAQ section */
.article-body .faq-section {
  margin: var(--space-2xl) 0;
}
.article-body .faq-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(14,14,12,0.08);
}
.article-body .faq-item:first-child {
  border-top: 1px solid rgba(14,14,12,0.08);
}
.article-body .faq-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}
.article-body .faq-item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Inline content boxes (callouts, tips, warnings, hidden costs, etc.) */
.article-body .callout,
.article-body .tip-box,
.article-body .step-box,
.article-body .warning-box,
.article-body .red-flag,
.article-body .hidden-cost,
.article-body .verdict,
.article-body .question-block,
.article-body .timeline-item,
.article-body .testimonial,
.article-body .case-study,
.article-body .choice-card {
  background: rgba(232,227,218,0.4);
  border-left: 3px solid var(--gold);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  font-size: 0.96rem;
  line-height: 1.65;
}
.article-body .callout.warning,
.article-body .warning-box,
.article-body .red-flag {
  background: rgba(184,80,60,0.06);
  border-left-color: #b85036;
}
.article-body .callout.info,
.article-body .tip-box {
  background: rgba(44,61,46,0.05);
  border-left-color: var(--green);
}
.article-body .callout p:last-child,
.article-body .tip-box p:last-child,
.article-body .step-box p:last-child,
.article-body .warning-box p:last-child,
.article-body .red-flag p:last-child,
.article-body .hidden-cost p:last-child,
.article-body .verdict p:last-child {
  margin-bottom: 0;
}
.article-body .callout strong:first-child,
.article-body .tip-box strong:first-child,
.article-body .step-box strong:first-child,
.article-body .hidden-cost strong:first-child {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Choice cards (extension vs renovation) sit side by side */
.article-body .choice-card.extend,
.article-body .choice-card.renovate {
  border-left-color: var(--green);
}

/* Timeline */
.article-body .timeline {
  margin: var(--space-xl) 0;
}
.article-body .timeline-item {
  position: relative;
  margin-bottom: var(--space-md);
}

/* ---------- RELATED ARTICLES ---------- */
.related-articles {
  background: var(--warm);
}
.related-articles .eyebrow,
.related-articles .section-heading {
  text-align: center;
}
.related-articles .section-heading {
  margin-bottom: var(--space-3xl);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(14,14,12,0.06);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.related-card:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}
.related-card:hover .related-card__title { color: var(--white); }
.related-card:hover .related-card__meta { color: var(--gold-light); }
.related-card:hover .related-card__link { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.related-card__meta {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  transition: color var(--duration) var(--ease);
}
.related-card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  flex: 1;
  color: var(--text);
  transition: color var(--duration) var(--ease);
}
.related-card__link {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--duration) var(--ease), border-bottom-color var(--duration) var(--ease);
}

/* Article page should always show the main element (override .page display:none) */
.article-page { display: block; }

/* ---------- ARTICLE PAGE RESPONSIVE ---------- */
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .article-section .article-container { padding: 0 var(--space-md); }
  .article-body { font-size: 1rem; }
  .article-body p:first-of-type { font-size: 1.08rem; }
  .article-body h2 { font-size: 1.5rem; }
  .article-body h3 { font-size: 1.15rem; }
  .article-body table { font-size: 0.86rem; }
  .article-body thead th,
  .article-body tbody td { padding: var(--space-sm) var(--space-sm); }
  .article-body blockquote {
    padding: var(--space-md) var(--space-lg);
    font-size: 1.1rem;
  }
  .hero--article .hero__title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .article-meta {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
}

/* ---------- FORM ENHANCEMENTS ---------- */
.hidden-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-hint {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: var(--space-xs);
}
.form-group--file input[type="file"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  padding: var(--space-sm) 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.form-group--file input[type="file"]::file-selector-button {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  margin-right: var(--space-md);
  cursor: pointer;
  transition: background 0.2s;
}
.form-group--file input[type="file"]::file-selector-button:hover {
  background: var(--green);
}
.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- CASE STUDY GALLERY ---------- */
.case-study-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}
.case-study-gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--warm);
}
.case-study-gallery figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.case-study-gallery figure:hover img {
  transform: scale(1.04);
}
.case-study-gallery figcaption {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(14,14,12,0.8);
  padding: 6px 12px;
  border-radius: 2px;
}
@media (max-width: 720px) {
  .case-study-gallery {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ============================================
   Price Guide Disclaimer
   Used on all cost-related blog & service pages
   ============================================ */
.article-body .price-guide-note {
  background: rgba(44, 61, 46, 0.06);
  border: 1px solid rgba(44, 61, 46, 0.18);
  border-left: 3px solid var(--green);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-lg) 0 var(--space-xl);
  border-radius: 2px;
  scroll-margin-top: 100px;
}
.article-body .price-guide-note__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-xs);
}
.article-body .price-guide-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}
.article-body .price-guide-note p a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.article-body .price-guide-note p a:hover {
  color: var(--gold);
}
.article-body .price-guide-asterisk {
  display: inline-block;
  font-size: 0.75em;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
  margin-left: 1px;
  padding: 0 2px;
  border-radius: 2px;
  transition: color 0.2s ease;
}
.article-body .price-guide-asterisk:hover {
  color: var(--green);
  background: rgba(184, 150, 110, 0.1);
}
.article-body .price-guide-note:target {
  background: rgba(184, 150, 110, 0.1);
  border-left-color: var(--gold);
  transition: background 1.5s ease, border-color 1.5s ease;
}

/* ============================================
   Welcome heading - staggered layout
   "Your project," left, "our priority" right (next line)
   ============================================ */
.welcome__heading {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  text-align: left;
  margin-bottom: var(--space-xl);
}
.welcome__heading-line1 {
  align-self: flex-start;
}
.welcome__heading-line2 {
  align-self: flex-end;
  padding-right: 0.5em;
}
@media (max-width: 768px) {
  .welcome__heading-line2 {
    padding-right: 0.25em;
  }
}

/* ============================================
   HubSpot Contact Form Styling
   Override HubSpot defaults to match Rentoule design
   ============================================ */
.hubspot-form-wrapper {
  font-family: var(--sans);
}
.hubspot-form-wrapper form {
  font-family: var(--sans);
}
.hubspot-form-wrapper .hs-form-field {
  margin-bottom: var(--space-md);
}
.hubspot-form-wrapper label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-xs);
}
.hubspot-form-wrapper label .hs-form-required {
  color: var(--gold);
  margin-left: 4px;
}
.hubspot-form-wrapper input[type="text"],
.hubspot-form-wrapper input[type="email"],
.hubspot-form-wrapper input[type="tel"],
.hubspot-form-wrapper input[type="number"],
.hubspot-form-wrapper select,
.hubspot-form-wrapper textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 26, 24, 0.2);
  border-radius: 2px;
  background: var(--offwhite);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.hubspot-form-wrapper textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--sans);
}
.hubspot-form-wrapper input:focus,
.hubspot-form-wrapper select:focus,
.hubspot-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #ffffff;
}
.hubspot-form-wrapper .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.hubspot-form-wrapper .hs-error-msgs li {
  color: #b03030;
  font-size: 0.85rem;
}
.hubspot-form-wrapper .hs-button,
.hubspot-form-wrapper input[type="submit"] {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--offwhite);
  border: none;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.hubspot-form-wrapper .hs-button:hover {
  background: var(--gold-light);
}
.hubspot-form-wrapper .hs-button:active {
  transform: translateY(1px);
}
.hubspot-form-wrapper .submitted-message {
  padding: var(--space-xl);
  background: rgba(44, 61, 46, 0.06);
  border-left: 3px solid var(--green);
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
.hubspot-form-wrapper .submitted-message p {
  margin: 0 0 var(--space-sm);
}
.hubspot-form-wrapper .submitted-message p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Pull Quotes - Review Extracts on Service Pages
   ============================================ */
.pull-quote {
  margin: var(--space-2xl) auto;
  padding: var(--space-xl) var(--space-lg);
  max-width: 720px;
  text-align: center;
  position: relative;
}
.pull-quote::before {
  content: """;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.25;
  font-weight: 400;
}
.pull-quote__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 var(--space-md);
  font-style: italic;
}
.pull-quote__attribution {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.pull-quote__attribution::before {
  content: "— ";
  color: var(--gold);
}
/* Optional: alternate inline style for use mid-paragraph */
.pull-quote--inline {
  border-left: 3px solid var(--gold);
  text-align: left;
  padding-left: var(--space-xl);
  margin: var(--space-xl) 0;
  max-width: 100%;
}
.pull-quote--inline::before {
  display: none;
}

/* ============================================
   Success / Thank You page
   ============================================ */
.success-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  margin: var(--space-xl) 0 var(--space-2xl);
  background: var(--black);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.success-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 3-up option cards */
.success-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0 var(--space-2xl);
}
@media (max-width: 768px) {
  .success-cta-grid {
    grid-template-columns: 1fr;
  }
}
.success-cta-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--offwhite);
  border: 1px solid rgba(26, 26, 24, 0.1);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.success-cta-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.success-cta-card__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}
.success-cta-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}
.success-cta-card__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 var(--space-md);
  flex-grow: 1;
}
.success-cta-card__arrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.success-cta-card:hover .success-cta-card__arrow {
  color: var(--green);
  transform: translateX(4px);
}

/* Script-style eyebrow variant (Amsterdam Four) */
.hero__eyebrow--script {
  font-family: 'Amsterdam', var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold-light);
  line-height: 1;
  display: inline-block;
  padding-bottom: 0.15em;
  margin-bottom: var(--space-xs);
}

/* ============================================
   INTERNAL PAGES (SOPs, team docs)
   ============================================ */

/* Internal nav - distinguish from public nav */
.nav--internal {
  background: var(--black);
  border-bottom: 1px solid rgba(184, 150, 110, 0.2);
}
.nav--internal .nav__link.active {
  color: var(--gold);
}
.nav__internal-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: var(--space-sm);
  padding-left: var(--space-sm);
  border-left: 1px solid rgba(184, 150, 110, 0.4);
  align-self: center;
  white-space: nowrap;
}
.nav__internal-pill {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 150, 110, 0.4);
  padding: 6px 14px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Internal hero - simple, solid, no flourishes */
.hero--internal {
  background: var(--text);
  position: relative;
  min-height: 280px;
}
.hero--internal .hero__overlay {
  background: transparent;
}
.hero--internal .hero__content {
  position: relative;
  z-index: 2;
}

/* Breadcrumbs for SOP pages */
.sop-crumbs {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.6);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4em;
}
.sop-crumbs a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sop-crumbs a:hover {
  color: var(--gold);
}
.sop-crumbs__sep {
  color: rgba(245, 243, 239, 0.3);
}

/* SOP directory grid */
.sop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.sop-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  background: var(--offwhite);
  border: 1px solid rgba(26, 26, 24, 0.1);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  min-height: 240px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sop-card--live {
  cursor: pointer;
}
.sop-card--live:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.sop-card--draft {
  opacity: 0.6;
  background: transparent;
  cursor: default;
}
.sop-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.sop-card__num {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.sop-card__status {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.sop-card__status--live {
  background: var(--gold);
  color: var(--offwhite);
}
.sop-card__status--draft {
  background: rgba(107, 103, 96, 0.15);
  color: var(--muted);
}
.sop-card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}
.sop-card__summary {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}
.sop-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid rgba(26, 26, 24, 0.08);
}
.sop-card__cta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.sop-card--draft .sop-card__cta {
  color: var(--muted);
}
.sop-card__arrow {
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.sop-card--live:hover .sop-card__arrow {
  transform: translateX(4px);
}

/* Run sheet block - clean and simple */
.sop-runsheet {
  background: var(--offwhite);
  border: 1px solid rgba(26, 26, 24, 0.12);
  padding: var(--space-xl);
  border-radius: 4px;
  max-width: 760px;
  margin: 0 auto;
}
.sop-runsheet__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}
.sop-runsheet__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.sop-runsheet__note {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin: 0;
  align-self: center;
}
.sop-runsheet__list {
  list-style: none;
  counter-reset: runsheet;
  padding: 0;
  margin: 0;
}
.sop-runsheet__list > li {
  position: relative;
  counter-increment: runsheet;
  padding: var(--space-md) 0 var(--space-md) 50px;
  border-bottom: 1px solid rgba(26, 26, 24, 0.08);
}
.sop-runsheet__list > li:last-child {
  border-bottom: none;
}
.sop-runsheet__list > li::before {
  content: counter(runsheet, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-md);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.sop-runsheet__list strong {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 4px;
}
.sop-runsheet__list small {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Standards (3 non-negotiables) */
.sop-standards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (max-width: 768px) {
  .sop-standards {
    grid-template-columns: 1fr;
  }
}
.sop-standard {
  background: var(--offwhite);
  padding: var(--space-lg);
  border-radius: 4px;
  border: 1px solid rgba(26, 26, 24, 0.1);
  position: relative;
}
.sop-standard__num {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}
.sop-standard__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}
.sop-standard p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Accordion (FAQ-style detail sections) */
.sop-accordion {
  margin: var(--space-xl) 0;
}
.sop-accordion__item {
  border-bottom: 1px solid rgba(26, 26, 24, 0.1);
  padding: 0;
}
.sop-accordion__item:first-child {
  border-top: 1px solid rgba(26, 26, 24, 0.1);
}
.sop-accordion__summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s ease;
}
.sop-accordion__summary::-webkit-details-marker {
  display: none;
}
.sop-accordion__summary:hover {
  color: var(--gold);
}
.sop-accordion__summary > span:first-child {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.sop-accordion__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.sop-accordion__chevron {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.2s ease;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
details[open] .sop-accordion__chevron {
  transform: rotate(45deg);
}
.sop-accordion__body {
  padding: 0 0 var(--space-lg) 56px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
}
.sop-accordion__body p {
  margin: 0 0 var(--space-md);
}
.sop-accordion__body ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.5em;
}
.sop-accordion__body ul li {
  margin-bottom: 6px;
  color: var(--text);
}
@media (max-width: 600px) {
  .sop-accordion__body {
    padding-left: 0;
  }
}

/* Code block templates */
.sop-template {
  background: var(--black);
  color: var(--offwhite);
  padding: var(--space-md) var(--space-lg);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  margin: var(--space-md) 0;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}
.sop-template code {
  font-family: inherit;
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Internal footer */
.footer--internal {
  background: var(--black);
  color: rgba(245, 243, 239, 0.7);
  padding: var(--space-lg) 0;
}
.footer__internal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.footer__internal-row a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer__internal-row a:hover {
  color: var(--gold);
}

/* Internal-specific heading overrides - keep it simple, sans-serif, smaller */
.hero--internal .hero__title--article {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero--internal .hero__title--article em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  vertical-align: baseline;
  padding: 0;
  display: inline;
}
.hero--internal .hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}
.hero--internal .hero__subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 300;
  max-width: 620px;
  color: rgba(245, 243, 239, 0.85);
}

/* Keep section headings simple on internal pages only */
body.internal-page .section-heading {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.005em;
  line-height: 1.25;
}
body.internal-page .section-heading em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: inherit;
  font-size: inherit;
}
body.internal-page .eyebrow {
  color: var(--muted);
}
body.internal-page .section-subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================
   SOP page - simplified, single-feature layout
   ============================================ */

/* Compact hero, gold accent line */
.sop-hero {
  background: var(--offwhite);
  padding: var(--space-xl) 0 var(--space-md);
  border-bottom: 1px solid rgba(26, 26, 24, 0.08);
}
.sop-hero .sop-crumbs {
  margin-bottom: var(--space-sm);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.sop-hero .sop-crumbs a {
  color: var(--text);
}
.sop-hero .sop-crumbs a:hover {
  color: var(--gold);
}
.sop-hero .sop-crumbs__sep {
  color: rgba(26, 26, 24, 0.3);
}
.sop-hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 var(--space-xs);
}
.sop-hero__subtitle {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 640px;
}

/* Feature section wrapper */
.sop-feature-section {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--offwhite);
}

/* Run sheet - feature variant with gold-on-black */
.sop-runsheet--feature {
  background: var(--black);
  color: var(--offwhite);
  border: none;
  border-left: 4px solid var(--gold);
  max-width: 900px;
  padding: var(--space-xl) var(--space-xl) var(--space-md);
}
.sop-runsheet--feature .sop-runsheet__header {
  border-bottom-color: rgba(245, 243, 239, 0.15);
}
.sop-runsheet--feature .sop-runsheet__title,
.sop-runsheet--feature h2.sop-runsheet__title,
body.internal-page .sop-runsheet--feature .sop-runsheet__title {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
  color: #f5f3ef !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
}
.sop-runsheet__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}
.sop-runsheet--feature .sop-runsheet__note {
  color: rgba(245, 243, 239, 0.55);
  font-size: 0.78rem;
}
.sop-runsheet--feature .sop-runsheet__list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sop-runsheet--feature .sop-runsheet__list > li {
  padding: 0;
  border-bottom: 1px solid rgba(245, 243, 239, 0.1);
}
.sop-runsheet--feature .sop-runsheet__list > li:last-child {
  border-bottom: none;
}
.sop-runsheet--feature .sop-runsheet__list > li::before {
  content: none;
}

/* Each step - expandable */
.sop-step {
  width: 100%;
}
.sop-step__summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-md) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  user-select: none;
}
.sop-step__summary::-webkit-details-marker {
  display: none;
}
.sop-step__summary:hover .sop-step__main strong {
  color: var(--gold-light);
}
.sop-step__num {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  width: 32px;
  padding-top: 2px;
}
.sop-step__main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sop-runsheet--feature .sop-step__main strong,
.sop-step__main strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: #f5f3ef;
  transition: color 0.2s ease;
  display: block;
}
.sop-runsheet--feature .sop-step__main small,
.sop-step__main small {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(245, 243, 239, 0.75);
  display: block;
}
.sop-step__chevron {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  width: 20px;
  text-align: center;
  line-height: 1;
  padding-top: 6px;
  transition: transform 0.2s ease;
}
details[open] > .sop-step__summary .sop-step__chevron {
  transform: rotate(45deg);
}
.sop-step__body {
  padding: 0 0 var(--space-lg) 48px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(245, 243, 239, 0.85);
}
.sop-step__body p {
  margin: 0 0 var(--space-sm);
}
.sop-step__body p:last-child {
  margin-bottom: 0;
}
.sop-step__body strong {
  font-weight: 600;
  color: var(--offwhite);
}
.sop-step__body ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.4em;
  list-style: disc;
  counter-reset: none;
}
.sop-step__body ul li {
  margin-bottom: 4px;
  color: rgba(245, 243, 239, 0.85);
  counter-increment: none;
  padding-left: 0;
}
.sop-step__body ul li::before {
  content: none;
}
.sop-step__body ul li::marker {
  color: rgba(184, 150, 110, 0.7);
}
.sop-step__body .sop-template {
  background: rgba(245, 243, 239, 0.06);
  border-left: 2px solid var(--gold);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(245, 243, 239, 0.95);
  white-space: pre-wrap;
  border-radius: 2px;
  overflow-x: auto;
}
.sop-step__body .sop-template code {
  background: transparent;
  padding: 0;
  color: inherit;
}

@media (max-width: 600px) {
  .sop-runsheet--feature {
    padding: var(--space-lg) var(--space-md) var(--space-sm);
  }
  .sop-step__summary {
    gap: var(--space-sm);
  }
  .sop-step__num {
    width: 26px;
  }
  .sop-step__body {
    padding-left: 38px;
  }
}

/* Compact sign-off */
.sop-signoff {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--offwhite);
  border-top: 1px solid rgba(26, 26, 24, 0.08);
  text-align: center;
}
.sop-signoff__line {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 var(--space-md);
}
.sop-back-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.sop-back-link:hover {
  color: var(--gold);
}

/* Compact internal directory hero too */
body.internal-page .hero--internal {
  min-height: auto;
  padding: var(--space-2xl) 0 var(--space-xl);
}

/* Mantra block - "Remember" reminder above the run sheet */
.sop-mantra {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, rgba(184, 150, 110, 0.12) 0%, rgba(184, 150, 110, 0.04) 100%);
  border: 1px solid rgba(184, 150, 110, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  text-align: center;
}
.sop-mantra__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}
.sop-mantra__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  font-style: italic;
}
.sop-mantra__accent {
  font-weight: 600;
  color: var(--gold);
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .sop-mantra {
    padding: var(--space-md) var(--space-lg);
  }
}
