/* ---------- Dekriet — thatching & reed roofing (WEBSITE) --------------------
   THE STRUCTURAL MOVE: the catalogue of finished roofs is a gapless eight-tile
   wall that leaves the container entirely and carries its titles ON the
   photographs — and it is deliberately bracketed on both sides by gapped, airy
   rows (four portraits above, six whitespace-only cards below) so the wall
   reads as the page's one shout. The two icon rows do different jobs on
   purpose: four welded flush onto the floor of the stage with hairlines and no
   gutter, six much further down held apart by nothing but whitespace.
   Everything else stays on one lime-washed bone ground; the only paint on the
   page is the near-black counter strip, where four oversized ochre figures do
   all the work. Ochre is spent on the controls, the numbered method and those
   figures — nowhere else, so the reed itself supplies the colour. */
body.t-dekriet.ws-body {
  --bg: #f2ede4; --fg: #3a352d; --heading: #1f1c18; --text: #3a352d; --muted: #837a6b;
  --dk-line: #ded6c7; --dk-ochre: #b8873a; --dk-dark: #17150f;
  --hero-a: rgba(20, 16, 9, .26); --hero-b: rgba(20, 16, 9, .60);
}
body.t-dekriet { background: var(--bg); }

/* the bar is rendered for us — only the type is set, never the order */
body.t-dekriet .ws-brand { color: var(--heading); text-transform: uppercase; letter-spacing: .3em; font-size: 13px; font-weight: 700; }
body.t-dekriet .ws-nav-links a { color: var(--heading); opacity: .72; text-transform: uppercase; letter-spacing: .13em; font-size: 10.5px; font-weight: 600; }
body.t-dekriet .ws-nav-links a:hover, body.t-dekriet .ws-nav-links a.on { color: var(--dk-ochre); opacity: 1; }

/* the stage — one whole viewport, the kicker hoisted above the heading, one ask */
body.t-dekriet .ws-hero { min-height: 100vh; }
body.t-dekriet .ws-hero-inner { display: flex; flex-direction: column; align-items: center; }
body.t-dekriet .ws-hero-inner p { order: -1; max-width: none; margin: 0 0 20px; color: #ece2cf; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .32em; }
body.t-dekriet .ws-hero h1 { color: #fbf7ef; font-size: clamp(36px, 6.2vw, 78px); font-weight: 700; letter-spacing: -.036em; line-height: 1.03; text-shadow: none; max-width: 17ch; }

/* every ochre control on the page — flat slabs, never a border */
body.t-dekriet.ws-body .btn.brand, body.t-dekriet.ws-body .ws-hero-cta.btn.brand, body.t-dekriet.ws-body .ws-cta .btn.brand { background: var(--dk-ochre); color: #17150f; border: 0; border-radius: 0; box-shadow: none; text-transform: uppercase; letter-spacing: .17em; font-size: 10.5px; font-weight: 700; padding: 16px 34px; }

/* one flat bone ground the whole way down — no zebra, and no painted close */
body.t-dekriet .ws-section { padding: 88px 0; }
body.t-dekriet.ws-body .ws-section:nth-child(even):not(.ws-cta):not(.ws-shoplink):not(.ws-columns) { background: transparent; }
body.t-dekriet.ws-body .ws-cta { background: transparent; border-top: 1px solid var(--dk-line); }
body.t-dekriet .ws-h2, body.t-dekriet .ws-story-copy h2, body.t-dekriet .ws-cta-inner h2 { color: var(--heading); font-size: clamp(24px, 3.3vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 16px; }
body.t-dekriet .ws-sub, body.t-dekriet .ws-story-copy p, body.t-dekriet .ws-feature p, body.t-dekriet .ws-member p, body.t-dekriet .ws-list li, body.t-dekriet .ws-quote blockquote, body.t-dekriet .ws-cta-inner p { color: var(--text); font-size: 15.5px; line-height: 1.8; }

/* ICON ROW 1 OF 2 — welded onto the floor of the stage, hairlines, no gutter */
body.t-dekriet.ws-body .ws-features:not(:has(.ws-h2)) { padding: 0; border-bottom: 1px solid var(--dk-line); }
body.t-dekriet .ws-features:not(:has(.ws-h2)) .ws-features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
body.t-dekriet .ws-features:not(:has(.ws-h2)) .ws-feature { border-left: 1px solid var(--dk-line); padding: 44px 26px; }
/* ICON ROW 2 OF 2 — no border, no box, no rule: only the whitespace holds them */
body.t-dekriet .ws-features:has(.ws-h2) .ws-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px 46px; }
body.t-dekriet .ws-feature, body.t-dekriet .ws-member { text-align: left; padding: 0; }
body.t-dekriet .ws-feature-icon { color: var(--heading); margin-bottom: 15px; }
body.t-dekriet .ws-feature-icon .ws-ico { width: 28px; height: 28px; }
body.t-dekriet .ws-feature h3, body.t-dekriet .ws-member strong, body.t-dekriet .ws-gallery-cap strong { text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 700; margin: 0 0 8px; }

/* the gapped row ABOVE the wall — four portraits, even gutters, no circles */
body.t-dekriet .ws-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
body.t-dekriet .ws-member-photo img, body.t-dekriet .ws-story-media img { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 0; object-fit: cover; margin: 0 0 15px; }

/* THE WALL — eight tiles, no container, no gutter, the titles on the roofs */
body.t-dekriet.ws-body .ws-gallery, body.t-dekriet .ws-gallery > .ws-container { padding: 0; max-width: none; }
body.t-dekriet .ws-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
body.t-dekriet .ws-gallery-item { position: relative; }
body.t-dekriet .ws-gallery-item img { aspect-ratio: 4 / 3; border-radius: 0; object-fit: cover; }
body.t-dekriet .ws-gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 52px 22px 18px; color: #fbf7ef; background: linear-gradient(rgba(14, 12, 7, 0), rgba(14, 12, 7, .86)); }
body.t-dekriet .ws-gallery-cap span { color: #cec3ae; font-size: 12px; }

/* four quotes across, ruled at the top and nothing else */
body.t-dekriet .ws-testimonials-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
body.t-dekriet .ws-quote { background: transparent; border: 0; border-top: 2px solid var(--heading); border-radius: 0; box-shadow: none; padding: 20px 0 0; }
body.t-dekriet .ws-quote blockquote::before { content: none; }
body.t-dekriet .ws-list-number li::marker { color: var(--dk-ochre); font-weight: 700; }

/* the one painted band on the page — four oversized ochre figures, nothing else */
body.t-dekriet.ws-body .ws-section.ws-columns { background: var(--dk-dark); padding: 86px 0; text-align: center; }
body.t-dekriet .ws-col-h { color: var(--dk-ochre); font-size: clamp(42px, 5.6vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: .95; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
body.t-dekriet .ws-columns .ws-col p { color: #b3aa98; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; line-height: 1.65; margin: 0; }

body.t-dekriet .ws-field input, body.t-dekriet .ws-field select, body.t-dekriet .ws-field textarea { background: transparent; border: 0; border-bottom: 1px solid var(--dk-line); border-radius: 0; color: var(--heading); padding: 12px 2px; }

@media (max-width: 860px) {
  body.t-dekriet .ws-features:not(:has(.ws-h2)) .ws-features-grid,
  body.t-dekriet .ws-features:has(.ws-h2) .ws-features-grid,
  body.t-dekriet .ws-team-grid, body.t-dekriet .ws-gallery-grid,
  body.t-dekriet .ws-testimonials-grid, body.t-dekriet .ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* night — the same lime-washed room after dark, the ochre one stop warmer */
html[data-theme="dark"] body.t-dekriet.ws-body {
  --bg: #14120d; --fg: #a8a091; --heading: #f4eee2; --text: #a8a091; --muted: #7e7666;
  --dk-line: #2b2720; --dk-ochre: #d3a057; --dk-dark: #0b0a06;
  --hero-a: rgba(8, 6, 3, .32); --hero-b: rgba(8, 6, 3, .66);
}
html[data-theme="dark"] body.t-dekriet { background: var(--bg); }
