/* ==========================================================================
   METAL MIST — Page sections
   ========================================================================== */

/* Hero elements wait for the intro animation (only when motion is on) */
.motion [data-hero], .motion [data-hero-split], .motion [data-hero-media] { visibility: hidden; }

/* ============================== HOME ==================================== */

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(42, 47, 53, 0.55), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--steel-950) 100%);
}
.hero__mist { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.hero__glow {
  position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; bottom: -40vw;
  background: radial-gradient(circle, rgba(247, 195, 11, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner { display: grid; gap: clamp(20px, 3vw, 36px); }
.hero__title {
  font-size: clamp(3.4rem, 11.2vw, 11.5rem);
  line-height: 0.84;
  font-weight: 900;
  letter-spacing: -0.015em;
}
.hero__line { display: block; }
@media (max-width: 599px) {
  .hero__title { font-size: 20vw; line-height: 0.86; }
  .hero__visual { aspect-ratio: 4 / 3.4; }
  .hero__visual .art { padding: 6% 4% 26%; }
}
.hero__title .text-outline { -webkit-text-stroke-width: 2px; }
.hero__row { display: grid; gap: 32px; align-items: end; margin-top: clamp(4px, 2vw, 24px); }
.hero__copy { display: grid; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { aspect-ratio: 16 / 10; }
.hero__visual .art { padding: 8% 6% 14%; }
.hero__readout {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 40px 18px 12px; background: linear-gradient(180deg, transparent, rgba(10, 11, 13, 0.85));
}
@media (min-width: 960px) {
  .hero__row { grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); }
}
.hero__bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; padding-bottom: 28px;
  border-top: 1px solid var(--line);
}
.hero__specs { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 5vw, 72px); }
.hero__specs div { display: grid; gap: 4px; }
.hero__specs dd { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.hero__scroll { display: none; align-items: center; gap: 14px; }
.hero__scroll i { position: relative; width: 1px; height: 54px; background: var(--line-strong); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 720px) { .hero__scroll { display: inline-flex; } }

/* Specials --------------------------------------------------------------- */
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(255, 212, 59, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 212, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 212, 59, 0); } }

.specials__list { display: grid; gap: clamp(20px, 2.5vw, 32px); }
@media (min-width: 900px) { .specials__list { grid-template-columns: 1fr 1fr; } }
.special {
  position: relative;
  display: grid; grid-template-rows: auto 1fr;
  background: var(--steel-950);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.5s var(--ease-out);
}
.special:hover { border-color: rgba(247, 195, 11, 0.5); }
.special::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 212, 59, 0.12), transparent 60%);
}
.special:hover::before { opacity: 1; }
.special__media { aspect-ratio: 16 / 9; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.special__media .art { position: relative; z-index: 1; padding-top: 13%; }
.special__media .media__label { display: none; } /* the badge and big size number already label it */
.special__badge {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  padding: 8px 14px; background: var(--gold); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding-right: 22px;
}
.special__cap {
  position: absolute; right: 18px; bottom: 6px; z-index: 0;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 212, 59, 0.35);
}
.special__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); }
.special__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.special__body h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.special__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.special__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.special__price s { font-family: var(--f-mono); font-size: 0.95rem; color: var(--steel-400); }
.special__price strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--gold-hi); }
.special__price strong.is-poa { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--bone); text-transform: uppercase; }

/* Featured special (one running): wide photo, details beside the price panel */
.specials__list.is-single { grid-template-columns: 1fr; }
.special__main, .special__side { display: flex; flex-direction: column; gap: 14px; }
.special__ends { color: var(--gold-hi); }
.special__features { display: flex; flex-wrap: wrap; gap: 6px; }
.special__perks { display: grid; gap: 12px; }
.special__perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--bone-dim); font-size: 0.98rem; line-height: 1.45; }
.special__perks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
.special__price { flex-direction: column; align-items: flex-start; gap: 6px; }
.special__price small { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-300); }
.special--featured .special__media { aspect-ratio: 16 / 9; }
.special--featured .special__media .media__img { object-position: 50% 60%; }
.special--featured .special__cap { font-size: clamp(3rem, 9vw, 7.5rem); }
.special--featured .special__body h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.special--featured .special__price strong { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
@media (min-width: 760px) { .special--featured .special__media { aspect-ratio: 1080 / 436; } }
@media (min-width: 960px) {
  .special--featured .special__body { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
  .special--featured .special__side {
    padding: clamp(22px, 2.6vw, 32px);
    background: rgba(247, 195, 11, 0.06); border: 1px solid rgba(247, 195, 11, 0.25); border-radius: var(--radius);
  }
  .special--featured .special__foot { flex-direction: column; align-items: stretch; }
  .special--featured .special__foot .btn { width: 100%; }
}
.special--empty .special__body { align-items: flex-start; padding: clamp(28px, 4vw, 56px); }

/* Statement -------------------------------------------------------------- */
.statement { padding-top: calc(var(--section) * 0.4); }
.statement__text {
  max-width: none;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.1rem, 5.4vw, 5.2rem); line-height: 0.98; letter-spacing: 0;
  color: var(--bone);
}
.statement__text em { font-style: normal; color: var(--gold-hi); }
.divisions { display: grid; gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.divisions li { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.divisions h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.divisions .mono { color: var(--gold-hi); }
@media (min-width: 900px) {
  .divisions { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .divisions li { padding: 36px 32px 40px; border-bottom: 0; border-left: 1px solid var(--line); }
  .divisions li:first-child { border-left: 0; padding-left: 0; }
}

/* Products --------------------------------------------------------------- */
.products { background: linear-gradient(180deg, var(--ink), var(--steel-950) 30%, var(--steel-950) 70%, var(--ink)); }
/* Product explorer: category tabs → product list → stage */
/* Everything visible without sideways scrolling: categories as a 2×2 grid on
   phones (one row of four on wider screens), products as a vertical list */
.range__tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 20px; }
.range__tabs .chip { justify-content: center; min-height: 52px; padding: 8px 12px; text-align: center; line-height: 1.25; }
@media (min-width: 700px) {
  .range__tabs { grid-template-columns: repeat(4, auto); justify-content: start; }
  .range__tabs .chip { min-height: 42px; padding: 0 16px; }
}
.range__panel { display: grid; gap: 14px; }
.range__list { display: grid; gap: 8px; }
.range__item {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  width: 100%; padding: 14px 16px; text-align: left;
  background: var(--steel-900); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.range__item .mono { color: var(--steel-400); transition: color 0.4s; }
.range__name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; }
.range__from { grid-column: 2; margin-top: 6px; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-300); }
.range__item:hover { border-color: var(--line-strong); background: var(--steel-850); }
.range__item[aria-pressed="true"] { border-color: var(--gold); background: rgba(247, 195, 11, 0.08); }
.range__item[aria-pressed="true"] .mono { color: var(--gold-hi); }

.range__stage { display: grid; overflow: hidden; background: var(--steel-900); border: 1px solid var(--line); border-radius: var(--radius); }
.range__media { aspect-ratio: 16 / 10; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.range__media .art { position: relative; z-index: 1; }
.range__big {
  position: absolute; right: 16px; bottom: 4px; z-index: 0;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(3.5rem, 8vw, 7rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 212, 59, 0.3);
}
.range__info { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); }
.range__info h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.range__caps { display: flex; flex-wrap: wrap; gap: 6px; }
.range__note { color: var(--gold-hi); }
.range__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.pcard__top { display: flex; justify-content: space-between; align-items: center; }
.pcard__price { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }

@media (min-width: 1000px) {
  .range__panel { grid-template-columns: 300px 1fr; gap: 18px; }
  .range__item { padding: 16px 18px; }
  .range__stage { grid-template-columns: 1.15fr 1fr; min-height: 500px; }
  .range__media { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
}

.range__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Products page: full range grid ---------------------------------------- */
.products__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.products__filters .chip { min-height: 40px; padding: 0 16px; }
.products__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products__grid { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  position: relative;
  display: grid; grid-template-rows: auto 1fr;
  background: var(--steel-900);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.5s var(--ease-out), background-color 0.5s;
  will-change: transform;
}
.pcard:hover { border-color: rgba(247, 195, 11, 0.55); background: var(--steel-850); }
.pcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 212, 59, 0.1), transparent 60%);
}
.pcard:hover::before { opacity: 1; }
.pcard__media { aspect-ratio: 4 / 3; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.pcard__media .art { transition: transform 0.9s var(--ease-out); }
.pcard:hover .pcard__media .art { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; }
.pcard h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__link:focus-visible { outline: none; }
.pcard:has(.pcard__link:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.pcard p { font-size: 0.95rem; }
.pcard__caps { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pcard__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard .link-arrow svg { width: 14px; height: 14px; }
.pcard:hover .link-arrow svg { transform: translateX(5px); }
.pcard[hidden] { display: none; }

/* Gauge ------------------------------------------------------------------ */
.gauge { padding-block: clamp(72px, 10vw, 140px); border-block: 1px solid var(--line); background: var(--ink); }
.gauge__head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.gauge__big { max-width: none; margin-top: 10px; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.5rem, 11vw, 10rem); line-height: 0.85; color: var(--bone); text-transform: uppercase; white-space: nowrap; }
.gauge__big i { font-style: normal; color: var(--steel-600); font-weight: 400; }
.gauge__note { font-size: var(--fs-lead); line-height: 1.45; max-width: 30ch; }
@media (min-width: 900px) { .gauge__head { grid-template-columns: 1fr auto; align-items: end; } }
.gauge__scale { position: relative; padding-bottom: 40px; }
.gauge__track { height: 10px; background: var(--steel-850); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.gauge__fill { height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold), var(--gold-hi)); transform-origin: left; }
.gauge__ticks li { position: absolute; top: -8px; left: var(--p); width: 1px; height: 26px; background: var(--steel-400); }
.gauge__ticks li:last-child { transform: translateX(-1px); }
.gauge__ticks span { position: absolute; top: 34px; left: 0; transform: translateX(-50%); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--steel-300); white-space: nowrap; }
.gauge__ticks li:last-child span { transform: translateX(-100%); }
.gauge__ticks li:nth-child(2) span, .gauge__ticks li:nth-child(5) span { top: 52px; }
@media (max-width: 599px) { .gauge__ticks li:nth-child(2) span, .gauge__ticks li:nth-child(4) span { display: none; } .gauge__ticks li:nth-child(5) span { top: 34px; } }

/* Built for real work ---------------------------------------------------- */
.built__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: start; }
.built__media { aspect-ratio: 4 / 5; position: relative; }
.built__art { position: absolute; inset: -8% 0; display: grid; place-items: center; }
.built__art .art { padding: 10%; }
.built__art .media__img { position: absolute; inset: 0; }
.built__caption { position: absolute; left: 18px; bottom: 16px; z-index: 3; }
.built__copy { display: grid; gap: 28px; }
.pillars { margin-top: 12px; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars .mono { color: var(--gold-hi); padding-top: 6px; }
.pillars h3 { font-size: 1.6rem; margin-bottom: 6px; }
@media (min-width: 960px) {
  .built__grid { grid-template-columns: 1fr 1fr; }
  .built__media { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Contact ---------------------------------------------------------------- */
.contact__grid { display: grid; gap: 18px; }
.contact__grid .people { order: -1; }
.hq {
  display: grid; gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--brushed); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 1000px) {
  .hq { grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 4vw, 64px); }
  .hq > .mono, .hq > h3, .hq__list { grid-column: 1; }
  .hq__map { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
.hq h3 { font-size: 2.4rem; }
.hq__list li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hq__list a { transition: color 0.3s; word-break: break-word; }
.hq__list a:hover { color: var(--gold-hi); }
.hq__map { margin-top: 10px; flex: 1; min-height: 220px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hq__map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.85) brightness(0.9); }

.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.people > .person { flex: 1 1 100%; min-width: 0; }
@media (min-width: 600px) { .people > .person { flex: 0 1 calc((100% - 18px) / 2); } }
@media (min-width: 1000px) { .people > .person { flex: 1 1 0; } }
.person {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--steel-900); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.4s;
}
.person:hover { border-color: rgba(247, 195, 11, 0.5); }
.person__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.person__avatar {
  width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.4rem;
  color: var(--gold-hi); border: 1px solid var(--gold-lo); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(247, 195, 11, 0.18), transparent 70%);
}
.person h3 { font-size: 1.9rem; }
.person__role { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); }
.person__links { margin-top: 14px; display: grid; gap: 2px; }
.person__links a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--bone-dim); font-size: 0.95rem; transition: color 0.3s; word-break: break-all; }
.person__links a:hover { color: var(--gold-hi); }
.person__links svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

/* Team member with a photo — portrait on top */
.person--photo { padding: 0; overflow: hidden; gap: 0; }
.person__portrait { aspect-ratio: 4 / 4.4; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.person__portrait img { object-position: 50% 15%; transition: transform 1.2s var(--ease-out); }
.person--photo:hover .person__portrait img { transform: scale(1.04); }
.person__num { position: absolute; top: 14px; right: 16px; z-index: 3; padding: 4px 8px; background: rgba(10, 11, 13, 0.7); border-radius: 2px; }
.person__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2.4vw, 28px); }

/* ============================ INNER PAGES =============================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(64px, 10vw, 140px));
  padding-bottom: clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(247, 195, 11, 0.14), transparent 70%),
    linear-gradient(180deg, var(--steel-950), var(--ink));
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero__inner { display: grid; gap: 28px; }
.page-hero h1 { font-size: clamp(3.2rem, 13vw, 9.5rem); font-weight: 900; line-height: 0.85; }
.page-hero__row { display: grid; gap: 28px; align-items: end; }
@media (min-width: 1100px) { .page-hero h1 { font-size: clamp(3.2rem, 8.6vw, 9.5rem); } }
.page-hero--compact { padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero--compact h1 { font-size: clamp(3.2rem, 9vw, 8rem); }
.crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-400); }
.crumbs a:hover { color: var(--gold-hi); }
@media (min-width: 1100px) { .page-hero__row { grid-template-columns: 1.3fr 1fr; } }

/* =============================== ABOUT ================================== */
.story { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__media { aspect-ratio: 5 / 4; }
.story__copy { display: grid; gap: 22px; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; } }

.families { display: grid; gap: 0; border-top: 1px solid var(--line); }
.families a {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.families a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--steel-900); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-out); }
.families a:hover::before { transform: scaleY(1); }
.families .mono { color: var(--gold-hi); padding-left: 4px; }
.families h3 { font-size: clamp(2rem, 5vw, 4.2rem); transition: transform 0.6s var(--ease-out), color 0.4s; }
.families a:hover h3 { transform: translateX(14px); color: var(--gold-hi); }
.families__caps { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--steel-300); text-align: right; padding-right: 4px; }
@media (max-width: 640px) { .families a { grid-template-columns: 40px 1fr; } .families__caps { grid-column: 2; text-align: left; } }

.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry { display: flex; flex-direction: column; gap: 12px; min-height: 220px; padding: 28px; background: var(--ink); transition: background-color 0.4s; }
.industry:hover { background: var(--steel-900); }
.industry svg { width: 36px; height: 36px; color: var(--gold-hi); margin-bottom: auto; }
.industry h3 { font-size: 1.8rem; margin-top: 28px; }
.industry p { font-size: 0.95rem; }

.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--steel-950); overflow: hidden; }
.step__num { font-family: var(--f-display); font-weight: 900; font-size: 5.5rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--gold); display: block; margin-bottom: 26px; }
.step h3 { font-size: 1.7rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; }
.step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out); }
.step:hover::after { transform: scaleX(1); }

.commit { text-align: center; }
.commit__quote {
  max-width: 22ch; margin: 28px auto 0;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: 0.95; color: var(--bone);
}
.commit__quote span { color: var(--gold-hi); }
.commit__sig { margin-top: 32px; }

/* ============================ TESTIMONIALS ============================== */
.progress-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .progress-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .progress-grid { grid-template-columns: repeat(3, 1fr); } .progress-grid .build:nth-child(6n + 1) { grid-column: span 2; } .progress-grid .build:nth-child(6n + 1) .build__media { aspect-ratio: auto; height: 100%; min-height: 100%; } }
.build { position: relative; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--steel-950); }
.build__media { aspect-ratio: 4 / 3; border: 0; border-radius: 0; }
.build:hover .build__media .art { transform: scale(1.04); }
.build__media .art { transition: transform 1.2s var(--ease-out); }
.build__info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); }
.build__info h3 { font-size: 1.4rem; }

.quotes { display: grid; gap: 18px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  position: relative; display: flex; flex-direction: column; gap: 26px;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--steel-900); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.quote__mark { font-family: var(--f-display); font-weight: 900; font-size: 7rem; line-height: 0.6; color: var(--gold); height: 0.45em; }
.quote blockquote p { max-width: none; font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.45; color: var(--bone); }
.quote.is-placeholder blockquote p { color: var(--steel-400); font-style: italic; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.quote__who strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; }
.quote__stars { display: flex; gap: 3px; color: var(--gold-hi); }
.quote__stars svg { width: 14px; height: 14px; }
.notice { margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--gold-lo); border-radius: var(--radius); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gold-hi); }

/* =============================== ORDER ================================== */
.order { padding-block: clamp(56px, 8vw, 110px) var(--section); }
.order__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .order__grid { grid-template-columns: 0.9fr 1.1fr; } .order__summary { position: sticky; top: calc(var(--header-h) + 24px); } }

.order__summary { border: 1px solid var(--line); border-radius: var(--radius); background: var(--steel-950); overflow: hidden; }
.order__media { aspect-ratio: 16 / 10; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.order__picked { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); }
.order__picked h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.order__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.order__price strong { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; color: var(--gold-hi); line-height: 1; }
.order__price strong.is-poa { font-size: 1.5rem; color: var(--bone); text-transform: uppercase; }
.order__selects { display: grid; gap: 14px; }

.order__form { display: grid; gap: 22px; padding: clamp(24px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--steel-900); }
.order__form h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.order__steps { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.order__steps li { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-400); }
.order__steps li b { color: var(--gold-hi); font-weight: 500; margin-right: 6px; }
.order__fine { font-size: 0.85rem; color: var(--steel-400); }
.delivery-extra[hidden] { display: none; }

.order__done { display: none; text-align: center; padding: clamp(32px, 5vw, 64px) 12px; gap: 18px; justify-items: center; }
.order__form.is-sent > :not(.order__done) { display: none; }
.order__form.is-sent .order__done { display: grid; }
.order__done-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-hi); }
.order__done-icon svg { width: 30px; height: 30px; }
.order__done p { margin-inline: auto; }

/* ============================ IN THE YARD =============================== */
.yard { background: linear-gradient(180deg, var(--ink), var(--steel-950) 40%, var(--ink)); border-top: 1px solid var(--line); }
.yard__group + .yard__group { margin-top: clamp(64px, 9vw, 130px); }
.yard__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px;
  padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.yard__head h3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
@media (max-width: 640px) {
  .yard__head { grid-template-columns: auto 1fr; }
  .yard__head > .mono:last-child { grid-column: 1 / -1; }
}
.yard__grid { columns: 3 300px; column-gap: 16px; }
.yard__item { display: block; break-inside: avoid; margin: 0 0 16px; }
.yard__open { display: block; width: 100%; cursor: zoom-in; }
.yard__item .media__img { height: auto; }

/* Full-screen photo viewer */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0;
  padding: clamp(16px, 4vw, 56px); border: 0;
  background: rgba(10, 11, 13, 0.95); color: var(--bone);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; gap: 16px; max-width: min(1200px, 100%); }
.lightbox__figure img { max-width: 100%; max-height: 78vh; width: auto; margin-inline: auto; border: 1px solid var(--line); }
.lightbox figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); text-transform: uppercase;
}
.lightbox__btn {
  position: fixed; width: 54px; height: 54px; display: grid; place-items: center;
  color: var(--bone); background: rgba(10, 11, 13, 0.6);
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev, .lightbox__next { top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
}
