/*
  Base variables and font faces
  — mobile-first, one property per line, BEM selectors with legacy class aliases
*/

:root {
  --surface-light: #f8f9e9;
  --title-cream: #f8f9e9;
  --brand-green: #0a4c4a;
  --text-primary: #000000;
  --overlay: rgba(0, 0, 0, 0.05);
  --outline-border: rgba(0, 0, 0, 0.3);
  --spacing-xs: 16px;
  --spacing-3xl: 48px;
  --spacing-6xl: 72px;
  --font-title: 'NaN Holo Compressed', Helvetica, sans-serif;
  --font-text: 'NaN Holo Narrow', Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

img {
  display: block;
  max-width: 100%;
}

body {
  font-family: var(--font-text);
  color: var(--text-primary);
  background: #ffffff;
}

@font-face {
  font-family: 'NaN Holo Compressed';
  src: url('../fonts/nanholocompressed-bold-subset.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NaN Holo Narrow';
  src: url('../fonts/nanholonarrow-regular-subset.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NaN Holo Narrow';
  src: url('../fonts/nanholonarrow-bold-subset.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
  Hero block (BEM) — mobile first
*/

.hero {
  position: relative;
  width: 100%;
  height: 812px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 70vh;
  }
}

@media (min-width: 1200px) {
  .hero {
    height: 852px;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--hero-parallax, 0px));
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero__logo {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 176px;
  height: auto;
}

.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1200px) {
  .hero__logo {
    top: 0;
    width: 252px;
  }
}

.hero__title {
  position: absolute;
  right: 12px;
  left: auto;
  top: 626px;
  transform: none;
  text-align: right;
  text-transform: uppercase;
  color: var(--title-cream);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero__title p {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
}


@media (prefers-reduced-motion: reduce) {
  .hero__image {
    transform: none !important;
  }
}
@media (min-width: 1200px) {
  .hero__title {
    right: 32px;
    left: auto;
    top: 556px;
    transform: none;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
  }

  .hero__title p {
    font-size: 96px;
  }
}

/*
  Section block (BEM) — intro, content blocks, footer
*/

.section {
  background: var(--surface-light);
}

.section--intro {
  padding-top: var(--spacing-6xl);
  padding-right: var(--spacing-xs);
  padding-bottom: var(--spacing-6xl);
  padding-left: var(--spacing-xs);
}

@media (min-width: 1200px) {
  .section--intro {
    padding-right: 269px;
    padding-left: 269px;
  }
}

.section--block {
  padding-top: var(--spacing-xs);
  padding-right: var(--spacing-xs);
  padding-bottom: var(--spacing-3xl);
  padding-left: var(--spacing-xs);
}

@media (min-width: 1200px) {
  .section--block {
    padding-right: 270px;
    padding-left: 270px;
  }
}

.section--footer {
  padding-top: var(--spacing-3xl);
  padding-right: var(--spacing-xs);
  padding-bottom: var(--spacing-3xl);
  padding-left: var(--spacing-xs);
}

@media (min-width: 1200px) {
  .section--footer {
    padding-right: 270px;
    padding-left: 270px;
  }
}

.section__container {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.section__container--narrow {
  max-width: 900px;
}

.section__intro {
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
}

.section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.section__dash {
  width: 33.696px;
  height: 8.496px;
  background: var(--brand-green);
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--brand-green);
  text-align: center;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 64px;
  }
}

@media (min-width: 1200px) {
  .section__title {
    font-size: 96px;
  }
}

.section__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-3xl);
}

@media (min-width: 1200px) {
  .section__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 64px;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding-top: 12px;
  padding-right: 20px;
  padding-bottom: 12px;
  padding-left: 20px;
  border-radius: 40px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  text-decoration: none;
}

.button--outline {
  border-color: var(--outline-border);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
  background: transparent;
}

.site-footer__note {
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
