/* ============================================================
   NAGA STEELS, Page sections
   ------------------------------------------------------------
   Composition only. Atoms live in components.css.

   The page alternates --off → --paper → --green-tint-2 → --green
   so it reads as a paced editorial document rather than an
   undifferentiated scroll.
   ============================================================ */

/* ============================================================
   01 · HERO
   ============================================================ */

.hero {
  background: var(--off-warm);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* Full-bleed photographic plate behind the hero. Deliberately low
   opacity: it sets a material context without ever competing with the
   headline, and it means the LCP text paints against a stable colour
   even before the image decodes. */
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--off-warm) 30%, rgb(247 246 241 / 0.55) 62%, rgb(247 246 241 / 0.2) 100%),
    radial-gradient(ellipse 70% 60% at 12% 30%, rgb(0 104 55 / 0.06), transparent 70%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr);
  align-items: stretch;
  gap: 42px;
  padding-block: 34px;
}
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px;
  padding-block: 6px;
}
.hero h1 { max-width: 720px; margin: 0; }
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero__intro {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.48;
  color: var(--ink-2);
}
.hero__actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 26px; margin-top: 26px;
}
.hero__service-line {
  margin: 20px 0 0;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* ---- Hero brand panel ------------------------------------------------
   The four-up lockup. This is the single clearest statement of the brand
   architecture on the whole site, so it sits beside the headline rather
   than being buried further down. */

.hero__brands {
  display: flex; flex-direction: column;
  min-height: 410px;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.hero__brands-head {
  display: flex; justify-content: space-between; align-items: end; gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink);
}
.hero__brands-head span {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
}
.hero__brands-head strong { font-size: 14px; font-weight: 650; letter-spacing: -0.015em; }

.hero__brand-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; }
.hero__brand-grid > a {
  display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px;
  min-height: 142px; padding: 13px;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: background var(--dur-fast) var(--ease);
}
.hero__brand-grid > a:nth-child(odd) { border-right: 1px solid var(--line); }
.hero__brand-grid > a:hover { background: #F3F5F2; color: var(--ink); }
.hero__brand-grid img { width: 76px; height: 76px; object-fit: contain; }
.hero__brand-grid > a:nth-child(-n+2) img { object-fit: cover; border-radius: var(--r-sm); }
.hero__brand-grid > a:nth-child(n+3) img { width: 82px; height: auto; }
.hero__brand-grid span { display: flex; flex-direction: column; min-width: 0; }
.hero__brand-grid strong { font-size: 14px; font-weight: 650; line-height: 1.15; }
.hero__brand-grid small {
  margin-top: 6px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.hero__brand-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  min-height: 55px; padding: 11px 16px;
  background: var(--green); color: #fff; text-decoration: none;
}
.hero__brand-foot:hover { background: var(--green-dark); color: #fff; }
.hero__brand-foot span {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow);
}
.hero__brand-foot strong { font-size: 10px; font-weight: 650; text-align: right; }

/* ---- Product rail ----------------------------------------------------- */

.rail {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
}
.rail a {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 82px; padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: background var(--dur-fast) var(--ease);
}
.rail a + a { border-left: 1px solid var(--line); }
.rail a:hover { background: var(--paper); color: var(--ink); }
.rail span {
  position: absolute; top: 10px; right: 12px;
  font-size: 9px; font-weight: 700; color: var(--green);
}
.rail strong { font-size: 0.9375rem; letter-spacing: -0.015em; }
.rail small {
  margin-top: 3px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   02 · TRUST BAR
   ============================================================ */

.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-ink);
}
.trust {
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--s-5) var(--s-5) var(--s-5) 0;
}
.trust + .trust { border-left: 1px solid var(--line); padding-left: var(--s-5); }
.trust__v {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: var(--t-xl); font-weight: 650; letter-spacing: -0.035em;
}
.trust__v svg { width: 17px; height: 17px; flex: none; color: var(--green); }
.trust__l {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.trust__l.mono { letter-spacing: 0.04em; text-transform: none; }
@media (max-width: 780px) {
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
  .trust:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust:nth-child(even) { border-left: 1px solid var(--line); padding-left: var(--s-5); }
}

/* ============================================================
   03 · CATALOGUE PREVIEW (six families)
   ============================================================ */

.catalog { background: var(--paper); padding-block: clamp(3.25rem, 6vw, 4.5rem); }
.catalog__head {
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  padding-top: 22px; margin-bottom: 25px;
  border-top: 1px solid var(--line-ink);
}
.catalog__head h2 { max-width: 760px; font-size: clamp(2.15rem, 3.5vw, 3.05rem); }
.catalog__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-ink);
}
.catalog-card {
  position: relative;
  min-height: 190px; padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.catalog-card:nth-child(3n) { border-right: 0; }
.catalog-card:hover { background: var(--off); color: var(--ink); }
.catalog-card > span { font-size: 9px; font-weight: 700; color: var(--green); }
.catalog-card > p {
  margin: 18px 0 3px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
}
.catalog-card h3 { margin: 0; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.03em; }
.catalog-card small {
  display: block; max-width: 340px; margin-top: 11px;
  font-size: 11px; line-height: 1.5; color: var(--muted);
}
.catalog-card .chips { margin-top: 12px; }
.catalog-card i {
  position: absolute; right: 20px; bottom: 16px;
  font-style: normal; color: var(--green);
}
.catalog-card__logo {
  position: absolute; top: 16px; right: 16px;
  width: 64px; height: 64px;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 0.38);
  border-radius: var(--r-md);
}
/* The Naga Fencing tile inverts, because it is our own manufactured
   range and the one thing that distinguishes us from a reseller. */
.catalog-card--brand { background: var(--green); color: #fff; }
.catalog-card--brand > span,
.catalog-card--brand > p,
.catalog-card--brand i { color: var(--yellow); }
.catalog-card--brand h3 { color: #fff; }
.catalog-card--brand small { color: rgb(255 255 255 / 0.76); }
.catalog-card--brand:hover { background: var(--green-dark); color: #fff; }
.catalog-card--brand h3,
.catalog-card--brand small { max-width: calc(100% - 76px); }

@media (max-width: 1024px) {
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-card { border-right: 1px solid var(--line); }
  .catalog-card:nth-child(2n), .catalog-card:nth-child(6) { border-right: 0; }
  .catalog-card:nth-child(3n) { border-right: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .catalog { padding-block: 3rem; }
  .catalog__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 620px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .catalog-card, .catalog-card:nth-child(3n) { border-right: 0; }
  .catalog-card { min-height: 0; padding: 18px; }
}

/* ============================================================
   04 · VNC PARTNER BAND
   ============================================================ */

.partner { background: var(--green-tint-2); padding-block: clamp(3.25rem, 6vw, 4.5rem); }
.partner__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2.5rem, 5vw, 4rem); }
.partner__grid h2 { max-width: 560px; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.partner__grid > div:first-child > p:not(.eyebrow) { max-width: 520px; margin: 22px 0; color: var(--muted); }

/* Four-up card grid, in the editorial-reference register: white card,
   mark centred in a fixed contain box, name, descriptor, gold rule on
   hover. The fixed mark box is what keeps the row visually even. */
.vnc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.vnc-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none; color: var(--ink);
  position: relative; overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* Gold rule that wipes in from the left on hover. */
.vnc-card::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.vnc-card:hover { color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.vnc-card:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .vnc-card:hover { transform: none; } }

.vnc-card__mark {
  display: grid; place-items: center;
  width: 100%; height: 120px;
  margin-bottom: var(--s-4);
  background: var(--green-tint);
  border-radius: var(--r-sm);
}
/* Contain, so any ratio of supplied artwork sits correctly without
   cropping. Raised from 72%/76px once the marks became real <img>
   files - the old ceiling was sized for the inline type lockup. */
.vnc-card__mark img { max-width: 82%; max-height: 92px; object-fit: contain; }
.vnc-card strong { font-size: 1.0625rem; font-weight: 650; }
.vnc-card small {
  margin-top: 6px;
  font-size: 10px; font-weight: 650;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.vnc-card__cta {
  margin-top: var(--s-4);
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green);
}
.vnc-card__cta i { font-style: normal; font-size: 1.3em; line-height: 0; transition: transform var(--dur-fast) var(--ease); }
.vnc-card:hover .vnc-card__cta i { transform: translateX(3px); }

/* .vnc-type was the inline type lockup used before the marks became real
   image files. The four brands now load from assets/img/brand/*.svg, so
   supplied artwork can replace them by overwriting the file. The rule is
   kept because the VNC distributor page still uses the lockup inline. */
.vnc-type {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 108px; height: 76px;
  background: #1B4D36; color: #fff;
  border-radius: var(--r-sm);
  font-size: 17px; font-weight: 800; line-height: 1.12; letter-spacing: 0.08em;
}
.vnc-type span { color: var(--yellow); }

@media (max-width: 1024px) { .partner__grid { grid-template-columns: 1fr; gap: 2.25rem; } }
@media (max-width: 760px)  { .vnc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 520px) {
  .vnc-grid { grid-template-columns: 1fr; }
  .vnc-card { padding: var(--s-4); }
  .vnc-card__mark { height: 96px; }
}

/* ============================================================
   05 · BRAND STRUCTURE (scope)
   ============================================================ */

.scope { background: var(--paper); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.scope__grid {
  display: grid; grid-template-columns: 1.05fr 1fr 1fr;
  border-top: 1px solid var(--line-ink);
}
.scope__grid > * { padding: 30px 30px 24px 0; }
.scope__grid > * + * { border-left: 1px solid var(--line); padding-left: 30px; }
.scope__grid article h3 { margin: 35px 0 12px; font-size: 1.4375rem; font-weight: 650; }
.scope__grid article p { min-height: 74px; margin: 0 0 18px; font-size: 0.875rem; color: var(--muted); }

@media (max-width: 1024px) {
  .scope__grid { grid-template-columns: 1fr 1fr; }
  .scope__head { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .scope__grid > *:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 800px) {
  .scope__grid { grid-template-columns: 1fr; }
  .scope__grid > * { padding: 24px 0; }
  .scope__grid > * + * { border-left: 0; padding-left: 0; }
  .scope__grid article h3 { margin-top: 26px; }
  .scope__grid article p { min-height: 0; }
}

/* ============================================================
   06 · SERVICES & DELIVERY
   ============================================================ */

.services { background: var(--green-tint-2); padding-block: clamp(3.25rem, 6vw, 4.375rem); }
.services__head {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  align-items: end; gap: clamp(2rem, 5vw, 3.75rem);
  padding-top: 26px;
  border-top: 1px solid var(--line-ink);
}
.services__head > p { max-width: 520px; margin: 0; font-size: 0.875rem; color: var(--muted); }
.services__layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 24px; margin-top: 34px;
}
.services__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--line-ink); }
.services__grid article {
  min-height: 170px; padding: 22px 8px 20px 0;
  border-bottom: 1px solid #C9CEC8;
}
.services__grid article:nth-child(even) { border-left: 1px solid #C9CEC8; padding-left: 28px; }
.services__grid article > span { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--green); }
.services__grid h3 { margin: 24px 0 8px; font-size: 1.1875rem; font-weight: 650; }
.services__grid p { margin: 0; font-size: 0.8125rem; line-height: 1.48; color: var(--muted); }

.delivery-panel { background: var(--green); color: #fff; padding: 30px; }
.delivery-panel h3 {
  max-width: 520px; margin: 0 0 22px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 650; letter-spacing: -0.045em;
  color: #fff;
}
.delivery-list { border-top: 1px solid rgb(255 255 255 / 0.35); }
.delivery-list > div {
  display: grid; grid-template-columns: 36px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
}
.delivery-list span { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--yellow); }
.delivery-list p { margin: 0; font-size: 12px; color: rgb(255 255 255 / 0.78); }
.delivery-list strong { display: block; margin-bottom: 2px; font-size: 14px; color: #fff; }
.delivery-note { margin: 18px 0; font-size: 11px; color: rgb(255 255 255 / 0.72); }

/* Expanded service grid, used on the services-delivery page where each
   service gets the full `detail` paragraph rather than the short blurb. */
.service-detail-grid { border-top: 1px solid var(--line-ink); }
.service-detail-grid article {
  min-height: 190px; padding: 24px 10px 24px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: 28px; }
.service-detail-grid article > span { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--green); }
.service-detail-grid h3 { margin: 28px 0 10px; font-size: 1.25rem; font-weight: 650; line-height: 1.1; }
.service-detail-grid p { margin: 0; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 620px) {
  .service-detail-grid { grid-template-columns: 1fr !important; }
  .service-detail-grid article:nth-child(even) { border-left: 0; padding-left: 0; }
  .service-detail-grid article { min-height: 0; }
}

@media (max-width: 900px) {
  .services__head, .services__layout { grid-template-columns: 1fr; }
  .services__head { gap: 20px; }
}
@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__grid article:nth-child(even) { border-left: 0; padding-left: 0; }
  .delivery-panel { padding: 24px 20px; }
}

/* ============================================================
   07 · COVERAGE MAP
   ============================================================ */

.coverage { background: var(--paper); padding-block: clamp(3.25rem, 6vw, 4.5rem); }
.coverage__grid {
  display: grid; grid-template-columns: 0.68fr 1.32fr;
  align-items: center; gap: clamp(2rem, 5vw, 4rem);
}
.coverage__grid > div:first-child > h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.98; }
.coverage__grid > div:first-child > p:not(.eyebrow) { max-width: 500px; margin: 22px 0; color: var(--muted); }
.coverage__visual { display: grid; gap: 14px; }

.coverage-map {
  position: relative; overflow: hidden;
  min-height: 520px; margin: 0;
  background: var(--green-ink); color: #fff;
  border-radius: var(--r-md);
}
.coverage-map::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgb(253 234 86 / 0.12), transparent 22%),
    linear-gradient(135deg, rgb(255 255 255 / 0.04), transparent 60%);
}
.coverage-map__kicker { position: absolute; top: 22px; left: 24px; z-index: 2; }
.coverage-map__kicker span {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow);
}
.coverage-map__kicker strong { display: block; margin-top: 3px; font-size: 16px; }
.coverage-map__plot { position: absolute; inset: 70px 24px 48px; }
.coverage-map__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.coverage-map__plot line { stroke: rgb(255 255 255 / 0.16); stroke-width: 0.32px; vector-effect: non-scaling-stroke; }
.coverage-pin {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  transform: translate(-4px, -50%);
  font-size: 9px; font-weight: 650; line-height: 1;
  color: rgb(255 255 255 / 0.76); white-space: nowrap;
}
.coverage-pin i {
  display: block; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-ink);
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px rgb(253 234 86 / 0.08);
}
.coverage-pin--hub { z-index: 3; color: #fff; font-size: 12px; font-weight: 700; }
.coverage-pin--hub i {
  width: 13px; height: 13px;
  background: var(--green); border: 3px solid var(--yellow);
  box-shadow: 0 0 0 7px rgb(253 234 86 / 0.12);
}
.coverage-map figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 16px;
  font-size: 9px; color: rgb(255 255 255 / 0.5);
}

.coverage__lists { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-ink); }
.coverage__lists > div { padding: 14px 16px 10px 0; }
.coverage__lists > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.coverage__lists span {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--green);
}
.coverage__lists p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }

@media (max-width: 1024px) {
  .coverage__grid { grid-template-columns: 1fr; gap: 2.125rem; }
}
@media (max-width: 800px) {
  .coverage-map { min-height: 500px; }
  .coverage__lists { grid-template-columns: 1fr; }
  .coverage__lists > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}
@media (max-width: 620px) {
  .coverage-map { min-height: 470px; }
  .coverage-map__plot { left: 18px; right: 18px; }
  .coverage-pin { font-size: 8px; }
  .coverage-pin--hub { font-size: 11px; }
}
@media (max-width: 520px) {
  .coverage-map { min-height: 450px; }
  .coverage-map__kicker { top: 18px; left: 18px; }
  .coverage-map__plot { inset: 64px 14px 45px; }
  .coverage-pin i { width: 6px; height: 6px; }
}

/* ============================================================
   08 · APPLICATIONS
   ============================================================ */

.applications { background: var(--off); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.app-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  border-top: 1px solid var(--line-ink);
}
.app-card { padding-block: 24px; border-bottom: 1px solid var(--line); }
.app-card > a { display: block; text-decoration: none; color: inherit; }
.app-card .concept-figure figcaption { display: none; }
.app-card__copy {
  display: grid; grid-template-columns: 30px 1fr;
  align-items: baseline; gap: 6px; margin-top: 16px;
}
.app-card__copy > span { font-size: 10px; font-weight: 700; color: var(--green); }
.app-card__copy h3 { margin: 0; font-size: 1.3125rem; font-weight: 650; line-height: 1.08; }
.app-card__copy p {
  grid-column: 2; max-width: 560px; margin: 7px 0 11px;
  font-size: 12px; line-height: 1.45; color: var(--muted);
}
.app-card__copy .app-card__spec {
  grid-column: 2; margin: 0 0 11px;
  font-size: 11px; line-height: 1.5; color: var(--ink-2);
  border-left: 2px solid var(--gold); padding-left: 10px;
}
.app-card__copy strong { grid-column: 2; font-size: 11px; color: var(--green); }

@media (max-width: 1024px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding-block: 22px; }
}

/* ============================================================
   09 · CONFIGURATOR + CALCULATOR ("Plan your fence")
   ============================================================ */

.planner { background: var(--paper); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.planner__tabs {
  display: flex; gap: 0;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-6);
}
.planner__tab {
  position: relative;
  min-height: 56px; padding: 0 22px;
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 650; letter-spacing: -0.02em;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease);
}
.planner__tab:hover { color: var(--ink); }
.planner__tab[aria-selected="true"] { color: var(--green); }
.planner__tab[aria-selected="true"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--green);
}
.planner__panel[hidden] { display: none; }

.config {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.config__view {
  position: relative; overflow: hidden;
  aspect-ratio: 6 / 5;
  background: var(--green-ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.config__view svg { width: 100%; height: 100%; }
.config__tag {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow);
}
.readout {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: 0;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.readout > div { background: rgb(16 37 26 / 0.88); padding: 9px 11px; }
.readout dt {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow);
}
.readout dd {
  margin: 3px 0 0;
  font-family: var(--font-mono); font-size: 0.875rem; color: #fff;
}
.config__controls { display: grid; gap: var(--s-5); }
.ctrl__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-bottom: 9px;
}
.ctrl__label { font-size: 12px; font-weight: 650; color: #404640; }
.ctrl__value { font-family: var(--font-mono); font-size: 11px; color: var(--green); }

@media (max-width: 860px) { .config { grid-template-columns: 1fr; } }

.calc {
  display: grid; grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.calc__out {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.calc__cell { background: var(--paper); padding: var(--s-5) var(--s-4); }
.calc__n {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-2xl); font-weight: 650; letter-spacing: -0.045em;
  color: var(--green);
}
.calc__n small { font-size: 0.875rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.calc__k {
  display: block; margin-top: 4px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.calc__note {
  margin: 0; padding: 12px 14px;
  background: var(--off);
  border-left: 3px solid var(--gold);
  font-size: 12px; line-height: 1.55; color: var(--muted);
}
.calc__note strong { color: var(--ink); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ============================================================
   10 · QUOTE BUILDER
   ============================================================ */

.qb { background: var(--green-tint-2); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.qb__shell {
  display: grid; grid-template-columns: 1fr minmax(330px, 0.8fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.qb__steps { display: grid; gap: var(--s-5); }
.step {
  position: relative;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.step::before {
  content: attr(data-n);
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-weight: 700; color: var(--green);
}
.step[data-done="true"] { border-color: rgb(0 104 55 / 0.4); }
.step h3 { margin: 0 0 4px; font-size: 1.125rem; font-weight: 650; }
.step__hint { margin: 0 0 16px; font-size: 12px; color: var(--muted); }

.preview {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--green-ink); color: #fff;
  border-radius: var(--r-md); overflow: hidden;
}
.preview__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgb(255 255 255 / 0.06);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow);
}
.preview__bar svg { width: 15px; height: 15px; }
.preview__msg {
  margin: 0; padding: 16px;
  max-height: 320px; overflow: auto;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7;
  color: rgb(255 255 255 / 0.9);
  white-space: pre-wrap; word-break: break-word;
}
.preview__actions {
  display: grid; gap: 10px;
  padding: 16px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.copybtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: var(--r-md);
  font-size: 0.8125rem; font-weight: 650; color: #fff;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.copybtn:hover { border-color: var(--yellow); background: rgb(255 255 255 / 0.06); }
.copybtn svg { width: 15px; height: 15px; }
.preview__note { margin: 4px 0 0; font-size: 11px; line-height: 1.6; color: rgb(255 255 255 / 0.65); }
.preview__note a { color: var(--yellow); }

@media (max-width: 980px) {
  .qb__shell { grid-template-columns: 1fr; }
  .preview { position: static; }
}

/* ============================================================
   11 · STANDARDS / SPEC INTELLIGENCE
   ============================================================ */

.standards { background: var(--off); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.standards__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 28px;
  border-top: 1px solid var(--line-ink);
  margin-bottom: var(--s-6);
}
.standards__grid article { padding: 24px 10px 24px 0; border-bottom: 1px solid var(--line); }
.standards__grid article + article { border-left: 1px solid var(--line); padding-left: 28px; }
.standards__std {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--green);
  padding: 3px 7px; border: 1px solid var(--line); border-radius: 2px;
}
.standards__grid h3 { margin: 24px 0 10px; font-size: 1.25rem; font-weight: 650; }
.standards__grid p { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 800px) {
  .standards__grid { grid-template-columns: 1fr; }
  .standards__grid article + article { border-left: 0; padding-left: 0; }
}

/* ============================================================
   12 · HISTORY BAND
   ============================================================ */

.history { background: var(--green); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.375rem); }
.history__grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2.5rem, 7vw, 5.625rem); }
.history h2 { color: #fff; }
.history__grid > div:last-child > p { max-width: 620px; margin: 0; font-size: 1rem; color: rgb(255 255 255 / 0.74); }
.history blockquote {
  margin: 34px 0 26px; padding-left: 24px;
  border-left: 1px solid var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.12;
  color: #fff;
}
@media (max-width: 800px) {
  .history__grid { grid-template-columns: 1fr; gap: 2.125rem; }
  .history blockquote { margin-top: 30px; }
}

/* ============================================================
   13 · PRODUCT INDEX
   ============================================================ */

.materials { background: var(--paper); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.material-list {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px;
  border-top: 1px solid var(--line-ink);
}
.material-list a {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 94px 18px;
  align-items: center; gap: 12px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), padding var(--dur-fast) var(--ease);
}
.material-list a:hover { border-bottom-color: var(--green); padding-inline: 6px; color: var(--ink); }
.material-list span { font-size: 10px; font-weight: 700; color: var(--green); }
.material-list h3 { margin: 0; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.025em; }
.material-list p {
  margin: 0; text-align: right;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.material-list i { font-style: normal; color: var(--green); }
@media (max-width: 800px) {
  .material-list { grid-template-columns: 1fr; }
  .material-list a { grid-template-columns: 40px 1fr 22px; min-height: 68px; }
  .material-list p { display: none; }
}

/* ============================================================
   14 · BUYING GUIDE
   ============================================================ */

.guide { background: var(--off); padding-block: clamp(3.25rem, 6vw, 4.875rem); }
.guide__grid, .faq__grid {
  display: grid; grid-template-columns: 0.78fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.125rem);
}
.prose { max-width: 690px; }
.prose p { margin: 0 0 18px; color: var(--muted); }
.prose p:first-child { color: var(--ink); font-size: 1.125rem; }
@media (max-width: 800px) {
  .guide__grid, .faq__grid { grid-template-columns: 1fr; gap: 2.125rem; }
}

/* ============================================================
   15 · FAQ
   ============================================================ */

.faq-section { background: var(--paper); padding-block: clamp(3.25rem, 6vw, 4.875rem); }

/* ============================================================
   16 · QUOTE BAND
   ============================================================ */

.quote-band { background: var(--green); color: #fff; padding-block: clamp(3rem, 5.5vw, 4.25rem); }
.quote-band__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: end; gap: clamp(2.5rem, 6vw, 4.375rem);
}
.quote-band h2 { max-width: 800px; color: #fff; }
.quote-band__inner > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.quote-band__inner > div:last-child p { margin: 0 0 18px; font-size: 0.8125rem; color: rgb(255 255 255 / 0.72); }
.quote-band__row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) {
  .quote-band__inner { grid-template-columns: 1fr; gap: 2.125rem; }
}

/* ============================================================
   17 · DETAIL PAGE FURNITURE (sub-pages)
   ============================================================ */

.detail-hero {
  background: var(--off);
  border-bottom: 1px solid var(--line);
  padding-block: 30px clamp(2.5rem, 5vw, 4.125rem);
}
.detail-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end; gap: clamp(2.5rem, 5vw, 4.25rem);
}
.detail-hero h1 { max-width: 930px; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.detail-lead { max-width: 760px; margin: 24px 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.detail-hero aside { padding-top: 15px; border-top: 1px solid var(--line-ink); }
.detail-hero aside span {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.detail-hero aside strong {
  display: block; margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.3125rem; font-weight: 620; line-height: 1.2; color: var(--green);
}
.detail-hero aside p { margin: 18px 0 0; font-size: 12px; color: var(--muted); }

.detail-section { padding-block: clamp(3rem, 6vw, 4.875rem); }
.detail-section--paper { background: var(--paper); }
.detail-visual { padding-block: clamp(2rem, 4vw, 3rem); }
.detail-visual .concept-image { aspect-ratio: 3 / 2; }
.detail-visual .concept-figure figcaption { justify-content: space-between; }

/* Product shots, reused from the homepage range carousel. Same files, so
   a visitor who clicks a carousel card lands on a page showing the image
   they just clicked, and there is one asset per product to maintain
   rather than two. The art is square cut-outs on white, so `contain` on
   a tinted panel - `cover` would clip the edges off. */
.product-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.product-shot {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.product-shot img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--green-tint);
  padding: 12px;
}
.product-shot figcaption { padding: 13px var(--s-4) 15px; border-top: 1px solid var(--line); }
.product-shot figcaption strong {
  display: block;
  font-size: 0.9375rem; font-weight: 650; letter-spacing: -0.015em;
}
.product-shot figcaption span {
  display: block; margin-top: 4px;
  font-size: var(--t-xs); line-height: 1.5; color: var(--muted);
}
@media (max-width: 520px) {
  .product-shots { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-shot img { padding: 8px; }
  .product-shot figcaption { padding: 10px 12px 12px; }
  .product-shot figcaption strong { font-size: 0.8125rem; }
  .product-shot figcaption span { display: none; }
}

.dual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.375rem); }
.dual > div + div { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 3.375rem); }
.dual h2 { margin-bottom: 30px; font-size: clamp(1.9rem, 3vw, 2.75rem); }
@media (max-width: 800px) {
  .detail-hero__grid { grid-template-columns: 1fr; gap: 2.125rem; }
  .dual { grid-template-columns: 1fr; gap: 2.125rem; }
  .dual > div + div { border-left: 0; border-top: 1px solid var(--line); padding: 2.125rem 0 0; }
}

.related { background: var(--off); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 3rem); }
.related__links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-ink); }
.related__links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding-right: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem; font-weight: 650;
  text-decoration: none; color: var(--ink);
}
.related__links a + a { border-left: 1px solid var(--line); padding-left: 20px; }
.related__links a:hover { color: var(--green); }
.related__links a span { color: var(--green); }
/* Three columns at tablet width squeezes "Colour coated sheet supplier"
   into three lines, so drop to two before dropping to one. */
@media (max-width: 1024px) {
  .related__links { grid-template-columns: repeat(2, 1fr); }
  .related__links a:nth-child(odd) { border-left: 0; padding-left: 0; }
  .related__links a:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
}
@media (max-width: 680px) {
  .related__links { grid-template-columns: 1fr; }
  .related__links a,
  .related__links a + a,
  .related__links a:nth-child(even) { border-left: 0; padding-left: 0; }
}

/* ---- Contact page ------------------------------------------------------- */

.contact-page { background: var(--green); color: #fff; padding-block: 30px clamp(3rem, 6vw, 4.75rem); }
.contact-page__grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1fr);
  gap: clamp(2.5rem, 6vw, 5.125rem);
}
.contact-page h1 { max-width: 640px; color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.contact-page__intro { margin: 30px 0 0; font-size: 1.0625rem; color: rgb(255 255 255 / 0.76); }
.contact-page address { margin-top: 36px; font-style: normal; font-size: 0.875rem; color: rgb(255 255 255 / 0.8); }
.contact-page address strong { color: #fff; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 22px; }
.contact-links a {
  display: flex; align-items: center; min-height: 38px;
  border-bottom: 1px solid rgb(255 255 255 / 0.32);
  font-size: 0.875rem; color: #fff; text-decoration: none;
}
.contact-links a:hover { color: var(--yellow); }
.verification-note { max-width: 480px; margin: 22px 0 0; font-size: 11px; color: rgb(255 255 255 / 0.6); }
@media (max-width: 1024px) { .contact-page__grid { grid-template-columns: 0.75fr 1fr; } }
@media (max-width: 800px) {
  .contact-page__grid { grid-template-columns: 1fr; gap: 2.125rem; }
}

/* ---- Legal / 404 --------------------------------------------------------- */

.legal-page, .not-found-page { min-height: 70vh; padding-block: clamp(3rem, 6vw, 4.5rem); }
.legal-content { max-width: 760px; }
.legal-content h1, .not-found-page h1 { margin: 0 0 24px; font-size: clamp(2.5rem, 5vw, 4.3rem); }
.legal-content h2 { margin: 34px 0 10px; font-size: 1.375rem; }
.legal-content p, .not-found-page p { color: var(--muted); }

/* ============================================================
   RESPONSIVE: hero
   ============================================================ */

@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr 0.95fr; gap: 30px; }
  .hero__brand-grid > a { grid-template-columns: 62px 1fr; }
  .hero__brand-grid img { width: 62px; height: 62px; }
  .hero__brand-grid > a:nth-child(n+3) img { width: 68px; }
}
@media (max-width: 800px) {
  .hero__layout { grid-template-columns: 1fr; gap: 22px; padding-block: 30px 24px; }
  .hero h1 { font-size: clamp(2.6rem, 12.4vw, 3.9rem); }
  .hero__intro { margin-top: 20px; font-size: 1rem; }
  .hero__actions { align-items: flex-start; gap: 18px; margin-top: 22px; }
  .hero__brands { min-height: 0; }
  .hero__brand-grid > a { grid-template-columns: 72px 1fr; min-height: 125px; }
  .hero__brand-grid img { width: 72px; height: 72px; }
  .rail { grid-template-columns: 1fr 1fr; }
  .rail a { min-height: 68px; }
  .rail a:nth-child(odd) { border-left: 0; }
}
@media (max-width: 520px) {
  .hero h1, .detail-hero h1, .contact-page h1 { overflow-wrap: anywhere; }
  .hero__actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__brands-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero__brand-grid > a { grid-template-columns: 56px 1fr; gap: 10px; min-height: 116px; padding: 11px; }
  .hero__brand-grid img { width: 56px; height: 56px; }
  .hero__brand-grid > a:nth-child(n+3) img { width: 58px; }
  .hero__brand-grid strong { font-size: 12px; }
  .hero__brand-grid small { font-size: 8px; }
  .hero__brand-foot { flex-direction: column; align-items: flex-start; gap: 3px; }
  .hero__brand-foot strong { text-align: left; }
  .rail strong { font-size: 0.8125rem; }
  .rail small { font-size: 8px; }
  .calc__out { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .hero h1, .detail-hero h1, .contact-page h1 { font-size: 2.6rem; }
}
