/* ---- draad (Draad — Fencing, gates & farm steel 100) -----------------------
   THE STRUCTURAL MOVE: grids arrive ANNOUNCED. A short contained centred column
   of type is welded onto the top edge of the catalogue below it — the intro
   drops its bottom padding, the catalogue drops its top padding, and the
   catalogue's own h2 falls to a small left-set label under a yellow rule, so
   heading-block + grid read as one unit instead of two bands. The adjacency
   `.sc-richtext + .sc-products` is safe to lean on: the lower about block is a
   split, so it renders as .sc-about-split and can never match this. Ground is
   hot-dip zinc, ink is charcoal, and the one energiser yellow is spent on the
   price tags, the job labels and the button — nothing else on the page. */
body.t-draad {
  background: #dde1e3;
  color: #1b1f21;
  --radius: 0;
  --header-bg: #e7eaec;
  --surface: #ffffff;
  --surface-2: #ccd2d5;
  --line: #bfc5c8;
  --line-strong: #a2aaae;
  --heading: #14181a;
  --text: #1b1f21;
  --muted: #5c6569;
}
/* the bar rides over the photograph rather than sitting on its own painted
   strip, so the first screen is uninterrupted image. Scoped by :has, because
   the cart, search and product pages have no hero to float over and need the
   ordinary solid header back. */
body.t-draad:has(.sc-hero) .sf-header { position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
body.t-draad:has(.sc-hero) .sf-name, body.t-draad:has(.sc-hero) .sf-cart, body.t-draad:has(.sc-hero) .sf-navlink, body.t-draad:has(.sc-hero) .theme-toggle { color: #eef1f2; }
body.t-draad .btn.brand { background: #e6b400; border-color: #e6b400; color: #14181a; box-shadow: none; border-radius: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 700; padding: 15px 30px; }
body.t-draad .btn.brand:hover { background: #cfa100; opacity: 1; }

/* one full-viewport still, copy hard left off a wide gutter, nothing at all on
   the right — the page's opening bleed */
body.t-draad .sc-hero { min-height: 100vh; padding: 150px 20px 96px clamp(20px, 8vw, 120px); }
body.t-draad .sc-hero h1 { font-weight: 700; font-size: clamp(32px, 5.6vw, 62px); line-height: 1.04; max-width: 15ch; }

/* THE MOVE, part one: the announcing column pulls its bottom padding in */
body.t-draad .sc-richtext { max-width: 620px; padding: 108px 20px 30px; }
body.t-draad .sc-richtext .sc-h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; }
/* THE MOVE, part two: the catalogue loses its top padding and its heading drops
   to a strip label under a yellow rule, welding the pair into one block */
body.t-draad .sc-richtext + .sc-products { padding-top: 0; }
body.t-draad .sc-richtext + .sc-products .sc-h2 { text-align: left; text-transform: uppercase; letter-spacing: 0.2em; font-size: 11px; border-top: 3px solid #e6b400; padding-top: 12px; margin-bottom: 8px; }

/* eight tiles have to fill two rows of four, and the price is a tag stuck on */
body.t-draad .product-grid { grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
body.t-draad .product-card .p { display: inline-block; background: #e6b400; color: #14181a; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; padding: 4px 8px; margin-top: 8px; }

body.t-draad .sc-about-split { padding: 96px 20px; gap: 60px; }
body.t-draad .sc-about-split .sc-h2 { text-align: left; }

/* six job tiles, three across twice, each label a solid yellow slab */
body.t-draad .sc-strip-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.t-draad .sc-strip-label { margin-top: 0; background: #e6b400; color: #14181a; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; padding: 11px 14px; }

/* the second bleed, and the last — the band breaks its container */
body.t-draad .sc-banner { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); min-height: 56vh; }
body.t-draad .sf-head, body.t-draad .sf-foot, body.t-draad .sf-footer { background: #d2d7d9; border-color: #bfc5c8; }
@media (max-width: 900px) {
  body.t-draad .product-grid { grid-template-columns: repeat(2, 1fr); }
  body.t-draad .sc-strip-row { grid-template-columns: repeat(2, 1fr); }
}

/* NIGHT — the zinc goes to cold shadow and the yellow lifts a shade, because a
   warning colour that stops shouting after dark is not doing its job */
html[data-theme="dark"] body.t-draad {
  background: #16191b;
  color: #b9c0c3;
  --header-bg: #16191b;
  --surface: #1e2224;
  --surface-2: #262b2d;
  --line: #2e3436;
  --line-strong: #3c4346;
  --heading: #eceff0;
  --text: #b9c0c3;
  --muted: #7f888c;
}
html[data-theme="dark"] body.t-draad .btn.brand { background: #ffc61a; border-color: #ffc61a; color: #14181a; }
html[data-theme="dark"] body.t-draad .sc-richtext + .sc-products .sc-h2 { border-top-color: #ffc61a; }
html[data-theme="dark"] body.t-draad .product-card .p { background: #ffc61a; color: #14181a; }
html[data-theme="dark"] body.t-draad .sc-strip-label { background: #ffc61a; color: #14181a; }
html[data-theme="dark"] body.t-draad .sf-head, html[data-theme="dark"] body.t-draad .sf-foot, html[data-theme="dark"] body.t-draad .sf-footer { background: #1a1e20; border-color: #2e3436; }
