/*
Theme Name: James Contract Supplies
Author: CSV Internal
Description: Bespoke theme for James Contract Supplies — heavy haulage, crane hire and jacking & skating across South Australia and Australia-wide. Every designed section is editable in Appearance → Customize; every page body in the block editor.
Version: 1.0.0
Text Domain: jcs
*/

/* Design system for James Contract Supplies - direction: corporate-trust (Clean, structured, dependable. Crisp grid, restrained colour, subtle depth.) */
/* Fonts: display=Plus Jakarta Sans  body=Inter (load both weights from Google Fonts) */
:root {
  --primary: #0f2942;
  --primary-600: #071422;
  --primary-700: #000000;
  --primary-100: #4b8bc8;
  --accent: #f5b800;
  --accent-600: #cc9900;

  --bg: #ffffff;
  --surface: #fafafa;
  --ink: #1d1e20;
  --muted: #787d87;
  --border: #e4e5e7;
  --n-50: #fafafa;
  --n-100: #f4f5f5;
  --n-200: #e4e5e7;
  --n-300: #ced0d4;
  --n-400: #9ea1a9;
  --n-500: #787d87;
  --n-600: #60646c;
  --n-700: #484b51;
  --n-800: #303236;
  --n-900: #1d1e20;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --fs-xs: 0.64rem;
  --fs-sm: 0.8rem;
  --fs-base: 1.0rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.562rem;
  --fs-2xl: 1.953rem;
  --fs-3xl: 2.441rem;
  --fs-4xl: 3.052rem;
  --fs-5xl: 3.815rem;
  --fs-6xl: 4.768rem;
  --leading-tight: 1.08;
  --leading-body: 1.65;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --container: 1200px;
  --section-pad: clamp(4rem, 8vw, 7.5rem);
  --radius: 10px;
  --radius-lg: calc(10px * 1.8);
  --shadow: 0 1px 3px rgba(16,24,40,.08), 0 12px 32px -16px rgba(16,24,40,.22);
  --shadow-lg: 0 1px 3px rgba(16,24,40,.08), 0 12px 32px -16px rgba(16,24,40,.22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .55s;
}


/* ===========================================================================
   BASE + SECTION STYLES  (appended after the :root design tokens)
   This is a STARTING POINT, not the finish line. The design tokens give the
   palette/type/spacing; this gives layout + the section treatments. Push the
   bespoke styling further per brief — that's where wow factor lives.
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-base);
  line-height: var(--leading-body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--leading-tight); margin: 0 0 .4em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
p  { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
section { padding-block: var(--section-pad); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85em 1.6em; border-radius: var(--radius); font-weight: 600;
  font-size: var(--fs-base); cursor: pointer; border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background .25s;
  will-change: transform;
}
.btn--sm { padding: .6em 1.1em; font-size: var(--fs-sm); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--primary-600); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { transform: translateY(-2px); background: var(--accent-600); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Reveal animation -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: var(--shadow); background: var(--bg); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.brand-mark { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); color: var(--ink); }
.site-nav__list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { font-weight: 500; position: relative; }
.site-nav__list a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width .3s var(--ease); }
.site-nav__list a:hover::after { width: 100%; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg) 55%, transparent)); }
.hero__inner { position: relative; max-width: 760px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.hero__title { font-size: clamp(var(--fs-3xl), 7vw, var(--fs-6xl)); margin-bottom: 1.2rem; }
.hero__title .word { display: inline-block; opacity: 0; animation: wordIn .7s var(--ease) forwards; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.5em) rotate(2deg); } to { opacity: 1; transform: none; } }
.hero__subtitle { font-size: var(--fs-lg); color: var(--muted); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; width: 22px; height: 36px; border: 2px solid var(--muted); border-radius: 12px; translate: -50% 0; }
.hero__scroll::before { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: var(--muted); border-radius: 2px; translate: -50% 0; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 8px); } }

/* Stats ------------------------------------------------------------------- */
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 600; color: var(--primary); }
.stat__label { color: var(--muted); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; }

/* Cards (services etc.) --------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1rem; }

/* Page body (block editor content) --------------------------------------- */
.entry-content { font-size: var(--fs-lg); }
.entry-content > * { max-width: 70ch; }
.entry-content .alignwide { max-width: min(100%, 1100px); }
.entry-content .alignfull { max-width: none; }
.entry-content h2 { margin-top: 2em; }
.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); background: var(--surface); }

/* CTA banner -------------------------------------------------------------- */
.cta { background: var(--primary); color: #fff; text-align: center; }
.cta__title { color: #fff; font-size: var(--fs-3xl); margin-bottom: 1.5rem; }

/* Forms ------------------------------------------------------------------- */
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: var(--fs-sm); }
input, textarea, select { width: 100%; padding: .8em 1em; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.is-ok { color: #16794a; } .form-status.is-err { color: #b3261e; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--n-900); color: var(--n-300); padding-top: var(--section-pad); }
.site-footer a { color: var(--n-300); } .site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: var(--fs-base); }
.footer-menu, .site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__bar { border-top: 1px solid var(--n-800); padding-block: 1.5rem; font-size: var(--fs-sm); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; color: #000; padding: .5rem 1rem; z-index: 100; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 860px) {
  .site-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .site-nav { display: block; position: fixed; inset: 64px 0 auto 0; background: var(--bg); padding: 1.5rem; box-shadow: var(--shadow-lg); }
  body.nav-open .site-nav__list { flex-direction: column; gap: 1rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  h1 { font-size: var(--fs-4xl); }
  .site-footer__grid { grid-template-columns: 1fr; }
}


/* ===========================================================================
   BESPOKE SECTION STYLES — James Contract Supplies
   =========================================================================== */

/* Shared helpers ---------------------------------------------------------- */
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--primary); color: #fff; }
.h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl)); }
.h3 { font-size: var(--fs-2xl); font-family: var(--font-display); margin: 0 0 .5em; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: var(--fs-sm); font-weight: 700; color: var(--accent-600); margin: 0 0 .6rem; }
.eyebrow--light { color: var(--accent); }
.h2--light { color: #fff; }
.muted { color: var(--muted); font-size: var(--fs-sm); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .h2 { margin: 0; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--primary); position: relative; }
.link-arrow::after { content: '\2192'; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

.btn--lg { padding: 1em 2em; font-size: var(--fs-base); }
.btn--block { width: 100%; justify-content: center; }
.btn--accent { color: var(--primary); font-weight: 700; }
.btn--ghost-light { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--primary); }
.section--dark .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.cta .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.06); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.cta .btn--ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* Check mark motif (fleet / cranes) --------------------------------------- */
.check { display: inline-flex; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); position: relative; }
.check::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--primary); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.check--lg { width: 40px; height: 40px; }
.check--lg::after { left: 13px; top: 8px; width: 9px; height: 17px; border-width: 0 3.5px 3.5px 0; }

/* Top utility bar --------------------------------------------------------- */
.topbar { background: var(--primary-600); color: rgba(255,255,255,.82); font-size: var(--fs-sm); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.topbar__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.82); }
.topbar__item:hover { color: #fff; }
.topbar__social { display: flex; gap: 1.1rem; }
.topbar__social a { color: rgba(255,255,255,.7); font-weight: 500; }
.topbar__social a:hover { color: var(--accent); }
.ico { width: 14px; height: 14px; display: inline-block; background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ico-pin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 9.5A2.5 2.5 0 1112 6a2.5 2.5 0 010 5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 5 5 5 9c0 5 7 13 7 13s7-8 7-13c0-4-3-7-7-7zm0 9.5A2.5 2.5 0 1112 6a2.5 2.5 0 010 5.5z'/%3E%3C/svg%3E"); }
.ico-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11 11 0 003.5.56 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11 11 0 00.56 3.5 1 1 0 01-.24 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11 11 0 003.5.56 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11 11 0 00.56 3.5 1 1 0 01-.24 1z'/%3E%3C/svg%3E"); }

/* Brand mark (text fallback) --------------------------------------------- */
.brand-mark { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); color: var(--primary); letter-spacing: -.02em; }
.brand-mark__sub { font-size: var(--fs-xs); letter-spacing: .34em; text-transform: uppercase; color: var(--accent-600); font-weight: 700; margin-top: 3px; }
.custom-logo { max-height: 62px; width: auto; }

/* Header phone stacked --------------------------------------------------- */
.header-phone { display: inline-flex; flex-direction: column; text-align: right; line-height: 1.15; }
.header-phone__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.header-phone__num { font-size: var(--fs-lg); font-weight: 700; color: var(--primary); font-family: var(--font-display); }

/* Hero refinements -------------------------------------------------------- */
.hero { background: var(--primary); }
.hero__slides { position: absolute; inset: 0; }
.hero__bg { background-color: var(--primary); }
.hero__bg::after { display: none; }
/* Slideshow: stack every slide, cross-fade the active one in. */
.hero--slideshow .hero__bg { opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero--slideshow .hero__bg.is-active { opacity: 1; }
/* Slow Ken-Burns drift on the visible slide (disabled for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  .hero--slideshow .hero__bg.is-active { animation: heroKen 9s ease-out both; }
}
@keyframes heroKen { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7,20,34,.92) 0%, rgba(7,20,34,.72) 46%, rgba(7,20,34,.28) 100%); }
.hero__inner { color: #fff; padding-block: clamp(5rem, 12vh, 9rem); }
.hero__eyebrow { color: var(--accent); }
.hero__title { color: #fff; }
.hero__subtitle { color: rgba(255,255,255,.85); }
.hero__scroll { border-color: rgba(255,255,255,.5); }
.hero__scroll::before { background: rgba(255,255,255,.8); }

/* Stats ------------------------------------------------------------------- */
.stats { background: var(--primary-600); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.stats--inline { background: transparent; }
.stats--inline .stat__num { color: var(--primary); }
.stats--inline .stat__label { color: var(--muted); }
.stats__grid { gap: 1.5rem; }
.stat { position: relative; padding: .5rem 1rem; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,.15); }
.stats .stat__num { color: #fff; font-weight: 800; }
.stats .stat__num::after { content: ''; display: block; width: 34px; height: 3px; background: var(--accent); margin: .5rem auto 0; }
.stats .stat__label { color: rgba(255,255,255,.7); }

/* Intro ------------------------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__title { margin-bottom: 1.2rem; }
.intro__body { color: var(--n-700); font-size: var(--fs-lg); margin-bottom: 1.5rem; }
.intro__media { position: relative; }
.intro__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--a { aspect-ratio: 4/3; }
.intro__img--b { position: absolute; right: -8%; bottom: -14%; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg); }
.intro__img--placeholder { display: grid; place-items: center; aspect-ratio: 4/3; background: var(--n-100); color: var(--muted); text-align: center; padding: 2rem; font-size: var(--fs-sm); }
.intro__badge { position: absolute; left: -6%; top: -8%; background: var(--accent); color: var(--primary); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); text-align: center; }
.intro__badge-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); line-height: 1; }
.intro__badge-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* Services ---------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem 2rem 2rem; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color .3s; }
.svc-card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { width: 100%; }
.svc-card__index { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); color: var(--n-200); margin-bottom: .75rem; transition: color .3s; }
.svc-card:hover .svc-card__index { color: var(--accent); }
.svc-card__title { font-size: var(--fs-xl); color: var(--primary); margin-bottom: .6rem; }
.svc-card__desc { color: var(--n-600); flex: 1; margin-bottom: 1.2rem; }
.svc-card__cta { font-weight: 700; color: var(--primary); }
.svc-card__cta span { transition: transform .3s var(--ease); display: inline-block; }
.svc-card:hover .svc-card__cta span { transform: translateX(4px); }

/* Why choose us ----------------------------------------------------------- */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem 2.5rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item__mark { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 18%, transparent); position: relative; }
.why-item__mark::after { content: ''; position: absolute; left: 14px; top: 9px; width: 9px; height: 16px; border: solid var(--accent-600); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.why-item__title { font-size: var(--fs-lg); color: var(--primary); margin-bottom: .3rem; }
.why-item__desc { color: var(--n-600); font-size: var(--fs-base); margin: 0; }

/* Gallery preview (home, dark) ------------------------------------------- */
.gallery-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gp-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gp-item:hover img { transform: scale(1.06); }
.gp-item--0 { grid-row: span 2; }
.gp-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem .8rem; color: #fff; font-size: var(--fs-sm); font-weight: 600; background: linear-gradient(transparent, rgba(7,20,34,.85)); opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.gp-item:hover figcaption { opacity: 1; transform: none; }

/* Testimonials ------------------------------------------------------------ */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.tcard { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.tcard__stars { color: var(--accent); letter-spacing: .15em; margin-bottom: 1rem; }
.tcard__quote { font-size: var(--fs-lg); color: var(--n-800); margin: 0 0 1.25rem; line-height: 1.55; }
.tcard__quote p { margin: 0; }
.tcard__cite { font-weight: 700; color: var(--primary); }
.tcard__cite::before { content: '\2014\00a0'; color: var(--accent-600); }

/* Page hero (interior) ---------------------------------------------------- */
.page-hero { position: relative; background: var(--primary); color: #fff; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(120% 120% at 85% 0%, var(--primary-100) 0%, transparent 42%), var(--primary); opacity: .5; }
.page-hero .container { position: relative; }
.page-hero__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: var(--fs-sm); font-weight: 700; color: var(--accent); margin: 0 0 .7rem; }
.page-hero__title { color: #fff; font-size: clamp(var(--fs-3xl), 6vw, var(--fs-5xl)); margin: 0; }
.page-hero__sub { color: rgba(255,255,255,.82); font-size: var(--fs-lg); max-width: 60ch; margin-top: 1rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.page-hero--service::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--accent) 0 40%, transparent 40%); }

/* Fleet / cranes ---------------------------------------------------------- */
.fleet-group { margin-bottom: 2.5rem; }
.fleet-group__title { font-size: var(--fs-xl); color: var(--primary); border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: .35rem; margin-bottom: 1.25rem; }
.fleet-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .75rem 2rem; }
.fleet-list__item { display: flex; align-items: center; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid var(--border); font-weight: 500; color: var(--n-800); }
.crane-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.crane-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.crane-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.crane-card__img { aspect-ratio: 4/3; background: var(--n-100); overflow: hidden; }
.crane-card__img img { width: 100%; height: 100%; object-fit: cover; }
.crane-card__img--ph { display: grid; place-items: center; }
.crane-card__title { padding: 1rem 1.25rem; font-size: var(--fs-lg); color: var(--primary); font-family: var(--font-display); font-weight: 700; }

/* Feature band (jacking) -------------------------------------------------- */
.feature-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-band__item { padding-top: 1.5rem; border-top: 3px solid var(--accent); }
.feature-band__num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); color: var(--accent-600); }
.feature-band__item h3 { color: var(--primary); margin: .5rem 0; }
.feature-band__item p { color: var(--n-600); margin: 0; }

/* Gallery grid + lightbox ------------------------------------------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery__item { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--n-100); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; color: #fff; font-size: var(--fs-sm); font-weight: 600; background: linear-gradient(transparent, rgba(7,20,34,.8)); opacity: 0; transition: opacity .3s; }
.gallery__item:hover .gallery__caption { opacity: 1; }
.gallery__empty { text-align: center; color: var(--muted); padding: 3rem 0; }
body.lb-lock { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(7,20,34,.94); padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox__stage { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox__img { max-width: 90vw; max-height: 80vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { color: rgba(255,255,255,.85); margin-top: 1rem; font-weight: 600; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: var(--primary); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 1.5rem; top: 50%; translate: 0 -50%; }

/* Contact ----------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact__form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.contact__form-intro { color: var(--muted); margin-bottom: 1.5rem; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field__label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: .4rem; color: var(--n-800); }
.contact-form__note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1rem; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.contact-card__title { color: var(--primary); font-size: var(--fs-lg); margin-bottom: .8rem; }
.contact-card p { margin: 0 0 .5rem; display: flex; gap: .5rem; }
.contact-card__k { display: inline-block; min-width: 54px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.contact-card address { font-style: normal; color: var(--n-700); margin: .5rem 0; }
.contact-card__hours { display: block !important; color: var(--n-600); font-size: var(--fs-sm); margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed var(--border); }

/* Footer additions -------------------------------------------------------- */
.site-footer__col--brand { max-width: 34ch; }
.site-footer__logo { max-height: 64px; width: auto; margin-bottom: .5rem; }
.site-footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.site-footer__social a { font-weight: 600; }
.site-footer address { font-style: normal; margin: .5rem 0; line-height: 1.6; }
.site-footer__hours { font-size: var(--fs-sm); color: var(--n-400); margin-top: .5rem; }
.site-footer__certs { border-top: 1px solid var(--n-800); padding-block: 1.75rem; }
.site-footer__certs .container { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.site-footer__certs-label { text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-xs); font-weight: 700; color: var(--n-400); }
.cert-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cert-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: var(--radius); padding: .6rem .9rem; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.cert-badge:hover { transform: translateY(-3px); }
.cert-badge img { max-height: 48px; width: auto; display: block; }
.cert-badge--text { color: var(--n-300); font-weight: 600; font-size: var(--fs-sm); padding: .4rem .8rem; border: 1px solid var(--n-800); border-radius: 999px; }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__legal { display: flex; gap: 1.25rem; }

/* Editor content niceties ------------------------------------------------- */
.entry-content h2 { color: var(--primary); }
.entry-content h3 { color: var(--primary); }
.entry-content a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .intro__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__badge { left: auto; right: 1rem; top: 1rem; }
  .gallery-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .gp-item--0 { grid-row: span 1; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .contact-form .field-row { grid-template-columns: 1fr; }
  .gallery-preview__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .intro__img--b { display: none; }
  .site-footer__bar-inner { justify-content: flex-start; }
}
