/* ============================================================
   C&M LLP — Main Stylesheet
   Self-host fonts: see /assets/fonts/README.md
   ============================================================ */

/* ── FONT FACE (self-hosted — populate /assets/fonts/ to enable) ── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-300-italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── CUSTOM PROPERTIES ── */
:root {
  /* Color */
  --clr-bg:           #0c0c0c;
  --clr-bg-raised:    #131313;
  --clr-bg-overlay:   #1a1a1a;
  --clr-border:       rgba(255, 255, 255, 0.08);
  --clr-border-strong: rgba(255, 255, 255, 0.14);
  --clr-text:         #ede8e2;
  --clr-text-muted:   #8a8580;
  --clr-text-dim:     #52504d;
  --clr-accent:       #6b0f1a;
  --clr-accent-hover: #8c1a28;
  --clr-accent-subtle:#1e0508;
  --clr-accent-rule:  #4a0b12;

  /* Typography */
  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono:    'JetBrains Mono', 'Courier New', Courier, monospace;

  /* Type scale */
  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */
  --text-7xl:  4.5rem;     /* 72px */
  --text-8xl:  6rem;       /* 96px */

  /* Spacing (4px base) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-w:      1200px;
  --max-w-text: 66ch;
  --nav-h:      64px;

  /* Motion */
  --ease-sharp: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:  120ms var(--ease-sharp);
  --t-base:  200ms var(--ease-sharp);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ── ACCESSIBILITY ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-accent);
  color: var(--clr-text);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 10000;
  border-radius: 0 0 2px 2px;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--clr-accent-hover);
  outline-offset: 3px;
  border-radius: 1px;
}

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

/* ── TYPOGRAPHY SYSTEM ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--clr-text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); font-weight: 400; }
h5 { font-size: var(--text-lg); font-weight: 400; }

p { max-width: var(--max-w-text); }

.eyebrow {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}

.lead {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: 1.65;
  color: var(--clr-text-muted);
  max-width: 58ch;
}

/* Hairline rule */
.rule {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin: var(--sp-8) 0;
}
.rule--accent { border-color: var(--clr-accent-rule); }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-6), 4vw, var(--sp-12));
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* ── SITE HEADER & NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12, 12, 12, 0.92);
  border-bottom: 1px solid var(--clr-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-6), 4vw, var(--sp-12));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-text);
  flex-shrink: 0;
  line-height: 1;
}
.logo__amp { color: var(--clr-accent); }
.logo__sub {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: 1px;
  font-weight: 400;
}

.site-nav { display: flex; align-items: center; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}
.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
  white-space: nowrap;
  font-family: var(--ff-body);
  letter-spacing: 0.01em;
}
.site-nav__link:hover,
.site-nav__trigger:hover,
.site-nav__link[aria-current="page"] {
  color: var(--clr-text);
}
.site-nav__chevron {
  width: 12px; height: 12px;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.site-nav__trigger[aria-expanded="true"] .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  border: 1px solid var(--clr-accent);
  transition: background var(--t-fast), border-color var(--t-fast);
  margin-left: var(--sp-4);
  font-family: var(--ff-body);
  letter-spacing: 0.02em;
}
.site-nav__cta:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

/* Dropdown */
.site-nav__item--has-dropdown { position: relative; }
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: var(--clr-bg-raised);
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-accent);
  padding: var(--sp-6);
  display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.site-nav__dropdown.is-open { display: block; }

.dropdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.dropdown__label {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--clr-border);
}
.dropdown__list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.dropdown__list a {
  display: block;
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  padding: var(--sp-1) 0;
  transition: color var(--t-fast);
  line-height: 1.4;
}
.dropdown__list a:hover { color: var(--clr-text); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--clr-border);
  cursor: pointer;
  gap: 5px;
  padding: 0;
}
.nav-toggle__bar {
  display: block;
  width: 20px; height: 1px;
  background: var(--clr-text);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--clr-bg);
  z-index: 99;
  padding: var(--sp-6);
  overflow-y: auto;
  border-top: 1px solid var(--clr-border);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { list-style: none; }
.mobile-nav__link {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--text-lg);
  font-family: var(--ff-display);
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--t-fast);
}
.mobile-nav__link:hover { color: var(--clr-text); }
.mobile-nav__group-label {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin: var(--sp-5) 0 var(--sp-2);
}
.mobile-nav__sub-list { list-style: none; }
.mobile-nav__sub-link {
  display: block;
  padding: var(--sp-2) 0;
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--t-fast);
}
.mobile-nav__sub-link:hover { color: var(--clr-text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-text);
  border: 1px solid var(--clr-accent);
}
.btn--primary:hover {
  background: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
}
.btn--ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border-strong);
}
.btn--ghost:hover {
  border-color: var(--clr-text-muted);
}
.btn--icon { padding: var(--sp-3); }
.btn__arrow {
  width: 14px; height: 14px;
  transition: transform var(--t-fast);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── HERO SECTION ── */
.hero {
  position: relative;
  padding: clamp(var(--sp-20), 12vw, var(--sp-32)) 0 clamp(var(--sp-16), 10vw, var(--sp-24));
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(107, 15, 26, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__rule {
  display: block;
  width: 40px; height: 1px;
  background: var(--clr-accent);
  margin-bottom: var(--sp-6);
}
.hero__heading {
  font-size: clamp(var(--text-5xl), 8vw, var(--text-8xl));
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-8);
  max-width: 18ch;
}
.hero__heading em {
  font-style: italic;
  color: var(--clr-text-muted);
}
.hero__body {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: var(--sp-10);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.hero__meta {
  margin-top: var(--sp-16);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
  display: flex;
  gap: var(--sp-10);
}
.hero__stat-num {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--clr-text);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.hero__stat-label {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: clamp(var(--sp-16), 10vw, var(--sp-24)) 0 clamp(var(--sp-12), 6vw, var(--sp-16));
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(107, 15, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header__label {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-5);
}
.page-header__heading {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-5);
}
.page-header__sub {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: var(--clr-text-muted);
  max-width: 54ch;
  line-height: 1.65;
}

/* ── SECTIONS ── */
.section {
  padding: clamp(var(--sp-16), 10vw, var(--sp-24)) 0;
}
.section--raised {
  background: var(--clr-bg-raised);
}
.section--bordered {
  border-top: 1px solid var(--clr-border);
}
.section__header {
  margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}
.section__heading {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}
.section__sub {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* ── SERVICE CARDS ── */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--clr-bg-raised);
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-accent-rule);
  padding: var(--sp-6);
  text-decoration: none;
  transition: border-color var(--t-base), background var(--t-base);
}
.service-card:hover {
  border-color: var(--clr-accent-rule);
  background: var(--clr-bg-overlay);
}
.service-card:hover .service-card__arrow { transform: translateX(4px); }
.service-card__category {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-3);
}
.service-card__name {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--clr-text);
  line-height: 1.25;
  margin-bottom: var(--sp-3);
  flex-grow: 1;
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}
.service-card__learn {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.service-card__arrow {
  width: 16px; height: 16px;
  color: var(--clr-accent);
  transition: transform var(--t-fast);
}

/* ── FEATURES / CHECKLIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-4); }
.feature-list__item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--clr-border);
}
.feature-list__item:last-child { border-bottom: none; }
.feature-list__marker {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--clr-accent);
  margin-top: 2px;
}
.feature-list__text { font-size: var(--text-base); color: var(--clr-text-muted); line-height: 1.65; }
.feature-list__text strong { color: var(--clr-text); font-weight: 500; }

/* ── DETAIL GRID (service page 2-col content) ── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: start;
}
.detail-grid--reverse { direction: rtl; }
.detail-grid--reverse > * { direction: ltr; }

/* ── ABOUT / TEAM CARDS ── */
.team-card {
  background: var(--clr-bg-raised);
  border: 1px solid var(--clr-border);
  padding: var(--sp-8);
}
.team-card__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--clr-accent-subtle);
  border: 1px solid var(--clr-accent-rule);
  font-family: var(--ff-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--clr-text);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}
.team-card__name {
  font-family: var(--ff-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--sp-1);
  color: var(--clr-text);
}
.team-card__title {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-5);
}
.team-card__bio {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  max-width: none;
}
.team-card__contact {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}
.team-card__contact:hover { color: var(--clr-text); }
.team-card__contact svg { width: 14px; height: 14px; color: var(--clr-accent); flex-shrink: 0; }

/* ── CTA BANNER ── */
.cta-banner {
  padding: clamp(var(--sp-12), 8vw, var(--sp-20)) 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-accent-subtle);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(107, 15, 26, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  text-align: center;
}
.cta-banner__heading {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  margin-bottom: var(--sp-4);
}
.cta-banner__sub {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-8);
  max-width: 48ch;
  margin-inline: auto;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--clr-border);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--clr-text-dim);
}
.breadcrumb__link {
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}
.breadcrumb__link:hover { color: var(--clr-text); }
.breadcrumb__sep {
  font-size: 10px;
  opacity: 0.4;
}
.breadcrumb__current { color: var(--clr-text); }

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--clr-bg-raised);
  border-top: 1px solid var(--clr-border);
  padding: clamp(var(--sp-12), 8vw, var(--sp-20)) 0 var(--sp-8);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand__tagline {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-top: var(--sp-4);
  max-width: 30ch;
}
.footer-col__heading {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-4);
}
.footer-col__list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col__list a {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}
.footer-col__list a:hover { color: var(--clr-text); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-border);
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.site-footer__copy {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--clr-text-dim);
}
.site-footer__legal {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
}
.site-footer__legal a {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--clr-text-dim);
  transition: color var(--t-fast);
}
.site-footer__legal a:hover { color: var(--clr-text-muted); }

/* ── SERVICE PAGE SPECIFIC ── */
.service-overview {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: start;
}
.service-overview__body p {
  font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  max-width: none;
}
.service-overview__body p:last-child { margin-bottom: 0; }
.service-aside {
  background: var(--clr-bg-raised);
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-accent-rule);
  padding: var(--sp-6);
}
.service-aside__heading {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}
.service-aside__list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.service-aside__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--clr-border);
  line-height: 1.5;
}
.service-aside__list li:last-child { border-bottom: none; }
.service-aside__list li::before {
  content: '—';
  color: var(--clr-accent);
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 3px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.deliverable {
  background: var(--clr-bg-raised);
  border: 1px solid var(--clr-border);
  padding: var(--sp-5);
}
.deliverable__num {
  font-family: var(--ff-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--clr-accent-rule);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.deliverable__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.deliverable__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  max-width: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .dropdown__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero__heading { letter-spacing: -0.01em; }
  .hero__meta { flex-wrap: wrap; gap: var(--sp-6); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid--reverse { direction: ltr; }
  .service-overview { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr 1fr; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* ── PRINT ── */
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .cta-banner, .nav-toggle { display: none; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}
