@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171a1a;
  --ink-soft: #2d3131;
  --paper: #f2f0e9;
  --white: #fff;
  --steel: #d8dddc;
  --muted: #69706f;
  --orange: #ff671d;
  --orange-dark: #cf4510;
  --line: rgba(23, 26, 26, 0.17);
  --shell: min(90rem, calc(100% - 4rem));
  --header-height: 5.5rem;
  --radius: 0.25rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 0.98; letter-spacing: -0.045em; }

h1, h2 {
  font-family: "Arial Narrow", "Manrope", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-block-end: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.5rem);
}

h3 { font-size: 1.35rem; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section { padding-block: clamp(5.5rem, 9vw, 10rem); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset-block-start: 0;
  inset-inline: 0;
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(23, 26, 26, 0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-content: center;
  gap: 0.2rem;
  background: var(--orange);
  transform: skewX(-9deg);
}

.brand-mark i {
  display: block;
  width: 1.5rem;
  height: 0.19rem;
  background: var(--white);
}

.brand-mark i:nth-child(2) { width: 1.15rem; }
.brand-mark i:nth-child(3) { width: 0.8rem; }

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1.12rem; font-weight: 900; letter-spacing: -0.03em; }
.brand-copy small { font-size: 0.66rem; color: rgba(255,255,255,0.64); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  font-size: 0.85rem;
  font-weight: 600;
}

.main-nav a { position: relative; }
.main-nav > a:not(.header-phone)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -0.4rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.main-nav > a:hover::after { transform: scaleX(1); }

.header-phone {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-block-end: 1.6rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 2.5rem;
  height: 2px;
  background: var(--orange);
}

.eyebrow.dark { color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,0.62); }

.button {
  min-height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--orange);
  border-radius: 0;
  background: var(--orange);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.button span { font-size: 1.25rem; }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-light:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.8rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-delay { transition-delay: 100ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
