@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Inter+Tight:wght@400;450;500;600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #5C3314;
  --primary-light:  #7A4A22;
  --primary-dim:    #3D2009;
  --primary-ghost:  rgba(92,51,20,0.10);
  --accent:         #2C4C2B;
  --accent-light:   #3D6B3C;
  --canvas:         #FAF6EE;
  --surface:        #FFFFFF;
  --ink:            #1A1814;
  --ink-mid:        #3A3430;
  --muted:          #6B6660;
  --muted-light:    #A09890;
  --border:         rgba(92,51,20,0.18);
  --border-light:   rgba(26,24,20,0.10);
  --shadow-sm:      0 2px 8px rgba(26,24,20,0.08);
  --shadow-md:      0 8px 32px rgba(26,24,20,0.12);
  --shadow-lg:      0 24px 56px rgba(26,24,20,0.16);
  --radius:         8px;
  --radius-pill:    999px;
  --section-py:     clamp(72px, 9vh, 120px);
  --max-w:          1240px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 450;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Universal image cap */
img { max-width: 100%; height: auto; display: block; }

section img:not(.hero-bg):not([class*="full-bleed"]):not([class*="fullbleed"]) {
  max-height: 640px;
  object-fit: cover;
}

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 64px !important;
  max-width: 220px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.footer img, footer img {
  max-height: 48px !important;
  max-width: 200px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Anchors inside headings */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

/* Global anchor */
a { color: inherit; text-decoration: none; transition: color 150ms; }
a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 { font-family: 'Fraunces', serif; line-height: 1.05; }

h1 { font-size: clamp(44px, 6.5vw, 96px); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.5vw, 64px); font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-title { margin-bottom: 12px; }
.section-sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); line-height: 1.65; margin-bottom: 48px; }
.sub { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 180ms, transform 180ms, box-shadow 180ms, color 180ms, border-color 180ms;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(92,51,20,0.25);
}
.btn-primary:hover { background: var(--primary-dim); border-color: var(--primary-dim); color: var(--surface); box-shadow: 0 8px 28px rgba(92,51,20,0.35); }

.btn-outline {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255,255,255,0.60);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.90); color: var(--surface); }

.btn-phone {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--surface);
  box-shadow: var(--shadow-sm);
}
.btn-phone:hover { background: var(--canvas); color: var(--primary); border-color: var(--canvas); }
.btn-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ============================================================
   CHIPS
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  white-space: nowrap;
}

.chip-light {
  border-color: rgba(255,255,255,0.55);
  color: var(--surface);
  background: rgba(255,255,255,0.10);
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.util-bar {
  background: var(--primary);
  color: var(--surface);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 900;
}

.util-bar a { color: var(--surface); }
.util-bar a:hover { color: rgba(255,255,255,0.75); text-decoration: none; }

.util-bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.util-bar-left, .util-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.util-bar-left svg, .util-bar-right svg { width: 16px; height: 16px; flex-shrink: 0; }

.util-badge {
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   TOP BAR (work.html)
   ============================================================ */
.top-bar {
  background: var(--primary);
  color: var(--surface);
  font-size: 13px;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 900;
}

.top-bar a { color: var(--surface); }
.top-bar a:hover { color: rgba(255,255,255,0.75); text-decoration: none; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 8px; }
.top-bar-divider { opacity: 0.4; }
.top-bar-left svg { width: 16px; height: 16px; }

/* ============================================================
   NAV
   ============================================================ */
nav#nav, .nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 44px;
  z-index: 800;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

#navLinks {
  display: flex;
  align-items: center;
  gap: 4px;
}

#navLinks li a, .nav-links li a {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-mid);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 150ms, background 150ms;
  text-decoration: none;
  white-space: nowrap;
}

#navLinks li a:hover, .nav-links li a:hover {
  color: var(--primary);
  background: var(--primary-ghost);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#navToggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
#navToggle svg { width: 24px; height: 24px; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: clamp(520px, 85vh, 860px);
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  background: linear-gradient(
    to top,
    rgba(26,24,20,0.90) 0%,
    rgba(26,24,20,0.55) 40%,
    rgba(26,24,20,0.15) 100%
  );
}

/* Brand-color accent hairline at bottom of overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  z-index: 2;
}

.hero-inner {
  padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 64px) clamp(56px, 7vh, 96px);
  max-width: 760px;
}

.hero-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin-bottom: 20px;
}

.hero-title span { color: rgba(255,255,255,0.70); font-style: italic; }

.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   PAGE HERO (work.html)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 45vh, 520px);
  display: flex;
  align-items: flex-end;
}

.page-hero > img:first-of-type, .page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(26,24,20,0.85) 0%, rgba(26,24,20,0.35) 100%);
}

.page-hero-inner {
  position: relative; z-index: 2;
  padding: clamp(40px, 6vh, 80px) 0 clamp(40px, 6vh, 72px);
}

.page-hero-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.page-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
}

.page-hero-title, .page-hero-inner h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  color: var(--surface);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-hero-accent {
  display: block;
  font-style: italic;
  color: rgba(255,255,255,0.65);
}

.page-hero-sub {
  font-size: clamp(14px, 1.4vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  max-width: 560px;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section { background: var(--canvas); }

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-height: 80px !important;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  align-items: center;
}

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

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px) !important;
  line-height: 1.2 !important;
  color: var(--ink-mid);
}

.marquee-item strong { font-weight: 700; color: var(--primary); }

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
#trust-strip, .trust-strip {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface);
}

.trust-strip-inner, .trust-strip-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* Index trust strip chips */
#trust-strip .chip, .trust-strip-inner .chip {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.10em;
}

/* Work.html trust-chip */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  white-space: nowrap;
}

.trust-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding-block: var(--section-py);
  background: var(--canvas);
}

.services-header {
  margin-bottom: 32px;
}

.services-header h2 { margin-top: 0; }

/* Tabs */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.service-tab {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
}

.service-tab:hover, .service-tab.active {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

/* Panels */
.services-panels { margin-bottom: 48px; }

.service-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.service-panel.active { display: grid; }

.service-panel > a { display: block; border-radius: var(--radius); overflow: hidden; }

.service-panel > a img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform 400ms ease;
}

.service-panel > a:hover img { transform: scale(1.03); }

.service-panel-body { padding: 8px 0; }
.service-panel-body h3 { margin-bottom: 12px; }
.service-panel-body p { color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.service-panel-body > a { color: var(--primary); font-weight: 600; font-size: 14px; }

/* Secondary list */
.services-secondary h3 {
  font-size: clamp(18px, 2vw, 26px);
  margin-bottom: 20px;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--ink);
  transition: color 150ms;
}

.service-list-item:hover { color: var(--primary); text-decoration: none; }
.service-list-item:hover .service-list-arrow { transform: translateX(4px); color: var(--primary); }

.service-list-num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.08em;
  min-width: 28px;
}

.service-list-name {
  font-weight: 600;
  font-size: 15px;
  flex: 1;
}

.service-list-arrow {
  color: var(--muted-light);
  transition: transform 200ms, color 200ms;
  flex-shrink: 0;
}

.service-list-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--primary);
  padding: clamp(48px, 6vh, 80px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--surface);
}

.stat-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding-block: var(--section-py);
  background: var(--canvas);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(56px, 7vh, 96px);
}

.about-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  grid-column: 1;
}

.about-photo img {
  width: 100%;
  height: clamp(340px, 45vw, 580px);
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--surface);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-family: 'Inter Tight', sans-serif;
}

.about-photo-badge strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.about-photo-badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.80;
}

.about-content {
  grid-column: 2;
  padding-top: 8px;
}

.about-content h2 { margin-bottom: 16px; }
.about-content > p { color: var(--muted); line-height: 1.70; margin-bottom: 16px; }

.about-divider {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin-block: 20px;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* Team */
.about-team { padding-top: clamp(40px, 5vh, 64px); border-top: 1px solid var(--border-light); }

.about-team h3 { margin-bottom: 8px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-ghost);
  border: 2px solid var(--border);
  margin-inline: auto;
  margin-bottom: 12px;
  overflow: hidden;
}

.team-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.team-role {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Team cards (work.html) */
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.team-cert {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(44,76,43,0.10);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding-block: var(--section-py);
  background: var(--canvas);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
  max-height: none;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-feature {
  grid-column: 1 / 3;
  aspect-ratio: 16/9;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(26,24,20,0.75) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 250ms;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--surface);
  letter-spacing: 0.04em;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials {
  padding-block: var(--section-py);
  background: var(--surface);
}

.credentials-header { margin-bottom: 48px; }
.credentials-header h2 { margin-top: 0; }

/* Index creds-grid */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.cred-badge {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.cred-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.cred-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-ghost);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 14px;
  color: var(--primary);
}

.cred-icon svg { width: 24px; height: 24px; }

.cred-number {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.1;
}

.cred-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.cred-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Work.html cred-blocks */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.cred-block {
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--canvas);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.cred-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.cred-label {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.cred-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.1;
}

.cred-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Badge chips in cred-blocks */
span.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(44,76,43,0.10);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-right: 6px;
  margin-top: 4px;
}

span.cred-badge svg { width: 12px; height: 12px; }

.credentials-team { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border-light); }
.credentials-team h3 { margin-bottom: 8px; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  padding-block: var(--section-py);
  background: var(--canvas);
}

/* Index layout */
.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.areas-content { grid-column: 1; }
.areas-content h2 { margin-bottom: 16px; }
.areas-content > p { color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.areas-content > a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.areas-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 2;
}

.areas-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--ink-mid);
  transition: border-color 160ms, color 160ms, background 160ms;
  text-decoration: none;
}

.areas-cloud a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-ghost);
  text-decoration: none;
}

/* Work.html areas-layout */
.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-top: 32px;
}

.areas-layout > div:first-child { grid-column: 1; }
.areas-layout > div:last-child { grid-column: 2; }

.areas-intro-text { color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

.areas-stat { margin-bottom: 24px; }
.areas-stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.areas-stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.areas-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--ink-mid);
  transition: border-color 160ms, color 160ms, background 160ms;
  text-decoration: none;
}

.area-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-ghost);
  text-decoration: none;
}

.area-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding-block: var(--section-py);
  background: var(--surface);
}

/* Index contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-form-col { grid-column: 1; }
.contact-form-col h2 { margin-bottom: 8px; }
.contact-form-col .sub { margin-bottom: 28px; }

.contact-info-col { grid-column: 2; padding-top: 4px; }
.contact-info-col > .eyebrow { margin-bottom: 24px; }

/* Work.html contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 32px;
}

.contact-form { grid-column: 1; }
.contact-info-block { grid-column: 2; }

/* Shared form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: border-color 160ms, box-shadow 160ms;
  outline: none;
  -webkit-appearance: none;
}

input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,51,20,0.12);
}

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

form button[type="submit"], form .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

/* Contact info items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-ghost);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

.contact-info-value a { color: var(--primary); font-weight: 600; }

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 14px;
}

.hours-day { font-weight: 600; }

.contact-social { display: flex; gap: 10px; margin-top: 4px; }

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-ghost);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: background 160ms, color 160ms;
  text-decoration: none;
}

.social-link:hover { background: var(--primary); color: var(--surface); text-decoration: none; }
.social-link svg { width: 16px; height: 16px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
details.faq { border-bottom: 1px solid var(--border); padding: 18px 0; }
details.faq > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; font-weight: 300; transition: transform 200ms; font-size: 20px; }
details.faq[open] > summary::after { transform: rotate(45deg); color: var(--primary); }
details.faq p { margin-top: 12px; line-height: 1.6; }

/* Service accordion */
details.service-row { border-bottom: 1px solid var(--border-light); }
details.service-row > summary { padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.service-row > summary::-webkit-details-marker { display: none; }
details.service-row > summary::after { content: "+"; font-weight: 300; font-size: 20px; transition: transform 200ms; }
details.service-row[open] > summary::after { transform: rotate(45deg); color: var(--primary); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.process-step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: 0.12em; }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-card { padding: 28px; border-radius: 12px; background: var(--canvas); }
.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* Service cards */
.service-card { transition: transform 250ms ease-out, box-shadow 250ms ease-out; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.70);
  padding-top: clamp(48px, 7vh, 80px);
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand { grid-column: 1; }
.footer-brand p { font-size: 14px; line-height: 1.65; margin-top: 14px; margin-bottom: 20px; }

.footer-col { }
.footer-col-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--surface);
  margin-bottom: 16px;
}

.footer-col h4 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--surface);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a, .footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 150ms;
}

.footer-links li a:hover, .footer-col a:hover {
  color: var(--surface);
  text-decoration: none;
}

.footer-col > p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-licenses { display: flex; flex-wrap: wrap; gap: 10px; }

.footer-lic {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-cert-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.22,1,0.36,1), transform 600ms cubic-bezier(0.22,1,0.36,1);
}

.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }
.scale-in   { transform: scale(0.95); }

.fade-up.visible, .fade-left.visible, .fade-right.visible, .scale-in.visible {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms cubic-bezier(0.22,1,0.36,1), transform 500ms cubic-bezier(0.22,1,0.36,1);
}

.stagger.visible > * { opacity: 1; transform: none; }

.stagger.visible > *:nth-child(1)  { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2)  { transition-delay: 60ms; }
.stagger.visible > *:nth-child(3)  { transition-delay: 120ms; }
.stagger.visible > *:nth-child(4)  { transition-delay: 180ms; }
.stagger.visible > *:nth-child(5)  { transition-delay: 240ms; }
.stagger.visible > *:nth-child(6)  { transition-delay: 300ms; }
.stagger.visible > *:nth-child(7)  { transition-delay: 360ms; }
.stagger.visible > *:nth-child(8)  { transition-delay: 420ms; }
.stagger.visible > *:nth-child(9)  { transition-delay: 480ms; }
.stagger.visible > *:nth-child(10) { transition-delay: 540ms; }

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--primary);
  color: var(--surface);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  text-decoration: none;
  transition: background 160ms, transform 160ms;
}

.mobile-call-pill:hover { background: var(--primary-dim); color: var(--surface); text-decoration: none; transform: translateY(-2px); }
.mobile-call-pill svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — 640px breakpoint
   ============================================================ */
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { grid-column: 1; }
  .about-content { grid-column: 1; }

  .service-panel { grid-template-columns: 1fr; }
  .service-panel.active { display: flex; flex-direction: column; }
  .service-panel > a img { height: 220px; }

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

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { grid-column: 1; }
  .contact-info-col { grid-column: 1; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-form { grid-column: 1; }
  .contact-info-block { grid-column: 1; }

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

  .areas-inner { grid-template-columns: 1fr; }
  .areas-content { grid-column: 1; }
  .areas-cloud { grid-column: 1; }

  .areas-layout { grid-template-columns: 1fr; }
  .areas-layout > div:first-child { grid-column: 1; }
  .areas-layout > div:last-child { grid-column: 1; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-feature { grid-column: 1 / 3; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }

  .creds-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }

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

  .hero-inner { padding-bottom: 40px; }

  .util-bar-right { display: none; }
  .top-bar-right { display: none; }

  #navLinks { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--surface); z-index: 999; align-items: center; justify-content: center; gap: 24px; }
  #navLinks.open { display: flex; }
  #navLinks li a { font-size: 20px; }
  #navToggle { display: flex; }

  .team-grid { grid-template-columns: repeat(3, 1fr); }

  .mobile-call-pill { display: flex; }
}

/* ============================================================
   RESPONSIVE — 900px breakpoint
   ============================================================ */
@media (max-width: 900px) {
  #navLinks { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--surface); z-index: 999; align-items: center; justify-content: center; gap: 24px; }
  #navLinks.open { display: flex; }
  #navLinks li a { font-size: 20px; }
  #navToggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { grid-column: 1; }
  .about-content { grid-column: 1; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-feature { grid-column: 1 / 3; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }

  .mobile-call-pill { display: flex; }
}

@media (min-width: 900px) {
  .mobile-call-pill { display: none; }
  #navToggle { display: none; }
}

/* ============================================================
   RESPONSIVE — 1200px breakpoint
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / 4; }
}

/* ============================================================
   MISC OVERRIDES
   ============================================================ */
/* Prevent dark thead leaking to tbody */
thead .col-service,
thead .col-desc,
thead .col-timeline,
thead .col-price {
  color: var(--surface);
}

tbody .col-service,
tbody .col-desc,
tbody .col-timeline,
tbody .col-price {
  background: transparent;
  color: var(--ink);
}

/* No mirror transforms on content */
.flip { order: -1; }

/* Nav uniform styling — no one item gets a pill */
#navLinks a, .nav-links a {
  background: none;
  border: none;
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.service-panel-body { grid-column: 1 / -1; }
.fade-up { grid-column: 1 / -1; }
.team-member { grid-column: 1 / -1; }
.fade-right { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.field { grid-column: 1 / -1; }
.hours-day { grid-column: 1 / -1; }
/* validator patch: never hide a wrapper that contains a heading */
.service-panel { display: block !important; }
