/* ==========================================================================
   Maziko Technologies — maziko.mw
   Mobile-first stylesheet. Breakpoints are min-width only.
   540px  → large phones / small tablets
   768px  → tablets
   960px  → small laptops (desktop nav appears here)
   1200px → large screens
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --green-900: #02403d;
  --green-800: #063f3c;
  --green-700: #0a6b65;
  --green-300: #9fc7c0;
  --green-200: #c9ddd9;
  --green-100: #e4eeea;
  --gold: #c98a3e;
  --gold-ink: #231404;

  /* Neutrals */
  --cream: #f6f4ef;
  --white: #ffffff;
  --ink: #12211f;
  --body: #4b5a58;
  --muted: #54655f;
  --faint: #8a9691;

  /* Lines & shadows */
  --line: rgba(2, 64, 61, 0.14);
  --line-soft: rgba(2, 64, 61, 0.1);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 1px 2px rgba(2, 64, 61, 0.06);
  --shadow-md: 0 12px 32px -18px rgba(2, 64, 61, 0.45);
  --shadow-lg: 0 28px 60px -32px rgba(2, 64, 61, 0.55);

  /* Type */
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm — scales with the viewport so every section breathes on mobile */
  --gutter: clamp(1.125rem, 5vw, 2rem);
  --section-y: clamp(3.5rem, 9vw, 6rem);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --pill: 999px;

  --wrap: 1180px;
  --header-h: 64px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 960px) {
  :root {
    --header-h: 76px;
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--green-900);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--green-900);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--green-700);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  color: var(--green-900);
  font-weight: 600;
}

::selection {
  background: var(--green-900);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — keyboard users land here first */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: 0 var(--section-y);
}

.section--panel {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section--dark {
  background: var(--green-900);
  color: #fff;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.875rem;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head h2 {
  font-size: clamp(1.75rem, 5.4vw, 2.875rem);
  font-weight: 700;
  max-width: 20ch;
}

.section-head__lead {
  font-size: clamp(1rem, 2.4vw, 1.0625rem);
  color: var(--body);
  margin-top: 1rem;
  max-width: 56ch;
}

.section--dark .eyebrow {
  color: var(--green-300);
}

.section--dark .section-head__lead {
  color: var(--green-200);
}

@media (min-width: 900px) {
  .section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }

  .section-head--split h2 {
    max-width: 15ch;
  }

  .section-head--split .section-head__lead {
    margin-top: 0;
    max-width: 34ch;
    flex: 0 1 24rem;
  }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px; /* comfortable tap target */
  padding: 0.8125rem 1.5rem;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9688rem;
  line-height: 1.2;
  text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--green-900);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-700);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(2, 64, 61, 0.25);
  color: var(--green-900);
}

.btn--ghost:hover {
  border-color: var(--green-900);
  background: rgba(2, 64, 61, 0.04);
  color: var(--green-900);
}

.btn--light {
  background: #fff;
  color: var(--green-900);
}

.btn--light:hover {
  background: var(--green-100);
  color: var(--green-900);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 419px) {
  /* On the narrowest phones stacked full-width buttons beat cramped pills */
  .btn-row .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .btn {
    padding: 0.9375rem 1.75rem;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.625rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 30px;
  width: auto;
}

@media (min-width: 960px) {
  .brand img {
    height: 34px;
  }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-right: -0.375rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--green-900);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile drawer.
   Anchored to the header rather than the viewport on purpose: the header's
   backdrop-filter makes it the containing block for fixed descendants, which
   would collapse a `position: fixed` panel to nothing. */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.5rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.site-nav a:last-of-type {
  border-bottom: 0;
}

.site-nav .btn {
  margin-top: 1rem;
  min-height: 52px;
  border-bottom: 0;
  color: #fff;
}

.nav-meta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: grid;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.nav-meta a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  font-weight: 600;
  color: var(--green-900);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.875rem;
    padding: 0;
    background: transparent;
    border: 0;
    overflow: visible;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    min-height: 0;
    padding: 0;
    border: 0;
    font-size: 0.9063rem;
    font-weight: 500;
    color: #2a3e3b;
  }

  .site-nav a:hover {
    color: var(--green-900);
  }

  .site-nav .btn {
    margin-top: 0;
    min-height: 42px;
    padding: 0.625rem 1.25rem;
    font-size: 0.9063rem;
  }

  .nav-meta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero__mark {
  position: absolute;
  right: -22%;
  top: 6%;
  width: min(520px, 78vw);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  max-width: 54rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 0.875rem 0.4375rem 0.625rem;
  background: var(--green-100);
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: 0.02em;
  margin-bottom: 1.375rem;
  text-wrap: balance;
}

.badge::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

@media (min-width: 540px) {
  .badge {
    font-size: 0.8125rem;
  }
}

.hero h1 {
  font-size: clamp(2.125rem, 8.2vw, 4.625rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: clamp(1.0313rem, 2.6vw, 1.25rem);
  line-height: 1.62;
  color: #3c4f4c;
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   7. Stat strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--cream);
  padding: clamp(1.125rem, 4vw, 1.75rem) clamp(1rem, 3.5vw, 1.625rem);
}

.stat__figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 6vw, 2.375rem);
  color: var(--green-900);
  line-height: 1;
}

.stat__label {
  font-size: clamp(0.8125rem, 2.2vw, 0.875rem);
  color: var(--muted);
  margin-top: 0.375rem;
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   8. Cards & product grid
   -------------------------------------------------------------------------- */
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.375rem, 4.5vw, 2rem);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.section--panel .card {
  background: var(--cream);
}

@media (hover: hover) {
  .card--interactive:hover {
    border-color: rgba(2, 64, 61, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

.card h3 {
  font-size: clamp(1.1875rem, 3.4vw, 1.4375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

.card__kicker {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 0.875rem;
}

.card p {
  font-size: clamp(0.9375rem, 2.4vw, 0.9688rem);
  line-height: 1.62;
  color: var(--body);
}

.card--label {
  font-size: 0.7813rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}

.product-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.375rem;
  }
}

/* Feature pair — Maziko Mail + MX Core */
.feature-pair {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .feature-pair {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .feature-pair {
    grid-template-columns: 1.35fr 1fr;
    gap: 1.375rem;
    margin-bottom: 1.375rem;
  }
}

.feature {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.feature__mark {
  position: absolute;
  right: -3.75rem;
  bottom: -4.375rem;
  width: 17.5rem;
  opacity: 0.09;
  pointer-events: none;
}

.feature__body {
  position: relative;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.8125rem;
  background: var(--gold);
  color: var(--gold-ink);
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.feature h3 {
  color: #fff;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.feature__kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-300);
  margin-bottom: 1.125rem;
}

.feature p {
  font-size: clamp(0.9688rem, 2.5vw, 1.0313rem);
  line-height: 1.65;
  color: #d8e6e3;
  max-width: 36rem;
}

.feature p + p {
  margin-top: 0.875rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--pill);
  font-size: 0.8125rem;
  color: #eaf3f1;
}

.card--flagship {
  display: flex;
  flex-direction: column;
}

.card--flagship h3 {
  font-size: clamp(1.375rem, 4.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card__foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9063rem;
  color: var(--muted);
}

.card p + .card__foot {
  margin-top: 1.375rem;
}

.card--cta {
  background: var(--green-100);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.card--cta p {
  color: #3c4f4c;
}

.card--cta .btn {
  align-self: flex-start;
}

@media (max-width: 419px) {
  .card--cta .btn {
    align-self: stretch;
  }
}

/* --------------------------------------------------------------------------
   9. About & milestones
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 4.5rem);
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.prose p {
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--body);
}

.prose p + p {
  margin-top: 1.125rem;
}

.about-grid h2 {
  font-size: clamp(1.75rem, 5.4vw, 2.875rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.quote-card {
  margin-top: 2rem;
  padding: clamp(1.5rem, 5vw, 1.875rem);
  background: var(--green-900);
  border-radius: var(--radius);
  color: #fff;
}

.quote-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
}

.quote-card p {
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--green-200);
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.875rem;
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 3.4vw, 1.375rem);
  color: var(--green-900);
  line-height: 1.3;
}

.timeline__item--accent .timeline__year {
  color: var(--gold);
}

.timeline__body {
  padding-left: 1.125rem;
  padding-bottom: 0.25rem;
  border-left: 2px solid rgba(2, 64, 61, 0.18);
}

.timeline__title {
  font-weight: 600;
  font-size: clamp(0.9688rem, 2.6vw, 1.0313rem);
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.timeline__body p {
  font-size: clamp(0.9063rem, 2.4vw, 0.9375rem);
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 540px) {
  .timeline__item {
    grid-template-columns: 4.875rem 1fr;
    gap: 1.375rem;
  }

  .timeline__body {
    padding-left: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   10. Differentiators (dark hairline grid)
   -------------------------------------------------------------------------- */
.hairline-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.hairline-grid > * {
  background: var(--green-900);
  padding: clamp(1.375rem, 4.5vw, 2rem);
}

.hairline-grid h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 3vw, 1.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
}

.hairline-grid p {
  font-size: clamp(0.9375rem, 2.4vw, 0.9688rem);
  line-height: 1.65;
  color: #b9d2ce;
}

@media (min-width: 700px) {
  .hairline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hairline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   11. Clients
   -------------------------------------------------------------------------- */
.client-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

@media (min-width: 768px) {
  .client-grid {
    gap: 1.125rem;
  }
}

.client {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.125rem, 3.5vw, 1.625rem);
}

.client__name {
  font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.0625rem);
  color: var(--green-900);
  margin-bottom: 0.5rem;
}

.client p {
  font-size: clamp(0.875rem, 2.3vw, 0.9063rem);
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */
.contact-panel {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 6vw, 4rem);
  box-shadow: var(--shadow-lg);
}

.contact-panel__mark {
  position: absolute;
  right: -3rem;
  top: -3.75rem;
  width: min(21rem, 60vw);
  opacity: 0.08;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
}

.contact-panel h2 {
  color: #fff;
  font-size: clamp(1.6875rem, 5.6vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-panel__lead {
  font-size: clamp(1rem, 2.6vw, 1.0938rem);
  line-height: 1.65;
  color: var(--green-200);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

/* Direct-contact rows: big tap targets, tel/mailto on mobile */
.contact-links {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 60px;
  padding: 0.875rem 1.125rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.contact-link__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-link__icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-300);
}

.contact-link__value {
  display: block;
  font-weight: 600;
  font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
  overflow-wrap: anywhere;
}

@media (min-width: 540px) {
  .contact-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .contact-links {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .contact-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.facts__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  background: var(--green-900);
  padding: 0.875rem 1.125rem;
  font-size: 0.9063rem;
}

.facts__row dt {
  color: var(--green-300);
}

.facts__row dd {
  margin: 0;
  font-weight: 600;
}

.facts__row a {
  color: #fff;
}

.facts__row a:hover {
  color: var(--green-300);
}

@media (min-width: 400px) {
  .facts__row {
    flex-wrap: nowrap;
  }

  .facts__row dd {
    text-align: right;
  }
}

@media (min-width: 768px) {
  .facts__row {
    padding: 1.0625rem 1.375rem;
    font-size: 0.9375rem;
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.25rem, 6vw, 3.25rem) calc(2rem + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9063rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 30rem;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.875rem;
}

.footer-col li + li {
  margin-top: 0.5rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9375rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--green-900);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}

.footer-bar p {
  font-size: 0.8125rem;
  color: #6b7a76;
  max-width: 58ch;
}

.footer-bar--bare {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.footer-bar__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--green-900);
}

/* --------------------------------------------------------------------------
   14. Error page
   -------------------------------------------------------------------------- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-y);
}

.error-page__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 18vw, 7rem);
  line-height: 1;
  color: var(--green-900);
  letter-spacing: -0.04em;
}

.error-page h1 {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  margin: 1rem 0 0.75rem;
}

.error-page p {
  color: var(--body);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.error-page .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

/* No-JS safety: never leave revealed content hidden */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.no-js .nav-toggle {
  display: none;
}

/* Without JS the drawer cannot be toggled, so the links sit in the header and
   the header is allowed to wrap onto a second row. */
.no-js .site-header__inner {
  flex-wrap: wrap;
}

.no-js .site-nav {
  position: static;
  flex: 1 0 100%;
  height: auto;
  padding-inline: 0;
  padding-block: 0 0.5rem;
  background: transparent;
  transform: none;
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .nav-toggle,
  .site-nav,
  .btn-row,
  .hero__mark,
  .feature__mark,
  .contact-panel__mark {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section--dark,
  .feature,
  .contact-panel,
  .quote-card,
  .hairline-grid > * {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
  }
}
