/* ==========================================================================
   seatbeltwholesaler.in — "The Wholesale Ledger"
   Design system: parchment ground, forest ink, clay + antique brass accents,
   hairline ruling, editorial serif display, catalogue specimen plates.
   ========================================================================== */

/* --------------------------------------------------------------- 1. RESET */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `clip` rather than `hidden`: `overflow-x: hidden` forces overflow-y to
     compute to `auto`, which makes html/body scroll containers and silently
     disables `position: sticky` on the masthead. `clip` contains any stray
     horizontal overflow without creating a scroll container. */
  overflow-x: clip;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

img, svg, video {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

/* ------------------------------------------------------------- 2. TOKENS */
:root {
  /* Ground */
  --parchment:        #F5F0E6;
  --parchment-lift:   #FBF8F1;
  --parchment-mat:    #EBE3D3;
  --parchment-deep:   #E2D9C6;

  /* Ink */
  --ink:              #23211C;
  --ink-soft:         #4C473D;
  --ink-faint:        #6E6859;

  /* Primary — deep forest green */
  --forest:           #1E3A2F;
  --forest-deep:      #142720;
  --forest-lift:      #2A4C3E;
  --forest-wash:      #E3E9E3;

  /* Secondary — warm clay */
  --clay:             #A85A3E;
  --clay-deep:        #8B4830;
  --clay-wash:        #F0E1D8;

  /* Accent — antique brass (used sparingly) */
  --brass:            #A8834B;
  --brass-deep:       #7C5D2C;
  --brass-lift:       #C9A971;

  /* Supporting — muted stone grey */
  --stone:            #8C877E;
  --stone-deep:       #635E56;

  /* Ruling */
  --rule:             rgba(35, 33, 28, .16);
  --rule-soft:        rgba(35, 33, 28, .09);
  --rule-strong:      rgba(35, 33, 28, .34);
  --rule-onink:       rgba(245, 240, 230, .18);
  --rule-onink-soft:  rgba(245, 240, 230, .10);

  /* Type */
  --font-display: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --measure: 68ch;
  --shell: 1360px;
  --shell-narrow: 980px;

  --section-y: clamp(4rem, 9vw, 8.5rem);
  --radius: 2px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------ 3. ELEMENTS */
body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.012em;
  color: var(--forest);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.55rem + 4.1vw, 5.1rem); }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.5vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .85vw, 1.85rem); line-height: 1.18; }
h4 { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.24; }

p { text-wrap: pretty; }
p + p { margin-top: 1.05em; }

strong, b { font-weight: 700; color: var(--ink); }

::selection {
  background: var(--forest);
  color: var(--parchment-lift);
}

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 999;
  background: var(--forest);
  color: var(--parchment-lift);
  padding: .8rem 1.3rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------- 4. SHELL */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }

.rule-top { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }

/* -------------------------------------------------- 5. TYPOGRAPHIC ATOMS */
.label {
  display: block;
  font-family: var(--font-ui);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  line-height: 1.4;
}
.label--stone { color: var(--stone-deep); }
.label--onink { color: var(--brass-lift); }
.label--clay { color: var(--clay-deep); }

.folio-num {
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
  color: var(--stone-deep);
}

.lede {
  font-size: clamp(1.075rem, 1rem + .42vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
}
.lede--onink { color: rgba(245, 240, 230, .84); }

.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); }
.prose h3 { margin-top: 2.4rem; margin-bottom: .7rem; }
.prose h4 { margin-top: 1.9rem; margin-bottom: .45rem; color: var(--ink); }
.prose ul { margin: 1rem 0 0; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  margin-bottom: .55rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .78em;
  width: .7rem;
  height: 1px;
  background: var(--brass);
}

.text-link {
  color: var(--clay-deep);
  text-decoration: none;
  font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: color .2s var(--ease), background-size .28s var(--ease);
}
.text-link:hover { color: var(--forest); background-size: 0% 1px; }

/* --------------------------------------------------- 6. FOLIO (SECT HEAD) */
.folio {
  display: flex;
  align-items: baseline;
  gap: clamp(.9rem, 2.4vw, 1.75rem);
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}
.folio__rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 1.5rem;
  background: var(--rule);
}
.folio--onink { border-bottom-color: var(--rule-onink); }
.folio--onink .folio__rule { background: var(--rule-onink-soft); }
.folio--onink .folio-num { color: rgba(245, 240, 230, .55); }

/* ------------------------------------------------------------ 7. BUTTONS */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--parchment-lift);
  --btn-bd: var(--forest);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .28s var(--ease), border-color .28s var(--ease), background-color .28s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--forest-deep);
  transform: translateY(101%);
  transition: transform .38s var(--ease);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateY(0); }

.btn__arrow {
  width: .95em;
  height: .95em;
  flex: none;
  transition: transform .3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(.28em); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest);
  --btn-bd: var(--rule-strong);
}
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--parchment-lift); border-color: var(--forest); }

.btn--clay { --btn-bg: var(--clay); --btn-bd: var(--clay); }
.btn--clay::after { background: var(--clay-deep); }

.btn--onink {
  --btn-bg: var(--parchment);
  --btn-fg: var(--forest-deep);
  --btn-bd: var(--parchment);
}
.btn--onink::after { background: var(--brass-lift); }
.btn--onink:hover, .btn--onink:focus-visible { color: var(--forest-deep); border-color: var(--brass-lift); }

.btn--onink-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--parchment);
  --btn-bd: var(--rule-onink);
}
.btn--onink-ghost::after { background: var(--parchment); }
.btn--onink-ghost:hover, .btn--onink-ghost:focus-visible { color: var(--forest-deep); border-color: var(--parchment); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.6rem);
}

/* -------------------------------------------------------- 8. PLATE (IMG) */
/* The frame's aspect-ratio always equals the source image's true ratio and
   the image is `contain`-fitted, so nothing is ever cropped or stretched at
   any viewport width. Faces are structurally protected. */
.plate { display: block; margin: 0; }

.plate__frame {
  position: relative;
  box-sizing: content-box;
  aspect-ratio: var(--ar, 3 / 2);
  background: var(--parchment-mat);
  border: 1px solid var(--rule-strong);
  padding: clamp(.4rem, 1vw, .7rem);
  overflow: hidden;
}
.plate__frame::after {
  content: "";
  position: absolute;
  inset: clamp(.4rem, 1vw, .7rem);
  border: 1px solid rgba(35, 33, 28, .1);
  pointer-events: none;
  z-index: 2;
}
.plate__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--parchment-deep);
}
.plate__caption {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-top: .85rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-deep);
}
.plate__caption span:last-child {
  flex: 1 1 auto;
  border-top: 1px solid var(--rule);
  transform: translateY(-.28em);
}
.plate--onink .plate__frame {
  background: rgba(245, 240, 230, .05);
  border-color: var(--rule-onink);
}
.plate--onink .plate__frame::after { border-color: var(--rule-onink-soft); }
.plate--onink .plate__img { background: var(--forest-deep); }
.plate--onink .plate__caption { color: rgba(245, 240, 230, .55); }
.plate--onink .plate__caption span:last-child { border-top-color: var(--rule-onink-soft); }

/* -------------------------------------------------------- 9. TOPLINE BAR */
.topline {
  background: var(--forest-deep);
  color: rgba(245, 240, 230, .78);
  font-size: .72rem;
  letter-spacing: .07em;
}
.topline__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 2.4rem;
  padding-block: .35rem;
}
.topline__note {
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .66rem;
  color: var(--brass-lift);
}
.topline__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topline__links a {
  color: rgba(245, 240, 230, .82);
  text-decoration: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}
.topline__links a:hover { color: var(--brass-lift); }
.topline__name {
  color: rgba(245, 240, 230, .62);
  font-weight: 600;
}
@media (max-width: 640px) {
  .topline__note { display: none; }
  .topline__in { justify-content: center; }
  .topline__links { justify-content: center; gap: 1.1rem; }
}

/* ------------------------------------------------------------ 10. MASTHEAD */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 1px 0 var(--rule), 0 14px 34px -28px rgba(20, 39, 32, .55); }

.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex: none;
}
.wordmark__glyph { width: 2.05rem; height: 2.05rem; flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem);
  color: var(--forest);
  letter-spacing: -.01em;
}
.wordmark__tld { color: var(--clay-deep); }
.wordmark__sub {
  margin-top: .3rem;
  font-size: .5625rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--stone-deep);
}

.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.15vw, 1.2rem); }
.nav__link {
  position: relative;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: .35rem;
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--forest); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--forest); font-weight: 800; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--brass); }

.masthead__cta { flex: none; }
.masthead__cta .btn { padding: .78rem 1.05rem; font-size: .645rem; letter-spacing: .135em; }

.burger {
  display: none;
  align-items: center;
  gap: .6rem;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: .62rem .85rem;
  cursor: pointer;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}
.burger__bars { display: block; width: 1.05rem; height: .62rem; position: relative; }
.burger__bars i {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--forest);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger__bars i:nth-child(1) { top: 0; }
.burger__bars i:nth-child(2) { top: 50%; margin-top: -.75px; }
.burger__bars i:nth-child(3) { bottom: 0; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(1) { transform: translateY(.29rem) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars i:nth-child(3) { transform: translateY(-.29rem) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav, .masthead__cta { display: none; }
  .burger { display: inline-flex; }
}

/* ------------------------------------------------------- 11. MOBILE DRAWER */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 39, 32, .5);
  opacity: 0;
  transition: opacity .32s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(24rem, 92vw);
  background: var(--parchment-lift);
  border-left: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.drawer__close {
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  width: 2.4rem; height: 2.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--forest);
}
.drawer__nav { padding: .5rem var(--gutter) 1.5rem; }
.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.02rem 0;
  border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.32rem;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.drawer__link:hover { color: var(--clay); padding-left: .3rem; }
.drawer__link[aria-current="page"] { color: var(--clay-deep); }
.drawer__link .folio-num { flex: none; font-size: .66rem; color: var(--brass-deep); }
.drawer__foot {
  margin-top: auto;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--rule);
  background: var(--parchment);
}
.drawer__foot .btn { width: 100%; justify-content: center; }
.drawer__contact { margin-top: 1.15rem; display: grid; gap: .35rem; }
.drawer__contact a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.drawer__contact a:hover { color: var(--clay-deep); }
.drawer__name {
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 600;
  opacity: .75;
}

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- 12. HERO */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5.25rem) clamp(3.25rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-soft) 0 1px,
    transparent 1px calc(100% / 6)
  );
  opacity: .8;
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 4.5vw, 4.25rem);
  align-items: center;
}
.hero__label-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
}
.hero__label-row .folio__rule { flex: 1 1 auto; height: 1px; background: var(--rule); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: normal;
  color: var(--clay);
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  border-top: 1px solid var(--rule-strong);
}
.hero__meta div {
  padding: 1.15rem 1.15rem 0 0;
  border-right: 1px solid var(--rule);
}
.hero__meta div:last-child { border-right: 0; padding-right: 0; }
.hero__meta dt {
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: .4rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, .9rem + .4vw, 1.24rem);
  color: var(--forest);
  line-height: 1.2;
}

.hero__plate { position: relative; }
.hero__plate .plate__frame {
  background: var(--parchment-lift);
  box-shadow: 0 40px 70px -55px rgba(20, 39, 32, .75);
}
.hero__stamp {
  position: absolute;
  left: clamp(-.5rem, -1vw, -1.15rem);
  bottom: clamp(2.5rem, 5vw, 3.5rem);
  z-index: 3;
  background: var(--forest);
  color: var(--parchment);
  padding: .85rem 1.1rem;
  border: 1px solid var(--forest-deep);
  max-width: 12.5rem;
}
.hero__stamp b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brass-lift);
  font-weight: 400;
  margin-bottom: .3rem;
}
.hero__stamp span {
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, .8);
  line-height: 1.4;
  display: block;
}

@media (max-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: clamp(2.25rem, 6vw, 3rem); }
  .hero::before { background-image: repeating-linear-gradient(to right, var(--rule-soft) 0 1px, transparent 1px calc(100% / 3)); }
  .hero__stamp { left: auto; right: 0; bottom: clamp(2.4rem, 6vw, 3rem); }
}
@media (max-width: 560px) {
  .hero__meta { grid-template-columns: minmax(0, 1fr); }
  .hero__meta div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: .95rem 0;
  }
  .hero__meta div:last-child { border-bottom: 0; }
  .hero__stamp { position: static; max-width: none; margin-top: 1rem; }
}

/* ------------------------------------------------------- 13. PAGE HEADER */
.pagehead {
  position: relative;
  background: var(--forest);
  color: var(--parchment);
  padding-block: clamp(2.6rem, 6vw, 4.5rem) clamp(3rem, 6.5vw, 5rem);
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-onink-soft) 0 1px,
    transparent 1px calc(100% / 6)
  );
  pointer-events: none;
}
.pagehead__in { position: relative; }
.pagehead h1 { color: var(--parchment-lift); margin-block: 1.4rem 1.35rem; }
.pagehead h1 em { font-style: normal; color: var(--brass-lift); }
.pagehead .lede { color: rgba(245, 240, 230, .82); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, .55);
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--rule-onink);
}
.crumbs a { text-decoration: none; color: rgba(245, 240, 230, .72); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--brass-lift); }
.crumbs [aria-current="page"] { color: var(--brass-lift); }
.crumbs__sep { color: rgba(245, 240, 230, .3); }

.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: end;
}
@media (max-width: 900px) {
  .pagehead__grid { grid-template-columns: minmax(0, 1fr); }
}

.pagehead__facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-onink);
}
.pagehead__facts > div {
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule-onink-soft);
}
.pagehead__facts .folio-num { color: var(--brass-lift); }
.pagehead__facts p { margin: 0; font-size: .9375rem; color: rgba(245, 240, 230, .78); line-height: 1.55; }

/* --------------------------------------------------------- 14. LEDGER LIST */
.ledger { border-top: 1px solid var(--rule-strong); }
.ledger__row {
  display: grid;
  grid-template-columns: clamp(4rem, 8vw, 7.5rem) minmax(0, 1.05fr) minmax(0, 1.45fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.35rem);
  border-bottom: 1px solid var(--rule);
  transition: background-color .3s var(--ease);
}
.ledger__row:hover { background-color: rgba(168, 131, 75, .06); }
.ledger__num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  color: var(--brass-deep);
  padding-top: .45rem;
}
.ledger__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
  line-height: 1.08;
  color: var(--forest);
  letter-spacing: -.012em;
}
.ledger__body { color: var(--ink-soft); }
.ledger__body p { font-size: 1rem; }
.ledger__body > p + p { margin-top: .8rem; }
.ledger__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--clay-deep);
  border: 1px solid var(--clay-wash);
  background: var(--clay-wash);
  padding: .34rem .62rem;
}
@media (max-width: 860px) {
  .ledger__row { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .ledger__body { grid-column: 2 / -1; }
  .ledger__num { padding-top: .28rem; }
}

/* ------------------------------------------------------ 15. DIRECTORY ROWS */
.directory { border-top: 1px solid var(--rule-strong); }
.directory__item {
  display: grid;
  grid-template-columns: clamp(3.2rem, 6vw, 5.5rem) minmax(0, 13rem) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 2.6vw, 2.25rem);
  align-items: center;
  padding-block: clamp(1.25rem, 2.6vw, 1.85rem);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background-color .3s var(--ease);
}
.directory__item:hover { background-color: rgba(30, 58, 47, .045); }
.directory__num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  color: var(--brass-deep);
  align-self: start;
  padding-top: .3rem;
}
.directory__thumb {
  position: relative;
  box-sizing: content-box;
  aspect-ratio: var(--ar, 3 / 2);
  background: var(--parchment-mat);
  border: 1px solid var(--rule);
  padding: .3rem;
  overflow: hidden;
}
.directory__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: var(--parchment-deep);
  transition: transform .5s var(--ease);
}
.directory__item:hover .directory__thumb img { transform: scale(1.035); }
.directory__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.05rem + .85vw, 1.85rem);
  line-height: 1.1;
  color: var(--forest);
  text-wrap: balance;
  transition: color .22s var(--ease);
}
.directory__item:hover .directory__name { color: var(--clay-deep); }
.directory__item .directory__go { display: flex; }
.directory__desc { color: var(--ink-soft); font-size: .9375rem; }
.directory__go {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .7rem;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.directory__go svg { width: .85em; height: .85em; transition: transform .3s var(--ease); }
.directory__item:hover .directory__go svg { transform: translateX(.3em); }

@media (max-width: 1040px) {
  .directory__item { grid-template-columns: clamp(2.6rem, 6vw, 3.4rem) minmax(0, 10rem) minmax(0, 1fr); }
  .directory__desc { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .directory__item { grid-template-columns: 2.6rem minmax(0, 1fr); align-items: start; }
  .directory__thumb { grid-column: 2 / -1; margin-bottom: .35rem; }
  .directory__desc { grid-column: 2 / -1; }
}

/* --------------------------------------------------------------- 16. SPLIT */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split--wide-right { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); }
  .split--flip-media > :first-child { order: 2; }
}

/* --------------------------------------------------------------- 17. SHEET */
.sheet {
  background: var(--parchment-lift);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--forest);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  height: 100%;
}
.sheet--brass { border-top-color: var(--brass); }
.sheet--clay { border-top-color: var(--clay); }
.sheet__idx {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--rule-soft);
}
.sheet h3 { margin-bottom: .7rem; }
.sheet p { color: var(--ink-soft); font-size: .96rem; }
.sheet ul { margin-top: 1rem; list-style: none; padding: 0; }
.sheet ul li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.sheet ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: .62rem; height: 1px;
  background: var(--brass);
}

.grid-sheets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.grid-sheets--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* ------------------------------------------------------ 18. SPEC / DATA TBL */
.spec { width: 100%; border-collapse: collapse; text-align: left; }
.spec caption {
  text-align: left;
  padding-bottom: .85rem;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.spec th, .spec td {
  padding: .95rem 1rem .95rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: .9375rem;
}
.spec thead th {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-deep);
  border-bottom-color: var(--rule-strong);
  padding-bottom: .7rem;
}
.spec tbody th {
  font-weight: 700;
  color: var(--forest);
  width: 34%;
}
.spec td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 620px) {
  .spec tbody th { width: 42%; }
  .spec th, .spec td { font-size: .875rem; padding-right: .7rem; }
}

/* --------------------------------------------------------------- 19. BANDS */
.band {
  background: var(--forest);
  color: var(--parchment);
  position: relative;
  overflow: hidden;
}
.band h2, .band h3 { color: var(--parchment-lift); }
.band h2 em, .band h3 em { font-style: normal; color: var(--brass-lift); }
.band p { color: rgba(245, 240, 230, .8); }
.band--clay { background: var(--clay-deep); }
.band--clay .label { color: rgba(245, 240, 230, .72); }
.band--mat { background: var(--parchment-mat); color: var(--ink); }
.band--mat h2, .band--mat h3 { color: var(--forest); }
.band--mat p { color: var(--ink-soft); }

.band--ruled::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-onink-soft) 0 1px,
    transparent 1px calc(100% / 6)
  );
  pointer-events: none;
}
.band > .shell { position: relative; }

/* --------------------------------------------------------- 20. PROCESS COL */
.process { border-top: 1px solid var(--rule-onink); }
.process__step {
  display: grid;
  grid-template-columns: clamp(4rem, 8vw, 8rem) minmax(0, .9fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.6rem, 3.2vw, 2.5rem);
  border-bottom: 1px solid var(--rule-onink-soft);
  align-items: start;
}
.process__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.9rem);
  line-height: 1;
  color: var(--brass-lift);
}
.process__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem);
  line-height: 1.12;
  color: var(--parchment-lift);
}
.process__body p { font-size: .9688rem; }
.process__body p + p { margin-top: .75rem; }
.process__list { margin-top: 1rem; list-style: none; padding: 0; }
.process__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9rem;
  color: rgba(245, 240, 230, .74);
  margin-bottom: .45rem;
}
.process__list li::before {
  content: "";
  position: absolute; left: 0; top: .72em;
  width: .65rem; height: 1px;
  background: var(--brass-lift);
}
@media (max-width: 860px) {
  .process__step { grid-template-columns: clamp(2.8rem, 9vw, 4rem) minmax(0, 1fr); }
  .process__body { grid-column: 2 / -1; }
}

/* ------------------------------------------------------------ 21. SCENARIO */
.scenario {
  background: var(--parchment-lift);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--clay);
  padding: clamp(1.4rem, 3vw, 2.15rem);
}
.scenario__tag {
  display: inline-block;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--parchment-lift);
  background: var(--clay-deep);
  padding: .34rem .62rem;
  margin-bottom: 1.1rem;
}
.scenario h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin-bottom: .7rem; }
.scenario p { color: var(--ink-soft); font-size: .96rem; }
.scenario dl {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  gap: .55rem;
}
.scenario dl > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: .9rem; }
.scenario dt {
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  padding-top: .28em;
}
.scenario dd { margin: 0; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .scenario dl > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}

/* ----------------------------------------------------------- 22. CHECKLIST */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--parchment-lift);
}
.checklist__item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.checklist__box {
  width: 1.35rem; height: 1.35rem;
  border: 1px solid var(--forest);
  display: grid;
  place-items: center;
  margin-top: .2rem;
  color: var(--forest);
  flex: none;
}
.checklist__box svg { width: .82rem; height: .82rem; }
.checklist__item h3 { margin-bottom: .3rem; font-family: var(--font-ui); font-size: .95rem; font-weight: 800; letter-spacing: .01em; color: var(--forest); }
.checklist__item p { font-size: .875rem; color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------- 23. ACCORDION */
.accordion { border-top: 1px solid var(--rule-strong); }
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__btn {
  width: 100%;
  display: grid;
  grid-template-columns: clamp(2.6rem, 5vw, 4rem) minmax(0, 1fr) 1.6rem;
  gap: clamp(.75rem, 2vw, 1.5rem);
  align-items: start;
  text-align: left;
  background: transparent;
  border: 0;
  padding: clamp(1.25rem, 2.6vw, 1.75rem) 0;
  cursor: pointer;
  color: var(--forest);
  transition: color .22s var(--ease);
}
.accordion__btn:hover { color: var(--clay-deep); }
.accordion__btn .folio-num { padding-top: .42em; color: var(--brass-deep); }
.accordion__q {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, .98rem + .6vw, 1.5rem);
  line-height: 1.22;
  letter-spacing: -.01em;
}
.accordion__sign {
  position: relative;
  width: 1.05rem; height: 1.05rem;
  margin-top: .5rem;
  justify-self: end;
  flex: none;
}
.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .32s var(--ease), opacity .2s var(--ease);
}
.accordion__sign::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; }
.accordion__sign::after { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -.75px; }
.accordion__btn[aria-expanded="true"] .accordion__sign::after { transform: scaleY(0); opacity: 0; }

/* Panels are OPEN by default so the content is fully readable with no
   JavaScript at all. The `js` class — set by an inline script in <head>
   before first paint — is what collapses them, and the height is then
   animated explicitly rather than through a flexible grid track (an
   `0fr -> 1fr` track resolves to zero here, because `overflow: hidden`
   on the inner wrapper zeroes the track base size). */
.accordion__panel > div { overflow: hidden; }

.js .accordion__panel {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height .38s var(--ease), visibility 0s linear .38s;
}
.js .accordion__panel.is-open {
  visibility: visible;
  transition: height .38s var(--ease), visibility 0s linear 0s;
}
.accordion__inner {
  padding: 0 clamp(0rem, 3vw, 2.6rem) clamp(1.5rem, 3vw, 2rem) clamp(2.6rem, 5vw, 4rem);
  max-width: 74ch;
}
.accordion__inner p { color: var(--ink-soft); font-size: .9688rem; }
.accordion__inner p + p { margin-top: .85rem; }
.accordion__inner ul { list-style: none; padding: 0; margin-top: .9rem; }
.accordion__inner ul li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.accordion__inner ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .62rem; height: 1px; background: var(--brass);
}
@media (max-width: 560px) {
  .accordion__inner { padding-left: 0; }
}

/* --------------------------------------------------------------- 24. FORM */
.enquiry {
  background: var(--parchment-lift);
  border: 1px solid var(--rule-strong);
  padding: clamp(1.5rem, 3.4vw, 2.75rem);
}
.enquiry__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule-strong);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 680px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

.field > label {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-deep);
  margin-bottom: .5rem;
}
.field__req { color: var(--clay); margin-left: .25rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--parchment);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: .82rem .9rem;
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8.5rem; line-height: 1.6; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234C473D' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .72rem;
  padding-right: 2.4rem;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--stone); opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--parchment-lift);
  box-shadow: 0 0 0 3px rgba(30, 58, 47, .12);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--clay-deep);
  background: #FBF1EC;
}
.field__err {
  display: none;
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--clay-deep);
}
.field__err.is-shown { display: block; }
.field__hint { margin-top: .45rem; font-size: .78rem; color: var(--stone-deep); }

.form-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: #F1E9DC;
  border-left: 2px solid var(--brass);
  font-size: .84rem;
  color: var(--ink-soft);
}
.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--brass);
  background: var(--parchment-mat);
  font-size: .875rem;
  color: var(--ink);
  display: none;
}
.form-status.is-shown { display: block; }

/* ------------------------------------------------------- 25. CONTACT CARDS */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0;
  border: 1px solid var(--rule-strong);
  background: var(--parchment-lift);
}
.contact-card {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.contact-card:last-child { border-right: 0; }
.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem);
  color: var(--forest);
  text-decoration: none;
  line-height: 1.2;
  word-break: break-word;
  transition: color .2s var(--ease);
}
a.contact-card__value:hover { color: var(--clay); }
.contact-card p { font-size: .875rem; color: var(--ink-soft); margin-top: .2rem; }
.contact-card__person { font-weight: 600; color: var(--ink); margin-top: .35rem; }
@media (max-width: 700px) {
  .contact-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .contact-card:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------- 26. PAGE NEXT */
.pagenext {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.pagenext__link {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.25rem) 0;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  display: block;
  transition: background-color .3s var(--ease);
}
.pagenext__link:last-child { border-right: 0; }
.pagenext__link:hover { background: rgba(30, 58, 47, .045); }
.pagenext__link h3 { font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); margin-block: .55rem .4rem; }
.pagenext__link p { font-size: .875rem; color: var(--ink-soft); }
.pagenext__link .directory__go { margin-top: .85rem; }
@media (max-width: 780px) {
  .pagenext__link { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .pagenext__link:last-child { border-bottom: 0; }
}

/* -------------------------------------------------------------- 27. FOOTER */
.footer {
  background: var(--forest-deep);
  color: rgba(245, 240, 230, .74);
  padding-top: clamp(3rem, 6vw, 5rem);
  font-size: .9rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
  border-bottom: 1px solid var(--rule-onink);
}
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

.footer__brand .wordmark__name { color: var(--parchment-lift); }
.footer__brand .wordmark__tld { color: var(--brass-lift); }
.footer__brand .wordmark__sub { color: rgba(245, 240, 230, .5); }
.footer__blurb {
  margin-top: 1.25rem;
  max-width: 34ch;
  color: rgba(245, 240, 230, .66);
  font-size: .875rem;
  line-height: 1.62;
}
.footer__coltitle {
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-lift);
  margin-bottom: 1.15rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--rule-onink-soft);
}
.footer__list { display: grid; gap: .62rem; }
.footer__list a {
  text-decoration: none;
  color: rgba(245, 240, 230, .72);
  font-size: .875rem;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
  display: inline-block;
}
.footer__list a:hover { color: var(--brass-lift); padding-left: .25rem; }
.footer__contact a {
  display: block;
  color: var(--parchment-lift);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: .55rem;
  word-break: break-word;
  transition: color .2s var(--ease);
}
.footer__contact a:hover { color: var(--brass-lift); }
.footer__name {
  display: block;
  color: var(--parchment-lift);
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: .55rem;
  opacity: .8;
}
.footer__contact p { font-size: .8125rem; color: rgba(245, 240, 230, .55); margin-top: .9rem; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.4rem;
}
.social__item {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rule-onink);
  color: rgba(245, 240, 230, .7);
  border-radius: var(--radius);
  transition: color .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.social__item svg { width: 1.02rem; height: 1.02rem; }
a.social__item:hover {
  color: var(--forest-deep);
  background: var(--brass-lift);
  border-color: var(--brass-lift);
}
.social__note {
  margin-top: .9rem;
  font-size: .75rem;
  color: rgba(245, 240, 230, .48);
  line-height: 1.5;
  max-width: 30ch;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 1.75rem;
  font-size: .78rem;
  color: rgba(245, 240, 230, .58);
}
.footer__bottom a { color: rgba(245, 240, 230, .82); text-decoration: none; border-bottom: 1px solid var(--rule-onink); transition: color .2s var(--ease), border-color .2s var(--ease); }
.footer__bottom a:hover { color: var(--brass-lift); border-color: var(--brass-lift); }
@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* --------------------------------------------------------- 28. 404 / UTILS */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }
.notfound .lede { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: clamp(.85rem, 2vw, 1.25rem); }
.mt-2 { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.mt-3 { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); }
.mt-4 { margin-top: clamp(3rem, 6vw, 4.5rem); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- 29. MOTION */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal-rule] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal-rule].is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    animation-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal-rule] { transform: scaleX(1); }
  .drawer__panel { transition: none; }
}

/* --------------------------------------------------------------- 30. PRINT */
@media print {
  .topline, .masthead, .drawer, .btn-row, .pagenext, .footer__top .social { display: none !important; }
  body { background: #fff; color: #000; }
  .band, .pagehead, .footer { background: #fff !important; color: #000 !important; }
  .pagehead h1, .band h2 { color: #000 !important; }
  a { text-decoration: underline; }
}

/* --------------------------------------------- 31. LEDGER ROW AS A LINK */
a.ledger__row {
  text-decoration: none;
  color: inherit;
}
a.ledger__row .ledger__title { transition: color .22s var(--ease); }
a.ledger__row:hover .ledger__title { color: var(--clay-deep); }
a.ledger__row .directory__go { margin-top: .6rem; }
a.ledger__row:hover .directory__go svg { transform: translateX(.3em); }

/* --------------------------------- 32. NARROW-VIEWPORT MASTHEAD COMPRESSION */
/* Below ~480px the wordmark strapline plus a labelled menu button are together
   wider than the available row, which pushed the button past the viewport
   edge. The strapline is dropped and the button reduces to its icon, with the
   label kept in the accessible name rather than removed. */
.wordmark { flex: 0 1 auto; min-width: 0; }

/* The strapline is shown only where the masthead row has room for it. Below
   that it is dropped rather than allowed to wrap into the navigation — the
   footer carries the same line in full. */
.wordmark__sub { display: none; }
@media (min-width: 1400px) {
  .wordmark__sub { display: block; }
}

@media (max-width: 480px) {
  .masthead__in { gap: .85rem; min-height: 4.1rem; }
  .wordmark__glyph { width: 1.85rem; height: 1.85rem; }
  .burger { padding: .58rem .7rem; }
  .burger__label {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

/* -------------------------------------------- 33. ON-INK CONTRAST OVERRIDES */
/* `.prose ul li` is more specific than `.process__list li`, so inside a prose
   column on a dark band the list items were inheriting dark ink on dark green.
   These restate the on-ink colours at matching specificity. */
.prose ul.process__list li { color: rgba(245, 240, 230, .82); }
.prose ul.process__list li::before { background: var(--brass-lift); }

/* `.band` assumes a dark ground; `.band--mat` is a light one, so the brass
   emphasis colour has to fall back to clay to stay readable. */
.band--mat h2 em,
.band--mat h3 em { color: var(--clay-deep); }
.band--mat .label { color: var(--brass-deep); }
