/* ==========================================================================
   Kimbercan — stylesheet
   Order: fonts → tokens → base → utilities → nav → hero → about → brands
          → contact → footer → motion → responsive
   Section modifiers (.brand--kimber etc.) intentionally follow their base
   rules and rely on source order, not raised specificity.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts -- */

/* Display face. Only the italic optical-size variable cut is shipped — every
   display use in this design is italic, per the design spec. */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
/* Wordmark face. Deliberately different from the body and display faces — wide and
   geometric, in the spirit of audio equipment faceplate lettering. Used only for the
   Kimbercan wordmark, nowhere else. */
@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/unbounded-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../assets/fonts/plexmono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../assets/fonts/plexmono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */

:root {
  /* Palette — fixed by the design spec. */
  --paper:  #F1E9D8;
  --ink:    #241C13;
  --walnut: #6B4226;
  --copper: #B5651D;

  /* Derived. Kimber's section runs darker and cooler than --ink so its
     near-black product photography sits on it without showing a seam. */
  --paper-deep: #E8DEC8;
  --ink-deep:   #16110B;
  --ink-70: rgba(36, 28, 19, 0.70);
  --ink-45: rgba(36, 28, 19, 0.45);
  --ink-15: rgba(36, 28, 19, 0.15);
  --ink-08: rgba(36, 28, 19, 0.08);
  --paper-70: rgba(241, 233, 216, 0.70);
  --paper-40: rgba(241, 233, 216, 0.40);
  --paper-15: rgba(241, 233, 216, 0.15);

  --font-mark: 'Unbounded', 'Trebuchet MS', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1240px;

  --rule: 1px solid var(--ink-15);
}

/* ----------------------------------------------------------------- base -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky nav must not cover anchor targets. */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 400; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

/* Quality floor: focus is always visible, and always on the paper/ink pair. */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 1px;
}
.brand--kimber :focus-visible { outline-color: #E2A45C; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ utilities -- */

.eyebrow,
.series__label,
.footer__heading {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--walnut);
  margin: 0;
}

/* ------------------------------------------------------------------ nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}

.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__mark {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.nav__mark img {
  height: clamp(2.4rem, 4.4vw, 3.5rem);
  width: auto;
}

.nav__menu ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav__menu a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav__menu a:hover { border-bottom-color: var(--copper); }
.nav__menu a[aria-current='true'] { color: var(--copper); border-bottom-color: var(--copper); }

.nav__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem !important;
  border: 1px solid var(--ink);
}
.nav__cta:hover { background: var(--walnut); border-color: var(--walnut); }

.nav__toggle { display: none; }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem);
}

/* Signature motif: concentric hairline rings, read as the edge of a platter.
   Bleeds off the right so it never presents as a centred decorative circle. */
/* Anchored to the headline rather than the section, so it never sits behind the logo
   row and compete with the marks for attention. */
.hero__rings {
  position: absolute;
  top: 34%;
  right: clamp(-32rem, -18vw, -8rem);
  width: min(96vw, 940px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0 21px,
    rgba(107, 66, 38, 0.17) 21px 22px
  );
  -webkit-mask-image: radial-gradient(circle at center, #000 38%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 38%, transparent 72%);
}

.hero__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.25rem, 6.4vw, 4.75rem);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 1;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  max-width: 19ch;
}

/* Distributed brands: an unordered set, presented as equals. Every logo is forced to
   one ink tone so no brand's own colour makes it louder than its neighbours. */
.roster {
  margin: clamp(3.5rem, 8vw, 6rem) 0 0;
  border-top: var(--rule);
  padding-top: 1.5rem;
}
.roster__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--walnut);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.filter-defs { position: absolute; width: 0; height: 0; }

/* Spaced between the marks rather than across equal columns. The three logos are very
   different widths, so equal columns left a pocket of dead space after the narrowest
   one and read as an uneven gap. */
.roster__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 1000px;
}
.roster__item a {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  text-decoration: none;
  transition: opacity 0.25s;
}
.roster__item a:hover { opacity: 0.55; }

/* Sized by eye, not by a shared width. Each mark carries different built-in padding and
   proportions, so matching their box widths would leave them looking unequal. */
.roster__logo { width: auto; max-width: 100%; height: auto; }
.roster__logo--kimber { max-height: clamp(2.2rem, 4.4vw, 3.3rem); }
.roster__logo--quadraspire { max-height: clamp(3.1rem, 6.4vw, 4.8rem); }
.roster__logo--custom { max-height: clamp(2.9rem, 5.9vw, 4.4rem); }

/* Light marks ship white-on-transparent, so a plain invert lands them on ink. */
.roster__logo--light { filter: invert(1) grayscale(1) brightness(0.2) contrast(1.5); }
/* The dark mark ships on a white JPG: gamma drives its blue to ink, multiply erases the
   white, and the tagline below the wordmark is clipped so all three read as pure marks. */
.roster__logo--dark {
  mix-blend-mode: multiply;
  filter: url(#logo-ink);
  clip-path: inset(0 0 30% 0);
}

/* ---------------------------------------------------------------- about -- */

.about {
  border-top: var(--rule);
  background: var(--paper-deep);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.about__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
}
/* Set as a peer of the "Distributed brands" label, not as a display heading — the two
   are the same kind of thing, so they share one treatment. */
.about__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--walnut);
  line-height: 1.5;
}
/* Plain running text, at body size. The oversized pull-quote this replaced was what
   made the section read as a pitch rather than a statement of fact. */
.about__body { max-width: 54ch; }
.about__body p { color: var(--ink-70); }

/* --------------------------------------------------------- brand: base -- */

.brand { position: relative; }
.brand__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* One size for all three brand titles. Section backgrounds and layouts still differ —
   that is variety — but nothing here encodes a rank. */
/* The wordmark face, reused at display size. It only ever appears here and in the
   Kimbercan logotype, which sit far apart and at very different scales. Runs smaller
   than a neutral sans would: Unbounded is wide, so it eats line length quickly. */
.brand__title {
  font-family: var(--font-mark);
  font-weight: 500;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.brand__lead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1875rem, 2.1vw, 1.625rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.brand__copy { max-width: 52ch; }
.brand__copy p:not(.brand__lead) { color: var(--ink-70); }

.brand__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--walnut) !important;
  padding-top: 0.5rem;
  border-top: var(--rule);
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--copper);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.2s, color 0.2s;
}
.brand__link:hover { gap: 0.8rem; color: var(--walnut); }

.brand__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.brand__figure a { display: block; text-decoration: none; }
.brand__figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-45);
  transition: color 0.2s;
}
.brand__figure a:hover figcaption { color: var(--copper); }
.brand__figure a img { transition: opacity 0.25s; }
.brand__figure a:hover img { opacity: 0.85; }

/* White-background product cutouts sit on cream paper. Multiply drops the
   white to nothing and leaves the product, so no photo box is visible. */
.brand__figure img,
.cutouts img {
  mix-blend-mode: multiply;
}

.cutouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
}
.cutouts__item a { display: block; text-decoration: none; }
.cutouts__item > a > span,
.cutouts__item > span {
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: var(--rule);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
  transition: color 0.2s, border-color 0.2s;
}
.cutouts__item img { width: 100%; transition: opacity 0.25s; }
.cutouts__item a:hover > span { color: var(--copper); border-top-color: var(--copper); }
.cutouts__item a:hover img { opacity: 0.82; }

/* Outbound arrow on product tiles, revealed on hover/focus so the labels stay quiet. */
.series__out {
  display: inline-block;
  margin-left: 0.15em;
  opacity: 0;
  transform: translateX(-2px);
  transition: opacity 0.2s, transform 0.2s;
}
a:hover .series__out,
a:focus-visible .series__out { opacity: 1; transform: none; }

/* ------------------------------- brand 01: Kimber Kable — largest, dark -- */

.brand--kimber {
  background: var(--ink-deep);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.brand--kimber .series__label { color: #C98A4B; }
.brand--kimber .brand__copy p:not(.brand__lead) { color: var(--paper-70); }
.brand--kimber .brand__link { color: #E2A45C; }
.brand--kimber .brand__link:hover { color: var(--paper); }

/* Flagship section: photo and copy share the width so the square product shot
   does not run away with the page height. */
.brand__split--kimber {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
.brand__hero-figure { margin: 0; }
.brand__hero-figure img {
  width: 100%;
  /* Carbon is shot on a light backdrop; a hairline keeps it reading as a
     deliberate plate against the ink rather than a floating rectangle. */
  border: 1px solid var(--paper-15);
}
.brand__hero-figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-40);
}

.series {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--paper-15);
  padding-top: 1.75rem;
}
.series__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.6vw, 1.25rem);
  margin-top: 1.5rem;
}
.series__item a { display: block; text-decoration: none; }
.series__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--paper-15);
  filter: saturate(0.9);
  transition: border-color 0.25s, filter 0.25s;
}
.series__item a:hover img { border-color: #C98A4B; filter: saturate(1.05); }
.series__name {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-40);
  transition: color 0.2s;
}
.series__item a:hover .series__name { color: #E2A45C; }

/* ------------------------------ brand 02: Quadraspire — medium, paper -- */

.brand--quadraspire {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-bottom: var(--rule);
}
.brand--quadraspire .brand__title { color: var(--walnut); }
.brand--quadraspire .cutouts { margin-top: clamp(2.5rem, 6vw, 4rem); }
/* The X-Reference shot is portrait; cap it so the copy column beside it is not
   left floating in a tall empty gap. */
.brand--quadraspire .brand__figure img {
  max-height: 30rem;
  width: auto;
  margin-left: auto;
}

/* ------------------------------ brand 03: Custom Design — compact -------- */

.brand--custom {
  background: var(--paper-deep);
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-bottom: var(--rule);
}
.brand--custom .cutouts { margin-top: clamp(2.5rem, 6vw, 4rem); }
.brand--custom .cutouts__item img { max-height: 22rem; width: auto; margin-inline: auto; }

/* -------------------------------------------------------------- contact -- */

.contact { padding: clamp(4rem, 9vw, 7rem) 0; }
.contact__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 5rem);
}

/* Single-column variant for the form success page. Kept here rather than as an inline
   style attribute so the site can ship a Content-Security-Policy without 'unsafe-inline'. */
.contact__inner--single { grid-template-columns: minmax(0, 1fr); }

.contact__lead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.875rem, 4.6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.contact__note { color: var(--ink-70); max-width: 38ch; }

/* Fills the space the address/phone/email list used to occupy. Decorative only —
   the alt is empty and it is hidden from assistive tech. */
.contact__mark {
  width: clamp(5.5rem, 11vw, 9rem);
  height: auto;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  opacity: 0.9;
}

.form__row { margin-bottom: 1.25rem; }
.form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--walnut);
}
.form__input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 60%, #fff);
  border: 1px solid var(--ink-15);
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}
.form__input:hover { border-color: var(--ink-45); }
.form__input:focus { border-color: var(--copper); background: #fff; }
.form__input--area { resize: vertical; min-height: 8rem; line-height: 1.6; }

/* Netlify honeypot — hidden from people, reachable by bots. */
.form__hp { position: absolute; left: -9999px; }

.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s;
}
.button:hover { background: var(--copper); border-color: var(--copper); }

/* --------------------------------------------------------------- footer -- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
}
.footer__name {
  font-family: var(--font-mark);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer__tag { color: var(--paper-70); max-width: 30ch; font-size: 0.9375rem; }
.footer__heading { color: #C98A4B; margin-bottom: 1rem; }
.footer__brands li, .footer__contact p { margin-bottom: 0.6rem; }
.footer__brands a, .footer__contact a {
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--paper-15);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.footer__brands a:hover, .footer__contact a:hover { color: #E2A45C; border-bottom-color: #E2A45C; }

.footer__legal {
  max-width: var(--shell);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 1.5rem var(--gutter) 0;
  border-top: 1px solid var(--paper-15);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--paper-40);
}

/* --------------------------------------------------------------- motion -- */

/* One orchestrated page-load moment: the rings settle outward, once. */
@keyframes ring-settle {
  from { opacity: 0; transform: translateY(-50%) scale(0.9); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}
.hero__rings { animation: ring-settle 1.8s cubic-bezier(0.2, 0.7, 0.25, 1) both; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.25, 1);
}

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .brand__split,
  .brand__split--kimber,
  .contact__inner { grid-template-columns: 1fr; }
  .roster__grid { gap: clamp(1.25rem, 3.5vw, 2.5rem); }
  .series__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__mark { grid-column: 1 / -1; }
  /* On one column the Quadraspire photo reads better above the copy. */
  .brand--quadraspire .brand__figure { order: -1; }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: 1px solid var(--ink-15);
    padding: 0.5rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
  }
  .nav__toggle-bars { display: grid; gap: 3px; }
  .nav__toggle-bars i {
    display: block;
    width: 14px;
    height: 1px;
    background: currentColor;
    transition: transform 0.22s;
  }
  .nav__toggle[aria-expanded='true'] .nav__toggle-bars i:first-child { transform: translateY(2px) rotate(45deg); }
  .nav__toggle[aria-expanded='true'] .nav__toggle-bars i:last-child { transform: translateY(-2px) rotate(-45deg); }

  .nav__menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: var(--rule);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav__menu.is-open { display: block; }
  .nav__menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__menu li { border-top: var(--rule); }
  .nav__menu a { display: block; padding: 0.9rem 0; font-size: 0.9375rem; }
  .nav__cta {
    display: inline-block !important;
    margin-top: 1rem;
    text-align: center;
  }

  .series__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Stacked full-width product shots get very tall on a phone; cap them so
     Quadraspire stays proportionate to the sections around it. */
  .cutouts { grid-template-columns: 1fr; gap: 2rem; }
  .cutouts__item img { max-height: 20rem; width: auto; margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  /* Three marks side by side get too small to read here, so they stack. */
  .roster__grid {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.25rem;
  }
  .roster__logo { max-width: 16rem; }
}

/* Respect reduced motion: no reveal, no ring animation, no smooth scroll. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
