/* ==========================================================================
   CTA - Centro de Tecnologia Alternativa | Home institucional
   1. Variáveis e reset
   2. Acessibilidade (skip-link, focus)
   3. Cabeçalho e navegação
   4. Hero
   5. Botões
   6. Métricas
   7. Seções (Quem Somos, Áreas, Projetos, Páginas, 35 anos, Contato)
   8. Rodapé
   9. Responsividade
   ========================================================================== */

/* 1. Variáveis e reset
   ========================================================================== */

:root {
  --green-950: #0d2417;
  --green-800: #1e5b37;
  --green-650: #2e7d4a;
  --gold: #d8c39a;
  --gold-light: #ead8b4;
  --paper: #f7f4ed;
  --ink: #102015;
  --muted: #5f6f64;
  --white: #ffffff;
  --line: rgba(16, 32, 21, 0.12);
  --shadow-soft: 0 18px 55px rgba(13, 36, 23, 0.12);
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, 0.28);
  --container: 1180px;
  --header-offset: 18px;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(216, 195, 154, 0.55);
  color: var(--ink);
}

/* 2. Acessibilidade
   ========================================================================== */

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--green-950);
  color: var(--white);
  font-weight: 800;
  transition: top 180ms ease;
}

.skip-link:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgba(216, 195, 154, 0.72);
  outline-offset: 4px;
}

/* 3. Cabeçalho e navegação
   ========================================================================== */

.site-header {
  position: fixed;
  top: var(--header-offset);
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 clamp(12px, 2vw, 28px);
  pointer-events: none;
}

.header-shell {
  width: min(100%, 1540px);
  min-height: 78px;
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.5vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(13, 36, 23, 0.84);
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: clamp(132px, 13vw, 214px);
}

.brand img {
  width: auto;
  height: clamp(52px, 4.6vw, 70px);
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}

.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.9vw, 18px);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(11px, 0.78vw, 13px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.anniversary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 clamp(16px, 1.6vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(216, 195, 154, 0.2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.anniversary-button:hover,
.anniversary-button:focus-visible {
  background: var(--gold-light);
  box-shadow: 0 16px 34px rgba(216, 195, 154, 0.34);
  transform: translateY(-1px);
}

/* Botão hambúrguer - aparece apenas no mobile/tablet */

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(216, 195, 154, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.header-shell.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-shell.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.header-shell.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 4. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  padding: clamp(150px, 16vh, 210px) clamp(20px, 5vw, 86px) clamp(70px, 10vh, 120px);
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background-color: var(--green-950);
  background-image: url("/imagens-site-2026/hero-centro-formacao.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  z-index: -2;
  background: rgba(4, 16, 10, 0.58);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 16, 10, 0.74) 0%, rgba(4, 16, 10, 0.5) 54%, rgba(4, 16, 10, 0.28) 100%);
}

.hero-content {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: end;
  gap: clamp(36px, 6vw, 92px);
}

.hero-text {
  max-width: 850px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid rgba(216, 195, 154, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker.dark {
  border-color: rgba(30, 91, 55, 0.16);
  background: rgba(46, 125, 74, 0.08);
  color: var(--green-800);
}

.hero h1 {
  margin-top: 26px;
  max-width: 960px;
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 900;
  line-height: 1.04;
}

.hero-text > p {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-card {
  width: 100%;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(13, 36, 23, 0.7);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.hero-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75;
}

/* 5. Botões
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-light);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(216, 195, 154, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.button-dark {
  background: var(--green-950);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(13, 36, 23, 0.18);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--green-800);
}

/* 6. Métricas
   ========================================================================== */

.metrics {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 40px), var(--container));
  margin: -42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(16, 32, 21, 0.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.metrics article {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid rgba(16, 32, 21, 0.08);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--green-800);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

/* 7. Seções
   ========================================================================== */

.section {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 86px);
}

.section-grid,
.section-heading,
.cards-grid,
.project-grid,
.page-grid,
.anniversary-content,
.contact-band,
.footer-inner,
.footer-bottom {
  width: min(100%, var(--container));
  margin-right: auto;
  margin-left: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.image-panel {
  overflow: hidden;
  border-radius: 28px;
  background: #dfe7dc;
  box-shadow: var(--shadow-soft);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.text-panel h2,
.section-heading h2,
.anniversary-content h2,
.contact-band h2 {
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.1;
}

.text-panel h2 {
  margin-top: 18px;
}

.text-panel p {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.78;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--green-800);
  font-weight: 900;
  line-height: 1.2;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: 12px;
  border-radius: 999px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 48px;
}

.section-heading {
  max-width: 850px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 18px;
}

.section-heading.light h2 {
  color: var(--white);
}

/* Áreas de atuação */

.areas {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.cards-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.area-card,
.project-grid article,
.page-grid a {
  min-width: 0;
  border-radius: 22px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.area-card {
  padding: 28px;
  border: 1px solid rgba(16, 32, 21, 0.09);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(13, 36, 23, 0.06);
}

.area-card:hover {
  border-color: rgba(46, 125, 74, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.area-card span,
.project-grid article span,
.page-grid span,
.contact-band span {
  display: inline-flex;
  color: var(--green-650);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-card h3,
.project-grid h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 900;
  line-height: 1.15;
}

.area-card p,
.project-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

/* Oficinas / Projetos */

.projects {
  background: var(--green-950);
  color: var(--white);
}

.projects .section-kicker {
  background: rgba(216, 195, 154, 0.08);
}

.project-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-grid article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.project-grid article:hover {
  border-color: rgba(216, 195, 154, 0.38);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.project-grid article span {
  color: var(--gold);
}

.project-grid h3 {
  color: var(--white);
}

.project-grid p {
  color: rgba(255, 255, 255, 0.74);
}

/* Páginas institucionais */

.institutional-pages {
  background: var(--paper);
}

.page-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-grid a {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(16, 32, 21, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.page-grid a:hover,
.page-grid a:focus-visible {
  border-color: rgba(46, 125, 74, 0.26);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.page-grid strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

/* CTA 35 anos */

.anniversary-section {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 86px);
  background: #efe8d8;
}

.anniversary-content {
  max-width: 920px;
  text-align: center;
}

.anniversary-content h2 {
  margin-top: 18px;
}

.anniversary-content p {
  margin: 24px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.78;
}

.anniversary-content .button {
  margin-top: 34px;
}

/* Faixa de contato */

.contact-band {
  margin-top: clamp(58px, 7vw, 90px);
  margin-bottom: clamp(58px, 7vw, 90px);
  padding: clamp(30px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: 28px;
  background: var(--green-800);
  box-shadow: var(--shadow-soft);
  color: var(--white);
}

.contact-band span {
  color: var(--gold);
}

.contact-band h2 {
  margin-top: 10px;
  color: var(--white);
}

.contact-band p {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

/* 8. Rodapé
   ========================================================================== */

.footer {
  padding: 54px clamp(20px, 5vw, 86px) 0;
  background: var(--green-950);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding-bottom: 36px;
}

.footer img {
  width: min(190px, 36vw);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.footer strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.footer-inner p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.footer nav a:hover,
.footer nav a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
}

/* 9. Responsividade
   ========================================================================== */

@media (max-width: 1366px) {
  .header-shell {
    min-height: 74px;
    gap: 10px;
    padding-right: 12px;
  }

  .brand {
    min-width: 136px;
  }

  .main-nav {
    gap: 9px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .anniversary-button {
    min-height: 42px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }
}

/* Tablet e mobile: menu hambúrguer */

@media (max-width: 1180px) {
  .site-header {
    top: 10px;
    padding: 0 12px;
  }

  .header-shell {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand action toggle";
    gap: 10px;
    padding: 10px 12px 10px 16px;
    border-radius: 28px;
  }

  .brand {
    grid-area: brand;
  }

  .anniversary-button {
    grid-area: action;
  }

  .nav-toggle {
    display: flex;
    grid-area: toggle;
  }

  .main-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-shell.is-open {
    grid-template-areas:
      "brand action toggle"
      "nav nav nav";
  }

  .header-shell.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 13px;
    white-space: normal;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-card {
    max-width: 620px;
  }

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

  .metrics article:nth-child(2) {
    border-right: 0;
  }

  .metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(16, 32, 21, 0.08);
  }

  .section-grid,
  .contact-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    aspect-ratio: 16 / 10;
  }

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

  .contact-band {
    align-items: start;
  }

  .contact-band .button {
    justify-self: start;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-shell {
    padding: 9px 10px 9px 12px;
    border-radius: 24px;
  }

  .brand img {
    height: 48px;
  }

  .anniversary-button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding: 140px 18px 66px;
  }

  .hero::before {
    background: rgba(4, 16, 10, 0.68);
  }

  .section-kicker {
    align-items: flex-start;
    border-radius: 18px;
    white-space: normal;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.06;
  }

  .hero-text > p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-card {
    padding: 24px;
    border-radius: 22px;
  }

  .hero-card strong {
    font-size: 28px;
  }

  .metrics {
    width: calc(100% - 28px);
    margin-top: -26px;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .metrics article,
  .metrics article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 32, 21, 0.08);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .text-panel h2,
  .section-heading h2,
  .anniversary-content h2,
  .contact-band h2 {
    font-size: clamp(28px, 8.4vw, 40px);
    line-height: 1.14;
  }

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

  .area-card,
  .project-grid article,
  .page-grid a {
    border-radius: 18px;
  }

  .page-grid a {
    min-height: 116px;
  }

  .anniversary-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-band {
    width: calc(100% - 36px);
    border-radius: 22px;
  }

  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 0 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 42px;
    max-width: 140px;
  }

  .anniversary-button {
    padding: 0 10px;
    font-size: 10px;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-card {
    display: none;
  }

  .footer nav {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
