/* ---- kudde (Kudde — National livestock health congress 168) ----------------
   THE STRUCTURAL MOVE: the hero stack is INVERTED. .ws-hero-inner becomes a
   centred column and the sub is pulled to order:-1, so a small letterspaced
   kicker sits ABOVE a date-and-place line set larger than anything else on the
   page — the event name whispers, the date shouts. Below the hero nothing
   bleeds and nothing is painted: one sheet of pale straw from the pixel under
   the photograph to the last, carrying three consecutive numbered programme
   blocks as a single unbroken twelve-row ruled ladder with no image in it at
   all. Mustard is spent on exactly four things — the hero button, the cta band,
   the day numerals and the hairline under every programme row. Every selector
   is a class or an anchor id: the hero is section one, so an element-indexed
   selector would silently never fire here. */
body.t-kudde.ws-body {
  --bg: #f2eddf; --fg: #46433a; --heading: #22211d; --text: #46433a; --muted: #7d7767;
  --kud-gold: #b98b1e; --kud-band: #b98b1e; --kud-rule: rgba(185, 139, 30, .42); --kud-line: #ddd4bd;
  --hero-a: rgba(18, 17, 14, .28); --hero-b: rgba(18, 17, 14, .56);
}
body.t-kudde { background: var(--bg, #f2eddf); }
/* one unbroken sheet of paper — the shared zebra tint would show every join */
body.t-kudde .ws-section:not(.ws-cta):not(.ws-shoplink) { background: var(--bg); padding: 88px 0; }
body.t-kudde .ws-container:not(.ws-narrow) { max-width: 1150px; padding: 0 30px; }

/* the bar rides the photograph and leaves with it: a genuinely fixed bar would
   put straw-white links on straw paper for the whole rest of the page */
body.t-kudde .ws-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  background: transparent; backdrop-filter: none; border-bottom: 0; }
body.t-kudde .ws-nav-inner { height: 88px; }
body.t-kudde .ws-brand { color: #f2eddf; font-size: 20px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
body.t-kudde .ws-nav-links a { color: #f2eddf; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
body.t-kudde .ws-nav-links a:hover, body.t-kudde .ws-nav-links a.on { color: #e8c778; opacity: 1; border-bottom: 0; }

/* THE INVERSION — kicker hoisted above the date, both dead centre on both axes */
body.t-kudde .ws-hero { min-height: 100vh; align-items: center; }
body.t-kudde .ws-hero-inner { display: flex; flex-direction: column; align-items: center; }
body.t-kudde .ws-hero-inner p { order: -1; margin: 0 0 24px; max-width: none; font-size: 11.5px;
  font-weight: 700; letter-spacing: .34em; text-transform: uppercase; opacity: .92; }
body.t-kudde .ws-hero h1 { max-width: 19ch; margin: 0 0 40px; font-size: clamp(38px, 7.4vw, 92px);
  font-weight: 800; line-height: .95; letter-spacing: -.025em; text-transform: uppercase;
  text-shadow: none; text-wrap: balance; }
body.t-kudde.ws-body .btn.brand, body.t-kudde.ws-body .ws-hero-cta.btn.brand {
  background: var(--kud-gold); color: #1c1b16; border-radius: 0; box-shadow: none;
  font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 18px 40px; }
body.t-kudde.ws-body .btn.brand:hover, body.t-kudde.ws-body .ws-hero-cta.btn.brand:hover { background: #a5791a; }

/* the pause — two centred lines on bare paper, the only section with no image */
body.t-kudde .ws-titleblock { padding: 116px 0 90px; }
body.t-kudde .ws-title-h { font-size: clamp(27px, 4vw, 48px); font-weight: 700; line-height: 1.12; color: var(--heading); }
body.t-kudde .ws-title-sub { max-width: 50ch; margin: 20px auto 0; font-size: 16px; line-height: 1.76; color: var(--muted); }
body.t-kudde .ws-h2 { font-size: clamp(22px, 2.8vw, 30px); color: var(--heading); margin: 0 0 34px; }
body.t-kudde .ws-sub { color: var(--muted); font-size: 14.5px; margin: -22px auto 40px; }

/* the face wall — four across, twice; four-fifths picture to one-fifth type */
body.t-kudde .ws-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
body.t-kudde .ws-member { text-align: left; }
body.t-kudde .ws-member-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 0; margin: 0 0 14px; }
body.t-kudde .ws-member strong { font-size: 17px; font-weight: 700; color: var(--heading); }
body.t-kudde .ws-member span.muted { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* THE LADDER — three numbered blocks run back to back at full contained width,
   day numerals in mustard, a hairline under every row, not one photograph */
body.t-kudde .ws-listblock { padding: 48px 0 0; }
body.t-kudde .ws-listblock .ws-narrow { max-width: 1090px; }
body.t-kudde .ws-listblock .ws-h2 { text-align: left; font-size: 13px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; margin: 0 0 6px; }
body.t-kudde .ws-list-number { counter-reset: kud; padding-left: 0; list-style: none; }
body.t-kudde .ws-list-number li { counter-increment: kud; position: relative; margin: 0;
  padding: 21px 0 21px 64px; border-bottom: 1px solid var(--kud-rule);
  font-size: 15px; line-height: 1.62; color: var(--text); }
body.t-kudde .ws-list-number li::before { content: counter(kud, decimal-leading-zero);
  position: absolute; left: 0; top: 21px; font-size: 13px; font-weight: 800;
  letter-spacing: .06em; color: var(--kud-gold); }

/* the only flat band on the page, then the only film still */
body.t-kudde .ws-cta { background: var(--kud-band); margin-top: 96px; padding: 92px 0; }
body.t-kudde .ws-cta-inner h2 { color: var(--heading); font-size: clamp(22px, 2.9vw, 34px); margin: 0 0 26px; }
body.t-kudde.ws-body .ws-cta .btn.brand { background: var(--heading); color: var(--bg); }
body.t-kudde.ws-body .ws-cta .btn.brand:hover { background: var(--text); }
body.t-kudde .ws-video .ws-narrow { max-width: 1010px; }
body.t-kudde .ws-video-frame { aspect-ratio: 21 / 9; border-radius: 0; box-shadow: none;
  background: #16150f url("/media/samples/kud_video_hall.jpg") center / cover; }
body.t-kudde .ws-video-frame::before { content: ''; position: absolute; inset: 0; margin: auto;
  width: 82px; height: 82px; border-radius: 50%; background: rgba(242, 237, 223, .9); }
body.t-kudde .ws-video-frame::after { content: ''; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; transform: translateX(5px); border-top: 15px solid transparent;
  border-bottom: 15px solid transparent; border-left: 25px solid #22211d; }

/* six captioned frames, then six graphite marks standing in for logo lettering */
body.t-kudde .ws-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
body.t-kudde .ws-gallery-item img { aspect-ratio: 4 / 3; border-radius: 0; }
body.t-kudde .ws-gallery-cap strong { font-size: 14.5px; color: var(--heading); }
body.t-kudde .ws-gallery-cap span, body.t-kudde .ws-video-caption { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
body.t-kudde .ws-features-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
body.t-kudde .ws-feature-icon { color: var(--heading); margin: 0 0 14px; }
body.t-kudde .ws-feature-icon .ws-ico { width: 24px; height: 24px; }
body.t-kudde .ws-feature h3 { font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 8px; color: var(--heading); }
body.t-kudde .ws-feature p { font-size: 12px; line-height: 1.62; color: var(--muted); margin: 0; }

/* the last block — one contained stack, four fields full width, no panel beside it */
body.t-kudde .ws-contact .ws-form { max-width: 560px; }
body.t-kudde .ws-field label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.t-kudde .ws-field input, body.t-kudde .ws-field textarea { border-radius: 0; border-color: var(--kud-line); background: transparent; }

@media (max-width: 1040px) {
  body.t-kudde .ws-team-grid, body.t-kudde .ws-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.t-kudde .ws-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.t-kudde .ws-team-grid, body.t-kudde .ws-features-grid, body.t-kudde .ws-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.t-kudde .ws-list-number li { padding-left: 44px; }
  /* the burger panel is painted on straw, so the straw links have to darken */
  body.t-kudde .ws-nav-links a { color: var(--heading); }
}

/* night — the same paper after dark: the straw drops to a lamp-lit brown-black,
   the mustard comes up to meet the ink, and the cta band burns down rather than glows */
html[data-theme="dark"] body.t-kudde.ws-body {
  --bg: #17160f; --fg: #a7a18e; --heading: #f1ebda; --text: #a7a18e; --muted: #7e7765;
  --kud-gold: #d9a83a; --kud-band: #6d5011; --kud-rule: rgba(217, 168, 58, .32); --kud-line: #322e22;
  --hero-a: rgba(6, 6, 4, .38); --hero-b: rgba(6, 6, 4, .68);
}
html[data-theme="dark"] body.t-kudde { background: var(--bg); }
html[data-theme="dark"] body.t-kudde.ws-body .btn.brand,
html[data-theme="dark"] body.t-kudde.ws-body .ws-hero-cta.btn.brand { color: #17160f; }
html[data-theme="dark"] body.t-kudde.ws-body .btn.brand:hover,
html[data-theme="dark"] body.t-kudde.ws-body .ws-hero-cta.btn.brand:hover { background: #c2932c; }
