/* ============================================================
   PALOMINO CONSTRUCTION & DESIGN CONSULTING
   styles.css — Residential Construction Consulting
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  /* Architectural blue palette */
  --blue-void:    #050D15;
  --blue-deep:    #091828;
  --blue-dark:    #0D2235;
  --blue-mid:     #1B4F72;
  --blue-bright:  #2E86AB;
  --blue-accent:  #4FAED4;
  --blue-glow:    rgba(46,134,171,0.22);

  /* Backgrounds */
  --bg-white:     #FFFFFF;
  --bg-off:       #F7F6F3;
  --bg-stone:     #EEECEA;
  --bg-concrete:  #E2E0DC;

  /* Warm tones */
  --warm-concrete: #C4B5A0;
  --wood:          #C8955A;

  /* Darks */
  --charcoal:     #2C2C2C;
  --carbon:       #1A1A1A;
  --void:         #0A0A0A;

  /* Grays */
  --slate:        #6B7280;
  --slate-lt:     #9AABB8;
  --stone-gray:   #8A9BAD;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h:   80px;
  --gutter:  clamp(20px, 5vw, 96px);
  --pad-y:   clamp(80px, 10vw, 140px);
  --max-w:   1440px;
  --prose:   680px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.76, 0, 0.24, 1);
  --dur:      0.8s;
}

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

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

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.65;
}

img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
ol,ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
strong { font-weight: 500; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--pad-y); }

/* ── Skip Nav ────────────────────────────────────────────── */
.skip-nav {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--blue-mid);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: top 0.2s;
}
.skip-nav:focus { top: 1rem; }

/* ── Focus Styles ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

/* ── Typography Utilities ────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--blue-bright);
  flex-shrink: 0;
}
.section-label.light { color: var(--blue-accent); }
.section-label.light::before { background: var(--blue-accent); }

.section-header.center { text-align: center; max-width: 700px; margin-inline: auto; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--carbon);
  margin-bottom: 1.1rem;
}
.section-heading em { font-style: italic; color: var(--blue-mid); }
.section-heading.light { color: #fff; }
.section-heading.light em { color: var(--blue-accent); }

.section-subtext {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate);
  max-width: var(--prose);
  margin-inline: auto;
}

.body-text {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--slate);
  margin-bottom: 1.4rem;
}

.section-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--bg-stone);
  flex-wrap: wrap;
}
.section-cta p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--slate);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--blue-bright);
  color: #fff;
  padding: 0.9rem 1.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--blue-bright);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: none;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-105%);
  transition: transform 0.45s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(46,134,171,0.28);
}
.btn-primary.light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-primary.light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.65); box-shadow: none; }
.btn-primary.btn-lg { padding: 1.05rem 2.2rem; font-size: 0.8rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  color: #fff;
  padding: 0.9rem 1.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.28);
  transition: all 0.3s var(--ease-out);
  cursor: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.btn-secondary.btn-lg { padding: 1.05rem 2.2rem; font-size: 0.8rem; }

.btn-icon { transition: transform 0.3s var(--ease-out); flex-shrink: 0; }
.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  transition: gap 0.3s var(--ease-out), color 0.3s;
  cursor: none;
}
.text-link:hover { gap: 0.85rem; color: var(--blue-bright); }

/* ── Custom Cursor ───────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: normal;
}
.cursor-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--blue-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid rgba(79,174,212,0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}
.cursor.hovering .cursor-dot { width: 8px; height: 8px; background: var(--blue-bright); }
.cursor.hovering .cursor-ring { width: 50px; height: 50px; border-color: rgba(79,174,212,0.3); }
.cursor.clicking .cursor-ring { width: 24px; height: 24px; }

/* ── Loader ──────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--blue-void);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.loader-mark {
  width: 56px; height: 56px;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.1s forwards;
}
.loader-wordmark {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.25s forwards;
}
.loader-sub {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.35s forwards;
}
.loader-bar {
  width: 140px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 0.75rem;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.4s ease 0.5s forwards;
}
.loader-fill {
  height: 100%;
  background: var(--blue-accent);
  width: 0;
  transition: width 1.2s var(--ease-out);
}

/* ── Floating CTA ────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: all; }

.floating-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-bright);
  color: #fff;
  padding: 0.75rem 1.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: none;
}
.floating-btn:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.28); }
.floating-btn--secondary { background: var(--charcoal); }
.floating-btn--secondary:hover { background: var(--carbon); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s, padding 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: var(--nav-h);
  transition: height 0.3s;
}
.nav.scrolled {
  background: rgba(5,13,21,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav.scrolled .nav-inner { height: 64px; }

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-right: auto;
  cursor: none;
}
.nav-logo-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
  cursor: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--blue-accent);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  flex-shrink: 0;
  font-size: 0.7rem !important;
  padding: 0.65rem 1.3rem !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 6px;
  background: none;
  border: none;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5,13,21,0.98);
  backdrop-filter: blur(24px);
  z-index: 98;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-io);
}
.nav-mobile.open { transform: translateX(0); }

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 3rem;
}
.nav-mobile nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
  transition: color 0.25s;
  cursor: none;
}
.nav-mobile nav a:hover { color: var(--blue-accent); }

.mobile-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
  cursor: none;
}
.mobile-phone:hover { color: #fff; }

.mobile-credentials {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  text-align: center;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-void);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-blueprint {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s var(--ease-out) 0.6s;
}
.hero-blueprint.visible { opacity: 1; }

/* Blueprint draw animation */
.bp {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
}
.blueprint-active .bp {
  animation: drawPath 1.4s var(--ease-out) var(--d, 0s) forwards;
}
@keyframes drawPath { to { stroke-dashoffset: 0; } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,13,21,0.88) 0%, rgba(5,13,21,0.5) 55%, rgba(5,13,21,0.25) 100%),
    linear-gradient(to bottom, rgba(5,13,21,0.3) 0%, rgba(5,13,21,0) 30%, rgba(5,13,21,0.8) 100%);
  z-index: 1;
}
.hero-glow {
  position: absolute;
  top: 40%; left: 30%;
  transform: translate(-50%, -50%);
  width: 70vw; height: 60vh;
  background: radial-gradient(ellipse at center, rgba(46,134,171,0.1) 0%, rgba(46,134,171,0.03) 55%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem));
  padding-bottom: clamp(5rem, 10vw, 9rem);
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1.75rem;
}
.eyebrow-line {
  display: block;
  width: 2.5rem; height: 1px;
  background: var(--blue-accent);
}

.hero-heading {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.75rem;
}
.hero-heading em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

.hero-subtext {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-cred {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
.hero-cred svg { color: var(--blue-accent); flex-shrink: 0; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.scroll-cue span {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.scroll-cue-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.28), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite 2.5s;
}

/* Hero animate-up */
.au {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp var(--dur) var(--ease-out) var(--d, 0s) forwards;
}

/* ── About ───────────────────────────────────────────────── */
.about { background: var(--bg-off); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-visual { position: relative; }

.about-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.about-photo-img {
  width: 100%; height: 100%;
  background:
    linear-gradient(180deg, rgba(9,24,40,0) 0%, rgba(9,24,40,0.35) 100%),
    linear-gradient(160deg, #263444 0%, #384f66 30%, #46617a 55%, #304558 75%, #1e3045 100%);
  transition: transform 0.9s var(--ease-out);
}
.about-photo:hover .about-photo-img { transform: scale(1.04); }
.about-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,79,114,0.12), transparent);
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: var(--blue-mid);
  color: #fff;
  padding: 1.5rem 1.75rem;
  min-width: 170px;
}
.about-badge-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.about-badge-num sup { font-size: 1.2rem; }
.about-badge-text {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.about-corner-accent {
  position: absolute;
  top: -1.25rem; right: -1.25rem;
  width: 70px; height: 70px;
  border-top: 2px solid var(--blue-accent);
  border-right: 2px solid var(--blue-accent);
  opacity: 0.4;
}

.about-content { padding-bottom: 1.5rem; }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
  margin: 1.75rem 0 2rem;
}
.expertise-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--charcoal);
}
.e-dot {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}

/* ── Services ────────────────────────────────────────────── */
.services { background: var(--bg-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--bg-stone);
}

.svc-card {
  background: var(--bg-white);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease-out);
  cursor: none;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--blue-bright);
  transition: height 0.4s var(--ease-out);
}
.svc-card:hover::before { height: 100%; }
.svc-card:hover { background: var(--bg-off); }

.svc-num {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--bg-stone);
  line-height: 1;
  transition: color 0.4s;
  pointer-events: none;
  user-select: none;
}
.svc-card:hover .svc-num { color: var(--bg-concrete); }

.svc-icon {
  margin-bottom: 1.5rem;
  color: var(--blue-bright);
  transition: color 0.3s;
}
.svc-card:hover .svc-icon { color: var(--blue-mid); }

.svc-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--carbon);
  margin-bottom: 0.8rem;
}
.svc-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.svc-items {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease-out), opacity 0.4s var(--ease-out);
}
.svc-card:hover .svc-items { max-height: 220px; opacity: 1; }
.svc-items li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--charcoal);
}
.svc-items li::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--blue-bright);
  flex-shrink: 0;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-top: 1.25rem;
  transition: gap 0.3s var(--ease-out), color 0.25s;
  cursor: none;
}
.svc-link:hover { gap: 0.75rem; }

/* ── Design & Construction Plans ────────────────────────── */
.plans-section {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

.plans-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left column */
.plans-content .body-text { max-width: 44ch; }

.plans-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.plan-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ph-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  background: rgba(79,174,212,0.05);
}

.plan-highlight strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.plan-highlight span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Right column — deliverables list */
.plans-deliverables {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
}

.deliverables-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1.5rem;
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dl-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.dl-item:last-child { border-bottom: none; }

.dl-num {
  flex-shrink: 0;
  width: 2.6rem;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-accent);
  background: rgba(79,174,212,0.08);
  border: 1px solid rgba(79,174,212,0.18);
  border-radius: 4px;
  padding: 0.3rem 0.2rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.dl-item strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.dl-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 1024px) {
  .plans-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .plans-deliverables { padding: 1.5rem; }
}

/* ── Why Us ──────────────────────────────────────────────── */
.why-us {
  background: var(--carbon);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.018) 80px, rgba(255,255,255,0.018) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.018) 80px, rgba(255,255,255,0.018) 81px);
  pointer-events: none;
}

.why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.why-intro {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.48);
  padding-top: 0.5rem;
  align-self: end;
}

/* Comparison table */
.comparison { margin-bottom: clamp(3rem, 5vw, 5rem); }

.comparison-head {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
  padding-bottom: 0.85rem;
}
.comparison-col { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.comparison-col.traditional { color: rgba(255,255,255,0.28); text-align: right; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 0.85rem; }
.comparison-col.meridian { color: var(--blue-accent); border-bottom: 1px solid var(--blue-accent); padding-bottom: 0.85rem; }
.comparison-col-topic { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 0.85rem; }

.comparison-rows { display: flex; flex-direction: column; }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.25s;
}
.comparison-row:hover { background: rgba(255,255,255,0.02); }

.c-trad {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.3);
}
.c-topic {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  position: relative;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.07);
}
.c-merid {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 4vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.benefit {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, background 0.3s;
}
.benefit:hover {
  border-color: rgba(79,174,212,0.28);
  background: rgba(79,174,212,0.04);
}
.benefit-icon { color: var(--blue-accent); margin-bottom: 1rem; }
.benefit h3 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.benefit p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
}

/* ── Process ─────────────────────────────────────────────── */
.process { background: var(--bg-off); }

.process-wrap { position: relative; }

.process-track {
  position: absolute;
  top: 1.25rem; /* aligns to center of marker */
  left: 0; right: 0;
  height: 1px;
  z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(46,134,171,0.25) 0, rgba(46,134,171,0.25) 8px, transparent 8px, transparent 18px);
  overflow: hidden;
}
.process-track-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--blue-bright);
  width: 0;
  transition: width 2s var(--ease-out);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.process-step { text-align: center; cursor: none; }
.process-marker {
  width: 2.5rem; height: 2.5rem;
  border: 1.5px solid var(--blue-bright);
  background: var(--bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}
.process-marker span {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--blue-bright);
  transition: color 0.3s;
  letter-spacing: 0.05em;
}
.process-step:hover .process-marker { background: var(--blue-bright); }
.process-step:hover .process-marker span { color: #fff; }

.process-step h3 {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--carbon);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.process-step p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--slate);
}

/* ── Gallery ─────────────────────────────────────────────── */
.gallery { background: var(--bg-white); }
.gallery .section-header { margin-bottom: 3rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.gi { margin: 0; overflow: hidden; position: relative; cursor: none; }
.gi-wrap { width: 100%; height: 100%; min-height: 260px; position: relative; overflow: hidden; }
.gi-wrap > *:first-child { /* the background div */
  width: 100%; height: 100%; min-height: 260px;
  transition: transform 0.7s var(--ease-out);
}
.gi:hover .gi-wrap > *:first-child { transform: scale(1.06); }

.gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,13,21,0.72) 0%, rgba(5,13,21,0.15) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gi:hover .gi-overlay { opacity: 1; }
.gi figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gi-cat {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-accent);
}
.gi-name {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
}

/* Gallery layout — 12-column, 3-row masonry fill */
.gi-1 { grid-column: 1/8;  grid-row: 1; }       /* large horizontal */
.gi-2 { grid-column: 8/13; grid-row: 1/3; }      /* tall right, spans 2 rows */
.gi-3 { grid-column: 1/5;  grid-row: 2; }
.gi-4 { grid-column: 5/8;  grid-row: 2; }
.gi-5 { grid-column: 1/5;  grid-row: 3; }
.gi-6 { grid-column: 5/9;  grid-row: 3; }
.gi-7 { grid-column: 9/13; grid-row: 3; }

/* Gallery image gradients — replace with real photography */
.gi-1 .gi-wrap { background: linear-gradient(160deg, #1e2d3e 0%, #2d4458 30%, #3a5570 55%, #2a3f55 75%, #18293a 100%); }
.gi-2 .gi-wrap {
  background: linear-gradient(160deg, #7baec0 0%, #b8967a 35%, #a88462 55%, #8b7355 100%);
  min-height: 524px;
}
.gi-3 .gi-wrap { background: linear-gradient(135deg, #f0ebe5 0%, #e4ddd5 40%, #d4c9be 75%, #c4b8ab 100%); }
.gi-4 .gi-wrap { background: linear-gradient(135deg, #0a1e35 0%, #1a4f72 50%, #1e6a9a 100%); }
.gi-5 .gi-wrap { background: linear-gradient(135deg, #8b7355 0%, #a08868 35%, #957a60 65%, #7a6248 100%); }
.gi-6 .gi-wrap { background: linear-gradient(160deg, #1a1e28 0%, #222b36 40%, #1c2530 80%, #121820 100%); }
.gi-7 .gi-wrap { background: linear-gradient(135deg, #e8e0d8 0%, #d4cbc2 40%, #c4b8ad 70%, #b8a89a 100%); }

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--charcoal);
  padding-block: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-icon { color: var(--blue-accent); flex-shrink: 0; }
.trust-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}
.trust-sub {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}
.trust-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.1);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { background: var(--bg-off); }

.testi-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.testi-nav { display: flex; gap: 0.65rem; }
.testi-nav button {
  width: 44px; height: 44px;
  border: 1px solid var(--bg-concrete);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: all 0.3s;
  cursor: none;
}
.testi-nav button:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }

.testi-viewport { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s var(--ease-io);
}

.testi-card {
  background: var(--bg-white);
  padding: 2.5rem;
  width: 420px;
  flex-shrink: 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s;
}
.testi-card:hover { border-color: var(--blue-bright); }

.testi-stars {
  color: var(--wood);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.testi-card blockquote {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--carbon);
  margin-bottom: 1.75rem;
  quotes: none;
  overflow-wrap: break-word;
  word-break: break-word;
}
.testi-card blockquote::before { content: '"'; font-size: 1.5em; color: var(--bg-concrete); line-height: 0; vertical-align: -0.3em; margin-right: 0.1em; }
.testi-card blockquote::after  { content: '"'; font-size: 1.5em; color: var(--bg-concrete); line-height: 0; vertical-align: -0.3em; margin-left: 0.1em; }

.testi-card footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, #7baec0, #1b4f72); }
.av-2 { background: linear-gradient(135deg, #a08868, #2c2c2c); }
.av-3 { background: linear-gradient(135deg, #4faed4, #0d2235); }
.av-4 { background: linear-gradient(135deg, #c8955a, #8b7355); }
.av-5 { background: linear-gradient(135deg, #6b7280, #1a1a1a); }

.testi-name { font-size: 0.82rem; font-weight: 500; color: var(--carbon); margin-bottom: 0.2rem; }
.testi-loc { font-size: 0.7rem; font-weight: 300; color: var(--slate); letter-spacing: 0.04em; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--bg-white); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.faq-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.faq-sidebar .body-text { margin-top: 1.25rem; }

.faq-list { border-top: 1px solid var(--bg-stone); }

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--carbon);
  line-height: 1.45;
  background: none;
  border: none;
  cursor: none;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--blue-mid); }
.faq-q span:first-child { flex: 1; }

.faq-icon {
  width: 26px; height: 26px;
  border: 1px solid var(--bg-concrete);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.faq-icon svg { transition: transform 0.3s var(--ease-out); color: var(--charcoal); }
.faq-item.open .faq-icon { background: var(--blue-bright); border-color: var(--blue-bright); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); color: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--slate);
}

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: var(--blue-void);
}
.final-cta-bg { position: absolute; inset: 0; }
.cta-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(79,174,212,0.055) 40px, rgba(79,174,212,0.055) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(79,174,212,0.055) 40px, rgba(79,174,212,0.055) 41px);
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vh;
  background: radial-gradient(ellipse, rgba(46,134,171,0.15) 0%, rgba(46,134,171,0.04) 50%, transparent 70%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: var(--pad-y);
}
.cta-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1.5rem;
}
.cta-label-line { display: block; width: 3rem; height: 1px; background: var(--blue-accent); opacity: 0.5; }
.cta-heading {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cta-heading em { font-style: italic; color: var(--blue-accent); }
.cta-text {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.48);
  max-width: 580px;
  margin: 0 auto 3rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 0.25s;
  cursor: none;
}
.btn-phone:hover { color: #fff; }
.cta-note {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--void);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 1.5rem;
  cursor: none;
}
.footer-logo-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}
.footer-logo-sub {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  line-height: 1;
}

.footer-tagline {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.75rem;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: all 0.3s;
  cursor: none;
}
.footer-social a:hover { border-color: var(--blue-accent); color: var(--blue-accent); }

.footer-col-h {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a, .footer-links span {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s;
  line-height: 1.4;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-contact-links a, .footer-contact-links span {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.footer-contact-links svg { margin-top: 0.12rem; flex-shrink: 0; }
.footer-loc { color: rgba(255,255,255,0.3) !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  gap: 2rem;
}
.footer-legal a {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  transition: color 0.25s;
  letter-spacing: 0.04em;
  cursor: none;
}
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

.footer-license {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.06em;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.28; transform: scaleY(1); }
  50%      { opacity: 0.65; transform: scaleY(0.7); }
}

/* ── Responsive — 1200px ─────────────────────────────────── */
@media (max-width: 1200px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-track { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive — 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 500px; margin-inline: auto; }
  .why-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr; gap: 0.25rem; padding: 1rem 0; }
  .c-trad { text-align: left; font-size: 0.78rem; color: rgba(255,255,255,0.22); }
  .c-trad::before { content: 'Traditional: '; font-weight: 500; }
  .c-topic { border: none; padding: 0; text-align: left; font-size: 0.65rem; color: var(--blue-accent); letter-spacing: 0.18em; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* ── Responsive — 768px ──────────────────────────────────── */
@media (max-width: 768px) {
  :root { --gutter: clamp(16px, 5vw, 28px); --pad-y: clamp(60px, 10vw, 90px); }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { max-width: 100%; }

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

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

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

  /* Gallery — tablet */
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gi-1 { grid-column: 1/5; grid-row: 1; }
  .gi-2 { grid-column: 3/5; grid-row: 2/4; }
  .gi-3 { grid-column: 1/3; grid-row: 2; }
  .gi-4 { grid-column: 1/3; grid-row: 3; }
  .gi-5 { grid-column: 1/3; grid-row: 4; }
  .gi-6 { grid-column: 3/5; grid-row: 4; }
  .gi-7 { display: none; }
  .gi-2 .gi-wrap { min-height: 520px; }

  .testi-card { width: 300px; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; padding-bottom: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1.5rem; }

  .floating-cta { bottom: 1rem; right: 1rem; }

  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Responsive — 480px ──────────────────────────────────── */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { justify-content: center; }
  .hero-creds { gap: 1rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; text-align: left; align-items: start; }
  .process-marker { margin: 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .trust-divider { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .gi-1 { grid-column: 1/3; grid-row: 1; }
  .gi-2 { grid-column: 2/3; grid-row: 2/4; }
  .gi-3 { grid-column: 1/2; grid-row: 2; }
  .gi-4 { grid-column: 1/2; grid-row: 3; }
  .gi-5 { grid-column: 1/3; grid-row: 4; }
  .gi-6 { display: none; } .gi-7 { display: none; }
  .gi-2 .gi-wrap { min-height: 260px; }
}

/* ── Breadcrumb (inner pages) ────────────────────────────── */
.breadcrumb {
  background: var(--bg-off);
  border-bottom: 1px solid var(--bg-stone);
  margin-top: var(--nav-h);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-block: 0.9rem;
  font-size: 0.74rem;
  color: var(--slate);
}
.breadcrumb-inner a { color: var(--blue-mid); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--blue-bright); }
.breadcrumb-inner span[aria-current] { color: var(--charcoal); }
.breadcrumb-sep { color: var(--slate-lt); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  min-height: auto;
  display: block;
  background: var(--blue-void);
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  top: -10%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(ellipse at center, rgba(46,134,171,0.16) 0%, rgba(46,134,171,0.04) 55%, transparent 72%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  max-width: 760px;
}
.page-hero-content .hero-eyebrow,
.page-hero-content .hero-heading,
.page-hero-content .hero-subtext,
.page-hero-content .hero-ctas,
.page-hero-content .hero-creds { margin-bottom: 0; }
.page-hero-content .hero-eyebrow { margin-bottom: 1.5rem; }
.page-hero-content .hero-heading { margin-bottom: 1.5rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero-content .hero-subtext { margin-bottom: 2.25rem; }

/* ── Locations chip list ─────────────────────────────────── */
.locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0.5rem;
}
.location-chip {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--blue-mid);
  background: var(--bg-off);
  border: 1px solid var(--bg-stone);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ── Related services ─────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.related-card {
  display: block;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--bg-stone);
  transition: border-color 0.25s, background 0.25s;
}
.related-card:hover { border-color: var(--blue-bright); background: var(--bg-off); }
.related-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.related-card-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 0.85rem;
}
.related-card-arrow {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.related-card:hover .related-card-arrow { gap: 0.65rem; }

/* ── Footer guides row ────────────────────────────────────── */
.footer-guides {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-guides-h {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1rem;
}
.footer-guides-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}
.footer-guides-links a {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s;
}
.footer-guides-links a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

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

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .floating-cta, .nav, .scroll-cue, .cursor, #loader, .nav-mobile { display: none !important; }
  .hero { min-height: auto; padding-block: 4rem; }
  body { color: #000; background: #fff; }
}
