/*
Theme Name: Giganeed
Theme URI: https://giganeed.com/
Author: Giganeed
Description: The Giganeed brand identity (proposal v1.0) as a catalogue-first theme: Graphite and Signal Orange, Sora and IBM Plex, the jacket line, the metre scale and colour-coded family tabs. Datasheets on every product, no prices, no basket.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giganeed
*/

/* ==========================================================================
   Tokens: the brand palette and type (brand identity proposal v1.0)
   ========================================================================== */

:root {
  /* Core */
  --signal: #F83800;      /* the logo dot: buttons, one key figure. Never body text on white */
  --graphite: #1E1E1E;    /* wordmark, headlines, header, footer, dark bands */
  /* Secondary and support */
  --amber: #F7931E;       /* small text and rules on Graphite only */
  --deep: #C42C00;        /* links and small orange text on white */
  /* Neutrals */
  --steel: #3A3A3A;       /* running text */
  --conduit: #6F6B67;     /* captions, labels, metadata */
  --jacket: #F4F3F1;      /* panels, stripes, section bands, product photo backgrounds */
  --rule: #DCD8D3;
  --rule-strong: #C9C3BD;

  /* Family codes: tabs, stripes and label edges only */
  --f-copper: #2F6DB5;
  --f-sm: #F2C200;
  --f-mm: #00A3AD;
  --f-cab: #56636E;
  --f-acc: #3E8E4F;

  /* Names the templates already use */
  --orange: var(--signal);
  --orange-dark: var(--deep);
  --orange-soft: #FDECE4;
  --ink: var(--graphite);
  --ink-soft: var(--steel);
  --muted: var(--conduit);
  --line: var(--rule);
  --line-strong: var(--rule-strong);
  --paper: #FFFFFF;
  --shell: var(--jacket);
  --ok: #1F7A5A;

  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --cond: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(30, 30, 30, .06), 0 10px 28px rgba(30, 30, 30, .07);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--steel);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; border-radius: 3px; }

/* Sora is wide: headlines are set a size smaller than a narrower face would take. */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--graphite); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.03em; }
h2 { font-size: clamp(25px, 2.9vw, 40px); }
h3 { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
code { font: 500 .92em var(--body); font-variant-numeric: tabular-nums; background: var(--jacket); padding: 2px 6px; border-radius: 3px; color: var(--graphite); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--graphite); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* ==========================================================================
   Graphic kit: signal dot, family tab, jacket line, metre scale, icons
   ========================================================================== */

/* Label: clean section tag with the signal dot. */
.gn-eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 13px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--deep);
}
.gn-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }

.gn-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }

/* Family tab: a short rounded bar in the family's code colour beside a section label. */
.gn-f-copper { --tab: var(--f-copper); }
.gn-f-sm { --tab: var(--f-sm); }
.gn-f-mm { --tab: var(--f-mm); }
.gn-f-cab { --tab: var(--f-cab); }
.gn-f-acc { --tab: var(--f-acc); }
.gn-f-fiber { --tab-bg: linear-gradient(90deg, var(--f-sm) 0 50%, var(--f-mm) 50% 100%); }
.gn-tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; max-width: 100%; }
.gn-tab-bar { display: inline-block; width: 22px; height: 6px; border-radius: 3px; background: var(--tab, var(--conduit)); flex: none; }
.gn-tab-bar--fiber { background: linear-gradient(90deg, var(--f-sm) 0 50%, var(--f-mm) 50% 100%); }
.gn-tab-code { min-width: 0; font: 600 12.5px/1.2 var(--body); letter-spacing: 0; text-transform: none; color: var(--conduit); overflow: hidden; text-overflow: ellipsis; }

/* Jacket line: the printed legend of a cable, with a metre count. */
.gn-jacket { overflow: hidden; white-space: nowrap; background: var(--signal); color: var(--graphite); }
.gn-jacket--graphite { background: var(--graphite); color: #E2DED9; }
.gn-jacket-track { display: inline-flex; animation: gn-legend 120s linear infinite; }
.gn-jacket-track span { font: 500 13px/36px var(--cond); letter-spacing: .04em; padding-right: 4.5em; }
@keyframes gn-legend { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Metre scale: fine ticks like a printed tape measure. */
.gn-scale, .gn-page-header::after, .gn-cat-header::after, .gn-footer-bottom::before {
  content: ""; display: block; height: 14px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--conduit) 0 1px, transparent 1px 50px) left bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 10px) left bottom / 100% 7px no-repeat;
}

.gn-icon { width: 24px; height: 24px; flex: none; }

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.gn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 16px/1.1 var(--body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
/* White on Signal Orange, the brand's rule for buttons: semibold, 16 px and up.
   Hover and press darken to Signal Deep, where white reaches 5.6:1. */
.gn-btn-primary { background: var(--signal); color: #fff; letter-spacing: .005em; }
.gn-btn-primary:hover { background: var(--deep); color: #fff; }
.gn-btn-primary:active { background: #A82600; color: #fff; }
.gn-btn-secondary { background: transparent; color: var(--graphite); border-color: var(--rule-strong); }
.gn-btn-secondary:hover { border-color: var(--graphite); background: #fff; color: var(--graphite); }
.gn-btn-ghost { background: var(--jacket); color: var(--graphite); }
.gn-btn-ghost:hover { background: #E9E5E1; color: var(--graphite); }
.gn-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.gn-btn-primary.gn-btn-sm { font-size: 16px; }
.gn-btn[disabled] { opacity: .55; cursor: default; }

/* Datasheet link: the action that matters most in a catalogue. */
.gn-pdf {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 12px 5px 8px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; color: var(--graphite);
  font: 600 14px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.gn-pdf .gn-icon { width: 26px; height: 26px; }
.gn-pdf-meta { font: 400 12.5px/1 var(--mono); color: var(--conduit); }
.gn-pdf:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.gn-pdf:hover .gn-pdf-meta { color: #D6D1CC; }

.gn-ref {
  align-self: flex-start; display: inline-block; font: 500 13px/1.3 var(--mono); letter-spacing: -.01em; color: var(--graphite);
  background: var(--jacket); padding: 4px 8px; border-radius: 4px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.gn-topbar { background: var(--graphite); color: #D6D1CC; font: 500 12.5px/1.4 var(--body); font-variant-numeric: tabular-nums; }
.gn-topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: flex-end; padding-block: 8px; }
.gn-topbar a { color: #fff; text-decoration: none; }
.gn-topbar a:hover { color: var(--amber); }
.gn-topbar span { display: inline-flex; align-items: center; gap: 7px; }
.gn-topbar :focus-visible { outline-color: var(--amber); }
.gn-topbar-tag { margin-right: auto; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--amber); }
.gn-topbar-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }

.gn-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.gn-header-inner { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); padding-block: 14px; }
.gn-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite); flex: none; }
/* The mark is the supplied wordmark cropped to its ink; the brand sets its
   minimum at 100 px wide on screen, and 30 px tall is well above that. */
.gn-logo img { height: 30px; width: auto; display: block; }
.gn-logo-footer img { height: 34px; }
.gn-logo-text { font: 600 21px/1 var(--display); letter-spacing: .01em; }
.gn-logo-text em { font-style: normal; color: var(--signal); }

.gn-nav { margin-left: auto; }
.gn-nav ul { display: flex; gap: clamp(16px, 1.9vw, 26px); list-style: none; margin: 0; padding: 0; }
.gn-nav a { font: 600 15px/1 var(--body); color: var(--graphite); text-decoration: none; padding-block: 8px; display: inline-block; white-space: nowrap; border-bottom: 2px solid transparent; }
.gn-nav a:hover, .gn-nav a:focus-visible, .gn-nav .current-menu-item > a { color: var(--deep); border-bottom-color: var(--signal); }

.gn-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.gn-header-actions .gn-btn { min-height: 44px; padding: 0 20px; font-size: 16px; }

.gn-refsearch { position: relative; flex: 1 1 200px; max-width: 320px; min-width: 150px; }
.gn-refsearch input {
  width: 100%; font: 400 14px/1 var(--mono); padding: 12px 12px 12px 38px; height: 44px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--jacket); color: var(--graphite);
}
.gn-refsearch input:focus { background: #fff; border-color: var(--graphite); outline: none; box-shadow: 0 0 0 3px rgba(248, 56, 0, .18); }
.gn-refsearch input::placeholder { color: var(--conduit); }
.gn-refsearch svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--conduit); pointer-events: none; }

.gn-burger { display: none; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 11px 12px; cursor: pointer; }
.gn-burger span { display: block; width: 18px; height: 2px; background: var(--graphite); margin: 3px 0; }

@media (max-width: 1100px) {
  .gn-refsearch { order: 3; flex-basis: 100%; max-width: none; }
  .gn-header-inner { flex-wrap: wrap; row-gap: 12px; }
}
@media (max-width: 860px) {
  .gn-topbar .gn-topbar-tag, .gn-topbar .gn-topbar-hours { display: none; }
  .gn-topbar .wrap { justify-content: space-between; }
  .gn-header-actions { margin-left: auto; }
  .gn-burger { display: block; order: 2; }
  .gn-nav { order: 4; flex-basis: 100%; margin-left: 0; display: none; }
  .gn-nav.is-open { display: block; }
  .gn-nav ul { flex-direction: column; gap: 0; }
  .gn-nav li { border-top: 1px solid var(--rule); }
  .gn-nav a { padding: 14px 0; width: 100%; border-bottom: none; }
}
@media (max-width: 420px) { .gn-header-actions .gn-btn { padding: 0 14px; min-height: 42px; } }

/* ==========================================================================
   Hero: low-key photography on Graphite, then the jacket line
   ========================================================================== */

/* The section colour is sampled from the photograph's own backdrop so the
   picture fades into it without a visible edge. */
.gn-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(180deg, #111110 0%, #1A1918 55%, #252523 100%); }
.gn-hero-bg { position: absolute; top: 0; right: 0; z-index: -2; height: 100%; width: auto; aspect-ratio: 16 / 9; max-width: none; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.gn-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,16,.85) 0%, rgba(17,17,16,.55) 32%, rgba(17,17,16,0) 52%); }
.gn-hero-inner { display: flex; flex-direction: column; min-height: clamp(520px, 44vw, 700px); }
.gn-hero-body { max-width: 640px; margin-block: auto; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.gn-hero .gn-eyebrow { color: var(--amber); }
.gn-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 22px; }
.gn-hero-title { max-width: 620px; }
/* The wordmark leads the headline, its letters as tall as the headline's capitals. */
.gn-hero-wordmark { display: block; margin-bottom: .16em; }
.gn-hero-wordmark img { display: block; height: 1.33em; width: auto; max-width: 100%; }
.gn-hero-lede { font-size: clamp(16px, 1.4vw, 19px); color: #D6D1CC; max-width: 48ch; }
.gn-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gn-hero .gn-btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.gn-hero .gn-btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.gn-hero :focus-visible { outline-color: var(--amber); }
.gn-hero-proof { display: flex; border-top: 1px solid rgba(255,255,255,.16); font: 400 13.5px/1.4 var(--body); color: #BDB7B3; }
.gn-hero-proof > div { padding: 20px 34px 22px 0; margin-right: 34px; border-right: 1px solid rgba(255,255,255,.16); }
.gn-hero-proof > div:last-child { border-right: 0; margin-right: 0; }
.gn-hero-proof b { color: #fff; font: 600 26px/1.1 var(--display); letter-spacing: -.02em; display: block; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
@media (max-width: 1640px) { .gn-hero-bg { right: -12vw; } }
@media (max-width: 1280px) { .gn-hero-bg { right: -20vw; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .gn-hero-bg { inset: 0; right: 0; width: 100%; aspect-ratio: auto; object-position: 70% center; -webkit-mask-image: none; mask-image: none; }
  .gn-hero::before { background: linear-gradient(90deg, rgba(17,17,16,.92) 0%, rgba(17,17,16,.8) 50%, rgba(17,17,16,.35) 100%); }
}
@media (max-width: 760px) {
  .gn-hero-bg { inset: 0; width: 100%; aspect-ratio: auto; object-position: 78% center; -webkit-mask-image: none; mask-image: none; }
  .gn-hero::before { background: linear-gradient(180deg, rgba(14,13,13,.9) 0%, rgba(14,13,13,.8) 55%, rgba(14,13,13,.45) 100%); }
  .gn-hero-inner { min-height: 0; }
  .gn-hero-body { padding-bottom: 150px; }
  .gn-hero-proof > div { flex: 1; padding-right: 10px; margin-right: 12px; }
  .gn-hero-proof b { font-size: 20px; }
}

/* ==========================================================================
   Sections, family cards, product cards
   ========================================================================== */

.gn-section { padding-block: clamp(48px, 6vw, 88px); }
.gn-section-alt { background: var(--jacket); }
/* Jacket Grey band, so consecutive light sections do not run together. */
.gn-band { background: var(--jacket); }
.gn-section-head { max-width: 62ch; margin-bottom: clamp(28px, 3.5vw, 44px); }
.gn-section-head h2 { margin-bottom: .3em; }
.gn-section-head p { color: var(--conduit); margin-bottom: 0; }

.gn-grid { display: grid; gap: 20px; }
.gn-grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.gn-grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* A family card: coloured edge, mono label, then the name. */
.gn-family {
  --edge: var(--tab, var(--rule-strong));
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
  text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.gn-family::before { content: ""; display: block; height: 4px; background: var(--tab-bg, var(--edge)); }
.gn-family:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.gn-family-img { aspect-ratio: 16 / 10; background: var(--jacket); object-fit: cover; width: 100%; display: block; }
.gn-family-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gn-family-body h3 { margin: 0; }
.gn-family-body p { color: var(--conduit); font-size: 15px; margin: 0; }
.gn-family-count { margin-top: auto; padding-top: 12px; font: 500 12.5px/1 var(--mono); color: var(--deep); }
.gn-family:hover .gn-family-count { text-decoration: underline; text-underline-offset: 3px; }

/* Product card */
.gn-card {
  --edge: var(--tab, var(--rule-strong));
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gn-card::before { content: ""; display: block; height: 3px; background: var(--tab-bg, var(--edge)); }
.gn-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
/* Bright studio: product shots on Jacket Grey. */
.gn-card-media { aspect-ratio: 1; background: var(--jacket); padding: 14px; display: block; }
.gn-card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gn-card-body { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gn-card-title { font: 600 15px/1.3 var(--display); letter-spacing: -.012em; margin: 0; }
.gn-card-title a { color: var(--graphite); text-decoration: none; }
.gn-card-title a:hover { color: var(--deep); }
.gn-card-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.gn-card-chips li { font: 400 11px/1 var(--mono); padding: 5px 6px; background: var(--jacket); border-radius: 3px; color: var(--steel); }
.gn-card-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.gn-card-actions .gn-pdf { flex: 1 1 auto; justify-content: flex-start; }

/* Worldwide supply: a dotted world map with routes out of Giganeed. */
.gn-supply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.gn-supply-text h2 { margin-bottom: .45em; }
.gn-supply-text p { color: var(--steel); font-size: 17px; }
.gn-supply-text ul { list-style: none; padding: 0; margin: 0 0 26px; color: var(--steel); font-size: 15.5px; }
.gn-supply-text li { position: relative; padding-left: 20px; margin-bottom: 7px; }
.gn-supply-text li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
@media (max-width: 900px) { .gn-supply-grid { grid-template-columns: minmax(0, 1fr); } }

.gn-map { position: relative; margin: 0; }
.gn-map img { display: block; width: 100%; height: auto; }
.gn-map-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gn-map-route { fill: none; stroke: var(--signal); stroke-width: .3; stroke-linecap: round; stroke-dasharray: 1.4 1; animation: gn-route 2.4s linear infinite; }
@keyframes gn-route { to { stroke-dashoffset: -2.4; } }
.gn-map-pin { fill: var(--graphite); }
.gn-map-halo { fill: var(--signal); fill-opacity: .18; }
.gn-map-hub { fill: var(--signal); }
.gn-map-label { position: absolute; transform: translate(-50%, 9px); white-space: nowrap; font: 500 12px/1 var(--mono); color: var(--graphite); background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 6px 8px; letter-spacing: .02em; }
.gn-map-label.is-up { transform: translate(-50%, calc(-100% - 9px)); }
.gn-map-label.is-home { transform: translate(-50%, calc(-100% - 12px)); display: inline-flex; align-items: center; gap: 7px; background: var(--graphite); border-color: var(--graphite); color: #fff; font: 600 13px/1 var(--body); padding: 8px 11px; }
.gn-map-label.is-home::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
@media (max-width: 560px) { .gn-map-label { font-size: 10px; padding: 4px 5px; } .gn-map-label.is-home { font-size: 12px; padding: 6px 8px; } }

/* ==========================================================================
   Elite: the premium line, on Graphite
   ========================================================================== */

.gn-elite { background: var(--graphite); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
.gn-elite :focus-visible { outline-color: var(--amber); }
.gn-elite-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: 40px; }
.gn-elite-head h2 { color: #fff; margin: 0; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.08; text-wrap: balance; }
.gn-elite-head p { color: #BDB7B3; margin: 0; font-size: 16.5px; max-width: 52ch; }

/* Section mark: logo, then E L I T E between Signal rules. */
.gn-elite-lockup { display: inline-flex; flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 28px; }
.gn-elite-lockup img { height: 46px; width: auto; display: block; }
.gn-elite-name { color: #fff; font: 600 30px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.gn-elite-word { display: flex; align-items: center; gap: 14px; color: var(--amber); font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding-left: .16em; }
.gn-elite-word::before, .gn-elite-word::after { content: ""; flex: 1; min-width: 18px; height: 2px; background: var(--signal); }

.gn-elite-proof { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3B3937; border-bottom: 1px solid #3B3937; }
.gn-elite-proof li { padding: 20px 24px; font-size: 14.5px; color: #ABA59F; border-right: 1px solid #3B3937; }
.gn-elite-proof li:first-child { padding-left: 0; }
.gn-elite-proof li:last-child { border-right: 0; padding-right: 0; }
.gn-elite-proof b { display: block; color: #fff; font: 600 16px/1.3 var(--display); margin-bottom: 4px; letter-spacing: -.01em; }

.gn-elite-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gn-elite-card { display: flex; flex-direction: column; background: #262626; border: 1px solid #3B3937; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.gn-elite-card:hover { border-color: var(--amber); transform: translateY(-2px); color: inherit; }
.gn-elite-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.gn-elite-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gn-elite-card:hover .gn-elite-media img { transform: scale(1.03); }
.gn-elite-tag { position: absolute; top: 16px; left: 16px; background: var(--graphite); color: #fff; font: 600 12px/1 var(--body); letter-spacing: .01em; text-transform: none; padding: 7px 10px; border-radius: 4px; }
.gn-elite-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 24px; flex: 1; }
.gn-elite-body h3 { color: #fff; margin: 0; font-size: 23px; }
.gn-elite-body p { color: #BDB7B3; margin: 0; font-size: 15px; }
.gn-elite-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.gn-elite-specs span { font: 400 12.5px/1 var(--mono); color: #E4DFDB; border: 1px solid #55514D; border-radius: 4px; padding: 7px 9px; }
.gn-elite-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid #3B3937; font-size: 14px; color: #ABA59F; }
.gn-elite-cta { color: var(--amber); font-weight: 600; }

.gn-elite-help { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 24px; padding: 26px 28px; border: 1px solid #3B3937; border-left: 3px solid var(--amber); border-radius: 10px; }
.gn-elite-help h3 { color: #fff; margin: 0 0 6px; font-size: 19px; }
.gn-elite-help p { color: #ABA59F; margin: 0; font-size: 15px; max-width: 70ch; }
.gn-elite-help .gn-btn { flex: none; }

@media (max-width: 900px) {
  .gn-elite-head, .gn-elite-grid { grid-template-columns: 1fr; }
  .gn-elite-proof { grid-template-columns: 1fr; }
  .gn-elite-proof li { padding-inline: 0; border-right: 0; border-bottom: 1px solid #3B3937; }
  .gn-elite-proof li:last-child { border-bottom: 0; }
  .gn-elite-help { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Why Giganeed: four columns under a Graphite rule, no boxes
   ========================================================================== */

.gn-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.gn-why > div { padding: 26px 24px; border-right: 1px solid var(--rule); }
.gn-why > div:first-child { padding-left: 0; }
.gn-why > div:last-child { border-right: none; padding-right: 0; }
.gn-why h3 { font-size: 17px; margin-bottom: 8px; }
.gn-why p { color: var(--conduit); font-size: 15px; margin: 0; }
@media (max-width: 700px) { .gn-why > div { border-right: none; border-bottom: 1px solid var(--rule); padding-inline: 0; } }

.gn-why-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.gn-why-head h2 { margin: 0; }
.gn-why-head p { margin: 0; color: var(--steel); font-size: 17px; max-width: 54ch; }
.gn-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px clamp(24px, 3vw, 44px); }
.gn-why-list li { position: relative; padding-top: 24px; border-top: 2px solid var(--graphite); }
/* Icon tile: Jacket Grey square, the line icon in Graphite with its one orange dot. */
.gn-why-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--jacket); color: var(--graphite); margin-bottom: 20px; }
.gn-why-ico .gn-icon { width: 48px; height: 48px; }
.gn-why-list h3 { font-size: 18px; margin: 0 0 8px; }
.gn-why-list p { margin: 0; color: var(--conduit); font-size: 15px; }
@media (max-width: 960px) { .gn-why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .gn-why-head { grid-template-columns: minmax(0, 1fr); }
  .gn-why-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ==========================================================================
   Solutions: knolling kits, the catalogue products for each situation
   ========================================================================== */

html { scroll-padding-top: 92px; }
@media (max-width: 860px) { html { scroll-padding-top: 120px; } }

.gn-sol-section { background: #fff; }
.gn-sol-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.gn-sol-item { display: flex; flex-direction: column; }
.gn-sol-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: #E6E6E6; margin-bottom: 18px; }
.gn-sol-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gn-sol-item:hover .gn-sol-photo img { transform: scale(1.03); }
.gn-sol-item h3 { margin: 0 0 8px; font-size: 19px; }
.gn-sol-item h3 a { color: var(--graphite); text-decoration: none; }
.gn-sol-item h3 a:hover { color: var(--deep); }
.gn-sol-item p { margin: 0 0 12px; color: var(--conduit); font-size: 15px; }
.gn-sol-link { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--deep); text-decoration: none; }
.gn-sol-link:hover { text-decoration: underline; }
@media (max-width: 1000px) { .gn-sol-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; } }
@media (max-width: 560px) { .gn-sol-strip { grid-template-columns: 1fr; gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .gn-sol-photo img { transition: none; } }

/* ==========================================================================
   Catalogue: header, sub-categories, filters, results
   ========================================================================== */

.gn-catalogue { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; padding-block: 36px 72px; }
@media (max-width: 920px) { .gn-catalogue { grid-template-columns: 1fr; } }

.gn-cat-header, .gn-page-header { position: relative; background: var(--jacket); padding-block: clamp(30px, 4.5vw, 56px) calc(clamp(30px, 4.5vw, 56px) + 14px); }
.gn-cat-header::after, .gn-page-header::after { position: absolute; left: 0; right: 0; bottom: 0; }
.gn-cat-header .gn-tab { margin-bottom: 16px; }
.gn-cat-header p, .gn-page-header p { color: var(--steel); max-width: 68ch; margin-bottom: 0; font-size: 17px; }
.gn-cat-header h1, .gn-page-header h1 { max-width: 24ch; }

.gn-subcats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding-top: 28px; }
.gn-subcat { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 15px; border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.gn-subcat:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.gn-subcat h3 { margin: 0; font-size: 15.5px; color: var(--graphite); }
.gn-subcat .gn-family-count { padding-top: 0; }

.gn-filters { position: sticky; top: 100px; border: 1px solid var(--rule); border-radius: 8px; padding: 20px; background: var(--paper); }
@media (max-width: 920px) { .gn-filters { position: static; } }
.gn-filters h2 { font: 600 12.5px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--conduit); margin-bottom: 16px; }
.gn-filter-group { border-top: 1px solid var(--rule); padding-block: 14px; }
.gn-filter-group:first-of-type { border-top: none; padding-top: 0; }
.gn-filter-group > summary { font: 600 14.5px/1 var(--body); color: var(--graphite); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.gn-filter-group > summary::-webkit-details-marker { display: none; }
.gn-filter-group > summary::after { content: "+"; font: 400 17px/1 var(--mono); color: var(--conduit); }
.gn-filter-group[open] > summary::after { content: "−"; }
.gn-filter-list { margin: 12px 0 0; padding: 0 10px 0 0; list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.gn-filter-list label { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--steel); cursor: pointer; }
.gn-filter-list input { margin-top: 3px; accent-color: var(--signal); flex: none; }
.gn-filter-list .count { margin-left: auto; font: 400 11.5px/1.5 var(--mono); color: var(--conduit); }
.gn-filter-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.gn-filter-actions .gn-btn { flex: 1; }

/* Family bar: all products, the three families, then the categories of the family in view. */
.gn-famnav { border-bottom: 1px solid var(--rule); background: #fff; }
.gn-famnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gn-famnav ul::-webkit-scrollbar { display: none; }
.gn-famnav a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; text-decoration: none; color: var(--graphite); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.gn-famnav a span:last-child { font: 500 11.5px/1 var(--mono); color: var(--conduit); }
.gn-famnav-top { padding-block: 16px 0; }
.gn-famnav-top a { padding: 11px 16px 13px; font: 600 15px/1 var(--body); border-bottom: 3px solid transparent; }
.gn-famnav-top a .gn-tab-bar { width: 16px; height: 5px; }
.gn-famnav-top a:hover { border-bottom-color: var(--rule-strong); }
.gn-famnav-top a.is-active { border-bottom-color: var(--signal); }
.gn-famnav-sub { padding-block: 14px 16px; border-top: 1px solid var(--rule); }
.gn-famnav-sub a { padding: 8px 13px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 600 13.5px/1 var(--body); }
.gn-famnav-sub a:hover { border-color: var(--graphite); }
.gn-famnav-sub a.is-active { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.gn-famnav-sub a.is-active span:last-child { color: #CFCAC5; }
.gn-filter-family { font: 600 12.5px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--conduit); margin-top: 8px; }
.gn-filter-family:first-child { margin-top: 0; }

.gn-results-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.gn-results-count { font: 600 13px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--conduit); margin: 0; font-variant-numeric: tabular-nums; }
.gn-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.gn-empty { border: 1px dashed var(--rule-strong); border-radius: 8px; padding: 40px 24px; text-align: center; color: var(--conduit); }
.gn-empty .gn-btn { margin-top: 6px; }

.gn-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 40px; }
.gn-guide > div { border-top: 2px solid var(--graphite); padding-top: 16px; }
.gn-guide h3 { font-size: 17px; margin-bottom: 8px; }
.gn-guide p { color: var(--conduit); font-size: 15px; margin: 0; }

/* ==========================================================================
   Single product
   ========================================================================== */

.gn-breadcrumbs { font: 400 13px/1.4 var(--body); color: var(--conduit); padding-block: 16px; }
.gn-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gn-breadcrumbs li::after { content: "/"; margin-left: 6px; color: var(--rule-strong); }
.gn-breadcrumbs li:last-child::after { content: ""; }
.gn-breadcrumbs a { color: var(--conduit); text-decoration: none; }
.gn-breadcrumbs a:hover { color: var(--deep); text-decoration: underline; }

.gn-product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-bottom: 52px; align-items: start; }
@media (max-width: 880px) { .gn-product-top { grid-template-columns: 1fr; } }

.gn-gallery { border-radius: 10px; background: var(--jacket); padding: 22px; }
.gn-gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; mix-blend-mode: multiply; }
.gn-gallery-thumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.gn-gallery-thumbs button { border: 1px solid var(--rule); border-radius: 5px; background: #fff; padding: 5px; width: 62px; height: 62px; cursor: pointer; }
.gn-gallery-thumbs button[aria-current="true"] { border-color: var(--graphite); box-shadow: inset 0 -3px 0 var(--signal); }
.gn-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.gn-product-head h1 { margin-bottom: 14px; font-size: clamp(26px, 3.2vw, 40px); }
.gn-product-tab { margin-bottom: 18px; }
.gn-product-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 18px; }
.gn-product-brand { font: 400 13px/1.2 var(--mono); color: var(--conduit); }
.gn-product-excerpt { color: var(--steel); font-size: 17px; }

/* Specifications: Plex Sans Condensed, codes in Plex Mono, stripes in Jacket Grey. */
.gn-keyspec { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.gn-keyspec li { background: var(--paper); padding: 14px 15px; }
.gn-keyspec .k { font: 600 12.5px/1.4 var(--body); text-transform: none; letter-spacing: 0; color: var(--conduit); display: block; margin-bottom: 6px; }
.gn-keyspec .v { font: 500 15px/1.35 var(--cond); color: var(--graphite); }

.gn-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 20px; }
.gn-actions .gn-btn { flex: 1 1 190px; }
.gn-assurance { font-size: 14px; color: var(--conduit); border-top: 1px solid var(--rule); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.gn-assurance span { display: flex; gap: 12px; align-items: baseline; }
.gn-assurance span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; transform: translateY(-1px); }

/* Product copy (generated) */
.gn-product-copy { max-width: 840px; }
.gn-product-copy section { padding-block: 32px; border-top: 1px solid var(--rule); }
.gn-product-copy section:first-child { border-top: none; padding-top: 0; }
.gn-product-copy h2 { font-size: clamp(21px, 2.2vw, 27px); margin-bottom: 14px; }
.gn-product-copy .gn-lead p { font-size: 18px; color: var(--steel); }
.gn-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.gn-chips li { border-radius: 6px; padding: 14px 15px; background: var(--jacket); }
.gn-chip-label { display: block; font: 600 12.5px/1.4 var(--body); text-transform: none; letter-spacing: 0; color: var(--conduit); margin-bottom: 6px; }
.gn-chip-value { font: 500 15px/1.4 var(--body); color: var(--graphite); }
.gn-notes-list { margin: 0; }
.gn-notes-list dt { font: 600 16px/1.3 var(--display); letter-spacing: -.01em; color: var(--graphite); margin-top: 18px; }
.gn-notes-list dt:first-child { margin-top: 0; }
.gn-notes-list dd { margin: 6px 0 0; color: var(--conduit); font-size: 15px; }
.gn-table-scroll { overflow-x: auto; }
.gn-spec-table { border-collapse: collapse; width: 100%; font: 500 15px/1.45 var(--body); }
.gn-spec-table caption { text-align: left; font: 600 13px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--conduit); padding-bottom: 12px; }
.gn-spec-table th, .gn-spec-table td { text-align: left; padding: 11px 14px; vertical-align: top; }
.gn-spec-table tbody tr:nth-child(odd) { background: var(--jacket); }
.gn-spec-table .gn-ref { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.gn-spec-table th { font-weight: 500; color: var(--conduit); width: 38%; min-width: 160px; }
.gn-spec-table td { color: var(--graphite); }
.gn-faq-item { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 18px; }
.gn-faq-item:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.gn-faq-item h3 { font-size: 17px; margin-bottom: 6px; }
.gn-faq-item p { color: var(--conduit); margin: 0; font-size: 15px; }

.gn-related { background: var(--jacket); padding-block: 52px; }
.gn-related .gn-section-head { margin-bottom: 24px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.gn-form { display: grid; gap: 16px; }
.gn-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gn-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.gn-field label { font: 600 14px/1.2 var(--body); color: var(--graphite); }
.gn-field .hint { font-size: 13px; color: var(--conduit); }
.gn-field input, .gn-field textarea, .gn-field select {
  font: 400 16px/1.5 var(--body); padding: 11px 13px; min-height: 46px; border: 1px solid var(--rule-strong);
  border-radius: var(--radius); background: var(--paper); color: var(--graphite); width: 100%;
}
.gn-field textarea { min-height: 140px; resize: vertical; }
.gn-field input:focus, .gn-field textarea:focus, .gn-field select:focus { border-color: var(--graphite); outline: none; box-shadow: 0 0 0 3px rgba(248, 56, 0, .18); }
.gn-honey { position: absolute; left: -9999px; }
.gn-notice { padding: 14px 16px; border-radius: var(--radius); font-size: 15px; margin-bottom: 18px; }
.gn-notice-ok { background: #E8F5EF; color: #10543C; border: 1px solid #B9DFCF; }
.gn-notice-err { background: #FDECE7; color: #8E2A09; border: 1px solid #F3C7B6; }

/* ==========================================================================
   Contact: the bottom section of every page
   ========================================================================== */

.gn-contact { padding-block: clamp(56px, 7vw, 100px); scroll-margin-top: 92px; }
.gn-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gn-contact-intro h2 { max-width: 16ch; }
.gn-contact-intro > p { color: var(--steel); max-width: 44ch; }

.gn-contact-ways { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.gn-contact-ways li {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule-strong); font-size: 16px;
}
.gn-contact-k { font: 600 12.5px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--conduit); }
.gn-contact-ways a { color: var(--graphite); font-weight: 600; text-decoration-color: var(--signal); text-underline-offset: 4px; overflow-wrap: anywhere; }
.gn-contact-ways a:hover { color: var(--deep); }

.gn-contact-card {
  background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--signal);
  border-radius: 10px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow);
}
.gn-contact-card .gn-notice { margin-bottom: 22px; }
.gn-contact-card .gn-notice:focus { outline: none; }
.gn-contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.gn-contact-send .gn-btn { min-width: 168px; }
.gn-contact-fine { font-size: 13px; color: var(--conduit); }

@media (max-width: 960px) {
  .gn-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .gn-contact-intro h2 { max-width: none; }
}
@media (max-width: 520px) {
  .gn-contact-ways li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gn-contact-send .gn-btn { width: 100%; }
}

/* ==========================================================================
   Content pages
   ========================================================================== */

.gn-prose { max-width: 760px; padding-block: clamp(36px, 4.5vw, 64px); font-size: 17px; line-height: 1.65; }
.gn-prose h2 { margin-top: 1.7em; font-size: clamp(22px, 2.4vw, 30px); }
.gn-prose h2:first-child { margin-top: 0; }
.gn-prose h3 { margin-top: 1.4em; }
.gn-prose ul li { margin-bottom: .45em; }
.gn-prose ul { list-style: none; padding-left: 0; }
.gn-prose ul li { position: relative; padding-left: 22px; }
.gn-prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.gn-prose ol { padding-left: 1.4em; }
/* Callout: Copper Amber border on Jacket Grey, as the datasheet's conductor note. */
.gn-prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--jacket); border-left: 3px solid var(--amber); border-radius: 0 6px 6px 0; }
.gn-prose blockquote p:last-child { margin-bottom: 0; }

.gn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.gn-stats > div { padding: 24px 22px 24px 0; border-right: 1px solid var(--rule); }
.gn-stats > div:last-child { border-right: none; }
.gn-stats b { display: block; font: 600 clamp(26px, 3vw, 36px)/1 var(--display); letter-spacing: -.03em; color: var(--graphite); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.gn-stats span { font-size: 14px; color: var(--conduit); }
@media (max-width: 620px) { .gn-stats > div { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; } .gn-stats > div:last-child { border-bottom: none; } }

/* The datasheet library: one table per category. */
.gn-library { padding-block: 40px 72px; }
.gn-library-family { margin-bottom: 52px; }
.gn-library-family > h2 { border-bottom: 2px solid var(--graphite); padding-bottom: 12px; margin-bottom: 4px; }
.gn-library-family > h2 a { color: var(--graphite); text-decoration: none; }
.gn-library-cat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 32px 0 8px; font-size: 18px; }
.gn-library-cat a { color: var(--graphite); text-decoration: none; }
.gn-library-cat a:hover { color: var(--deep); }
.gn-library-count { font: 400 12.5px/1 var(--mono); color: var(--conduit); }
.gn-library .gn-spec-table th, .gn-library .gn-spec-table td { vertical-align: middle; }
.gn-library .gn-spec-table td a { color: var(--graphite); }
.gn-library .gn-spec-table td a:hover { color: var(--deep); }
.gn-library .gn-spec-table .gn-lib-ref { width: 22%; min-width: 150px; }
.gn-library .gn-spec-table .gn-lib-pdf { width: 170px; white-space: nowrap; text-align: right; }

/* ==========================================================================
   Footer: Graphite, with the jacket line above and the metre scale below
   ========================================================================== */

.gn-footer { background: var(--graphite); color: #BDB7B3; padding-block: clamp(44px, 5.5vw, 72px) 0; }
.gn-footer :focus-visible { outline-color: var(--amber); }
.gn-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 36px; padding-bottom: 48px; }
.gn-footer h3 { color: var(--amber); font: 600 13px/1.3 var(--body); text-transform: none; letter-spacing: 0; margin-bottom: 16px; }
.gn-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gn-footer a { color: #D6D1CC; text-decoration: none; font-size: 15px; }
.gn-footer a:hover { color: var(--amber); }
.gn-footer-brand p { font-size: 15px; max-width: 42ch; margin-top: 16px; color: #BDB7B3; }
.gn-footer-tagline { font: 600 17px/1.3 var(--display); letter-spacing: -.015em; color: #fff; margin-top: 20px; }
.gn-footer-contact { font-size: 15px; font-style: normal; }
.gn-footer-contact div { margin-bottom: 10px; }
.gn-footer-bottom { position: relative; padding-block: 28px 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font: 400 12.5px/1.5 var(--mono); color: #A8A29C; }
.gn-footer-bottom::before { position: absolute; left: 0; right: 0; top: 0;
  background:
    repeating-linear-gradient(90deg, #8A847E 0 1px, transparent 1px 50px) left top / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, #4A4744 0 1px, transparent 1px 10px) left top / 100% 7px no-repeat; }

/* ==========================================================================
   Utility
   ========================================================================== */

.gn-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.gn-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--graphite); font: 500 14px/1 var(--mono); padding: 0 12px; }
.gn-pagination .page-numbers:hover { border-color: var(--graphite); }
.gn-pagination .current { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.gn-hidden { display: none !important; }
