/* JIB — mobile crane hire & heavy lift, Kempton Park.
   THE STRUCTURAL MOVE: the page's rhythm is a hairline drawn at CONTAINER
   width rather than viewport width. Every section's own padding is moved off
   the <section> and onto its .ws-container, and that container carries the
   graphite rule — so the whole page reads as one long contained column with a
   1120px ledger line between each band. Exactly two things break it: the
   full-viewport four-frame hero, and the counter band, which drops the
   hairline and paints itself near-black edge to edge with four amber figures
   on it. That stripe is the page's only full-bleed punctuation, which is why
   the closing call-to-action is stripped back to the paper instead of taking
   the shared sheet's brand-coloured band.
   Nothing here touches .sf-header / .ws-nav / .ws-nav-inner / .ws-brand or any
   item inside them; no order, no absolute positioning, no nth-of-type. */
body.t-jib.ws-body {
  --bg: #ffffff; --fg: #45484d; --heading: #14161a; --text: #4f535a; --muted: #878b93;
  --jb-amber: #e59a12; --jb-line: #d5d7db; --jb-dark: #0e1013; --jb-soft: #f4f4f6;
  --hero-a: rgba(10, 12, 15, .30); --hero-b: rgba(10, 12, 15, .64);
}

/* the paper runs unbroken — the shared zebra wash is switched off and the
   padding moves onto the container, where the ledger line lives */
body.t-jib.ws-body .ws-section { padding: 0; background: transparent; }
body.t-jib .ws-narrow, body.t-jib .ws-cta-inner { max-width: 1120px; }
body.t-jib .ws-section > .ws-container { border-top: 1px solid var(--jb-line); padding-top: 84px; padding-bottom: 84px; }

/* the sheet's hardcoded greys re-pointed at tokens so night actually moves */
body.t-jib .ws-sub, body.t-jib .ws-feature p, body.t-jib .ws-story-copy p, body.t-jib .ws-richtext p, body.t-jib .ws-quote blockquote, body.t-jib .ws-list li, body.t-jib .ws-gallery-cap span { color: var(--text); }

/* one whole screen of photograph, four frames cross-fading behind the copy */
body.t-jib .ws-hero { min-height: 100vh; }
body.t-jib .ws-hero h1 { font-size: clamp(40px, 7vw, 88px); font-weight: 700; letter-spacing: -.045em; line-height: 1; text-shadow: none; }

/* amber: buttons, numerals, and the short rule that ends a heading. Nowhere else */
body.t-jib.ws-body .btn.brand { background: var(--jb-amber); color: #16120a; border-radius: 0; box-shadow: none; padding: 16px 34px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
body.t-jib .ws-h2, body.t-jib .ws-story-copy h2 { color: var(--heading); font-size: clamp(25px, 3.3vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
body.t-jib .ws-h2::after, body.t-jib .ws-story-copy h2::after { content: ''; display: block; width: 46px; height: 3px; margin: 18px auto 0; background: var(--jb-amber); }
body.t-jib .ws-story-copy h2::after, body.t-jib .ws-contact .ws-h2, body.t-jib .ws-contact .ws-h2::after { margin-left: 0; text-align: left; }

/* the welcome block: centred prose in the reference's intro position, one
   contained photograph of the yard sitting under it */
body.t-jib .ws-richtext p { max-width: 68ch; margin: 0 auto 20px; text-align: center; font-size: 17px; line-height: 1.85; }
body.t-jib .ws-richtext > .ws-container::after { content: ''; display: block; margin-top: 44px; aspect-ratio: 21 / 9; background: url("/media/samples/jib_about_yard.jpg") center / cover; }

/* four gapped frames across — the reference's picture row, no hairline over it */
body.t-jib.ws-body .ws-photogrid { padding: 0 22px 84px; }
body.t-jib .ws-photogrid-grid { max-width: 1076px; margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* six cells, two clean rows: small amber glyph over a short bold line */
body.t-jib .ws-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
body.t-jib .ws-feature { text-align: left; padding: 0; }
body.t-jib .ws-feature-icon { color: var(--jb-amber); margin-bottom: 13px; }
body.t-jib .ws-feature h3 { color: var(--heading); font-size: 17px; font-weight: 700; letter-spacing: -.012em; margin: 0 0 8px; }

/* THE ONE FULL-BLEED STRIPE — near-black, hairline dropped, four amber figures */
body.t-jib.ws-body .ws-section.ws-columns { background: var(--jb-dark); }
body.t-jib .ws-columns > .ws-container { border-top: 0; padding-top: 82px; padding-bottom: 82px; }
body.t-jib .ws-col-h { color: var(--jb-amber); font-size: clamp(44px, 6.2vw, 82px); font-weight: 700; letter-spacing: -.05em; line-height: .9; margin: 0 0 16px; }
body.t-jib .ws-columns .ws-col p { color: #9ba0a8; font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; line-height: 1.7; margin: 0; }

/* the page goes lopsided once: the convoy wide on the left, the copy beside it */
body.t-jib .ws-story-left .ws-story-grid { grid-template-columns: 1.25fr 1fr; gap: 58px; }
body.t-jib .ws-story-media img, body.t-jib .ws-gallery-item img { border-radius: 0; aspect-ratio: 3 / 2; }

/* six lifts, three across, place and load printed under the frame */
body.t-jib .ws-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
body.t-jib .ws-gallery-cap strong { color: var(--heading); font-size: 14px; font-weight: 700; }
body.t-jib .ws-gallery-cap span { font-size: 12.5px; letter-spacing: .03em; }

/* the closing line stays on the paper — only the counter band is full-bleed */
body.t-jib.ws-body .ws-section.ws-cta { background: transparent; color: var(--heading); }
body.t-jib .ws-cta-inner h2 { color: var(--heading); font-size: clamp(21px, 2.7vw, 31px); font-weight: 700; letter-spacing: -.03em; max-width: 26ch; margin: 0 auto 22px; }

/* four quotes, flat, hung off an amber rule instead of a card */
body.t-jib .ws-testimonials-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
body.t-jib .ws-quote { background: transparent; border: 0; border-top: 2px solid var(--jb-amber); border-radius: 0; box-shadow: none; padding: 18px 0 0; }
body.t-jib .ws-quote blockquote { font-size: 15px; line-height: 1.65; }
body.t-jib .ws-quote blockquote::before { content: none; }

/* who calls us — six ruled lines standing in for a logo strip */
body.t-jib .ws-list { max-width: 76ch; margin: 0 auto; padding: 0; list-style: none; }
body.t-jib .ws-list li { border-bottom: 1px solid var(--jb-line); padding: 14px 0; font-size: 15.5px; margin: 0; }

/* the last band splits: the enquiry left, the yard and the radius right */
body.t-jib .ws-contact > .ws-container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0 64px; align-items: start; }
body.t-jib .ws-contact .ws-h2 { grid-column: 1 / -1; }
body.t-jib .ws-contact .ws-sub { grid-column: 2; grid-row: 2; max-width: none; margin: 30px 0 0; text-align: left; white-space: pre-line; color: var(--heading); font-size: 14.5px; line-height: 1.95; }
body.t-jib .ws-contact .ws-form { grid-column: 1; grid-row: 2; max-width: none; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
body.t-jib .ws-contact .ws-field:has(textarea), body.t-jib .ws-contact .ws-form .btn.brand { grid-column: 1 / -1; }
body.t-jib .ws-contact .ws-form .btn.brand { justify-self: start; }
body.t-jib .ws-field input, body.t-jib .ws-field select, body.t-jib .ws-field textarea { background: var(--jb-soft); border: 1px solid var(--jb-line); border-radius: 0; color: var(--heading); }

/* every band folds to two and then to one — each count still fills its rows */
@media (max-width: 980px) {
  body.t-jib .ws-features-grid, body.t-jib .ws-gallery-grid, body.t-jib .ws-testimonials-grid, body.t-jib .ws-photogrid-grid, body.t-jib .ws-columns .ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.t-jib .ws-story-left .ws-story-grid, body.t-jib .ws-contact > .ws-container, body.t-jib .ws-contact .ws-form { grid-template-columns: 1fr; }
  body.t-jib .ws-contact .ws-sub, body.t-jib .ws-contact .ws-form { grid-column: 1; grid-row: auto; }
}
@media (max-width: 620px) {
  body.t-jib .ws-features-grid, body.t-jib .ws-gallery-grid, body.t-jib .ws-testimonials-grid, body.t-jib .ws-columns .ws-cols-4 { grid-template-columns: 1fr; }
}

/* night — the paper goes to cold graphite, the ledger hairline dims, and the
   counter stripe drops below the page ground so it is still the darkest
   surface on the site; the amber lifts a shade to hold the figures */
html[data-theme="dark"] body.t-jib.ws-body {
  --bg: #101215; --fg: #b9bdc4; --heading: #f2f4f7; --text: #a4a9b1; --muted: #7b808a;
  --jb-amber: #f0a92b; --jb-line: #2a2e34; --jb-dark: #06070a; --jb-soft: #191c21;
  --hero-a: rgba(4, 5, 7, .34); --hero-b: rgba(4, 5, 7, .70);
}
