/* ============================================
   1921 EMBROIDERY — Design System
   Modern, SEO-optimized, Hanford CA
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');

/* --- Custom Properties --- */
:root {
  /* Brand Palette — per 1921 Brand Book */
  --snow: #f8f9fa;          /* Snow White */
  --platinum: #e9ecef;      /* Silver Mist */
  --alabaster: #dee2e6;     /* Pearl */
  --pale-slate-light: #ced4da; /* Ash */
  --pale-slate: #adb5bd;    /* Pewter */
  --slate-grey: #6c757d;    /* Slate */
  --iron-grey: #495057;     /* Charcoal */
  --gunmetal: #343a40;      /* Graphite */
  --shadow-grey: #212529;   /* Obsidian */

  /* Functional Colors */
  --bg-primary: var(--snow);
  --bg-secondary: var(--platinum);
  --bg-dark: var(--shadow-grey);
  --text-primary: var(--shadow-grey);
  --text-secondary: var(--iron-grey);
  --text-muted: var(--slate-grey);
  --text-light: var(--platinum);
  --border-color: var(--alabaster);
  --accent: var(--gunmetal);

  /* Typography — DM Serif Display (headings) + Inter (body) */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: -0.01em;
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 600;
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 65ch;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-xl) 0;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.12s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  border-color: var(--border-color);
  background: rgba(248, 249, 250, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--text-primary);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__cta {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  background: var(--shadow-grey);
  color: var(--snow) !important;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background: var(--iron-grey);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast) var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      var(--pale-slate) 60px,
      var(--pale-slate) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      var(--pale-slate) 60px,
      var(--pale-slate) 61px
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: var(--space-xl) clamp(1.25rem, 4vw, 3rem);
}

.hero__label {
  display: inline-block;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.3s forwards;
}

.hero__title {
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.5s forwards;
}

.hero__title em {
  font-style: normal;
  font-weight: 300;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-muted);
  max-width: 55ch;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pale-slate);
  font-weight: 500;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--pale-slate-light);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--iron-grey);
  animation: scrollLine 2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--shadow-grey);
  color: var(--snow);
  border-radius: 100px;
}

.btn--primary:hover {
  background: var(--iron-grey);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(33, 37, 41, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--pale-slate);
  border-radius: 100px;
}

.btn--outline:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  letter-spacing: 0.08em;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn--ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header__label {
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster);
}

.service-card {
  background: var(--bg-primary);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  transition: background var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  background: var(--platinum);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--alabaster);
  line-height: 1;
  margin-bottom: var(--space-md);
  transition: color var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card__number {
  color: var(--pale-slate);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   ABOUT / SPLIT SECTION
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--platinum);
}

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

.split__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--alabaster);
  pointer-events: none;
}

.split__content {
  padding: var(--space-lg) 0;
}

.split__content .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.split__content h2 {
  margin-bottom: var(--space-md);
}

.split__content p {
  margin-bottom: var(--space-md);
}

/* ============================================
   STATS / NUMBERS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster);
}

.stat {
  background: var(--bg-primary);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.process-step {
  padding: var(--space-md) 0;
  border-top: 1.5px solid var(--shadow-grey);
  position: relative;
}

.process-step__number {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.testimonials-section .label {
  color: var(--pale-slate);
}

.testimonials-section h2 {
  color: var(--snow);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  background: var(--iron-grey);
}

.testimonial {
  background: var(--bg-dark);
  padding: clamp(2rem, 3vw, 3rem);
}

.testimonial__stars {
  color: var(--pale-slate);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  font-weight: 400;
  font-style: normal;
  color: var(--platinum);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.testimonial__author {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pale-slate);
}

.testimonial__author strong {
  color: var(--snow);
  font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--bg-dark);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(173, 181, 189, 0.06) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cta-section h2 {
  color: var(--snow);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--pale-slate);
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
}

.cta-section .btn--primary {
  background: var(--snow);
  color: var(--shadow-grey);
  border-radius: 100px;
}

.cta-section .btn--primary:hover {
  background: var(--platinum);
  box-shadow: 0 8px 30px rgba(248, 249, 250, 0.15);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-info__item {
  margin-bottom: var(--space-lg);
}

.contact-info__item .label {
  margin-bottom: 0.5rem;
  display: block;
}

.contact-info__item p {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.contact-info__item a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--pale-slate);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.contact-info__item a:hover {
  border-color: var(--text-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--alabaster);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--text-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236c757d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--shadow-grey);
  color: var(--pale-slate);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  color: var(--slate-grey);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pale-slate);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--slate-grey);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--snow);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--slate-grey);
}

.footer__social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer__social a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--slate-grey);
  transition: color var(--duration-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer__social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Footer logo */
.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* ============================================
   PAGE-SPECIFIC: SERVICES PAGE
   ============================================ */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  background: var(--bg-primary);
  position: relative;
}

.page-hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      var(--pale-slate) 60px,
      var(--pale-slate) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      var(--pale-slate) 60px,
      var(--pale-slate) 61px
    );
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  max-width: 700px;
}

.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--alabaster);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__content .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.service-detail__content h3 {
  margin-bottom: var(--space-sm);
}

.service-detail__content p {
  margin-bottom: var(--space-md);
}

.service-detail__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.service-detail__features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.service-detail__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1.5px;
  background: var(--text-primary);
}

.service-detail__visual {
  aspect-ratio: 4/3;
  background: var(--platinum);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-detail__visual svg {
  width: 60%;
  max-width: 200px;
  height: auto;
  opacity: 0.15;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

/* Pricing hint */
.pricing-note {
  background: var(--platinum);
  padding: var(--space-xl);
  text-align: center;
}

.pricing-note h3 {
  margin-bottom: var(--space-sm);
}

.pricing-note p {
  margin: 0 auto var(--space-md);
}

/* ============================================
   PAGE-SPECIFIC: ABOUT PAGE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--alabaster);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-lg);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shadow-grey);
  transform: translateX(-50%);
  margin-left: 0.5px;
}

.timeline__year {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster);
}

.value-card {
  background: var(--bg-primary);
  padding: clamp(2rem, 3vw, 2.5rem);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PAGE-SPECIFIC: CONTACT PAGE
   ============================================ */
.map-embed {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--platinum);
  border: none;
  margin-bottom: var(--space-xl);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster);
  margin-bottom: var(--space-xl);
}

.contact-method {
  background: var(--bg-primary);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.contact-method__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method__title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-method__detail {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.contact-method__detail a {
  border-bottom: 1px solid var(--pale-slate);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.contact-method__detail a:hover {
  border-color: var(--text-primary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--alabaster);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-item__question:hover {
  color: var(--text-secondary);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.faq-item__icon::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  width: 1.5px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.active .faq-item__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}

.faq-item__answer p {
  padding-bottom: var(--space-md);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  overflow: hidden;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--alabaster);
  border-bottom: 1px solid var(--alabaster);
}

.marquee {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  font-style: normal;
  color: var(--alabaster);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee__separator {
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--pale-slate-light);
  padding: 0 0.5rem;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   AREA SERVED
   ============================================ */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.areas-list__tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--alabaster);
  transition: all var(--duration-fast) var(--ease-out);
}

.areas-list__tag:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.areas-list__tag--primary {
  background: var(--shadow-grey);
  color: var(--snow);
  border-color: var(--shadow-grey);
}

.areas-list__tag--primary:hover {
  background: var(--iron-grey);
  border-color: var(--iron-grey);
  color: var(--snow);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse {
    direction: ltr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--space-lg) 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right var(--duration-slow) var(--ease-out-expo);
    padding: 0;
    list-style: none;
  }

  .nav__links.active {
    right: 0;
  }

  .nav__links > li {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav__links > li > a {
    font-size: 1.25rem;
  }

  /* Services dropdown wrapper on mobile */
  .nav__dropdown {
    position: relative;
  }

  .nav__dropdown > a {
    font-size: 1.25rem !important;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    min-height: 90vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .map-embed {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   SERVICE DETAIL IMAGES
   ============================================ */
.service-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.service-detail__visual {
  position: relative;
}

/* Split section real images */
.split__image img {
  position: absolute;
  inset: 0;
}

/* ============================================
   BLOG STYLES
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster);
}

.blog-card {
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}

.blog-card__content {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex: 1;
}

/* Blog Article */
.article-header {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-lg);
  position: relative;
}

.article-header__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.article-header__meta span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  max-width: 800px;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.article-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.article-body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  max-width: none;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.article-body li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 3px solid var(--shadow-grey);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Service single page hero image */
.service-hero-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  position: relative;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Related services grid */
.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--alabaster);
  border: 1px solid var(--alabaster);
}

.related-service {
  background: var(--bg-primary);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: background var(--duration-normal) var(--ease-out);
}

.related-service:hover {
  background: var(--platinum);
}

.related-service__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.related-service__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Nav dropdown for services */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-primary);
  border: 1px solid var(--alabaster);
  padding: 0.75rem 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              visibility var(--duration-fast);
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

@media (min-width: 769px) {
  .nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.nav__dropdown-menu a::after {
  display: none !important;
}

.nav__dropdown-menu a:hover {
  background: var(--platinum);
}

@media (max-width: 768px) {
  .nav__dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    min-width: 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    z-index: auto !important;
  }
  .nav__dropdown.open .nav__dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 400px !important;
    padding: 0.75rem 0 0.25rem !important;
  }
  .nav__dropdown-menu a {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    padding: 0.45rem 0 !important;
    color: var(--pale-slate) !important;
    white-space: nowrap;
    text-align: center;
    display: block;
  }
  .nav__dropdown-menu a:hover {
    color: var(--text-primary) !important;
    background: none !important;
  }
  /* Arrow indicator on Services link */
  .nav__dropdown > a::after {
    display: inline-block !important;
    content: '' !important;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 8px;
    position: static !important;
    background: none !important;
    transition: transform 0.3s ease;
    bottom: auto !important;
    left: auto !important;
  }
  .nav__dropdown.open > a::after {
    transform: rotate(-135deg) translateY(-1px);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .related-services {
    grid-template-columns: 1fr;
  }
  .article-hero-image {
    aspect-ratio: 16/9;
  }
  .service-hero-image {
    aspect-ratio: 16/9;
  }
}
