/* ==========================================================================
   Dynamic Cabinetry - Homepage Concept
   Design language: Modern Clinical (type/spacing/motion only)
   Palette: Dynamic Cabinetry brand (logo teal #00afa8, logo black, white)
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-white:   #ffffff;
  --bg-soft:    #f6f7f7;
  --bg-dark:    #101314;
  --bg-dark-2:  #191e1f;

  /* Accent: their logo teal. Deepened variant for small text on light. */
  --accent:        #00afa8;
  --accent-deep:   #0a7d78;
  --accent-muted:  rgba(0, 175, 168, 0.14);
  --accent-line:   rgba(0, 175, 168, 0.45);

  /* Text */
  --text-dark:        #15191a;
  --text-body:        #40484a;
  --text-muted:       #6d7679;
  --text-light:       #eef1f1;
  --text-light-muted: rgba(238, 241, 241, 0.62);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-height: 76px;
  --radius: 10px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

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

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

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

.container {
  width: 100%;
  max-width: min(90%, 1160px);
  margin-inline: auto;
}

/* ---------- Type scale ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.h-display { font-size: clamp(2.4rem, 5.6vw, 4.3rem); }
.h-section { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h-card    { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--text-light); }
.on-dark p { color: var(--text-light-muted); }

/* Eyebrow: technical spec label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.on-dark .eyebrow { color: var(--accent); }

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  font-weight: 300;
  max-width: 58ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn .btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn-dot { transform: scale(1.6); }

.btn--solid { background: var(--accent); color: #04302e; }
.btn--solid:hover { background: #14c2bb; }

.btn--dark { background: var(--bg-dark); color: var(--text-light); }
.btn--dark:hover { background: #232a2b; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text-light); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost-dark { border-color: rgba(21, 25, 26, 0.25); color: var(--text-dark); }
.btn--ghost-dark:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(16, 19, 20, 0.08);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding-block: 0.5rem;
  line-height: 1.05;
  font-family: var(--font-display);
  color: var(--text-light);
  transition: color 0.4s var(--ease);
}
.nav.is-solid .wordmark { color: var(--text-dark); }
.wordmark__top {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wordmark__sub {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-light);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.4s var(--ease);
}
.nav.is-solid .nav__links a { color: var(--text-body); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: inline-flex; }
.nav .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* Hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1102;
  position: relative;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  margin: 5px auto;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.35s var(--ease);
}
.nav.is-solid .burger span { background: var(--text-dark); }
.burger.is-open span { background: var(--text-light); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { margin: 0.4rem 0; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 400;
  color: var(--text-light);
  display: inline-block;
  padding: 0.35rem 0;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu__divider {
  width: 48px;
  height: 1px;
  background: var(--accent-line);
  margin: 1.6rem 0;
}
.mobile-menu__meta {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 2;
}
.mobile-menu__meta a { font-family: var(--font-body); font-size: 0.9rem; color: var(--accent); padding: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 19, 20, 0.42) 0%, rgba(16, 19, 20, 0.18) 40%, rgba(16, 19, 20, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
  width: 100%;
}

.hero__chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  background: rgba(16, 19, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin-bottom: 1.5rem;
}
.hero__chip .sep { color: var(--accent); }

.hero h1 {
  color: var(--text-light);
  max-width: 15ch;
  margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--accent); }

.hero__sub {
  color: var(--text-light-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 300;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Technical measure line along hero bottom */
.hero__measure {
  position: relative;
  z-index: 2;
  margin-top: 2.6rem;
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.hero__measure i {
  flex: 1;
  height: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.hero__measure i:nth-child(5n+1) { height: 14px; border-left-color: var(--accent-line); }

/* ==========================================================================
   Cred strip
   ========================================================================== */

.cred {
  background: var(--bg-white);
  border-bottom: 1px solid rgba(16, 19, 20, 0.07);
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
}
.cred__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cred__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cred__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cred__value {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); }
.section--dark-2 { background: var(--bg-dark-2); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-head p { margin-top: 0.9rem; }

/* ==========================================================================
   Intro / values
   ========================================================================== */

.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.intro__grid p + p { margin-top: 1rem; }

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.4rem;
}
.value-card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.value-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.value-card h3 {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.value-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.value-card p { font-size: 0.9rem; }

/* ==========================================================================
   Services: numbered technical rows
   ========================================================================== */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.2rem, 4.5vw, 3.6rem) 0;
  border-top: 1px solid rgba(16, 19, 20, 0.1);
}
.service-row:last-child { border-bottom: 1px solid rgba(16, 19, 20, 0.1); }
.service-row:nth-child(even) .service-row__media { order: 2; }

.service-row__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: 0 18px 44px rgba(16, 19, 20, 0.12);
}
.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-row:hover .service-row__media img { transform: scale(1.04); }

.service-row__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-deep);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.service-row__tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}
.service-row h3 { margin-bottom: 0.8rem; }
.service-row p { max-width: 46ch; }

/* ==========================================================================
   Build paths: semi-custom vs fully custom
   ========================================================================== */

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.path-card {
  background: var(--bg-white);
  border: 1px solid rgba(16, 19, 20, 0.09);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 10px 30px rgba(16, 19, 20, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 19, 20, 0.1);
  border-color: var(--accent-line);
}
.path-card__spec {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.path-card__spec::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(16, 19, 20, 0.1);
}
.path-card h3 { margin-bottom: 0.7rem; }
.path-card > p { margin-bottom: 1.2rem; }
.path-card ul { list-style: none; }
.path-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  font-size: 0.94rem;
  border-top: 1px dashed rgba(16, 19, 20, 0.1);
}
.path-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.95rem;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.paths__note {
  margin-top: 1.6rem;
  font-size: 0.98rem;
  color: var(--text-body);
  max-width: 62ch;
}

/* ==========================================================================
   Process: scroll-driven timeline (signature)
   ========================================================================== */

.process__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.process__sticky {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.process__sticky .section-head { margin-bottom: 1.8rem; }
.process__sticky-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.process__sticky-media img { width: 100%; height: 100%; object-fit: cover; }

.timeline {
  position: relative;
  padding-left: 2.2rem;
}
.timeline__track {
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.timeline__progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(0);
}
.step {
  position: relative;
  padding: 1.1rem 0 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.step:last-child { border-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 1.65rem;
  width: 9px;
  height: 9px;
  margin-left: 4.5px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.step.is-active::before { border-color: var(--accent); background: var(--accent); }
.step__num {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; max-width: 52ch; }

/* ==========================================================================
   Work gallery: horizontal rail
   ========================================================================== */

.rail-wrap { position: relative; }
.rail {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem var(--gutter) 1.4rem;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__card {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 380px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  box-shadow: 0 12px 32px rgba(16, 19, 20, 0.1);
}
.rail__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.rail__card:hover img { transform: scale(1.05); }
.rail__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  background: rgba(16, 19, 20, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.rail-hint {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.rail-hint::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--accent);
}

/* ==========================================================================
   Founder
   ========================================================================== */

.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.founder__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.founder__media img { width: 100%; height: 100%; object-fit: cover; }
.founder__body p + p { margin-top: 1rem; }
.founder__sign {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.founder__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-light);
}
.founder__role {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { max-width: 780px; }
.faq-item {
  border: 1px solid rgba(16, 19, 20, 0.1);
  border-radius: var(--radius);
  background: var(--bg-white);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text-dark);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item summary .faq-x {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.faq-item summary .faq-x::before,
.faq-item summary .faq-x::after {
  content: "";
  position: absolute;
  background: var(--accent-deep);
  transition: transform 0.3s var(--ease);
}
.faq-item summary .faq-x::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-item summary .faq-x::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] summary .faq-x::after { transform: scaleY(0); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; font-size: 0.95rem; }

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

.cta { position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-muted), transparent 70%);
}
.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.cta__grid .btn { margin-top: 1.6rem; }

.contact-card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line .k {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}
.contact-line .v {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-light);
}
.contact-line a.v { padding-block: 0.5rem; margin-block: -0.5rem; min-height: 44px; display: inline-flex; align-items: center; }
.contact-line a.v:hover { color: var(--accent); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 2.4rem;
}
.footer__brand img {
  width: 120px;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.footer__brand p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  max-width: 34ch;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.footer ul { list-style: none; }
.footer li a, .footer li {
  display: inline-block;
  color: var(--text-light-muted);
  font-size: 0.92rem;
  padding-block: 0.3rem;
}
.footer li a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   404
   ========================================================================== */

.error-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
}
.error__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-line);
  margin-bottom: 1rem;
}
.error-section h1 { color: var(--text-light); margin-bottom: 1rem; }
.error-section p { color: var(--text-light-muted); max-width: 46ch; margin-bottom: 2rem; }

/* ==========================================================================
   Reveal animation base
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .nav__links { gap: 1.3rem; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }

  .intro__grid,
  .founder__grid,
  .cta__grid,
  .process__layout { grid-template-columns: 1fr; }

  .process__sticky { position: static; }
  .process__sticky-media { margin-bottom: 2rem; }

  .service-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .service-row:nth-child(even) .service-row__media { order: 0; }

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

  .cred__row { grid-template-columns: 1fr 1fr; gap: 1.1rem; }

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

@media (max-width: 768px) {
  .hero:not([style]) {
    height: auto;
    min-height: 100svh;
    padding-top: 6.5rem;
  }
  .hero__content { padding-bottom: 3rem; }
  .values { grid-template-columns: 1fr; }
  .footer li a { padding-block: 0.65rem; }
  .mobile-menu__meta a { display: inline-block; padding-block: 0.75rem; }
}

@media (max-width: 480px) {
  .hero:not([style]) { padding-top: 5.5rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .cred__row { grid-template-columns: 1fr; }
  .hero__chip { font-size: 0.66rem; }
}
