/* ============================================
   MERA SECURITY — DESIGN SYSTEM
   ============================================ */

:root {
  /* Color palette — Steel & Copper */
  --bg: #0d0e12;
  --surface: #16171c;
  --surface-2: #1c1e24;
  --border: #25272d;
  --border-bright: #2d2925;
  --text: #f0eee8;
  --text-muted: #9b958c;
  --text-dim: #65605a;
  --accent: #c89968;            /* copper */
  --accent-bright: #e6b87d;     /* bright copper */
  --copper-deep: #a87a4e;       /* deep copper */
  --secure: #c89968;            /* status dot, copper-toned now */
  --warning: #ffb547;

  /* Typography */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --serif: 'Fraunces', Georgia, serif;

  /* Spacing */
  --container-max: 1280px;
  --container-padding: 2rem;
}

/* ============================================
   RESET & BASE
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Atmospheric background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(200, 153, 104, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(168, 122, 78, 0.04) 0%, transparent 50%);
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.2rem;
}

.logo-text strong {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo-text em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.45em;
  color: var(--accent);
  padding-left: 1px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-bright);
  color: var(--bg);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text);
  transform: translateY(-1px);
}

.btn-primary svg { transition: transform 0.2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 10rem 0 6rem;
  position: relative;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 153, 104, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 153, 104, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 80px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200, 153, 104, 0.10) 0%, transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  background: var(--surface);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secure);
  box-shadow: 0 0 12px var(--secure);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 1000px;
  margin-bottom: 2rem;
}

.hero-title em {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================
   TRUST STRIP
   ============================================ */

.trust {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 20, 31, 0.4);
}

.trust-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.trust-item {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-item.bold {
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 5rem;
  max-width: 760px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
}

.section h2 em { color: var(--accent); }

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(200, 153, 104, 0.06) 100%);
  border-color: rgba(200, 153, 104, 0.3);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 1px;
  background: var(--copper-deep);
  pointer-events: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 1px;
  height: 24px;
  background: var(--copper-deep);
  pointer-events: none;
}

.service-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.service-card h3 em { color: var(--accent); }

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-price {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.service-price span {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.service-link {
  color: var(--accent);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.service-link:hover { gap: 0.75rem; }

/* ============================================
   INDUSTRIES
   ============================================ */

.industries {
  background: rgba(17, 20, 31, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.industry {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
}

.industry:last-child { border-right: none; }
.industry:hover { background: var(--surface-2); }

.industry-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.industry h4 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.018em;
}

.industry p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.industry-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.framework-chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================
   EDITORIAL
   ============================================ */

.editorial {
  padding: 8rem 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.editorial-left { position: sticky; top: 8rem; }

.editorial-quote {
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.028em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.editorial-quote em { color: var(--accent); }

.editorial-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.attr-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--copper-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

.attr-info { line-height: 1.4; }
.attr-name { font-weight: 500; font-size: 0.95rem; }
.attr-title { font-size: 0.8rem; color: var(--text-muted); font-family: var(--mono); }

.editorial-right { padding-top: 1rem; }

.principle {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.principle:last-child { border-bottom: none; }

.principle-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.principle h4 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.018em;
}

.principle p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

/* ============================================
   CTA / CONTACT
   ============================================ */

.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 153, 104, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
}

.cta-content h2 em { color: var(--accent); }

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.cta-contact:hover { border-color: var(--accent); }

.cta-contact-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.cta-contact-value {
  font-size: 1.0625rem;
  color: var(--text);
}

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  font-family: var(--body);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 1rem;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ============================================
   PAGE-SPECIFIC: SERVICES PAGE
   ============================================ */

.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb span { color: var(--accent); }

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  max-width: 900px;
}

.page-hero h1 em { color: var(--accent); }

.page-hero > .container > p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}

.service-nav {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: rgba(10, 12, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.service-nav-inner {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.service-nav-inner::-webkit-scrollbar { display: none; }

.service-nav a {
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.service-nav a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.service-block {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.service-block:nth-child(even) { background: rgba(17, 20, 31, 0.4); }

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

.service-info { position: relative; }

.service-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-number::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.service-info h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
}

.service-info h2 em { color: var(--accent); }

.service-info > p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.includes-list { list-style: none; margin-bottom: 2rem; }

.includes-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.includes-list li:last-child { border-bottom: none; }

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 153, 104, 0.1);
  border: 1px solid rgba(200, 153, 104, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-icon svg { width: 10px; height: 10px; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 2.5rem;
  position: sticky;
  top: 160px;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200, 153, 104, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pricing-value {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.028em;
  margin-bottom: 0.5rem;
}

.pricing-value sup {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--text-muted);
}

.pricing-unit {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '—';
  color: var(--accent);
}

.pricing-cta {
  display: block;
  background: var(--text);
  color: var(--bg);
  padding: 1rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid var(--text);
}

.pricing-cta:hover {
  background: transparent;
  color: var(--text);
}

.compare-section { padding: 8rem 0; }

.compare-section h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1rem;
  max-width: 700px;
}

.compare-section h2 em { color: var(--accent); }

.compare-section > .container > p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 4rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.compare-table th {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: left;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.compare-table th:first-child {
  color: var(--text);
  font-size: 0.85rem;
}

.compare-table td {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--text);
}

.compare-table td.highlight {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ============================================
   PAGE-SPECIFIC: ABOUT PAGE
   ============================================ */

.about-hero {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 153, 104, 0.08) 0%, transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
}

.about-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin-bottom: 2rem;
}

.about-hero h1 em { color: var(--accent); }

.about-hero p {
  font-size: 1.375rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.55;
}

.founder {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 20, 31, 0.4);
}

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

.portrait-card {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.portrait-image {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(200, 153, 104, 0.12) 0%, rgba(168, 122, 78, 0.05) 100%),
    var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portrait-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 3px);
}

.portrait-placeholder {
  font-family: var(--serif);
  font-size: 9rem;
  color: var(--accent);
  opacity: 0.85;
  font-style: italic;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.portrait-caption {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
}

.portrait-info { padding: 2rem; }

.portrait-name {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.018em;
  margin-bottom: 0.25rem;
}

.portrait-title {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.cred-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  background: rgba(200, 153, 104, 0.1);
  border: 1px solid rgba(200, 153, 104, 0.3);
  color: var(--accent-bright);
  letter-spacing: 0.05em;
}

.story-content h2 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin-bottom: 2rem;
}

.story-content h2 em { color: var(--accent); }

.story-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.story-content p.lead {
  font-size: 1.375rem;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.018em;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

.stats { padding: 6rem 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.stat {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-num sup {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--text-muted);
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.family {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.family-visual {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.family-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 153, 104, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 153, 104, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.family-letters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.letter-card {
  background: rgba(10, 12, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 1.5rem;
  min-width: 120px;
  text-align: center;
}

.letter {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.letter-name {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.family-text h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
}

.family-text h3 em { color: var(--accent); }

.family-text p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ============================================
   AREAS OF PRACTICE (replaces family section)
   ============================================ */

.practice {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.practice-header {
  max-width: 720px;
  margin-bottom: 5rem;
}

.practice-header h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.practice-header h2 em { color: var(--accent); }

.practice-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.practice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.practice-card:hover {
  border-color: var(--copper-deep);
  transform: translateY(-2px);
}

.practice-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.practice-card h4 {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.practice-tools {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
  margin-bottom: 1rem !important;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.practice-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.values {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  background: rgba(17, 20, 31, 0.4);
}

.values-header {
  max-width: 700px;
  margin-bottom: 5rem;
}

.values-header h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1.5rem;
}

.values-header h2 em { color: var(--accent); }

.values-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.value-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.value-card h4 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industry:nth-child(2) { border-right: none; }
  .industry:nth-child(1),
  .industry:nth-child(2) { border-bottom: 1px solid var(--border); }
  .editorial-grid { grid-template-columns: 1fr; gap: 3rem; }
  .editorial-left { position: static; }
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .service-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-card { position: static; }
  .founder-grid { grid-template-columns: 1fr; gap: 3rem; }
  .portrait-card { position: static; max-width: 400px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .family-grid { grid-template-columns: 1fr; gap: 3rem; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.5rem; }
  .nav-links a:not(.nav-cta):not(.logo) { display: none; }
}

@media (max-width: 600px) {
  :root { --container-padding: 1.25rem; }
  .industries-grid { grid-template-columns: 1fr; }
  .industry { border-right: none !important; border-bottom: 1px solid var(--border); }
  .industry:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero { padding: 8rem 0 4rem; }
  .section { padding: 5rem 0; }
  .contact-form { padding: 1.5rem; }
  .editorial-quote { font-size: 1.75rem; }
}
