/* Maximzoctsportstudio — Urban Performance Studio */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --warm-white: #f7f5f2;
  --cool-white: #eef1f4;
  --concrete: #d4d2cd;
  --graphite: #3a3d42;
  --charcoal: #17191c;
  --slate: #5a6169;
  --electric: #1b6ef3;
  --perf-green: #2bb673;
  --signal: #ff6a3d;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
label,
span,
a,
button,
.btn,
.card,
.modal,
.nav,
.form-field {
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 48rem);
}

.label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric);
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  position: relative;
}

.section--cool {
  background: var(--cool-white);
}

.section--dark {
  background: var(--charcoal);
  color: var(--warm-white);
}

.section--concrete {
  background: linear-gradient(160deg, #ebe8e3 0%, #d9d6d1 100%);
}

.section__head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 0.6rem;
}

.section__head p {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 1.05rem;
}

.section--dark .section__head p,
.section--dark .split__body p,
.section--dark .split__list li {
  color: rgba(247, 245, 242, 0.72);
}

.section--dark .split__list li::before {
  background: var(--electric);
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(58, 61, 66, 0.1);
  box-shadow: 0 8px 30px rgba(23, 25, 28, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  z-index: 1002;
}

.logo img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 17.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 0.35rem;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--electric);
  background: rgba(27, 110, 243, 0.08);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(58, 61, 66, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
  background: var(--warm-white);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.35rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn--primary:hover {
  background: #1558c7;
  box-shadow: 0 10px 28px rgba(27, 110, 243, 0.28);
}

.btn--signal {
  background: var(--signal);
  color: #fff;
}

.btn--signal:hover {
  background: #e85528;
  box-shadow: 0 10px 28px rgba(255, 106, 61, 0.28);
}

.btn--ghost {
  border: 1.5px solid currentColor;
  color: inherit;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--dark-ghost {
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
}

.btn--dark-ghost:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

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

/* —— Hero —— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  display: grid;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--warm-white);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(23, 25, 28, 0.92) 0%, rgba(23, 25, 28, 0.55) 48%, rgba(23, 25, 28, 0.35) 100%),
    linear-gradient(0deg, rgba(23, 25, 28, 0.7) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: auto;
  padding: clamp(3rem, 10vh, 6rem) 0;
  display: grid;
  gap: 1.5rem;
  max-width: 42rem;
  justify-self: start;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero__content .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(247, 245, 242, 0.82);
  max-width: 32rem;
}

.hero__track {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.hero__track span {
  height: 3px;
  flex: 1;
  max-width: 3.5rem;
  background: rgba(247, 245, 242, 0.2);
  border-radius: 2px;
}

.hero__track span:nth-child(1) {
  background: var(--electric);
}

.hero__track span:nth-child(2) {
  background: var(--perf-green);
}

.hero__track span:nth-child(3) {
  background: var(--signal);
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

/* —— Stats / panels —— */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(58, 61, 66, 0.12);
  border: 1px solid rgba(58, 61, 66, 0.12);
}

.stat-grid__item {
  background: var(--warm-white);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: left;
}

.stat-grid__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--electric);
}

.stat-grid__item span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
}

.section--dark .stat-grid {
  background: rgba(247, 245, 242, 0.12);
  border-color: rgba(247, 245, 242, 0.12);
}

.section--dark .stat-grid__item {
  background: #1f2226;
}

.section--dark .stat-grid__item span {
  color: rgba(247, 245, 242, 0.55);
}

/* —— Module / category grid —— */
.module-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.module {
  grid-column: span 4;
  background: #fff;
  border: 1px solid rgba(58, 61, 66, 0.1);
  padding: 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent, var(--electric));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.module:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(23, 25, 28, 0.08);
}

.module:hover::before {
  transform: scaleY(1);
}

.module--wide {
  grid-column: span 6;
}

.module--accent-green {
  --accent: var(--perf-green);
}

.module--accent-orange {
  --accent: var(--signal);
}

.module__index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent, var(--electric));
  margin-bottom: 1rem;
}

.module h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.module p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* —— Split / editorial —— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--concrete);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split:hover .split__media img {
  transform: scale(1.04);
}

.split__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--electric), var(--perf-green), var(--signal));
}

.split__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.split__body p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.split__list {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 1.8rem;
}

.split__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-weight: 500;
}

.split__list li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  background: var(--electric);
  border-radius: 1px;
}

/* —— Feature band —— */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 28rem;
}

.feature-band__media {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
}

.feature-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.feature-band__body {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--charcoal);
  color: var(--warm-white);
}

.feature-band__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.feature-band__body p {
  color: rgba(247, 245, 242, 0.75);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

/* —— Program / service rows —— */
.program-list {
  display: grid;
  gap: 1rem;
}

.program {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(58, 61, 66, 0.1);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.program:hover {
  border-color: var(--electric);
  transform: translateX(4px);
}

.program__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--electric);
  letter-spacing: -0.03em;
}

.program h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.program p {
  color: var(--slate);
  font-size: 0.92rem;
}

.program__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(58, 61, 66, 0.18);
  color: var(--slate);
}

.chip--green {
  border-color: rgba(43, 182, 115, 0.4);
  color: var(--perf-green);
}

.chip--orange {
  border-color: rgba(255, 106, 61, 0.4);
  color: var(--signal);
}

.chip--blue {
  border-color: rgba(27, 110, 243, 0.4);
  color: var(--electric);
}

/* —— Image mosaic —— */
.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: 28rem;
}

.mosaic__item {
  position: relative;
  overflow: hidden;
  background: var(--concrete);
}

.mosaic__item:first-child {
  grid-row: span 2;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.mosaic__item:hover img {
  transform: scale(1.05);
}

.mosaic__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.7rem;
  background: rgba(23, 25, 28, 0.78);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* —— CTA block —— */
.cta-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--warm-white);
}

.cta-block__body {
  padding: clamp(2.2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.cta-block__body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-block__body p {
  color: rgba(247, 245, 242, 0.72);
  max-width: 30rem;
}

.cta-block__media {
  position: relative;
  min-height: 16rem;
}

.cta-block__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  background:
    linear-gradient(135deg, rgba(23, 25, 28, 0.04) 0%, transparent 50%),
    var(--cool-white);
  border-bottom: 1px solid rgba(58, 61, 66, 0.08);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -4rem;
  top: 20%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(27, 110, 243, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.6rem 0 1rem;
  max-width: 16ch;
}

.page-hero p {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 38rem;
}

/* —— Legal —— */
.legal {
  padding: 2rem 0 5rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.2rem 0 0.8rem;
}

.legal p,
.legal li {
  color: var(--slate);
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal ul li {
  list-style: disc;
}

/* —— Contact / form —— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(58, 61, 66, 0.1);
  padding: 1.8rem 1.5rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.contact-meta {
  display: grid;
  gap: 1.1rem;
}

.contact-meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 0.25rem;
}

.contact-meta dd {
  color: var(--graphite);
  font-weight: 500;
}

.contact-visual {
  margin-top: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form {
  background: #fff;
  border: 1px solid rgba(58, 61, 66, 0.1);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.form h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(58, 61, 66, 0.2);
  border-radius: 0.3rem;
  background: var(--warm-white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(27, 110, 243, 0.15);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--signal);
}

.form-field .error {
  font-size: 0.8rem;
  color: var(--signal);
  min-height: 1.1rem;
}

.form .btn {
  justify-self: start;
  margin-top: 0.3rem;
}

.form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form .btn.is-success {
  background: var(--perf-green);
}

/* —— Modal —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 28, 0.62);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  background: var(--warm-white);
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 0.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.3rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--graphite);
  transition: background 0.2s var(--ease);
}

.modal__close:hover {
  background: rgba(58, 61, 66, 0.08);
}

.modal__dialog h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  padding-right: 2rem;
}

.modal__dialog p {
  color: var(--slate);
  margin-bottom: 1.4rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--charcoal);
  color: rgba(247, 245, 242, 0.82);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo span {
  color: var(--warm-white);
  max-width: none;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 22rem;
  color: rgba(247, 245, 242, 0.62);
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: rgba(247, 245, 242, 0.7);
  transition: color 0.25s var(--ease);
}

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

.footer-contact li {
  margin-bottom: 0.55rem;
  color: rgba(247, 245, 242, 0.7);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1.2rem;
}

.social-links a {
  font-weight: 600;
  color: var(--warm-white);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.social-links a:hover {
  color: var(--electric);
  border-bottom-color: var(--electric);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 245, 242, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(247, 245, 242, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-legal a:hover {
  color: var(--warm-white);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* —— Progress bars —— */
.meter {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.meter__row {
  display: grid;
  gap: 0.4rem;
}

.meter__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}

.meter__bar {
  height: 6px;
  background: rgba(58, 61, 66, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  width: 0;
  background: var(--electric);
  border-radius: 3px;
  transition: width 1.2s var(--ease);
}

.meter__fill--green {
  background: var(--perf-green);
}

.meter__fill--orange {
  background: var(--signal);
}

.meter.is-active .meter__fill {
  width: var(--w);
}

.meter__fill[data-w='70'] { --w: 70%; }
.meter__fill[data-w='74'] { --w: 74%; }
.meter__fill[data-w='75'] { --w: 75%; }
.meter__fill[data-w='76'] { --w: 76%; }
.meter__fill[data-w='80'] { --w: 80%; }
.meter__fill[data-w='82'] { --w: 82%; }
.meter__fill[data-w='84'] { --w: 84%; }
.meter__fill[data-w='88'] { --w: 88%; }
.meter__fill[data-w='90'] { --w: 90%; }

/* —— Utilities —— */
.mt-md {
  margin-top: 1.5rem;
}

.mt-lg {
  margin-top: 2rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 3000;
  background: var(--electric);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0.3rem;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 22rem);
    height: 100vh;
    height: 100dvh;
    background: var(--warm-white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.2rem) 1.4rem 2rem;
    gap: 0.25rem;
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    box-shadow: -16px 0 40px rgba(23, 25, 28, 0.12);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.15rem;
    padding: 0.95rem 0.85rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
  }

  .split,
  .split--reverse,
  .feature-band,
  .cta-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .feature-band__media,
  .cta-block__media {
    min-height: 14rem;
    position: relative;
    aspect-ratio: 16 / 10;
  }

  .feature-band__media img,
  .cta-block__media img {
    position: absolute;
  }

  .module {
    grid-column: span 6;
  }

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

  .program {
    grid-template-columns: auto 1fr;
  }

  .program__meta {
    grid-column: 2;
    justify-content: flex-start;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .mosaic__item,
  .mosaic__item:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .module,
  .module--wide {
    grid-column: span 12;
  }

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

  .hero__content h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .logo span {
    font-size: 0.82rem;
    max-width: 15.5rem;
  }

  .btn-group {
    flex-direction: column;
  }

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

@media (max-width: 380px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

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

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

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

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

  .hero__media img {
    transform: none;
    animation: none;
  }
}
