/* ==========================================================================
   Gear Up Garage Door Supply
   Palette: ink / carbon / gunmetal / galvanized / chalk / level red
   Type:    Big Shoulders Display (display) · Archivo (body) · IBM Plex Mono (labels)
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --carbon: #141416;
  --carbon-2: #1a1b1e;
  --gunmetal: #2a2c30;
  --steel: #3a3d43;
  --galvanized: #9a9ea6;
  --chalk: #ececea;
  --white: #ffffff;
  --red: #e0202a;
  --red-deep: #a3141c;
  --red-glow: rgba(224, 32, 42, 0.35);

  --display: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1280px;
  --ease-lift: cubic-bezier(0.76, 0, 0.18, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--red); color: var(--white);
  padding: .5rem 1rem; z-index: 100; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }

/* ---------- type scale ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3.25rem, 9vw, 7.5rem); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; }
p { margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--galvanized);
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 1.5rem; height: 2px; background: var(--red);
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--galvanized);
  max-width: var(--measure);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: .85rem 1.5rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease-lift), background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--chalk); border-color: var(--steel); }
.btn-ghost:hover { border-color: var(--chalk); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gunmetal);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 4.5rem;
}
.brand {
  display: flex; align-items: center; gap: .8rem; text-decoration: none;
}
/* Sahar's round badge; the wordmark carries the name at small sizes */
.brand-mark {
  width: 3.1rem; height: 3.1rem; flex: none; border-radius: 50%;
  transition: transform .45s var(--ease-lift), filter .45s;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 12px var(--red-glow)); }
.brand-word {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-word b {
  font-family: var(--display); font-weight: 900; font-size: 1.55rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.brand-word b em { font-style: normal; color: var(--red); }
.brand-word span {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--galvanized); margin-top: .2rem;
}
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--galvanized);
  padding: .6rem .85rem; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease-lift);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--chalk); }
.site-nav a[aria-current="page"]::after, .site-nav a:hover::after { transform: scaleX(1); }
.site-nav .btn { margin-left: .75rem; font-size: 1rem; padding: .6rem 1.1rem; }
.site-nav .btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--gunmetal);
  width: 2.75rem; height: 2.75rem; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .x { display: none; }
.nav-open .nav-toggle .x { display: block; }
.nav-open .nav-toggle .bars { display: none; }

@media (max-width: 860px) {
  .brand-word span { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 4.5rem; left: 0; right: 0;
    background: var(--carbon); border-bottom: 1px solid var(--gunmetal);
    flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem;
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease-lift), opacity .2s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { font-size: 1rem; padding: .9rem .25rem; border-bottom: 1px solid var(--gunmetal); }
  .site-nav a::after { display: none; }
  .site-nav .btn { margin: 1rem 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- hero with the lifting door ---------- */

.hero {
  position: relative; overflow: hidden;
  padding-top: 4.5rem;
  min-height: min(92vh, 900px);
  display: grid; align-items: end;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(224, 32, 42, 0.18), transparent 70%),
    var(--ink);
  isolation: isolate;
}
.hero-content {
  position: relative; z-index: 2;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid; gap: 1.75rem;
}
.hero h1 { max-width: 12ch; }
/* the badge: small and centred above the copy on phones, a big emblem beside it on desktop */
.hero-badge {
  width: min(48vw, 11rem); height: auto; justify-self: center;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .65)) drop-shadow(0 0 30px var(--red-glow));
}
@media (min-width: 1000px) {
  .hero-content { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 6vw, 6rem); }
  .hero-badge { grid-column: 2; grid-row: 1 / span 4; align-self: center; width: clamp(16rem, 26vw, 24rem); }
  .hero-strip { grid-column: 1 / -1; }
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--gunmetal);
  margin-top: 1rem;
}
.hero-strip a {
  flex: 1 1 200px; text-decoration: none; padding: 1.1rem 1.25rem 1.1rem 0;
  display: grid; gap: .25rem; border-right: 1px solid var(--gunmetal);
  transition: color .15s;
}
.hero-strip a + a { padding-left: 1.25rem; }
.hero-strip a:last-child { border-right: 0; }
.hero-strip .k { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--red); }
.hero-strip .v { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.hero-strip .n { font-size: .85rem; color: var(--galvanized); }
.hero-strip a:hover .v { color: var(--red); }

/* the door */
.door {
  position: absolute; inset: 4.5rem 0 0 0; z-index: 3;
  display: grid; grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
}
.door-panel {
  position: relative;
  background: linear-gradient(180deg, #34363b 0%, #26282c 45%, #1e2023 100%);
  border-bottom: 3px solid var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4%;
  padding: 3% 4%;
  will-change: transform;
  animation: lift 1.5s var(--ease-lift) forwards;
  animation-delay: calc(0.55s + var(--i) * 0.05s);
}
.door-panel i {
  display: block;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.05), inset -2px -2px 0 rgba(0,0,0,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.12));
}
@media (max-width: 700px) {
  .door-panel { grid-template-columns: repeat(2, 1fr); }
}
.door-label {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: grid; place-items: center;
  animation: lift-label 1.3s var(--ease-lift) forwards;
  animation-delay: .55s;
}
.door-label span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 12vw, 11rem); line-height: 1; letter-spacing: .02em;
  color: rgba(236, 236, 234, 0.08);
  -webkit-text-stroke: 1px rgba(236,236,234,0.22);
}
.door-label b {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .3em;
  color: var(--galvanized); text-transform: uppercase; white-space: nowrap;
}
.door-rail {
  position: absolute; top: 4.5rem; bottom: 0; width: 6px; z-index: 2;
  background: linear-gradient(90deg, #3a3d43, #1e2023);
}
.door-rail.l { left: 0; } .door-rail.r { right: 0; }

@keyframes lift {
  to { transform: translateY(calc(-100% * (var(--i) + 1) - 12px)); }
}
@keyframes lift-label {
  to { transform: translateY(-110%); opacity: 0; }
}
.hero-content > * {
  animation: rise .8s var(--ease-lift) both;
  animation-delay: calc(1.25s + var(--j, 0) * 0.08s);
}
@keyframes rise {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .door, .door-label { display: none; }
  .hero-content > * { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- parts ticker ---------- */

.ticker {
  border-block: 1px solid var(--gunmetal); background: var(--carbon);
  overflow: hidden; padding: .8rem 0;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--galvanized); white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 2.5rem; animation: ticker 90s linear infinite; }
.ticker-track span::before { content: "■"; color: var(--red); font-size: .55rem; margin-right: 1.25rem; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { white-space: normal; }
  .ticker-track { animation: none; flex-wrap: wrap; gap: .5rem 1.5rem; }
  .ticker-track .dup { display: none; }
}

/* ---------- sections ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head {
  display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* departments */
.depts { display: grid; gap: 1px; background: var(--gunmetal); border: 1px solid var(--gunmetal); }
@media (min-width: 820px) { .depts { grid-template-columns: repeat(3, 1fr); } }
.dept {
  background: var(--carbon); padding: 2rem 1.75rem 1.75rem; text-decoration: none;
  display: grid; grid-template-rows: auto 1fr auto; gap: 1.25rem;
  position: relative; overflow: hidden; min-height: 22rem;
  transition: background .2s;
}
.dept:hover { background: var(--carbon-2); }
.dept::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-lift);
}
.dept:hover::after { transform: scaleX(1); }
.dept-no {
  font-family: var(--display); font-weight: 900; font-size: 4.5rem; line-height: .8;
  color: var(--gunmetal); transition: color .2s;
}
.dept:hover .dept-no { color: var(--red); }
.dept h3 { margin-top: .25rem; }
.dept p { color: var(--galvanized); font-size: .95rem; margin-top: .6rem; }
.dept-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--galvanized); padding-top: 1rem; border-top: 1px solid var(--gunmetal);
}
.dept-foot svg { width: 1.1rem; height: 1.1rem; color: var(--red); transition: transform .2s; }
.dept:hover .dept-foot svg { transform: translateX(4px); }

/* why */
.why { background: var(--carbon); border-block: 1px solid var(--gunmetal); }
.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.why-item { display: grid; gap: .9rem; align-content: start; }
.why-item svg { width: 2.75rem; height: 2.75rem; color: var(--red); }
.why-item h3 { font-size: 1.6rem; }
.why-item p { color: var(--galvanized); max-width: 38ch; }

/* closing */
.closing {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 80% at 85% 50%, rgba(224, 32, 42, 0.16), transparent 65%),
    var(--ink);
}
.closing h2 { max-width: 14ch; }
.closing h2 em { font-style: normal; color: var(--red); }
.closing .lede { margin-top: 1.5rem; max-width: 60ch; }
.closing-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.closing-wall {
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--gunmetal);
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
}
.closing-wall span {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--galvanized); border: 1px solid var(--gunmetal); padding: .35rem .6rem;
}

/* ---------- department page ---------- */

.page-head {
  padding: calc(4.5rem + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--gunmetal);
  background:
    linear-gradient(180deg, var(--carbon) 0%, var(--ink) 100%);
}
.page-head .wrap { display: grid; gap: 1.25rem; }
.page-head h1 { font-size: clamp(2.75rem, 7vw, 6rem); max-width: 14ch; }
.page-head .dept-no-big {
  font-family: var(--display); font-weight: 900; font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: .1em; color: var(--red);
}
.page-nav {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem;
}
.page-nav a {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--galvanized); border: 1px solid var(--gunmetal);
  padding: .4rem .7rem; transition: color .15s, border-color .15s;
}
.page-nav a:hover { color: var(--chalk); border-color: var(--galvanized); }
.page-nav a[aria-current="page"] { color: var(--white); background: var(--red); border-color: var(--red); }

.catalog { padding: clamp(3rem, 6vw, 5rem) 0; }
.catalog .wrap { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .catalog .wrap { grid-template-columns: 240px 1fr; gap: 4rem; align-items: start; }
  .catalog-index { position: sticky; top: 6rem; }
}
.catalog-index { display: grid; gap: 0; align-content: start; }
.catalog-index .eyebrow { margin-bottom: 1rem; }
.catalog-index a {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--galvanized); text-decoration: none; padding: .45rem 0 .45rem .9rem;
  border-left: 2px solid var(--gunmetal); transition: color .15s, border-color .15s;
}
.catalog-index a:hover, .catalog-index a.active { color: var(--chalk); border-color: var(--red); }
@media (max-width: 999px) { .catalog-index { display: none; } }

.products { display: grid; gap: 1px; background: var(--gunmetal); border: 1px solid var(--gunmetal); }
@media (min-width: 720px) { .products { grid-template-columns: repeat(2, 1fr); } }
.product {
  background: var(--carbon); padding: 1.75rem; display: grid; gap: 1rem;
  grid-template-columns: 3.25rem 1fr; align-content: start;
  scroll-margin-top: 6rem; position: relative;
}
.product:last-child:nth-child(odd) { grid-column: 1 / -1; }
.product::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-lift);
}
.product:hover::before, .product:target::before { transform: scaleX(1); }
.product-icon {
  width: 3.25rem; height: 3.25rem; color: var(--galvanized);
  border: 1px solid var(--gunmetal); display: grid; place-items: center;
  transition: color .2s, border-color .2s;
}
.product-icon svg { width: 2rem; height: 2rem; }
.product:hover .product-icon { color: var(--red); border-color: var(--steel); }
.product-body { display: grid; gap: .6rem; }
.product h3 { font-size: 1.55rem; }
.product p { color: var(--galvanized); font-size: .95rem; }
.product-specs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.product-specs span {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--galvanized); background: var(--ink); padding: .25rem .5rem; border: 1px solid var(--gunmetal);
}
.product-specs .lbl { color: var(--red); border-color: transparent; background: none; padding-left: 0; }

.dept-next {
  border-top: 1px solid var(--gunmetal); padding: 3rem 0;
}
.dept-next .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .dept-next .wrap { grid-template-columns: 1fr 1fr; } }
.dept-next a.card {
  background: var(--carbon); border: 1px solid var(--gunmetal); padding: 1.75rem;
  text-decoration: none; display: grid; gap: .5rem; transition: border-color .2s;
}
.dept-next a.card:hover { border-color: var(--red); }
.dept-next .card .eyebrow::before { display: none; }
.dept-next .card h3 { font-size: 1.8rem; }
.dept-next .card p { color: var(--galvanized); font-size: .95rem; }

/* ---------- quote band ---------- */

.quote-band { background: var(--red); color: var(--white); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.quote-band .wrap { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .quote-band .wrap { grid-template-columns: 1fr auto; } }
.quote-band h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.quote-band p { color: rgba(255,255,255,0.85); margin-top: .5rem; max-width: 50ch; }
.quote-band .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.quote-band .btn-ghost:hover { border-color: var(--white); background: rgba(0,0,0,0.15); }

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

.contact { padding: clamp(3rem, 6vw, 5rem) 0; }
.contact .wrap { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact .wrap { grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: start; } }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--galvanized);
}
.field input, .field textarea, .field select {
  background: var(--carbon); border: 1px solid var(--gunmetal); color: var(--chalk);
  padding: .85rem 1rem; font: inherit; font-size: 1rem; width: 100%; border-radius: 0;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); outline: none; }
.field textarea { min-height: 10rem; resize: vertical; }
.form-note { font-size: .85rem; color: var(--galvanized); }
.form-status { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; min-height: 1.4em; }
.form-status.ok { color: #6fd38a; }
.form-status.err { color: var(--red); }

.contact-info { display: grid; gap: 2rem; align-content: start; }
.contact-info dl { display: grid; gap: 1.5rem; margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .35rem; }
.contact-info dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.contact-info dd small { display: block; font-family: var(--body); font-weight: 400; font-size: .95rem; text-transform: none; color: var(--galvanized); margin-top: .3rem; }
.contact-info dd.plain { font-family: var(--body); font-weight: 500; font-size: 1.1rem; text-transform: none; letter-spacing: 0; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--red); }
.contact-steps { display: grid; gap: 1rem; border-top: 1px solid var(--gunmetal); padding-top: 1.75rem; }
.contact-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; color: var(--galvanized); font-size: .95rem; }
.contact-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-steps li b { font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: var(--chalk); line-height: 1; }

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

.site-footer { border-top: 1px solid var(--gunmetal); background: var(--carbon); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-grid h4 { font-size: .8rem; font-family: var(--mono); font-weight: 500; letter-spacing: .14em; color: var(--galvanized); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; color: var(--chalk); font-size: .95rem; }
.footer-grid a:hover { color: var(--red); }
.footer-brand .brand-mark { width: 4.5rem; height: 4.5rem; }
.footer-brand p { color: var(--galvanized); font-size: .95rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--gunmetal);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--galvanized); text-transform: uppercase;
}

/* ---------- warehouse page ---------- */

/* the photos are the hero; the headline sits on the picture, bottom left */
.shelf-hero {
  position: relative; margin-top: 4.5rem;
  min-height: min(78vh, 46rem); display: grid; align-items: end;
  background: var(--carbon); overflow: hidden;
}
.shelf-hero-img { position: absolute; inset: 0; display: block; }
.shelf-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.shelf-hero::after {
  /* fine grain unifies phone photos of different sharpness and softens compression */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shelf-hero-text {
  position: relative; z-index: 1; pointer-events: none;
  padding: clamp(6rem, 18vw, 12rem) 0 clamp(2rem, 4vw, 3.25rem);
  background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 12, .55) 35%, rgba(11, 11, 12, .92) 100%);
}
.shelf-hero-text .wrap { display: grid; gap: 1rem; justify-items: start; }
.shelf-hero-text h1 { max-width: 12ch; }
.shelf-hero-text .lede { color: var(--chalk); max-width: 52ch; }

.shelf-facts { border-block: 1px solid var(--gunmetal); background: var(--carbon); }
.shelf-facts .wrap { display: grid; gap: .75rem 3rem; padding: 1.4rem 0; }
@media (min-width: 820px) { .shelf-facts .wrap { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
.shelf-facts p { font-size: .95rem; color: var(--galvanized); }
.shelf-facts a { color: var(--chalk); text-decoration: none; border-bottom: 1px solid var(--red); }

.shelf-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 820px) {
  .shelf-grid { grid-template-columns: 1.6fr 1fr; }
  .shelf-grid .shelf-photo:first-child { grid-row: span 2; }
}
.shelf-photo { margin: 0; display: grid; gap: .8rem; align-content: start; }
.shelf-photo a { display: block; position: relative; background: var(--carbon); }
.shelf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.shelf-grid .shelf-photo:first-child a { height: 100%; }
.shelf-grid .shelf-photo:first-child img { aspect-ratio: auto; }
.shelf-photo a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shelf-photo a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.shelf-photo figcaption { color: var(--galvanized); font-size: .95rem; max-width: 44ch; }
.shelf-note {
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--gunmetal);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: .01em;
  text-transform: uppercase; color: var(--chalk); max-width: 24ch;
}

/* lightbox: opens on click, answers the person's action */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(11, 11, 12, .96);
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3.5rem var(--gutter) 1.5rem; gap: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox-caption { color: var(--galvanized); text-align: center; max-width: 60ch; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border: 1px solid var(--gunmetal);
  background: var(--carbon); color: var(--chalk); cursor: pointer; display: grid; place-items: center;
}
.lightbox-close svg { width: 1.4rem; height: 1.4rem; }
.lightbox-close:hover { border-color: var(--chalk); }

