/* ==========================================================================
   P&K INDUSTRIES — Cold roll formed steel profiles
   --------------------------------------------------------------------------
   DESIGN NOTES (keep these in mind when editing)

   Palette      Taken from the P&K logo, not invented.
                mill / slab / gauge  = steel greys built on the logo outline
                                       navy-black (#05151C)
                steel                = #6D747C, the grey link in the mark
                amber                = #F6B30A, the gold link and the "P&K"
                                       wordmark. Used in exactly three places:
                                       the formed line in a drawing, the primary
                                       action, and the active state.
                zinc                 = galvanised blue-grey, body text on dark

   IMPORTANT    --amber is a GRAPHIC colour only. At #F6B30A it sits at ~1.9:1
                on white, so it must never carry small text or an icon on a
                light surface. Use --accent-text for anything a person reads:
                it resolves to a darker bronze on light bands and to full amber
                on dark ones. The primary button is likewise amber with
                near-black text, which is both brand-true and legible.

   Type         Archivo   wdth 118   display. Wide, not condensed — a rolled
                                     section seen edge-on.
                IBM Plex Sans        body.
                IBM Plex Mono        dimensions, title blocks, labels. Reads as
                                     drawing annotation.

   Grid texture Only on surfaces that represent a drawing sheet. It is
                information, not wallpaper. Never full-bleed on a section.

   Numbering    Only where the content is genuinely a sequence: forming pass
                stations, and the order of a job. Nowhere else.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Surfaces & layout
   4.  Typography
   5.  Actions
   6.  Header & navigation
   7.  Hero + flower pattern
   8.  Spec strip
   9.  Section heads
   10. Drawing sheets & profile cards
   11. Capability
   12. Sequence (job order / pass stations)
   13. Sectors
   14. Tables
   15. FAQ
   16. Forms & contact
   17. Closing action band
   18. Footer
   19. Inner-page head
   20. Profile detail sheets
   21. Motion
   22. Responsive
   ========================================================================== */


/* 1. Tokens
   ========================================================================== */
:root {
  /* Steel — built on the logo outline navy-black */
  --mill:   #0a1319;
  --slab:   #111c23;
  --gauge:  #1c2a33;
  --shim:   #3a4c57;   /* construction lines in drawings only — never text */
  --steel:  #6d747c;   /* the grey link in the mark */
  --zinc:   #b3c0c8;
  --zinc-d: #7c8d97;
  --chalk:  #f2f4f5;
  --chalk-d:#e4e8ea;
  --white:  #ffffff;

  /* Brand amber — graphic use only, see note above */
  --amber:      #f6b30a;
  --amber-deep: #d9990a;
  --amber-wash: rgba(246, 179, 10, 0.13);
  --amber-line: rgba(246, 179, 10, 0.38);

  /* Contextual — surfaces override these, never re-declare colours per element.
     --faint is the mono micro-label colour and is held above 4.5:1 on every
     surface it is used on. Do not substitute --shim for it. */
  --fg:         var(--mill);
  --fg-dim:     #55616a;
  --faint:      #6b7883;
  --accent-text:#8a6100;   /* readable amber for light bands (5.6:1 on white) */
  --rule:       #dce1e4;
  --card:    var(--white);
  --grid-ink:rgba(255, 255, 255, 0.05);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
             Roboto, Helvetica, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
             monospace;

  /* Metrics */
  --page:    1220px;
  --gutter:  26px;
  --head-h:  76px;
  --r:       3px;
  --r-lg:    6px;

  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}


/* 2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--fg);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--amber); color: var(--mill); }

[id] { scroll-margin-top: calc(var(--head-h) + 28px); }

.skip {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 999;
  padding: 13px 22px;
  background: var(--amber);
  color: var(--mill);
  font-weight: 600;
  border-radius: var(--r);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 18px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* 3. Surfaces & layout
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

/* Vertical rhythm. Only .band controls section padding — nothing else sets
   block padding on a section, so there is no specificity fight. */
.band {
  position: relative;
  padding-block: clamp(60px, 7.5vw, 108px);
}
.band--tight { padding-block: clamp(40px, 5vw, 66px); }
.band--flush-top { padding-top: 0; }

/* Surface variants set contextual tokens; children inherit. */
.band--white { background: var(--white); }

.band--chalk {
  background: var(--chalk);
  --rule: #d9dee1;
}

.band--slab {
  background: var(--slab);
  color: var(--zinc);
  --fg: #ffffff;
  --fg-dim: var(--zinc);
  --faint: #8794a0;
  --accent-text: var(--amber);
  --rule: rgba(255, 255, 255, 0.11);
  --card: var(--gauge);
}

.band--mill {
  background: var(--mill);
  color: var(--zinc);
  --fg: #ffffff;
  --fg-dim: var(--zinc);
  --faint: #8794a0;
  --accent-text: var(--amber);
  --rule: rgba(255, 255, 255, 0.10);
  --card: var(--slab);
}

.cols { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.flow > * + * { margin-top: 16px; }
.mt-l { margin-top: clamp(32px, 4vw, 52px); }
.mt-m { margin-top: 26px; }


/* 4. Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 118, "wght" 700;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 0.96;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.06; }
h4 {
  font-size: 0.9rem;
  font-variation-settings: "wdth" 112, "wght" 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

p { color: var(--fg-dim); }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.19rem);
  line-height: 1.66;
  max-width: 58ch;
}

/* Mono annotation — the drawing voice ------------------------------------ */
.tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.tag--dim { color: var(--zinc-d); }

.tag-rule {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.hair {
  height: 1px;
  border: 0;
  background: var(--rule);
}


/* 5. Actions
   ========================================================================== */
.act {
  --bg: var(--amber);
  --fg-btn: var(--mill);
  --bd: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-btn);
  background: var(--bg);
  border: 1.5px solid var(--bd);
  border-radius: var(--r);
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease);
}
.act:hover { transform: translateY(-2px); }
.act:active { transform: translateY(0); }
.act svg { width: 15px; height: 15px; flex: none; }

.act--line {
  --bg: transparent;
  --fg-btn: var(--fg);
  --bd: var(--rule);
}
.act--line:hover { --bd: currentColor; }

.act--solid {
  --bg: var(--mill);
  --fg-btn: #fff;
  --bd: var(--mill);
}

.act--sm { padding: 10px 18px; font-size: 0.78rem; }
.act--wide { width: 100%; }

.acts { display: flex; flex-wrap: wrap; gap: 14px; }

.go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.go svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.go:hover svg { transform: translateX(5px); }


/* 6. Header & navigation
   ========================================================================== */
.rail {
  background: var(--mill);
  color: var(--zinc-d);
  --faint: #8794a0;
  --accent-text: var(--amber);
  font-size: 0.775rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.rail__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  flex-wrap: wrap;
}
.rail__set { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rail__bit { display: inline-flex; align-items: center; gap: 8px; }
.rail__bit svg { width: 13px; height: 13px; color: var(--amber); flex: none; }
.rail a:hover { color: #fff; }
.rail__spec {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.head {
  --faint: #8794a0;
  --accent-text: var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 19, 25, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--head-h);
}

/* Mark ------------------------------------------------------------------- */
/* Logo artwork is the supplied transparent lockup, cropped to its own bounding
   box. Its dark outline was drawn for light backgrounds, so on the near-black
   header a tight white halo restores the edge without recolouring the brand. */
.mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: none;
}
.mark__logo {
  width: 178px;
  height: auto;
}
.mark__line {
  font-family: var(--mono);
  font-size: 0.575rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  padding-left: 2px;
}
.foot .mark__logo { width: 196px; }

/* Nav -------------------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: 2px; }

.nav__a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--zinc);
  border-radius: var(--r);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav__a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__a[aria-current="page"] { color: #fff; }
.nav__a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  background: var(--amber);
}
.nav__caret { width: 10px; height: 10px; opacity: 0.6; }

.nav__grp { position: relative; }
.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 268px;
  padding: 7px;
  background: var(--slab);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__grp:hover .nav__drop,
.nav__grp:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__drop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px;
  font-size: 0.85rem;
  color: var(--zinc);
  border-radius: var(--r);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav__drop a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.nav__code {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.nav__drop a:hover .nav__code { color: var(--amber); }

.head__act { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--r);
  color: #fff;
}
.burger__b {
  position: relative;
  width: 19px; height: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}
.burger__b::before,
.burger__b::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}
.burger__b::before { top: -6px; }
.burger__b::after  { top: 6px; }
.burger[aria-expanded="true"] .burger__b { background: transparent; }
.burger[aria-expanded="true"] .burger__b::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__b::after  { transform: translateY(-6px) rotate(-45deg); }


/* 7. Hero + flower pattern
   ========================================================================== */
.hero {
  background: var(--mill);
  color: var(--zinc);
  --fg: #fff;
  --fg-dim: var(--zinc);
  --faint: #8794a0;
  --accent-text: var(--amber);
  --rule: rgba(255, 255, 255, 0.10);
  padding-block: clamp(52px, 6vw, 84px) 0;
  overflow: hidden;
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: center;
}
/* Sized so each hand-broken line of the headline fits its own line at every
   width. Raising this re-orphans "in." — check before changing. */
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero__lede { margin-top: 26px; }
.hero__acts { margin-top: 34px; }

/* The signature: roll-forming flower pattern ------------------------------ */
.flower {
  --accent-text: var(--amber);
  --faint: #8794a0;
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--slab);
  background-image:
    linear-gradient(var(--grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
  background-size: 26px 26px;
}
.flower svg { width: 100%; height: auto; overflow: visible; }

.flower__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Drawing primitives, shared by every diagram on the site ----------------- */
.d-pass {                  /* intermediate forming pass — ghost */
  fill: none;
  stroke: var(--zinc-d);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0.5;
}
.d-final {                 /* finished section — the only orange line */
  fill: none;
  stroke: var(--amber);
  stroke-width: 3.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
/* A finished profile, drawn the way P&K's own section drawings draw one: a
   single centreline stroked at the material thickness, so every bend picks up
   a real radius from the round linejoin. Outer extents match the old outline
   paths exactly, so the A/B dimension lines still register. */
.d-sect {
  fill: none;
  stroke: var(--amber);
  stroke-width: 14;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.d-aux {                   /* pass line, centreline, dimension lines */
  fill: none;
  stroke: var(--shim);
  stroke-width: 1;
  stroke-dasharray: 7 5;
}
.d-tick { stroke: var(--shim); stroke-width: 1; }
.d-dim {                   /* dimension line — solid, with 45° end ticks */
  fill: none;
  stroke: var(--shim);
  stroke-width: 1;
}
.d-ext { fill: none; stroke: var(--shim); stroke-width: 1; opacity: 0.55; }
.d-note {
  fill: var(--zinc-d);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.d-note--hot { fill: var(--amber); }


/* 8. Spec strip — replaces the usual stat bar with information a buyer uses
   ========================================================================== */
.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.spec__cell {
  background: var(--mill);
  padding: 24px 22px 30px;
}
.spec__k {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.spec__v {
  margin-top: 10px;
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 600;
  font-size: 1.18rem;
  line-height: 1.22;
  text-transform: uppercase;
  color: #fff;
}
.spec__note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--zinc-d);
}


/* 9. Section heads
   ========================================================================== */
.shead { margin-bottom: clamp(34px, 4vw, 54px); }
.shead__t { margin-top: 16px; max-width: 20ch; }
.shead__p { margin-top: 16px; max-width: 50ch; }

.shead--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 24px 48px;
  align-items: end;
}
.shead--split .shead__p { margin-top: 0; }


/* 10. Drawing sheets & profile cards
   ========================================================================== */
/* 300px min resolves to 3 / 2 / 1 columns across the breakpoints. Six cards
   divide evenly into all three, so no row is ever left with empty cells. */
.sheets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.sheet:hover {
  transform: translateY(-3px);
  border-color: #c3cace;
  box-shadow: 0 14px 34px rgba(10, 19, 25, 0.12);
}

/* Drawing surfaces are always dark, whatever band they sit in, so they
   restate the dark-surface tokens for the title block and annotations. */
.sheet__draw {
  --accent-text: var(--amber);
  --faint: #8794a0;
  padding: 24px 22px 18px;
  background: var(--slab);
  background-image:
    linear-gradient(var(--grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
  background-size: 22px 22px;
}
.sheet__draw svg { width: 100%; height: auto; }

/* Title block — the row of stamped cells at the foot of a real drawing */
.tblock {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.tblock span {
  padding: 9px 13px;
  background: var(--slab);
  color: #8794a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tblock span:nth-child(2) { color: var(--zinc); }
.tblock .hot { color: var(--amber); }

.sheet__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}
.sheet__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 116, "wght" 700;
  font-size: 1.22rem;
  text-transform: uppercase;
  line-height: 1.04;
  color: var(--mill);
}
.sheet__body p { font-size: 0.93rem; }
.sheet__foot { margin-top: auto; padding-top: 14px; }

.sheet__hit::after { content: ""; position: absolute; inset: 0; }


/* 11. Capability
   ========================================================================== */
.caps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cap {
  background: var(--card);
  padding: 28px 26px 32px;
}
.cap__ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 18px;
  color: var(--accent-text);
  background: var(--amber-wash);
  border-radius: var(--r);
}
.cap__ico svg { width: 21px; height: 21px; }
.cap h3 { margin-bottom: 9px; }
.cap p { font-size: 0.92rem; }

/* Two-up feature ---------------------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 68px);
  align-items: center;
}
.duo__art {
  position: relative;
  padding: 30px;
  background: var(--slab);
  --rule: rgba(255, 255, 255, 0.11);
  --faint: #8794a0;
  --accent-text: var(--amber);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  background-image:
    linear-gradient(var(--grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
  background-size: 28px 28px;
}
.duo__art svg { width: 100%; height: auto; }

.ticks { display: grid; gap: 15px; margin-top: 26px; }
.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  align-items: start;
  font-size: 0.95rem;
  color: var(--fg-dim);
}
.ticks svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent-text); }
.ticks strong { color: var(--fg); font-weight: 600; }
/* Exclusions are not failures — mark them neutrally, not in the accent. */
.ticks--no svg { color: var(--faint); }


/* 12. Sequence — used ONLY where order genuinely carries meaning
   ========================================================================== */
.seq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.seq__step {
  position: relative;
  padding: 30px 24px 34px;
  background: var(--mill);
}
.seq__n {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.seq__step h3 { margin-block: 13px 9px; }
.seq__step p { font-size: 0.91rem; }


/* 13. Sectors
   ========================================================================== */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
/* --card resolves to white on light bands and to --gauge on dark ones, so a
   sector reads correctly on either surface without a second rule set. */
.sector {
  padding: 26px 24px 28px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.sector:hover {
  transform: translateY(-3px);
  border-color: var(--amber-line);
}
.sector h3 { margin-bottom: 10px; }
.sector p { font-size: 0.91rem; }
.sector__parts {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}


/* 14. Tables
   ========================================================================== */
.tscroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--white);
}
.tbl {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.tbl th, .tbl td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #e6eaec;
}
.tbl thead th {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7883;
  background: var(--chalk);
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #f7f9fa; }
.tbl td { color: #56626b; }
.tbl td:first-child { font-weight: 600; color: var(--mill); }
.tbl .num { font-family: var(--mono); font-size: 0.85rem; }


/* 15. FAQ
   ========================================================================== */
.faq {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.faq__i + .faq__i { border-top: 1px solid var(--rule); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 19px 24px;
  text-align: left;
  font-family: var(--display);
  font-variation-settings: "wdth" 114, "wght" 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  color: var(--mill);
  transition: background 0.2s var(--ease);
}
.faq__q:hover { background: var(--chalk); }
.faq__pm { position: relative; width: 15px; height: 15px; flex: none; }
.faq__pm::before, .faq__pm::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--accent-text);
  transition: transform 0.25s var(--ease);
}
.faq__pm::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__pm::after { transform: rotate(0deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 24px 22px; font-size: 0.94rem; max-width: 74ch; }


/* 16. Forms & contact
   ========================================================================== */
.form { display: grid; gap: 18px; }
.form__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.f { display: grid; gap: 7px; }
.f label {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6b7883;
}
.f label b { color: var(--accent-text); font-weight: 500; }
.f input, .f select, .f textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 0.95rem;
  color: var(--mill);
  background: var(--white);
  border: 1px solid #dce1e4;
  border-radius: var(--r);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.f textarea { resize: vertical; min-height: 132px; }
.f input:focus, .f select:focus, .f textarea:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--amber-wash);
}
.f input::placeholder, .f textarea::placeholder { color: #9aa6ae; }
.f--bad input, .f--bad select, .f--bad textarea { border-color: #c93a3a; }
.f__msg { font-size: 0.78rem; color: #c93a3a; }
.form__fine { font-size: 0.82rem; color: #6b7883; }

.notice {
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 0.9rem;
  border: 1px solid var(--amber-line);
  background: var(--amber-wash);
  color: var(--mill);
}
.notice[hidden] { display: none; }

.info-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 18px;
}
.info {
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  transition: border-color 0.2s var(--ease);
}
.info:hover { border-color: #c3cace; }
.info__ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 16px;
  color: var(--accent-text);
  background: var(--amber-wash);
  border-radius: var(--r);
}
.info__ico svg { width: 19px; height: 19px; }
.info h3 { margin-bottom: 9px; }
.info p, .info a { font-size: 0.93rem; color: var(--fg-dim); }
.info a:hover { color: var(--accent-text); }

.mapbox {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--chalk);
}
.mapbox iframe { width: 100%; height: 380px; border: 0; }
.mapbox__ph {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 300px;
  padding: 40px;
  text-align: center;
  color: #6b7883;
}
.mapbox__ph svg { width: 32px; height: 32px; color: var(--accent-text); }


/* 17. Closing action band
   ========================================================================== */
.close {
  position: relative;
  overflow: hidden;
  background: var(--mill);
  color: var(--zinc);
  --fg: #fff;
  --fg-dim: var(--zinc);
  --faint: #8794a0;
  --accent-text: var(--amber);
  --rule: rgba(255, 255, 255, 0.10);
  padding-block: clamp(54px, 6.5vw, 88px);
}
.close__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px 48px;
  align-items: center;
}
.close h2 { max-width: 18ch; }
.close p { margin-top: 15px; max-width: 50ch; }

/* A single formed section, ruled off at the edge of the band */
.close__edge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 34vw);
  opacity: 0.16;
  pointer-events: none;
}


/* 18. Footer
   ========================================================================== */
.foot {
  background: var(--mill);
  color: var(--zinc-d);
  --fg: #fff;
  --faint: #8794a0;
  --accent-text: var(--amber);
  --rule: rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: clamp(46px, 5.5vw, 70px);
  font-size: 0.91rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 40px;
}
.foot__blurb { max-width: 36ch; margin-top: 20px; font-size: 0.91rem; color: var(--zinc-d); }
.foot h4 { color: #fff; margin-bottom: 17px; letter-spacing: 0.11em; }
.foot__list { display: grid; gap: 11px; }
.foot__list a { color: var(--zinc-d); transition: color 0.18s var(--ease); }
.foot__list a:hover { color: var(--amber); }
.foot__reach li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 11px;
  align-items: start;
  margin-bottom: 13px;
}
.foot__reach svg { width: 15px; height: 15px; margin-top: 5px; color: var(--amber); }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid;
  place-items: center;
  width: 37px; height: 37px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r);
  color: var(--zinc-d);
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.social a:hover { color: var(--mill); background: var(--amber); border-color: var(--amber); }
.social svg { width: 16px; height: 16px; }

.foot__base {
  margin-top: 46px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}
.foot__base a:hover { color: var(--amber); }


/* 19. Inner-page head
   ========================================================================== */
.phead {
  position: relative;
  overflow: hidden;
  background: var(--mill);
  color: var(--zinc);
  --fg: #fff;
  --fg-dim: var(--zinc);
  --faint: #8794a0;
  --accent-text: var(--amber);
  --rule: rgba(255, 255, 255, 0.10);
  padding-block: clamp(46px, 5.5vw, 78px);
}
.phead__in { position: relative; z-index: 1; }
.phead h1 { margin-top: 18px; max-width: 15ch; }
.phead p { margin-top: 20px; max-width: 56ch; }

.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}
.crumb a:hover { color: var(--accent-text); }

.jump { display: flex; flex-wrap: wrap; gap: 9px; }
.jump a {
  padding: 9px 15px;
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #56626b;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.jump a:hover { color: #fff; background: var(--mill); border-color: var(--mill); }


/* 20. Profile detail sheets
   ========================================================================== */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(38px, 4.6vw, 60px);
  border-top: 1px solid var(--rule);
}
.detail:first-of-type { border-top: 0; padding-top: 0; }

.detail__sheet {
  --accent-text: var(--amber);
  --faint: #8794a0;
  position: sticky;
  top: calc(var(--head-h) + 26px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--slab);
}
.detail__draw {
  padding: 30px 26px 22px;
  background-image:
    linear-gradient(var(--grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
  background-size: 26px 26px;
}
.detail__draw svg { width: 100%; height: auto; }

.detail__body h2 { margin-block: 12px 16px; }
.detail__sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7883;
  margin-block: 26px 12px;
}
.uses { display: flex; flex-wrap: wrap; gap: 8px; }
.uses li {
  padding: 6px 13px;
  font-size: 0.8rem;
  color: #56626b;
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* Compact spec list under a profile */
.mini {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 22px;
  font-size: 0.91rem;
}
.mini dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7883;
  padding-top: 4px;
}
.mini dd { color: var(--fg-dim); }


/* 21. Motion
   ========================================================================== */
/* Scoped to .js, which an inline script in <head> adds. If JavaScript never
   runs, nothing is ever hidden — the page just loses the reveal. Content must
   not depend on a script to become visible. */
.js [data-in] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-in].on { opacity: 1; transform: none; }
.js [data-in][data-d="1"] { transition-delay: 0.07s; }
.js [data-in][data-d="2"] { transition-delay: 0.14s; }
.js [data-in][data-d="3"] { transition-delay: 0.21s; }
.js [data-in][data-d="4"] { transition-delay: 0.28s; }
.js [data-in][data-d="5"] { transition-delay: 0.35s; }

/* The one orchestrated moment: the flower blooms pass by pass on load. */
@keyframes form-pass { to { stroke-dashoffset: 0; } }

.flower [data-pass] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: form-pass 0.62s var(--ease) forwards;
}
.flower [data-pass="1"] { animation-delay: 0.10s; }
.flower [data-pass="2"] { animation-delay: 0.24s; }
.flower [data-pass="3"] { animation-delay: 0.38s; }
.flower [data-pass="4"] { animation-delay: 0.52s; }
.flower [data-pass="5"] { animation-delay: 0.66s; }
.flower [data-pass="6"] { animation-delay: 0.80s; }
.flower [data-pass="7"] { animation-delay: 0.96s; }

.flower [data-late] {
  opacity: 0;
  animation: fade-up 0.5s var(--ease) 1.35s forwards;
}
@keyframes fade-up { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-in] { opacity: 1; transform: none; }
  .flower [data-pass] { stroke-dashoffset: 0; }
  .flower [data-late] { opacity: 1; }
}


/* 22. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art-col { order: -1; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .detail { grid-template-columns: 1fr; }
  .detail__sheet { position: static; }
  .shead--split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .burger { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--head-h) + 22px) 24px 34px;
    background: var(--mill);
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
    z-index: 120;
  }
  .nav.open { transform: translateX(0); }
  .nav__a {
    padding: 15px 2px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }
  .nav__a:hover { background: none; }
  .nav__a[aria-current="page"] { color: var(--amber); }
  .nav__a[aria-current="page"]::after { display: none; }
  .nav__caret { display: none; }

  .nav__grp { position: static; }
  .nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 5px 0 10px 14px;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav__drop a { padding: 9px 0; font-size: 0.86rem; }

  .scrim {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(8, 10, 12, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .scrim.open { opacity: 1; visibility: visible; }
  body.locked { overflow: hidden; }

  .head__act .act { display: none; }

  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .close__in { grid-template-columns: 1fr; }
  .close__edge { display: none; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .rail__in { justify-content: center; }
  .rail__spec { display: none; }
  .form__pair { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .acts .act { width: 100%; }
  .acts { flex-direction: column; align-items: stretch; }
}

@media (max-width: 430px) {
  .spec { grid-template-columns: 1fr; }
  .mark__name { font-size: 1.12rem; }
  .tblock { grid-template-columns: auto 1fr; }
  .tblock span:last-child { display: none; }
}
