/* CREPS prototype — dark storytelling UI */

:root {
  --bg: #060807;
  --bg-elevated: #0a0f0c;
  --panel: #0e1411;
  --panel-hover: #121a15;
  --text: #eef3ef;
  --muted: #95a89c;
  --accent: #0e733b;
  --accent-dim: rgba(14, 115, 59, 0.35);
  --line: #1f3027;
  --glow-tech: rgba(72, 160, 180, 0.14);
  --glow-avl: rgba(200, 120, 60, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 24px 48px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  background-color: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -25%, rgba(14, 115, 59, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 40% at 95% 15%, var(--glow-tech), transparent 50%),
    radial-gradient(ellipse 45% 35% at 5% 55%, var(--glow-avl), transparent 48%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ——— Top bar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

nav a.is-active {
  color: #b8e8cc;
  background: rgba(14, 115, 59, 0.18);
}

.lang {
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(14, 20, 17, 0.6);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang:hover {
  border-color: var(--accent);
  background: rgba(14, 115, 59, 0.12);
}

/* ——— Sections & chapters ——— */
section {
  padding: 4rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.chapter-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

main > section > h3:first-child,
.page-hero h1 {
  font-family: var(--font-display);
}

.trust h3,
.services h3,
.process-dual h3,
.portfolio h3,
.why h3,
.faq h3,
.service-region h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0 0 1rem;
}

.hero {
  max-width: none;
  padding: 1rem 1rem 3rem;
}

.hero-diagonal {
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.hero-diagonal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 48.5%, rgba(4, 8, 6, 0.75) 50%, transparent 51.5%);
  pointer-events: none;
  z-index: 3;
}

.pane {
  position: relative;
}

.pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.pane-tech::before {
  background: linear-gradient(180deg, rgba(3, 5, 4, 0.38) 0%, rgba(3, 5, 4, 0.72) 68%, rgba(3, 5, 4, 0.9) 100%);
}

.pane-avl::before {
  background: linear-gradient(180deg, rgba(25, 12, 6, 0.32) 0%, rgba(8, 4, 2, 0.65) 55%, rgba(6, 3, 2, 0.82) 100%);
}

.pane img,
.pane video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pane-tech {
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  z-index: 2;
}

.pane-avl {
  margin-left: -16%;
  z-index: 1;
}

.overlay {
  position: absolute;
  left: 7%;
  bottom: 8%;
  max-width: 66%;
  z-index: 4;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(8, 12, 10, 0.35), rgba(8, 12, 10, 0.78));
  border: 1px solid rgba(142, 187, 160, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.overlay.right {
  left: auto;
  right: 6%;
  text-align: right;
  background: linear-gradient(165deg, rgba(18, 10, 6, 0.32), rgba(10, 6, 4, 0.82));
  border-color: rgba(200, 140, 90, 0.25);
}

.pane-sub {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #d4c8be;
  max-width: 22rem;
  margin-left: auto;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.cta-row-avl {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pane-tech .cta-row {
  flex-wrap: wrap;
}

.kicker {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #bfe8d0;
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
}

h1 {
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  margin: 0.25rem 0 0.5rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.12rem, 2.3vw, 1.9rem);
  margin: 0.2rem 0;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border-radius: 11px;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn.primary {
  background: linear-gradient(165deg, #119948, var(--accent));
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(14, 115, 59, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 115, 59, 0.45);
}

.btn.ghost {
  background: rgba(14, 20, 17, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn.ghost:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.14);
}

.quick-contact {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.quick-contact a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quick-contact a:hover {
  border-color: var(--accent);
  background: rgba(14, 115, 59, 0.1);
}

/* Trust + metrics */
.trust {
  position: relative;
}

.trust::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  pointer-events: none;
}

.metric-grid,
.cards {
  display: grid;
  gap: 1rem;
}

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

.metric-grid div,
.cards article,
.project,
.process ol li,
.final-cta-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cards article:hover,
.metric-grid div:hover {
  border-color: rgba(14, 115, 59, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.process-track {
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.process-track--digital {
  border-color: rgba(100, 180, 170, 0.22);
  box-shadow: 0 0 40px -12px var(--glow-tech);
}

.process-track--digital h4 {
  color: #7dd3c0;
}

.process-track--avl {
  border-color: rgba(200, 140, 90, 0.22);
  box-shadow: 0 0 40px -12px var(--glow-avl);
}

.process-track--avl h4 {
  color: #e8b896;
}

.process-track ol li {
  margin: 0;
  background: rgba(10, 14, 12, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.process-track h4 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.process-track ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.trust-logos-label {
  margin: 2.25rem 0 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.logo-marquee {
  overflow: hidden;
  margin-top: 0.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: logo-marquee 32s linear infinite;
}

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

.logo-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 46px;
  padding: 0.5rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  flex-shrink: 0;
  background: rgba(14, 20, 17, 0.5);
}

.section-lead {
  color: var(--muted);
  max-width: 52rem;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.services-subtitle {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.95rem;
  color: #86f0b0;
  font-weight: 600;
  font-family: var(--font-display);
}

.services-subtitle:first-of-type {
  margin-top: 0;
}

.services-avl-section > .services-subtitle:first-child {
  margin-top: 0;
}

.services-avl-section .cards {
  margin-top: 0;
}

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

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

/* Pillars */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.pillar-tech {
  background:
    linear-gradient(135deg, rgba(14, 20, 17, 0.95) 0%, rgba(8, 28, 32, 0.4) 45%, rgba(14, 20, 17, 0.92) 100%),
    var(--panel);
  box-shadow: 0 0 80px -30px var(--glow-tech);
}

.pillar-avl {
  background:
    linear-gradient(225deg, rgba(20, 14, 10, 0.95) 0%, rgba(45, 22, 12, 0.35) 50%, rgba(14, 12, 10, 0.92) 100%),
    var(--panel);
  box-shadow: 0 0 80px -28px var(--glow-avl);
}

.pillar-visual img,
.avl-visual-placeholder {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid var(--line);
}

.pillar-visual img {
  min-height: 240px;
  object-fit: cover;
}

.avl-visual-placeholder {
  min-height: 280px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 180, 100, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(14, 115, 59, 0.12), transparent 45%),
    linear-gradient(145deg, #1a1814 0%, #0a0e0c 50%, #151210 100%);
}

.pillar-avl .pillar-visual {
  order: 2;
}

.pillar-avl .pillar-copy {
  order: 1;
}

.pillar-copy h3 {
  font-size: clamp(1.32rem, 2.5vw, 1.88rem);
  margin: 0.35rem 0 0.75rem;
}

.pillar-lead {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.pillar-list {
  margin: 0 0 1.35rem;
  padding-left: 1.2rem;
  color: #c8d6cc;
  line-height: 1.65;
}

.pillar-list li {
  margin-bottom: 0.45rem;
}

.process-dual .process-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.portfolio-grid {
  display: grid;
  gap: 1.1rem;
}

.portfolio-footer-cta {
  text-align: center;
  margin: 1.75rem 0 0;
}

.project-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.project {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.1rem;
  align-items: center;
}

.project:hover {
  border-color: rgba(14, 115, 59, 0.28);
}

.thumb {
  min-height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, #173024, #0d1612);
  border: 1px dashed var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project:hover .thumb {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.thumb-web {
  background: linear-gradient(145deg, #152820, #0a1210 60%, #0f1c16);
  border-style: solid;
}

.thumb-avl {
  background: linear-gradient(145deg, #2a1c14, #140c08 55%, #1f1510);
  border-style: solid;
}

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

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.55rem;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(14, 115, 59, 0.35);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.faq details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.service-region {
  background: linear-gradient(180deg, rgba(14, 115, 59, 0.06), rgba(14, 20, 17, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-region p {
  margin: 0;
  max-width: 52rem;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.final-cta-card {
  position: relative;
  overflow: hidden;
}

.final-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  opacity: 0.9;
}

.final-cta-card--digital::before {
  background: linear-gradient(90deg, #3a9d9a, var(--accent));
}

.final-cta-card--avl::before {
  background: linear-gradient(90deg, #c9783c, #e8a060);
}

.final-cta-card h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.final-cta-card p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.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;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 2.75rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #050705, #030403);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand .footer-logo {
  height: 40px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.55rem 0 0;
  font-style: italic;
}

.footer-col h4 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86f0b0;
  font-family: var(--font-display);
}

.footer-col p {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer-col a {
  color: #b8e0cc;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #dff5ea;
}

.placeholder {
  opacity: 0.85;
  font-style: italic;
}

.footer-copy {
  text-align: center;
  margin: 2rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 1200px;
}

.metric-grid strong {
  display: block;
  font-size: 2.05rem;
  font-family: var(--font-display);
  color: #86f0b0;
  text-shadow: 0 0 40px rgba(14, 115, 59, 0.25);
}

.cards {
  grid-template-columns: repeat(2, 1fr);
}

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

.process ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.process b {
  color: #86f0b0;
  margin-right: 0.5rem;
}

.form {
  display: grid;
  gap: 0.75rem;
  max-width: 680px;
}

input,
textarea,
button.btn {
  font-family: var(--font-body);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #0a100d;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

button.btn {
  cursor: pointer;
  border: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Inner pages */
.page-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(14, 20, 17, 0.9) 0%, rgba(10, 40, 32, 0.25) 42%, rgba(14, 20, 17, 0.85) 100%);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.5rem;
}

.page-hero-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.1;
}

.page-hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.55;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.intent-hints {
  max-width: 900px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.intent-hints article h3 {
  margin: 0 0 0.35rem;
}

.intent-hints article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Blog / news / filters */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(14, 20, 17, 0.6);
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.is-on {
  border-color: var(--accent);
  color: #c5f0d8;
  background: rgba(14, 115, 59, 0.15);
}

.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
}

.timeline-list article {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-left: 0.25rem;
}

.story-block {
  margin-bottom: 2rem;
}

.story-block p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 40rem;
}

.page-cta {
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 115, 59, 0.1), transparent);
}

.page-cta .btn {
  margin-top: 0.5rem;
}

.page-cta .chapter-title {
  margin-bottom: 0.5rem;
}

.page-cta-lead {
  margin: 0 auto 1rem;
}

.cards.timeline-list {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.cards article .thumb {
  width: 100%;
  margin-bottom: 0.85rem;
}

.contact-card-title {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.quick-contact--inline {
  margin-top: 1rem;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-diagonal {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-diagonal::after {
    display: none;
  }

  .pane-tech {
    clip-path: none;
  }

  .pane-avl {
    margin-left: 0;
  }

  .overlay,
  .overlay.right {
    max-width: 88%;
    left: 6%;
    right: auto;
    text-align: left;
  }

  .pane-sub {
    margin-left: 0;
    max-width: none;
  }

  .cta-row-avl {
    justify-content: flex-start;
  }

  .metric-grid,
  .cards,
  .cards.three,
  .tech-cards,
  .avl-cards,
  .why-grid,
  .process ol,
  .project {
    grid-template-columns: 1fr;
  }

  .pillar,
  .process-dual .process-tracks,
  .final-cta-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .pillar-avl .pillar-visual {
    order: 2;
  }

  .pillar-avl .pillar-copy {
    order: 1;
  }

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

  .two-col {
    grid-template-columns: 1fr;
  }

  .intent-hints {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .logo-marquee-track {
    animation: none;
  }

  .btn.primary:hover,
  .btn.ghost:hover,
  .metric-grid div:hover,
  .cards article:hover,
  .project:hover .thumb {
    transform: none;
  }
}
