/* =============================================================================
   TANDEM WORKS — World-Class Design System
   Warm Editorial × Refined Luxury
   ============================================================================= */

/* ---- Custom Properties ---- */
:root {
  --charcoal:   #2C2C2C;
  --gold:       #B8946A;
  --gold-light: #CEAA85;
  --gold-dark:  #9A7A54;
  --cream:      #F2EBE1;
  --offwhite:   #F9F5F0;
  --taupe:      #7A6A5A;
  --white:      #FFFFFF;
  --border:     #EDE8DF;
  --wa-green:   #25D366;

  --heading: 'Cormorant Garamond', Georgia, serif;
  --body:    'DM Sans', sans-serif;

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --container: 1280px;
  --radius:    4px;
  --radius-lg: 8px;
  --trans:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 4px 24px rgba(44,44,44,.08);
  --shadow-lg: 0 8px 48px rgba(44,44,44,.14);
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  color: var(--taupe);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; border: none; outline: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p  { color: var(--taupe); line-height: 1.8; }

/* ---- Utilities ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.section { padding: var(--sp-7) 0; }
.dark-section { background: var(--charcoal); }
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--white); }

.eyebrow {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }
.gold-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}
.section-header { margin-bottom: var(--sp-5); }
.section-header h2 { margin-bottom: 0; }
.section-header--light .eyebrow { color: var(--gold-light); }
.section-header--light h2 { color: var(--white); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.section-footer { text-align: center; margin-top: var(--sp-5); }
.view-all-link {
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--trans), border-color var(--trans);
}
.view-all-link:hover { color: var(--gold); border-color: var(--gold); }
.no-results { text-align: center; padding: var(--sp-7) 0; font-size: 1.125rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #3d3d3d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(44,44,44,.25); }
.btn-outline { border: 1.5px solid var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,148,106,.35); }
.btn-white { background: var(--white); color: var(--gold); font-weight: 600; }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-wa { background: var(--wa-green); color: var(--white); }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.3); }
.btn--full { width: 100%; justify-content: center; }

/* ---- Scroll Animations ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  transition: box-shadow var(--trans), backdrop-filter var(--trans);
}
.site-header.scrolled {
  box-shadow: 0 2px 32px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  background: rgba(44,44,44,.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 72px;
}

/* Logo */
.site-logo, .footer-logo {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.site-logo em, .footer-logo em {
  color: var(--gold);
  font-style: normal;
}
.site-logo img,
.site-logo .custom-logo { height: 44px !important; width: auto !important; max-width: 200px !important; display: block; }
.site-logo .custom-logo-link { display: flex; align-items: center; line-height: 0; }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.nav-menu li a, .nav-menu li > span {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color var(--trans);
  position: relative;
  padding-bottom: 4px;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--trans);
}
.nav-menu li a:hover, .nav-menu li.current-menu-item > a,
.nav-menu li.current-page-ancestor > a {
  color: var(--white);
}
.nav-menu li a:hover::after,
.nav-menu li.current-menu-item > a::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.btn-header-cta {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  transition: all var(--trans);
}
.btn-header-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  padding: 4px;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--white);
  transition: all var(--trans);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 75vh, 820px);
  background: var(--cream);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
}
.hero-content .eyebrow { display: flex; align-items: center; gap: 0.75rem; }
.hero-content .eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1.5px;
  background: var(--gold);
}
.hero-heading {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 0.875rem 0 1.25rem;
  color: var(--charcoal);
}
.hero-heading em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: clamp(0.9375rem, 1.5vw, 1.0625rem); line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-n {
  display: block;
  font-family: var(--heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--charcoal);
  line-height: 1;
}
.stat-l {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 3px;
}
.stat-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.hero:hover .hero-image img { transform: scale(1.02); }
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,44,44,.08) 0%, transparent 60%);
}

/* ============================================================
   TICKER STRIP
   ============================================================ */
.ticker-strip {
  background: var(--charcoal);
  padding: 12px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-family: var(--body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 0 2.5rem;
}
.ticker-dot { color: var(--gold); font-size: 0.875rem; align-self: center; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  overflow: hidden;
  transition: all var(--trans);
}
.service-card:hover { z-index: 1; box-shadow: var(--shadow-lg); }
.service-img { height: 220px; overflow: hidden; position: relative; }
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
}
.service-card:hover .service-img img { transform: scale(1.07); }
.service-card:hover .service-img-overlay { opacity: 1; }
.service-body { padding: 1.75rem 2rem 2rem; }
.service-num {
  font-family: var(--heading);
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}
.service-title { font-size: 1.25rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.875rem; line-height: 1.75; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.25rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: gap var(--trans), color var(--trans);
}
.service-link:hover { gap: 0.625rem; color: var(--gold-dark); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }

/* Filter */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-4);
}
.filter-btn {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  transition: all var(--trans);
  background: transparent;
}
.filter-btn:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.filter-btn.active { color: var(--charcoal); background: var(--gold); border-color: var(--gold); }

/* Portfolio Grid - Homepage (bento: 1 large left + 2×2 right) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 245px;
  gap: 12px;
}
.port-card {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #1a1410;
}
.port-card--large { grid-column: span 2; grid-row: span 2; }
.port-card--small { grid-column: span 1; grid-row: span 1; }

/* Portfolio Grid - Archive (6-col: 2 large + 3 small per group) */
.portfolio-grid--archive {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
}
.port-card--archive-lg {
  grid-column: span 3;
  height: 380px;
}
.port-card--archive-sm {
  grid-column: span 2;
  height: 260px;
}
.port-grid-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── Card link: absolute fills the whole card reliably ── */
.port-card-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  border-radius: inherit;
}

/* ── Image wrapper ── */
.port-card-img {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #1c1410;
}
.port-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.port-card:hover .port-card-img img { transform: scale(1.06); }

/* ── LARGE CARD: full-bleed + gradient overlay pinned to bottom ── */
.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10,6,3,.97) 0%,
    rgba(10,6,3,.48) 44%,
    transparent      70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.875rem 2rem;
  pointer-events: none;
  transition: background 0.3s ease;
}
.port-card--large:hover .port-overlay {
  background: linear-gradient(to top,
    rgba(10,6,3,.99) 0%,
    rgba(10,6,3,.62) 55%,
    rgba(10,6,3,.12) 100%
  );
}

/* ── SMALL CARD: dark info panel pinned to bottom ── */
.port-card-info {
  flex-shrink: 0;
  padding: 0.8125rem 1rem 0.9375rem;
  background: #1c1410;
  border-top: 1px solid rgba(255,255,255,.05);
  transition: background 0.25s ease;
}
.port-card--small:hover .port-card-info { background: #251c12; }

/* ── Text elements (shared between overlay & info panel) ── */
.port-cat {
  display: block;
  font-family: var(--body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.port-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 3px;
}
.port-card--large .port-title { font-size: clamp(1.125rem, 2vw, 1.5rem); }
.port-meta { font-size: 0.75rem; color: rgba(255,255,255,.5); line-height: 1.4; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-section { background: var(--offwhite); }

/* 2-col layout: left flex:1, right flex:3 */
.ba-layout {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* LEFT — info panel */
.ba-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ba-main-heading {
  margin: 0.625rem 0 0.875rem;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}
.ba-info .gold-rule { margin-bottom: 1.5rem; }

/* Per-slide info (hidden/shown via JS) */
.ba-slides-info { margin-bottom: 1.75rem; min-height: 80px; }
.ba-slide-info { display: none; }
.ba-slide-info.is-active { display: block; }
.ba-slide-heading {
  font-family: var(--heading);
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}
.ba-slide-desc {
  font-size: 0.9375rem;
  color: var(--taupe);
  line-height: 1.75;
  max-width: 340px;
}

/* RIGHT — slider column */
.ba-slider-col {
  flex: 3;
  min-width: 0;
  user-select: none;
}

/* Slides wrapper */
.ba-slides { position: relative; }
.ba-slide { display: none; }
.ba-slide.is-active { display: block; }

/* Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize;
  aspect-ratio: 16/9;
  touch-action: pan-y;
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-before img, .ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { clip-path: inset(0 50% 0 0); transition: clip-path 0s; }

.ba-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
}
.ba-badge--after { left: auto; right: 14px; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  touch-action: none;
}
.ba-handle-line { flex: 1; width: 2px; background: var(--gold); }
.ba-handle-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 2px 20px rgba(184,148,106,.55);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ba-handle:hover .ba-handle-circle { transform: scale(1.1); box-shadow: 0 4px 24px rgba(184,148,106,.7); }
.ba-handle-circle svg { pointer-events: none; }

.ba-hint {
  font-family: var(--body);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: center;
  margin-top: 0.75rem;
}

/* Dot navigation */
.ba-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 1.75rem;
}
.ba-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ba-dot.is-active { background: var(--gold); transform: scale(1.4); }
.ba-dot:hover:not(.is-active) { background: var(--gold-light); transform: scale(1.2); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: var(--sp-7) 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.testi-card {
  background: var(--charcoal);
  padding: 2.5rem;
  transition: background var(--trans);
}
.testi-card:hover { background: #333; }
.testi-stars { margin-bottom: 1.25rem; }
.star { color: rgba(255,255,255,.2); font-size: 0.875rem; letter-spacing: 2px; }
.star.filled { color: var(--gold); }
.testi-quote-mark {
  display: block;
  font-family: var(--heading);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}
.testi-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  font-style: italic;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.75rem;
}
.testi-footer { display: flex; align-items: center; gap: 0.875rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-avatar--initial {
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}
.testi-name { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.testi-loc  { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-top: 2px; }

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.blog-section { background: var(--cream); padding: var(--sp-7) 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--trans), transform var(--trans); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
  display: block;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-img-placeholder { height: 100%; background: var(--cream); }
.blog-cat {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 2px;
}
.blog-card-body { padding: 1.5rem 1.75rem 2rem; }
.blog-card-title { font-size: 1.0625rem; line-height: 1.4; margin-bottom: 0.875rem; }
.blog-card-title a { color: var(--charcoal); transition: color var(--trans); }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 0.875rem; line-height: 1.7; color: var(--taupe); margin-bottom: 1rem; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--taupe);
}
.read-time { color: var(--gold); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gold);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
}
.cta-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.cta-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.125rem;
}
.cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.8;
  margin-bottom: 2.75rem;
  max-width: none;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-cta {
  padding: 0.9375rem 2rem;
  font-size: 0.8125rem;
  min-width: 160px;
  justify-content: center;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wa-green);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.75rem 1.375rem;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: all var(--trans);
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,.5); animation: none; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.6); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--charcoal); padding: var(--sp-6) 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.75fr 2fr;
  gap: clamp(3rem, 5vw, 5rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem) var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-logo {
  font-size: 0.875rem;
  letter-spacing: 0.22em;
}
.footer-tagline { font-size: 0.875rem; font-style: italic; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--trans);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav-col h4 {
  font-family: var(--body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.footer-nav-col ul li,
.footer-nav-col .footer-menu li { margin-bottom: 0.625rem; }
.footer-nav-col .footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-nav-col ul li a, .footer-nav-col .footer-menu li a, .footer-contact a, .footer-contact span {
  font-size: 0.875rem;
  color: rgba(255,255,255,.45);
  display: block;
  transition: color var(--trans);
  margin-bottom: 0.5rem;
}
.footer-nav-col ul li a:hover, .footer-nav-col .footer-menu li a:hover, .footer-contact a:hover { color: var(--white); }
.footer-hours { color: var(--gold-light) !important; font-size: 0.75rem !important; }
.footer-wa-link {
  display: inline-block;
  font-size: 0.6875rem !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wa-green) !important;
  border-bottom: 1px solid var(--wa-green);
  padding-bottom: 1px;
  margin-top: 0.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  font-size: 0.6875rem;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--trans); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.inner-page { min-height: 60vh; }

/* Page Banner */
.page-banner {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.page-banner .eyebrow { margin-bottom: 0.5rem; }
.page-banner h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 0.75rem; }
.banner-sub { font-size: 1rem; max-width: 560px; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 0.875rem clamp(1.25rem, 4vw, 3rem);
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; list-style: none; }
.breadcrumbs li { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe); }
.breadcrumbs a { color: var(--taupe); transition: color var(--trans); }
.breadcrumbs a:hover { color: var(--gold); }
.bc-sep { color: var(--border); margin: 0 2px; }

/* Page / Post Content */
.page-content-section { background: var(--white); }
.page-content, .post-body {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.85;
}
.page-content h2, .post-body h2 { font-size: 1.875rem; margin: 2.5rem 0 1rem; }
.page-content h3, .post-body h3 { font-size: 1.375rem; margin: 2rem 0 0.875rem; }
.page-content p, .post-body p { margin-bottom: 1.5rem; }
.page-content ul, .post-body ul, .page-content ol, .post-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}
.page-content ol, .post-body ol { list-style: decimal; }
.page-content li, .post-body li { margin-bottom: 0.5rem; }
.post-tags { margin-top: 2rem; font-size: 0.875rem; }
.post-tags a { color: var(--gold); }

/* Post Hero */
.post-hero, .project-hero { position: relative; background: var(--charcoal); }
.post-hero-img, .project-hero-img { max-height: 520px; overflow: hidden; }
.post-hero-img img, .project-hero-img img { width: 100%; object-fit: cover; opacity: 0.6; }
.project-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,44,44,.8), rgba(44,44,44,.2) 60%, transparent); }
.post-hero-content, .project-hero-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
}
.post-cat, .project-cat {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 0.875rem;
}
.post-title, .project-title { color: var(--white); margin-bottom: 0.875rem; }
.project-scope-summary { color: rgba(255,255,255,.65); font-size: 0.9375rem; }
.post-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,.55); }
.meta-sep { opacity: 0.4; }
.post-content-wrap { background: var(--white); }
.post-content-wrap .post-body { padding: clamp(2.5rem, 5vw, 4rem) 0; margin: 0 auto; }

/* Project Detail */
.project-detail-section { background: var(--white); }
.project-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
.project-content { font-size: 1rem; line-height: 1.85; }
.project-content p { margin-bottom: 1.5rem; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 2rem; }
.project-gallery-item { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.project-gallery-item:hover img { transform: scale(1.04); }
.project-info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 96px;
}
.project-info-card h3 { font-size: 1.25rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.project-info-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--border); gap: 1rem; }
.project-info-row:last-child { border: none; }
.project-info-row dt { font-size: 0.75rem; color: var(--taupe); letter-spacing: 0.05em; }
.project-info-row dd { font-size: 0.875rem; font-weight: 500; color: var(--charcoal); text-align: right; }
.project-info-card .btn { margin-top: 1.25rem; }
.project-info-card .btn + .btn { margin-top: 0.625rem; }

/* Related */
.related-posts { background: var(--cream); }
.related-title { margin-bottom: var(--sp-4); }
.related-projects { padding: var(--sp-6) 0; }
.port-grid-small { gap: 10px; }

/* Blog Archive */
.blog-archive-section { background: var(--white); }

/* Contact */
.contact-section { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
.contact-form-title { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.5rem; }
.contact-form-sub { margin-bottom: 2.5rem; }

/* Form Styles */
.contact-form .form-row { display: grid; gap: 1.25rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.req { color: var(--gold); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--offwhite);
  font-size: 0.9375rem;
  color: var(--charcoal);
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,148,106,.1);
}
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6A5A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.125rem center; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #e05252; }
.form-footer { display: flex; flex-direction: column; gap: 0.75rem; }
.btn-submit { min-width: 200px; position: relative; overflow: hidden; }
.btn-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--gold-dark); opacity: 0; transition: opacity var(--trans); }
.btn-submit.is-loading .btn-label { opacity: 0; }
.btn-submit.is-loading .btn-loading { opacity: 1; }
.form-note { font-size: 0.8125rem; color: var(--taupe); }
.form-message { margin-top: 1rem; padding: 0.875rem 1.125rem; border-radius: var(--radius); font-size: 0.9375rem; display: none; }
.form-message.success { background: #f0faf4; color: #1a7a45; border: 1px solid #b8e6cc; display: block; }
.form-message.error   { background: #fdf3f3; color: #c0392b; border: 1px solid #f5c6cb; display: block; }

/* Contact Info */
.contact-info-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 96px;
}
.contact-info-card h3 { font-size: 1.375rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.contact-item { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border: none; }
.contact-label { display: block; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.375rem; }
.contact-item a, .contact-item span { font-size: 0.9375rem; color: var(--charcoal); display: block; transition: color var(--trans); }
.contact-item a:hover { color: var(--gold); }
.contact-item--wa .contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wa-green);
  color: var(--white) !important;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.8125rem !important;
  font-weight: 500;
  transition: all var(--trans);
}
.contact-item--wa .contact-wa-btn:hover { background: #1ebe5d; transform: translateY(-1px); }
.contact-map-wrap { margin-top: 1.5rem; }
.contact-map-placeholder {
  height: 160px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  color: var(--taupe);
}
.contact-map-placeholder svg { opacity: 0.4; }
.contact-map-placeholder p { font-size: 0.875rem; }
.map-link { font-size: 0.75rem; color: var(--gold); text-decoration: underline; }

/* Pagination */
.pagination { display: flex; justify-content: center; padding: var(--sp-5) 0; }
.pagination ul { display: flex; gap: 0.5rem; align-items: center; }
.pagination li a, .pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--taupe);
  transition: all var(--trans);
}
.pagination li .current, .pagination li a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* Portfolio Archive Hero */
.portfolio-archive-hero {
  background: var(--cream);
  padding: clamp(2rem, 3vw, 3rem) 0 clamp(1.5rem, 2.5vw, 2.5rem);
  border-bottom: 1px solid var(--border);
}
.portfolio-archive-hero .eyebrow { margin-bottom: 0.5rem; }
.portfolio-archive-hero h1 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 0.625rem;
}
.portfolio-archive-sub {
  font-size: 1rem;
  max-width: none;
  color: var(--taupe);
  line-height: 1.6;
}
.portfolio-archive-hero .gold-rule { margin: 1rem 0 0; }

/* Portfolio Archive Section */
.portfolio-archive-section { background: var(--offwhite); padding-top: var(--sp-5); }
.portfolio-archive-section .portfolio-filter { margin-bottom: var(--sp-4); }
.portfolio-archive-section .filter-btn {
  color: var(--taupe);
  border-color: var(--border);
  background: var(--white);
  border-radius: 100px;
  padding: 0.4375rem 1.25rem;
}
.portfolio-archive-section .filter-btn:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
  background: var(--white);
}
.portfolio-archive-section .filter-btn.active {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

/* 404 */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--sp-8) 0; background: var(--cream); }
.page-404 .error-num {
  font-family: var(--heading);
  font-size: clamp(6rem, 15vw, 12rem);
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  display: block;
  margin-bottom: 0;
}
.page-404 h1 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.page-404 p { max-width: 440px; margin: 0 auto 2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  /* Keep 4-col bento but tighten row height */
  .portfolio-grid { grid-auto-rows: 210px; }
  /* Archive: collapse to 4-col (lg=span2, sm=span2) */
  .portfolio-grid--archive { grid-template-columns: repeat(4, 1fr); }
  .port-card--archive-lg { grid-column: span 2; height: 320px; }
  .port-card--archive-sm { grid-column: span 2; height: 260px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 45vw; min-height: 220px; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  /* At tablet: 2-col, large spans full width (top banner), smalls in 2×2 below */
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .port-card--large { grid-column: span 2; grid-row: span 1; }
  .port-card--small { grid-column: span 1; grid-row: span 1; }
  /* Archive: 2-col at tablet */
  .portfolio-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .port-card--archive-lg { grid-column: span 1; height: 280px; }
  .port-card--archive-sm { grid-column: span 1; height: 240px; }
  .ba-layout { flex-direction: column; gap: 2rem; }
  .ba-info { width: 100%; }
  .ba-slide-desc { max-width: none; }
  .ba-slider-col { width: 100%; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-cta { min-width: 260px; }
  .project-layout { grid-template-columns: 1fr; }
  .project-info-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .primary-nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--charcoal); padding: 2rem; z-index: 99; overflow-y: auto; flex-direction: column; }
  .primary-nav.is-open { display: flex; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .nav-menu li a { font-size: 1.25rem; letter-spacing: 0.05em; }
  .hamburger { display: flex; }
  .btn-header-cta { display: none; }
  .hero-heading { font-size: clamp(2.25rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row--2 { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.875rem; border-radius: 50%; width: 54px; height: 54px; justify-content: center; }
  /* Mobile: stack all cards */
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .port-card--large { grid-column: span 1; grid-row: span 1; }
  .portfolio-grid--archive { grid-template-columns: 1fr; }
  .port-card--archive-lg, .port-card--archive-sm { grid-column: span 1; height: 240px; }
  .port-grid-small { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   INNER PAGE HERO BANNER (image overlay)
   ============================================================ */
.inner-hero {
  position: relative;
  min-height: clamp(300px, 42vh, 460px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.inner-hero-img {
  position: absolute; inset: 0;
}
.inner-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.inner-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,18,8,.82) 0%, rgba(28,18,8,.3) 60%, rgba(28,18,8,.1) 100%);
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.inner-hero-content .eyebrow { color: var(--gold); }
.inner-hero-content h1 { color: var(--white); margin: 0.5rem 0 0.875rem; }
.inner-hero-content .banner-sub { color: rgba(255,255,255,.8); max-width: 560px; }
.inner-hero-content .gold-rule { margin-top: 1.5rem; margin-bottom: 0; }

/* ============================================================
   SERVICES PAGE — Alternating Full-Width Sections
   ============================================================ */
.svc-detail-section { background: var(--white); }
.svc-detail-section--alt { background: var(--offwhite); }

.svc-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.svc-detail-inner.reversed .svc-detail-img   { order: 2; }
.svc-detail-inner.reversed .svc-detail-content { order: 1; }

.svc-detail-img {
  overflow: hidden;
  position: relative;
}
.svc-detail-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-detail-section:hover .svc-detail-img img { transform: scale(1.035); }

.svc-detail-img-placeholder {
  width: 100%; height: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.svc-detail-img-placeholder span {
  font-family: var(--heading);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.svc-detail-content {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-detail-num {
  font-family: var(--heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.12;
  line-height: 1;
  display: block;
  margin-bottom: 0.125rem;
  pointer-events: none;
}
.svc-detail-title {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  color: var(--charcoal);
  margin-bottom: 0.875rem;
}
.svc-detail-desc { font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

.svc-detail-list { list-style: none; margin-bottom: 2rem; }
.svc-detail-list li {
  font-size: 0.9375rem;
  color: var(--taupe);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.svc-detail-list li:last-child { border-bottom: none; }
.svc-detail-list li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-section { background: var(--cream); }
.process-header { text-align: center; }
.gold-rule--center { margin-left: auto; margin-right: auto; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process-step {
  background: var(--white);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: background var(--trans);
}
.process-step:hover { background: var(--offwhite); }
.process-step-num {
  display: block;
  font-family: var(--body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.process-step-icon {
  width: 52px; height: 52px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  transition: background var(--trans), color var(--trans);
}
.process-step:hover .process-step-icon { background: var(--gold); color: var(--white); }
.process-step-title { font-size: 1.125rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.process-step-desc  { font-size: 0.875rem; line-height: 1.75; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Story Section */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.about-story-img { overflow: hidden; }
.about-story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-story-placeholder {
  width: 100%; height: 100%;
  min-height: 360px;
  background: var(--cream);
}
.about-story-text {
  background: var(--white);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-story-text p { margin-bottom: 1.25rem; }
.about-story-text p:last-child { margin-bottom: 0; }

/* Stats Bar */
.about-stats { background: var(--charcoal); }
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.about-stat {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  border-right: 1px solid rgba(255,255,255,.08);
}
.about-stat:last-child { border-right: none; }
.about-stat .stat-n {
  display: block;
  font-family: var(--heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.about-stat .stat-l {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* Values */
.values-section { background: var(--cream); }
.values-header { text-align: center; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon {
  display: block;
  color: var(--gold);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.value-title { font-size: 1.25rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.value-desc  { font-size: 0.9375rem; line-height: 1.75; }

/* Team */
.team-section { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,.5), transparent 55%);
}
.team-photo-placeholder {
  width: 100%; height: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder span {
  font-family: var(--heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
}
.team-body { padding: 1.5rem 1.75rem 2rem; }
.team-name  { font-size: 1.25rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.team-role  {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}
.team-bio   { font-size: 0.875rem; line-height: 1.75; }
.team-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.team-social-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--taupe);
  transition: all var(--trans);
}
.team-social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   RESPONSIVE — New pages
   ============================================================ */
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .svc-detail-inner {
    grid-template-columns: 1fr;
  }
  .svc-detail-inner .svc-detail-img     { height: 300px; order: 1 !important; }
  .svc-detail-inner .svc-detail-content { order: 2 !important; }
  .about-story {
    grid-template-columns: 1fr;
  }
  .about-story-img { height: 300px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .about-stat:nth-child(2) { border-right: 1px solid rgba(255,255,255,.08); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-detail-inner .svc-detail-img { height: 240px; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stat:nth-child(2) { border-right: none; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .inner-hero { min-height: clamp(240px, 50vw, 320px); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .wa-float, .cta-section, .site-footer { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { text-decoration: underline; color: #000; }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ============================================================
   BEFORE/AFTER — Intro text
   ============================================================ */
.ba-intro-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--taupe);
  max-width: 420px;
  margin-top: 1.25rem;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-form-bar {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 560px;
  margin: 0 0 var(--sp-5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.search-form-bar input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--body);
  color: var(--charcoal);
  background: transparent;
}
.search-form-bar button {
  border: none;
  background: var(--gold);
  color: var(--white);
  padding: 0 1.125rem;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.search-form-bar button:hover { background: var(--gold-dark); }

.no-results-block {
  text-align: center;
  padding: var(--sp-7) 0;
}
.no-results-block .no-results { margin-bottom: 0.75rem; }
.no-results-block p { font-size: 1rem; color: var(--taupe); }
.no-results-block a { color: var(--gold); text-decoration: underline; }
