/* ============================================================
   Self-hosted Vazirmatn (fonts/ directory) — no Google dependency
   for Persian text. font-display: swap = text is always visible
   immediately in the fallback font, upgrading when loaded.
   ============================================================ */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Padashian Tech — styles.css
   ------------------------------------------------------------
   Single stylesheet, organized top-to-bottom:
     1. Design tokens (CSS custom properties)
     2. Reset & base
     3. Layout primitives (.container, .section)
     4. Components (header, buttons, eyebrow, footer)
     5. Home page sections (hero, about, services)
     6. Reveal animation
     7. Responsive adjustments
   All colors/spacing/type come from the tokens in :root — never
   hardcode a raw value in a rule further down; add a token first.
   ============================================================ */

/* 1. DESIGN TOKENS ------------------------------------------- */
:root {
  /* Color — navy-tinted dark scale shared by hero + footer */
  --graphite-950: #05070d;
  --graphite-900: #0b1220;
  --graphite-800: #16233a;
  --graphite-700: #22344f;
  --titanium-500: #8a8f98;
  --titanium-300: #c7c9ce;
  --titanium-200: #e4e4e7;
  --titanium-100: #f0f0f1;
  --signal-white: #fafafa;
  --pure-white: #ffffff;
  --ion-600: #2952c8;
  --ion-500: #3b6ef6;
  --solar-500: #f5a623; /* renewable-energy contexts only; use sparingly */

  /* Type — Vazirmatn carries all Persian text (body + headings);
     Space Grotesk is kept only for the Latin brand mark (logo/footer). */
  --font-display: "Vazirmatn", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --font-latin: "Space Grotesk", sans-serif;

  /* Fluid type scale */
  --text-display-xl: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --text-display-md: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  --text-body-lg: 1.125rem;
  --text-body-md: 1rem;
  --text-body-sm: 0.875rem;

  /* Spacing & layout */
  --section-y: clamp(3rem, 8vw, 6rem);
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --content-max: 1280px;
  --header-height: 4.5rem;

  /* Radius */
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-base: 300ms;
  --duration-slow: 600ms;
}

/* 2. RESET & BASE -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: 1.8; /* Persian script needs more vertical room than Latin */
  color: var(--graphite-950);
  background: var(--signal-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3; /* Persian ascenders/descenders clip at Latin-tight line heights */
  letter-spacing: 0; /* negative tracking breaks Persian letter connections */
}

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

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

/* Visible, deliberate focus states — WCAG requirement, and the right
   signal for an industrial/government audience. */
:focus-visible {
  outline: 2px solid var(--ion-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--ion-500);
  color: var(--pure-white);
}

/* Skip link for keyboard users — visually hidden until focused. */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--graphite-950);
  color: var(--signal-white);
  border-radius: var(--radius-md);
}

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

/* 3. LAYOUT PRIMITIVES ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* Pages without a full-bleed hero need their content pushed below the
   fixed header. This handles it automatically for every future page:
   main gets the offset by default, and removes it when a .hero is
   present (the hero fills the space itself). Browsers too old for
   :has() would show a small harmless gap above the home hero. */
main {
  padding-top: var(--header-height);
}

main:has(.hero) {
  padding-top: 0;
}

.section--muted {
  background: var(--titanium-100);
}

/* 4. COMPONENTS ------------------------------------------------ */

/* Header — fixed; transparent over the hero, solid after scroll.
   JS toggles .is-solid (see js/main.js). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Keep the Latin brand mark on the LEFT and the menu on the RIGHT even in
   RTL, matching the original approved layout (space-between pins them to
   opposite edges; row-reverse restores the left/right assignment). */
[dir="rtl"] .site-header .container {
  flex-direction: row-reverse;
}

.site-header__logo {
  font-family: var(--font-latin);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--signal-white);
  transition: color var(--duration-base) var(--ease-out-expo);
}

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

.site-nav a {
  font-size: var(--text-body-sm);
  color: rgba(250, 250, 250, 0.85);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-nav a:hover {
  color: var(--signal-white);
}

.site-header.is-solid {
  background: rgba(250, 250, 250, 0.9);
  border-bottom-color: var(--titanium-200);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header.is-solid .site-header__logo {
  color: var(--graphite-950);
}

.site-header.is-solid .site-nav a {
  color: var(--graphite-950);
}

.site-header.is-solid .site-nav a:hover {
  color: var(--ion-500);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--signal-white);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-header.is-solid .nav-toggle {
  color: var(--graphite-950);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

.btn--pill {
  border-radius: 999px;
}

.btn--lg {
  height: 3.5rem;
  padding-inline: 2rem;
  font-size: var(--text-body-lg);
}

.btn--primary {
  background: var(--ion-500);
  color: var(--signal-white);
  border: 1px solid var(--ion-500);
  height: 3rem;
  padding-inline: 1.75rem;
}

.btn--primary:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.btn--outline {
  background: transparent;
  color: var(--graphite-950);
  border: 1px solid var(--titanium-300);
  height: 3rem;
  padding-inline: 1.75rem;
}

.btn--outline:hover {
  border-color: var(--graphite-950);
}

.btn--outline-light {
  border: 1px solid rgba(250, 250, 250, 0.4);
  color: var(--signal-white);
  background: transparent;
}

.btn--outline-light:hover {
  border-color: var(--signal-white);
  background: rgba(250, 250, 250, 0.1);
}

/* Eyebrow — small uppercase label above section headings */
.eyebrow {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--titanium-500);
}

/* Latin-only styling (applies if an English page reuses .eyebrow later) */
.eyebrow:lang(en) {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Text link with arrow (Learn More / View All Services) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--ion-500);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.text-link:hover {
  color: var(--ion-600);
}

.text-link svg {
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* In RTL the arrow icon must point left and travel left on hover */
[dir="rtl"] .text-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .text-link:hover svg {
  transform: scaleX(-1) translateX(3px);
}

/* Footer */
.site-footer {
  background: var(--graphite-950);
  color: var(--signal-white);
}

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

.site-footer__brand {
  font-family: var(--font-latin);
  font-size: 1.125rem;
  font-weight: 500;
}

.site-footer__slogan {
  margin-top: 0.5rem;
  font-size: var(--text-body-sm);
  color: var(--titanium-300);
}

/* The brand mark is LTR/left-aligned; keep the slogan and footer links
   stacked directly beneath it (instead of drifting to the right edge,
   which RTL block alignment would otherwise do). */
[dir="rtl"] .site-footer__slogan,
[dir="rtl"] .site-footer__nav {
  text-align: left;
}

.site-footer__nav {
  margin-top: 1.5rem;
}

.site-footer__nav a {
  font-size: var(--text-body-sm);
  color: var(--titanium-300);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-footer__nav a:hover {
  color: var(--signal-white);
}

.site-footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--graphite-700);
  font-size: var(--text-body-sm);
  color: var(--titanium-500);
}

/* 5. HOME PAGE SECTIONS ---------------------------------------- */

/* Hero — fills the viewport, sits flush behind the fixed header */
.hero {
  position: relative;
  min-height: 100vh; /* fallback */
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

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

.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--graphite-950), var(--graphite-900) 55%, var(--graphite-800));
}

/* The hero photo (real Earth image, webp + jpg fallback). Anchored to the
   bottom so the planet's glowing horizon stays in frame at every aspect
   ratio; .hero__sky behind it acts as a fallback if the image fails. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Subtle dark scrim at the very top so the transparent header's white
   logo/nav stay readable over the photo's brighter star regions. */
.hero__scrim {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.45), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-block: 8rem;
  /* Lift the title clear of the bright horizon glow */
  margin-bottom: 18vh;
}

.hero__title {
  font-size: var(--text-display-xl);
}

/* Company tagline pinned to the bottom edge of the hero */
.hero__tagline {
  position: absolute;
  bottom: 2rem;
  inset-inline: 0;
  z-index: 1;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.95);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(5, 7, 13, 0.6);
}

.hero__cta {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* About preview */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* Graceful placeholder until images/home/solar-panels.jpg is added */
  background: linear-gradient(135deg, var(--titanium-100), var(--titanium-200));
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h2 {
  margin-top: 0.75rem;
  font-size: var(--text-display-md);
}

.about-copy p {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--titanium-500);
}

.about-copy .text-link {
  margin-top: 1.5rem;
}

/* Page hero — inner pages' compact dark banner. Reuses the earth photo
   (already cached from the home page, so no extra download) under a dark
   overlay. Deliberately NOT .hero: the fixed header stays solid on inner
   pages, and main's default top padding applies. */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.55), rgba(5, 7, 13, 0.75));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.page-hero__content h1 {
  font-size: var(--text-display-md);
}

.page-hero__content p {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 34rem;
  color: var(--titanium-300);
}

/* Service panels (services page) — larger sibling of .contact-card */
.service-panels {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.service-panel {
  padding: 2.5rem;
  border: 1px solid var(--titanium-200);
  border-radius: var(--radius-lg);
  background: var(--pure-white);
  transition:
    border-color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.service-panel:hover {
  border-color: var(--ion-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.service-panel svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ion-500);
}

.service-panel h2 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.service-panel p {
  margin-top: 0.75rem;
  color: var(--titanium-500);
}

/* Coming soon (projects page) */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(2rem, 8vw, 5rem);
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--titanium-200);
  border-radius: 999px;
  background: var(--pure-white);
  font-size: var(--text-body-sm);
  color: var(--titanium-500);
}

.coming-soon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ion-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(59, 110, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0); }
}

.coming-soon__title {
  margin-top: 1.75rem;
  font-size: var(--text-display-xl);
}

.coming-soon__text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--titanium-500);
}

.coming-soon__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* About story */
.about-story {
  max-width: 44rem;
  margin-inline: auto;
}

.about-copy p.about-story__lead,
.about-story__lead {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.9;
  color: var(--graphite-950);
  max-width: none;
}

.about-story p + p {
  margin-top: 1.5rem;
  color: var(--titanium-500);
}

/* Values cards inherit .contact-card; just neutralize link-hover cursor */
.values-grid .contact-card {
  cursor: default;
}

/* Belief statement band (dark, closing moment of the About page) */
.statement-band {
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.statement-band .container {
  padding-block: clamp(4rem, 10vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statement-band__text {
  max-width: 38rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display-md);
  line-height: 1.5;
}

.statement-band__slogan {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
  color: var(--titanium-300);
}

.statement-band__cta {
  margin-top: 2.5rem;
}

/* Portrait variant of the about media frame (founder photo) */
.about-media--portrait {
  aspect-ratio: 4 / 5;
  max-width: 26rem;
}

/* Founder signature line under the story text */
.founder-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--titanium-200);
}

.founder-note__name {
  font-weight: 700;
  color: var(--graphite-950);
}

.founder-note__role {
  margin-top: 0.2rem;
  font-size: var(--text-body-sm);
  color: var(--titanium-500);
}

/* Team grid (Apple-leadership style: photo, name, role) */
.team-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 17rem;
  text-align: center;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--titanium-200);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.team-card p {
  margin-top: 0.25rem;
  font-size: var(--text-body-sm);
  color: var(--titanium-500);
}

/* 1. Breathing room between the values heading and the cards */
.values-grid {
  margin-top: 3.5rem;
}

/* Light variant of the statement band: same form, page background */
.statement-band--light {
  background: var(--signal-white);
  color: var(--graphite-950);
}

.statement-band--light .statement-band__slogan {
  color: var(--titanium-500);
}

/* Contact cards */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid var(--titanium-200);
  border-radius: var(--radius-lg);
  background: var(--pure-white);
  transition:
    border-color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.contact-card:hover {
  border-color: var(--ion-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.contact-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--ion-500);
}

.contact-card h2 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.contact-card p {
  margin-top: 0.5rem;
  font-size: var(--text-body-sm);
  color: var(--titanium-500);
}

.contact-card__value {
  margin-top: 1.25rem;
  font-family: var(--font-latin);
  font-weight: 500;
  color: var(--ion-500);
}

/* Services preview */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-header h2 {
  margin-top: 0.75rem;
  font-size: var(--text-display-md);
}

.services-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--ion-500);
}

.service-card h3 {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 500;
  letter-spacing: 0;
}

.service-card p {
  margin-top: 0.5rem;
  max-width: 240px;
  font-size: var(--text-body-sm);
  color: var(--titanium-500);
}

.services-footer {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* 6. REVEAL ANIMATION ------------------------------------------ */
/* Elements with [data-reveal] start slightly lowered and transparent;
   js/main.js adds .is-revealed when they enter the viewport. If JS is
   disabled, the `no-js` class on <html> (removed by JS) keeps
   everything fully visible — content never depends on JS to appear. */
html:not(.no-js) [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

html:not(.no-js) [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 7. RESPONSIVE ADJUSTMENTS ------------------------------------ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--signal-white);
    border-bottom: 1px solid var(--titanium-200);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      transform var(--duration-base) var(--ease-out-expo),
      visibility 0s linear var(--duration-base);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      transform var(--duration-base) var(--ease-out-expo);
  }

  .site-nav a {
    padding: 1rem var(--gutter);
    color: var(--graphite-950);
    border-top: 1px solid var(--titanium-200);
  }

  /* When the mobile menu is open the header must be solid regardless of
     scroll position, or white nav text would sit on a white panel. JS
     adds .is-solid whenever the menu opens. */
}

/* Reduced motion: kill transitions/animations and the smooth scroll.
   The reveal elements simply appear in place. */
@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;
  }
}
