/* =====================================================
   HappyPets
   Monochrome identity: Graphite on Cream.
   Type: Libre Franklin (display) / Inter (body).
   ===================================================== */

:root {
  --graphite: #3A3A38;
  --graphite-90: rgba(58, 58, 56, 0.90);
  --graphite-60: rgba(58, 58, 56, 0.60);
  --graphite-40: rgba(58, 58, 56, 0.40);
  --graphite-15: rgba(58, 58, 56, 0.15);
  --graphite-08: rgba(58, 58, 56, 0.08);
  --cream: #FAFAF7;
  --ivory: #F2EAD9;
  --cream-70: rgba(250, 250, 247, 0.70);
  --cream-45: rgba(250, 250, 247, 0.45);
  --cream-15: rgba(250, 250, 247, 0.15);

  --display: 'Libre Franklin', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section-y: clamp(6rem, 13vw, 12rem);
}

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

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

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--graphite);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

::selection { background: var(--graphite); color: var(--cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite-60);
}

.section--dark .eyebrow,
.contact .eyebrow { color: var(--cream-45); }

/* a label for a second block inside a section: the eyebrow's voice, but it
   carries its own spacing since there is no .section__head to supply it. */
.subhead {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite-60);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.4rem;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--graphite-15);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 0.65rem; }
.mark { width: 34px; height: 34px; }
.nav__wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.35rem, 2.3vw, 2.2rem); }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite-90);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--graphite);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  border: 1px solid var(--graphite);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta:hover { background: var(--graphite); color: var(--cream); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--graphite);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.hero__inner { max-width: 60rem; position: relative; z-index: 2; }

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 1.6rem 0;
}
.hero__title .line { display: block; }
.hero__title .line:last-child { color: var(--graphite-40); }

.hero__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  max-width: 33rem;
  color: var(--graphite-90);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.btn {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--graphite);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn--solid { background: var(--graphite); color: var(--cream); }
.btn--solid:hover { transform: translateY(-2px); }
.btn--ghost:hover { background: var(--graphite); color: var(--cream); transform: translateY(-2px); }

/* hero backdrop mark */
.hero__mark {
  position: absolute;
  right: calc(var(--gutter) * -0.4);
  bottom: -8%;
  width: clamp(20rem, 46vw, 44rem);
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}
.hero__mark.reveal { transition: opacity 1.6s var(--ease) 0.3s, transform 1.6s var(--ease) 0.3s; transform: translateY(40px); }
.hero__mark.reveal.is-visible { opacity: 0.05; transform: none; }

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite-40);
  z-index: 2;
}
.hero__scroll-line {
  width: 56px; height: 1px;
  background: var(--graphite-40);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--graphite);
  animation: scrollSlide 2.6s var(--ease) infinite;
}
@keyframes scrollSlide {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* =====================================================
   STATEMENT (positioning)
   ===================================================== */
.statement {
  border-top: 1px solid var(--graphite-15);
  border-bottom: 1px solid var(--graphite-15);
  padding: clamp(5rem, 11vw, 10rem) var(--gutter);
}
.statement__inner { max-width: 56rem; margin: 0 auto; }
.statement__text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.9vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.statement__text em { font-style: italic; color: var(--graphite-40); }

/* =====================================================
   SECTION SCAFFOLD
   ===================================================== */
.section { padding: var(--section-y) 0; }
.section--rule { border-top: 1px solid var(--graphite-15); }

.section--dark {
  background: var(--graphite);
  color: var(--cream);
}
.section--dark .section__title { color: var(--cream); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-top: 0.9rem;
  max-width: 22ch;
}

.lede {
  max-width: 42rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.lede p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--graphite-90); }
.lede--dark p { color: var(--cream-70); }


/* =====================================================
   HERO FACTS (cover stats)
   ===================================================== */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--graphite-15);
  max-width: 44rem;
}
.hero__facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__facts dd {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-60);
  margin-top: 0.5rem;
  max-width: 11rem;
  line-height: 1.45;
}

/* the hero backdrop mark is a bitmap here, not an inline SVG */
.hero__mark img { width: 100%; height: auto; }

/* =====================================================
   MILESTONES (history)
   ===================================================== */
.milestones { border-top: 1px solid var(--graphite-15); }
.milestone {
  display: grid;
  grid-template-columns: 5rem 1fr 13rem;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.8rem, 3.4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--graphite-15);
  transition: padding-left 0.4s var(--ease);
}
.milestone:hover { padding-left: 0.6rem; }
.milestone__year {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--graphite-40);
  padding-top: 0.3rem;
}
.milestone__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.milestone__body p { font-size: 0.97rem; color: var(--graphite-90); max-width: 38rem; }
.milestone__stat {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.milestone__stat small {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--graphite-60);
  line-height: 1.4;
  max-width: 11rem;
}

/* where we are now */
.now {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--ivory);
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem 2rem;
  align-items: baseline;
}
.now__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite-60);
  grid-column: 1 / -1;
}
.now__year {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.now__text {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--graphite-90);
  max-width: 34rem;
}

/* =====================================================
   CAPABILITIES (platform)
   ===================================================== */
.capabilities { border-top: 1px solid var(--graphite-15); }
.capability {
  display: grid;
  grid-template-columns: 5rem 1fr 14rem;
  gap: 2rem;
  align-items: start;
  padding: clamp(2rem, 4vw, 3.4rem) 0;
  border-bottom: 1px solid var(--graphite-15);
  transition: padding-left 0.4s var(--ease);
}
.capability:hover { padding-left: 0.6rem; }
.capability__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--graphite-40);
  padding-top: 0.4rem;
}
.capability__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.capability__body p { font-size: 1rem; color: var(--graphite-90); max-width: 38rem; }
.capability__stat {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.03em;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.capability__stat small {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--graphite-60);
  line-height: 1.4;
  max-width: 12rem;
}

/* the closing band sits between two dark sections — no top rule needed */
.statement--close { border-top: 0; }

/* =====================================================
   BRANDS (partners)
   ===================================================== */
.brands {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--graphite-15);
  border: 1px solid var(--graphite-15);
}
.brand {
  background: var(--cream);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.6rem;
  align-items: start;
  transition: background 0.35s var(--ease);
}
.brand:hover { background: var(--ivory); }
.brand__logo {
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
}
.brand__logo img {
  width: 100%;
  height: auto;
  /* monochrome at rest to hold the palette; true colour on hover */
  filter: grayscale(1) contrast(0.92) opacity(0.85);
  transition: filter 0.45s var(--ease);
}
.brand:hover .brand__logo img { filter: none; }
.brand__tag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--graphite-40);
  border-radius: 999px;
  color: var(--graphite-60);
  margin-bottom: 0.9rem;
}
.brand__tag--own {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--cream);
}
.brand__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  letter-spacing: -0.02em;
}
.brand__origin {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-60);
  margin: 0.4rem 0 0.85rem;
}
.brand__body p:last-child { font-size: 0.95rem; color: var(--graphite-90); }

/* =====================================================
   GTM (dark)
   ===================================================== */
.gtm { display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.gtm__phase-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}
.gtm__phase-title span {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--cream-45);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-70);
}
.gtm__layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream-15);
  border: 1px solid var(--cream-15);
}
.layer {
  background: var(--graphite);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  position: relative;
}
.layer--owned { background: #33332F; }
/* the pill: a pseudo-element on the layer cards, a real span in the legend.
   every card reserves the slot — hidden when not owned — so the headings
   line up across a row. */
.layer::before,
.layer__flag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.layer::before { content: "\00a0"; visibility: hidden; }
.layer--owned::before { content: "Owned and operated"; visibility: visible; }
.layer--owned::before,
.layer__flag { color: var(--graphite); background: var(--ivory); }
.layer h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 0.8rem;
}
.layer ul { display: grid; gap: 0.5rem; }
.layer li {
  font-size: 0.9rem;
  color: var(--cream-70);
  padding-left: 0.95rem;
  position: relative;
  line-height: 1.5;
}
.layer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--cream-45);
}
.gtm__key {
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
  font-size: 0.85rem;
  color: var(--cream-45);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.gtm__key .layer__flag { margin-bottom: 0; }

/* =====================================================
   LANDSCAPE
   ===================================================== */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--graphite-15);
  border: 1px solid var(--graphite-15);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
/* when nothing follows the grid, the section's own padding closes the block */
.figures:last-child { margin-bottom: 0; }
.figure {
  background: var(--cream);
  padding: clamp(1.6rem, 2.8vw, 2.4rem);
  display: flex;
  flex-direction: column;
}
.figure dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.figure dd {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-60);
  margin-top: auto;      /* labels sit on a common baseline across the row */
  padding-top: 0.7rem;
  line-height: 1.45;
}

.constraint {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--ivory);
}
.constraint__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite-60);
  margin-bottom: 1.4rem;
}
.constraint__list { display: grid; gap: 0.7rem; max-width: 46rem; }
.constraint__list li {
  font-size: 0.98rem;
  color: var(--graphite-90);
  padding-left: 1.1rem;
  position: relative;
}
.constraint__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 1px;
  background: var(--graphite-40);
}
.constraint__close {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--graphite-15);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 40rem;
}

.sources {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--graphite-40);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact { text-align: center; }
.contact__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--cream);
  margin: 1rem auto 1.6rem;
  max-width: 16ch;
}
.contact__lead {
  max-width: 38rem;
  margin: 0 auto 2.8rem;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--cream-70);
}
.contact__email {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--cream);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--cream-45);
  transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.contact__email:hover { border-bottom-color: var(--cream); opacity: 0.85; }
.contact__cities {
  margin-top: 2.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-45);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--graphite);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--cream-15);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.9rem; }
.mark--reverse { width: 44px; height: 44px; }
.footer__wordmark {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
}
.footer__tagline {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-45);
  margin-top: 0.15rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a {
  font-size: 0.9rem;
  color: var(--cream-70);
  transition: color 0.25s var(--ease);
}
.footer__links a:hover { color: var(--cream); }
.footer__legal { font-size: 0.82rem; color: var(--cream-45); width: 100%; }


/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 980px) {
  .gtm__layers { grid-template-columns: 1fr; }
  /* stacked cards have no row to line up with, so drop the reserved pill slot */
  .layer:not(.layer--owned)::before { display: none; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: 1fr; }
}

/* tablets + phones: collapse nav to a slide-in menu */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__inner { padding: 0.9rem var(--gutter); }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.7rem;
    background: var(--cream);
    padding: 3rem var(--gutter);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -24px 0 70px rgba(58, 58, 56, 0.16);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1.2rem; }
  .nav__cta { align-self: flex-start; padding: 0.7rem 1.3rem; }
  .nav__toggle { display: flex; z-index: 110; }

  .hero { padding: 7rem var(--gutter) 4.5rem; }
  .hero__mark { width: clamp(15rem, 62vw, 24rem); bottom: -3%; }
  .hero__facts { gap: 1.6rem 2.2rem; }
  .hero__facts dd { max-width: 9rem; }

  .milestone { grid-template-columns: 3.4rem 1fr; gap: 0.8rem 1.3rem; }
  .milestone:hover { padding-left: 0; }
  .milestone__body p { max-width: none; }
  .milestone__stat {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 0.7rem;
    text-align: left;
    margin-top: 0.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--graphite-15);
  }
  .milestone__stat small { max-width: none; }

  .now { grid-template-columns: 1fr; }
  .now__text { max-width: none; }

  .capability { grid-template-columns: 3.4rem 1fr; gap: 0.8rem 1.3rem; }
  .capability:hover { padding-left: 0; }
  .capability__body p { max-width: none; }
  .capability__stat {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 0.7rem;
    text-align: left;
    margin-top: 0.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--graphite-15);
  }
  .capability__stat small { max-width: none; }

}

/* phones */
@media (max-width: 600px) {
  .figures { grid-template-columns: 1fr; }
  .brand { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero__actions { gap: 0.8rem; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .hero__facts { flex-direction: column; gap: 1.4rem; }
  .hero__facts dd { max-width: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer__links { gap: 1rem 1.3rem; }
}

/* small phones */
@media (max-width: 400px) {
  :root { --gutter: 1.35rem; }
  .hero { padding-top: 6.5rem; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .nav__wordmark { font-size: 1.18rem; }
  .section__title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .contact__title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .statement__text { font-size: clamp(1.5rem, 6.6vw, 2rem); }
}
