/* ═══════════════════════════════════════════════════════════
   MATTSOUND — Design System
   Dark broadcast aesthetic · red-on-charcoal · technical-precise
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Color */
  --bg: #0a0a0c;
  --bg-elevated: #111115;
  --bg-card: #16161b;
  --bg-card-hover: #1c1c22;
  --ink: #f1f0ea;
  --ink-dim: #8a8a88;
  --ink-mute: #4a4a52;
  --red: #d83933;
  --red-bright: #ff4a42;
  --red-deep: #8b2420;
  --rule: #1f1f26;
  --rule-bright: #2e2e38;

  /* Type */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  font-weight: 500;
}

/* ─── Top signal bar ─────────────────────────────── */
.signal-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rule);
  z-index: 200;
  overflow: hidden;
}
.signal-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, transparent, var(--red) 40%, var(--red-bright) 50%, var(--red) 60%, transparent);
  animation: signal 5s ease-in-out infinite;
}
@keyframes signal {
  0%, 100% { transform: translateX(-120%); }
  50% { transform: translateX(420%); }
}

/* ─── Nav ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 2px; left: 0; right: 0;
  padding: 1.1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.logo-lockup { display: flex; align-items: center; gap: 0.7rem; }
.logo-lockup .logo-mark { width: 26px; height: 26px; display: block; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-text .dim { color: var(--ink-dim); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links a { color: var(--ink-dim); transition: color 0.2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links .nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rule-bright);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-links .nav-cta:hover { border-color: var(--red); background: rgba(216,57,51,0.08); }
.on-air-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: var(--bg); }
.btn-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 0 28px rgba(216,57,51,0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-bright);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-elevated); }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(3px); }

.cta-group { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ─── Section base ──────────────────────────────── */
section { padding: 7rem var(--gutter); max-width: var(--max); margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.section-head .label { align-self: start; }
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  grid-column: 1 / -1;
  max-width: 18ch;
}
.section-head h2 em { color: var(--red); font-style: italic; font-weight: 400; }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 180px 1fr auto; }
  .section-head h2 { grid-column: 2; }
  .section-head .head-link { grid-column: 3; }
}

.head-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: color 0.2s;
}
.head-link:hover { color: var(--red); }
.head-link .arrow { transition: transform 0.25s; }
.head-link:hover .arrow { transform: translateX(3px); }

/* ─── Service-page hero ────────────────────────── */
.page-hero {
  padding: calc(80px + 4rem) var(--gutter) 4rem;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.page-hero .crumb {
  display: flex; gap: 0.75rem; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
}
.page-hero .crumb a { color: var(--ink-dim); transition: color 0.2s; }
.page-hero .crumb a:hover { color: var(--red); }
.page-hero .crumb-sep { color: var(--ink-mute); }
.page-hero .crumb-cur { color: var(--red); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.page-hero h1 em { color: var(--red); font-style: italic; font-weight: 400; }
.page-hero-lead {
  color: var(--ink-dim);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.page-hero-specs {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.75rem;
}
.page-hero-specs .label { margin-bottom: 1rem; }
.page-hero-specs ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.page-hero-specs li {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--rule);
  gap: 1rem;
}
.page-hero-specs li:last-child { border-bottom: none; padding-bottom: 0; }
.page-hero-specs .spec-k { color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.page-hero-specs .spec-v { color: var(--ink); text-align: right; }
.page-hero-specs .spec-v.red { color: var(--red); }

/* ─── Two-column content blocks ────────────────── */
.twocol {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; gap: 1.5rem; padding: 3.5rem 0; } }
.twocol .label { align-self: start; position: sticky; top: 100px; }
@media (max-width: 900px) { .twocol .label { position: static; } }
.twocol h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.twocol h3 em { color: var(--red); font-style: italic; font-weight: 400; }
.twocol p {
  color: var(--ink-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 62ch;
}
.twocol p strong { color: var(--ink); font-weight: 500; }

/* Included list */
.included {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 1.5rem;
}
.included li {
  background: var(--bg);
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  min-height: 110px;
  transition: background 0.25s;
}
.included li:hover { background: var(--bg-card); }
.included li::before {
  content: '';
  width: 14px; height: 2px;
  background: var(--red);
  margin-bottom: 0.5rem;
}
.included .itm-name {
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.included .itm-desc {
  color: var(--ink-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Workflow / process steps */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 1.5rem;
}
.workflow-step {
  background: var(--bg);
  padding: 1.75rem 1.5rem;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.workflow-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.workflow-step h4 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.workflow-step p {
  color: var(--ink-dim);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* Pricing tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.tier {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.tier:hover { border-color: var(--rule-bright); transform: translateY(-3px); }
.tier.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(216,57,51,0.04), var(--bg-card));
}
.tier.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -1px; right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--bg);
  background: var(--red);
  padding: 0.3rem 0.7rem;
  border-radius: 0 0 2px 2px;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.tier-price .unit {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-dim);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier-sub {
  color: var(--ink-dim);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; flex: 1; }
.tier li {
  font-size: 0.9rem;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
}
.tier li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.tier li.off {
  color: var(--ink-mute);
  text-decoration: line-through;
}
.tier li.off::before { color: var(--ink-mute); content: '×'; }
.tier .btn { align-self: stretch; justify-content: center; }

/* Standards / specs table */
.standards {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin-top: 1.5rem;
  overflow: hidden;
}
.standards-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  align-items: center;
}
.standards-row:last-child { border-bottom: none; }
.standards-row.head {
  background: var(--bg-card);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  font-weight: 500;
}
.standards-row .platform { color: var(--ink); }
.standards-row .spec { color: var(--ink-dim); }
.standards-row .val { color: var(--red); font-weight: 600; text-align: right; white-space: nowrap; }

@media (max-width: 700px) {
  .standards-row { grid-template-columns: 1fr; gap: 0.35rem; padding: 1rem 1.25rem; }
  .standards-row .val { text-align: left; }
  .standards-row.head { display: none; }
}

/* ─── Testimonial inline ───────────────────────── */
.pullquote {
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.pullquote blockquote {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  color: var(--ink);
}
.pullquote blockquote::before {
  content: '"';
  display: block;
  color: var(--red);
  font-size: 3rem;
  line-height: 0.5;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.pullquote .attr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Services grid (homepage) ─────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem 2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover { background: var(--bg-card-hover); }
.service-card:hover::before { transform: scaleX(1); }

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 2rem;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.15em;
}
.service-icon {
  width: 28px; height: 28px;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.service-card:hover .service-icon { color: var(--red); }

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--ink-dim);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}
.service-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card .read-more {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  align-self: start;
}
.service-card .read-more .arrow { transition: transform 0.25s; }
.service-card:hover .read-more { color: var(--red); }
.service-card:hover .read-more .arrow { transform: translateX(4px); }

/* ─── Capability strip ──────────────────────────── */
.capability {
  padding: 6rem var(--gutter);
  background: var(--bg-elevated);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 0;
  max-width: none;
}
.capability-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) { .capability-inner { grid-template-columns: 1fr; gap: 3rem; } }

.capability-inner .lead {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 22ch;
}
.capability-inner .lead em { color: var(--red); font-style: italic; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule-bright); border: 1px solid var(--rule-bright); }
.spec { background: var(--bg-elevated); padding: 1.5rem; }
.spec-val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  color: var(--red);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.spec-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  line-height: 1.4;
}

/* ─── Store preview ─────────────────────────────── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.product:hover {
  border-color: var(--rule-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.product-art {
  aspect-ratio: 4/3;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--rule-bright);
  background: rgba(10,10,12,0.6);
  backdrop-filter: blur(6px);
}
.product-body { padding: 1.25rem 1.25rem 1.5rem; }
.product-body h4 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.product-body .meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}
.product-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.product-buy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}

/* ─── Proof / logos bar ─────────────────────────── */
.proof {
  padding: 4rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.proof .label { margin-bottom: 2.5rem; }
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem;
  align-items: center;
  opacity: 0.4;
}
.proof-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--rule-bright);
}

/* ─── Testimonials (grid of cards) ──────────────── */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2.25rem;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--red);
  line-height: 1;
  font-weight: 700;
}
.quote p {
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 2.2rem 0 1.75rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.quote .attr {
  display: flex; gap: 0.85rem; align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}
.quote-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--rule-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
}
.quote-name { font-weight: 500; font-size: 0.95rem; }
.quote-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Contact CTA block ─────────────────────────── */
.cta-block {
  padding: 7rem var(--gutter);
  background:
    radial-gradient(circle at 20% 30%, rgba(216,57,51,0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(216,57,51,0.05), transparent 50%),
    var(--bg);
  border-top: 1px solid var(--rule);
  max-width: none;
  margin: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before, .cta-block::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-bright), transparent);
}
.cta-block::before { top: 0; }
.cta-block::after { bottom: 0; }

.cta-block h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 20ch;
  margin: 1.5rem auto 1.5rem;
}
.cta-block h2 em { color: var(--red); font-style: italic; font-weight: 400; }
.cta-block .lead {
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  font-size: 1.05rem;
}
.cta-block .cta-group { justify-content: center; }

/* ─── Footer ────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 4rem var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.foot-brand { max-width: 280px; }
.foot-brand p {
  color: var(--ink-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.foot-col a { color: var(--ink-dim); font-size: 0.92rem; transition: color 0.2s; }
.foot-col a:hover { color: var(--red); }

.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot-bottom .by-rr { color: var(--ink-dim); }
.foot-bottom .by-rr a { color: var(--ink-dim); transition: color 0.2s; }
.foot-bottom .by-rr a:hover { color: var(--red); }

/* ─── Contact page ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  padding: 3rem 0 5rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2.5rem 2.25rem;
}
.form-box .label { margin-bottom: 1rem; }
.form-box h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--rule-bright);
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.2s;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-display); }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238a8a88' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
  -webkit-appearance: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.side-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.side-card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2rem 1.75rem;
}
.side-card .label { margin-bottom: 1rem; }
.side-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}
.side-card p {
  color: var(--ink-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.side-card .contact-row {
  display: flex; gap: 0.75rem; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule);
}
.side-card .contact-row:last-child { padding-bottom: 0; }
.side-card .contact-row .k {
  color: var(--ink-dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-width: 60px;
}
.side-card .contact-row .v { color: var(--ink); }

/* ─── Utilities ─────────────────────────────────── */
.bordered-top { border-top: 1px solid var(--rule); }
.text-dim { color: var(--ink-dim); }
.text-red { color: var(--red); }
