/*
 * I.G.C. concept site.
 *
 * Palette. The live site declares --color-primary as amber 255,179,0 and
 * --color-secondary as burnt orange 216,76,13, then paints most of its buttons
 * in the orange and one italic heading accent in a crimson 207,10,44 that is
 * declared nowhere. Three accents on one page is what makes it read as a
 * template, so this design keeps the orange as the single accent, gives the
 * amber the one job of marking a search hit, and drops the crimson. The ink is
 * the live site's own near-black 17,15,15, which is also the colour of the
 * company's mark.
 */

:root {
  --ink: #110F0F;
  --ink-soft: #3A3734;
  --muted: #6E6862;
  --faint: #9A938C;
  --rule: #DFD9D1;
  --rule-soft: #ECE7E0;
  --paper: #F7F4EF;
  --card: #FFFFFF;
  --orange: #D84C0D;
  --orange-deep: #A93A08;
  --amber: #FFB300;
  --amber-wash: #FFEFC4;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 900px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- masthead */

.mast {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.mast__in {
  max-width: var(--maxw); margin: 0 auto; padding: 12px var(--gut);
  display: flex; align-items: center; gap: 18px;
}
.mast__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.mast__logo img { height: 32px; width: 32px; }
.mast__logo b {
  font-family: var(--display); font-size: 14.5px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.15; display: none;
}
.mast__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.mast__nav a {
  text-decoration: none; padding: 8px 12px; border-radius: 4px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
}
.mast__nav a:hover { background: var(--rule-soft); color: var(--ink); }
.mast__nav a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  border: 0; cursor: pointer;
}
.pill:hover { background: var(--orange-deep); }
.pill__n {
  background: rgba(255, 255, 255, 0.24); border-radius: 999px;
  min-width: 20px; padding: 0 6px; text-align: center; font-variant-numeric: tabular-nums;
}
.pill[data-empty='1'] .pill__n { display: none; }

@media (min-width: 900px) { .mast__logo b { display: block; } }

/* Under about a phone's width the four links and the enquiry pill cannot share
   one row without the last link sliding under the pill, so the nav takes a row
   of its own. */
@media (max-width: 700px) {
  .mast__in { flex-wrap: wrap; gap: 10px 14px; padding-bottom: 8px; }
  .mast__nav { order: 3; width: 100%; margin-left: 0; border-top: 1px solid var(--rule-soft); padding-top: 4px; }
  .mast__nav a { padding: 7px 10px; }
  .pill { margin-left: auto; }
}

/* -------------------------------------------------------------------- hero */

.hero {
  background: var(--ink); color: #F2EFEA;
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px);
}
/* A narrow hazard stripe along the top edge, which is the one place a safety
   supplier's yellow belongs. */
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #171412 10px 20px);
}
.hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.hero__eyebrow { color: var(--amber); margin: 0 0 22px; }
.hero h1 {
  font-size: clamp(42px, 7.4vw, 88px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  margin: 0 0 22px;
}
.hero h1 span { color: var(--orange); }
.hero__lead {
  font-size: clamp(17px, 1.6vw, 20px); color: #C9C2BA; max-width: 58ch; line-height: 1.6;
}

.search {
  margin-top: 30px; position: relative; max-width: 660px;
}
.search__row {
  display: flex; align-items: stretch; gap: 0;
  background: #1D1917; border: 1px solid #332D29; border-radius: 6px;
}
.search__row:focus-within { border-color: var(--orange); }
.search input {
  flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: #fff;
  font-family: var(--body); font-size: 16.5px; padding: 16px 18px;
}
.search input::placeholder { color: #7E756D; }
.search input:focus { outline: none; }
.search button {
  flex: 0 0 auto; border: 0; background: var(--orange); color: #fff; cursor: pointer;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0 22px; border-radius: 0 5px 5px 0;
}
.search button:hover { background: var(--orange-deep); }
.search__hint { margin: 10px 2px 0; font-size: 13.5px; color: #8A817A; }
.search__hint b { color: #C9C2BA; font-weight: 500; }

.search__out {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  background: var(--card); color: var(--ink); border: 1px solid var(--rule);
  border-radius: 6px; box-shadow: 0 18px 44px rgba(17, 15, 15, 0.28);
  max-height: 340px; overflow-y: auto; display: none;
}
.search__out[data-open='1'] { display: block; }
.search__out a {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 11px 16px; text-decoration: none; border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
}
.search__out a:last-child { border-bottom: 0; }
.search__out a:hover, .search__out a:focus { background: var(--paper); }
.search__out em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.search__none { padding: 14px 16px; font-size: 15px; color: var(--muted); }

mark { background: var(--amber-wash); color: inherit; padding: 0 1px; border-radius: 2px; }

/* -------------------------------------------------------------------- facts */

.facts {
  border-top: 1px solid #2A2522; margin-top: clamp(36px, 5vw, 56px); padding-top: 26px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px;
}
.facts div b {
  display: block; font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1;
}
.facts div span { display: block; margin-top: 6px; color: #8A817A; font-size: 13px; line-height: 1.45; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------------------------------------------- sections */

.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec--rule { border-top: 1px solid var(--rule); }
.sec--card { background: var(--card); }
.sec--ink { background: var(--ink); color: #E8E3DD; }
.sec--ink h2 { color: #fff; }
.sec--ink p { color: #B7AFA7; }

.sec__head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 48px); }
.sec__head .mono { color: var(--orange); display: block; margin-bottom: 14px; }
.sec--ink .sec__head .mono { color: var(--amber); }
.sec__head h2 { font-size: clamp(28px, 3.8vw, 44px); }
.sec__head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.prose { max-width: 66ch; color: var(--ink-soft); }
.prose p + h3 { margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-bottom: 10px; }

/* --------------------------------------------------------------- divisions */

.divs { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .divs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .divs { grid-template-columns: repeat(3, 1fr); } }

.div {
  background: var(--card); padding: 26px 26px 24px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  transition: background 0.15s ease;
}
.div:hover { background: #FFFBF6; }
.div__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.div__n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--faint); }
.div__tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px; background: var(--rule-soft); color: var(--muted);
}
.div__tag[data-kind='catalogue'] { background: var(--amber-wash); color: #7A5200; }
.div h3 { font-size: 22px; margin-top: 4px; }
.div p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.div__go {
  margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange);
}
.div:hover .div__go { color: var(--orange-deep); }

/* -------------------------------------------------------------------- steps */

.steps { display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.step { border-top: 2px solid var(--orange); padding-top: 18px; counter-increment: s; }
.sec--ink .step { border-top-color: var(--amber); }
.step::before {
  content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.1em; color: var(--orange); display: block; margin-bottom: 10px;
}
.sec--ink .step::before { color: var(--amber); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ------------------------------------------------------------- capabilities */

.caps { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 680px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.cap { background: var(--card); padding: 24px; }
.cap h3 { font-size: 18px; margin-bottom: 8px; }
.cap p { font-size: 15px; color: var(--muted); line-height: 1.55; }

.facts-list { border-top: 1px solid var(--rule); margin: 0; padding: 0; }
.facts-list div {
  display: flex; gap: 20px; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap;
}
.facts-list dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.facts-list dd { margin: 0; font-size: 16px; text-align: right; }

.quote {
  border-left: 3px solid var(--orange); padding: 4px 0 4px 22px; margin: 0;
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; letter-spacing: -0.01em;
}
.quote footer { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks li::before { content: ''; flex: 0 0 auto; width: 9px; height: 9px; margin-top: 8px; background: var(--orange); }
.sec--ink .ticks li::before { background: var(--amber); }

/* --------------------------------------------------------------- catalogue */

.cat { display: grid; gap: 0; }
.cat__bar {
  /* The masthead wraps to two rows on a narrow screen, so its height is measured
     and published as --mast-h rather than guessed at per breakpoint. */
  position: sticky; top: var(--mast-h, 57px); z-index: 30; background: var(--paper);
  border-bottom: 1px solid var(--rule); padding: 14px 0;
}
.cat__bar .wrap { display: grid; gap: 12px; }
.cat__search {
  display: flex; background: var(--card); border: 1px solid var(--rule); border-radius: 5px;
}
.cat__search:focus-within { border-color: var(--orange); }
.cat__search input {
  flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 13px 16px;
  font-family: var(--body); font-size: 16px; color: var(--ink);
}
.cat__search input:focus { outline: none; }
.cat__search button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 0 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.cat__search button:hover { color: var(--ink); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip {
  border: 1px solid var(--rule); background: var(--card); color: var(--ink-soft);
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
}
.chip:hover { border-color: var(--faint); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--sep { width: 1px; height: 20px; background: var(--rule); padding: 0; border: 0; border-radius: 0; cursor: default; }

.cat__count { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cat__count b { color: var(--ink); font-variant-numeric: tabular-nums; }

.grp { border-top: 1px solid var(--rule); padding: 26px 0 8px; }
.grp__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.grp__head h3 { font-size: 19px; }
.grp__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.grp__cls {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--amber-wash); color: #7A5200; padding: 3px 8px; border-radius: 3px;
}

.rows { display: grid; gap: 0; }
@media (min-width: 760px) { .rows { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .rows { grid-template-columns: repeat(3, 1fr); } }

.row {
  display: flex; align-items: center; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft); font-size: 15.5px; line-height: 1.4;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  text-align: left; width: 100%; cursor: pointer; color: var(--ink);
  font-family: var(--body);
}
.row:hover { color: var(--orange-deep); }
.row__box {
  flex: 0 0 auto; width: 17px; height: 17px; border: 1.5px solid var(--faint);
  border-radius: 3px; position: relative;
}
.row:hover .row__box { border-color: var(--orange); }
.row[aria-pressed='true'] .row__box { background: var(--orange); border-color: var(--orange); }
.row[aria-pressed='true'] .row__box::after {
  content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.row__name { flex: 1 1 auto; }

.cat__empty { padding: 60px 0; text-align: center; color: var(--muted); }
.cat__empty b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); margin-bottom: 8px; }

/* ------------------------------------------------------------------- tray */

.tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--ink); color: #fff; transform: translateY(105%);
  transition: transform 0.22s ease;
}
.tray[data-open='1'] { transform: none; }
.tray__in {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gut);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.tray__txt { font-size: 15px; color: #C9C2BA; flex: 1 1 200px; }
.tray__txt b { color: #fff; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tray__clear {
  background: none; border: 0; color: #8A817A; cursor: pointer; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 0;
}
.tray__clear:hover { color: #fff; }

/* -------------------------------------------------------------------- rfq */

.rfq { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 980px) { .rfq { grid-template-columns: 1fr 1fr; } }

.lines { border-top: 1px solid var(--rule); }
.line {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--rule); font-size: 15.5px;
}
.line__name { flex: 1 1 auto; line-height: 1.4; }
.line__name small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
.line input {
  flex: 0 0 auto; width: 78px; border: 1px solid var(--rule); border-radius: 4px;
  padding: 7px 9px; font-family: var(--mono); font-size: 14px; text-align: right; color: var(--ink);
  background: var(--card);
}
.line input:focus { outline: none; border-color: var(--orange); }
.line button {
  flex: 0 0 auto; border: 0; background: none; color: var(--faint); cursor: pointer;
  font-size: 20px; line-height: 1; padding: 4px 6px;
}
.line button:hover { color: var(--orange); }

.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--rule); border-radius: 5px; background: var(--card);
  padding: 12px 14px; font-family: var(--body); font-size: 16px; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field--half { display: grid; gap: 18px; }
@media (min-width: 560px) { .field--half { grid-template-columns: 1fr 1fr; } }

.btnrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 5px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.btn:hover { background: #000; }
.btn--accent { background: var(--orange); border-color: var(--orange); }
.btn--accent:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--card); border-color: var(--faint); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.out {
  margin-top: 26px; background: var(--card); border: 1px solid var(--rule); border-radius: 6px;
  padding: 20px; display: none;
}
.out[data-open='1'] { display: block; }
.out pre {
  margin: 0 0 16px; white-space: pre-wrap; word-break: break-word;
  font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink-soft);
  max-height: 340px; overflow-y: auto;
}

.note {
  background: var(--amber-wash); border-left: 3px solid var(--amber);
  padding: 16px 18px; font-size: 15px; line-height: 1.6; color: #5A4300;
}
.note b { color: #3E2E00; }

/* ----------------------------------------------------------------- contact */

.contact { display: grid; gap: 28px; }
@media (min-width: 820px) { .contact { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.contact h3 { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.contact a { color: #fff; text-decoration: none; border-bottom: 1px solid #4A423C; }
.contact a:hover { border-bottom-color: var(--amber); }
.contact p { font-size: 17px; color: #C9C2BA; }

/* ------------------------------------------------------------------ footer */

.foot { background: var(--ink); color: #8A817A; padding: 56px 0 40px; border-top: 1px solid #2A2522; }
.sec--ink + .foot { border-top: 1px solid #2A2522; }
.foot__top { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid #2A2522; }
@media (min-width: 760px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.foot img { height: 30px; width: auto; filter: invert(1); margin-bottom: 14px; }
.foot h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #C9C2BA; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: #A79E96; text-decoration: none; font-size: 15px; }
.foot a:hover { color: #fff; }
.foot p { font-size: 15px; line-height: 1.6; }

.disclosure {
  margin-top: 28px; font-size: 13.5px; line-height: 1.7; color: #7E756D; max-width: 88ch;
}
.disclosure b { color: #C9C2BA; }

.concept-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 50;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(17, 15, 15, 0.92); color: #E8E3DD; text-decoration: none;
  padding: 9px 14px; border-radius: 999px; border: 1px solid #3A3430;
  font-size: 12px; line-height: 1.3; max-width: min(460px, calc(100vw - 28px));
  backdrop-filter: blur(6px);
}
.concept-badge:hover { color: #fff; border-color: var(--amber); }
.concept-badge i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
@media (max-width: 700px) { .concept-badge { font-size: 11px; padding: 8px 12px; } }

/* The badge clears the tray when the tray is open. The tray wraps to two rows on
   a narrow screen, so its height is measured and published as --tray-h rather
   than guessed at here. */
.tray[data-open='1'] ~ .concept-badge { bottom: calc(var(--tray-h, 62px) + 14px); }

/* --------------------------------------------------------------- page head */

.phead { background: var(--ink); color: #F2EFEA; padding: clamp(46px, 6vw, 76px) 0 clamp(34px, 4vw, 52px); position: relative; }
.phead::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #171412 10px 20px);
}
.phead .mono { color: var(--amber); display: block; margin-bottom: 16px; }
.phead h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
.phead p { margin-top: 18px; color: #C9C2BA; max-width: 60ch; font-size: 17.5px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
