/* Elidir Fencing & Walling
   Palette: Ffridd green, Llechen slate, Calchfaen limestone, Cen lichen, Eithin gorse. */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/literata-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/literata-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+1EF2-1EFF; }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+1EF2-1EFF; }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+1EF2-1EFF; }

:root {
  --ffridd: #1d4428;      /* brand green */
  --ffridd-deep: #143220;
  --mwsogl: #3e6a44;      /* moss, links */
  --llechen: #262b30;     /* slate */
  --calchfaen: #ecebe5;   /* limestone page */
  --carreg: #dcdbd2;      /* weathered stone, rules */
  --cen: #c3cb8b;         /* lichen accent on dark */
  --eithin: #e2a92b;      /* gorse, focus only */
  --van-ink: #1b1d1f;     /* logo black, as on the vehicles */
  --van-green: #14ba68;   /* vehicle lettering green */
  --ink: #22272b;
  --muted: #565d58;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--calchfaen); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mwsogl); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ffridd); }
:focus-visible { outline: 3px solid var(--eithin); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; max-width: 68ch; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ffridd); margin: 0; font-variation-settings: "opsz" 48; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.012em; max-width: 22ch; margin-bottom: .55em; text-wrap: balance; }
h3 { font-size: 1.32rem; line-height: 1.25; margin-bottom: .5em; font-variation-settings: "opsz" 24; }
h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 1.4em 0 .5em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 4px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--ffridd); color: #fff; }
.btn-primary:hover { background: var(--ffridd-deep); color: #fff; }
.btn-quiet { border-color: var(--ffridd); color: var(--ffridd); }
.btn-quiet:hover { background: var(--ffridd); color: #fff; }
.btn-light { background: var(--calchfaen); color: var(--ffridd); }
.btn-light:hover { background: #fff; color: var(--ffridd); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--calchfaen) 94%, transparent); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--van-ink); margin-right: auto; }
.brand-mark svg { display: block; width: 62px; height: auto; }
.brand-mark .peak-a, .brand-mark .peak-b { stroke: currentColor; }
.brand-mark .peak-c { fill: currentColor; stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; line-height: 1.08; letter-spacing: -.005em; font-variation-settings: "opsz" 24; }
.brand-sub { font-size: .78rem; font-weight: 600; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover { color: var(--ffridd); text-decoration: underline; }
.site-nav .nav-cta { background: var(--ffridd); color: #fff; padding: 9px 16px; border-radius: 4px; }
.site-nav .nav-cta:hover { background: var(--ffridd-deep); color: #fff; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.lang-switch { font-weight: 700; font-size: .85rem; color: var(--ffridd); text-decoration: none; padding: 7px 12px; border: 1.5px solid currentColor; border-radius: 4px; }
.lang-switch:hover { background: var(--ffridd); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle .bar { display: block; height: 2px; background: var(--ffridd); margin: 6px 0; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* Dry-stone wall: laid along a string line as you scroll */
.wall { height: 22px; overflow: hidden; line-height: 0; }
.wall svg { display: block; }
.wall-line { stroke: #b9b8ad; stroke-width: .8; stroke-dasharray: 0; }
.wall-heart { fill: #3f433e; }
.wall .stone { opacity: 0; stroke: #4e524c; stroke-width: .45; stroke-opacity: .55; }
.wall .stone.set { opacity: 1; }
.motion .wall .stone { transition: opacity .25s ease-out, translate .3s cubic-bezier(.2,.8,.3,1); translate: 0 -5px; }
.motion .wall .stone.set { translate: 0 0; }

/* Hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 650; font-variation-settings: "opsz" 72; text-wrap: balance; margin-bottom: .45em; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-title .line-mask { padding-bottom: .14em; margin-bottom: -.14em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.peaks { position: relative; margin: 0; aspect-ratio: 1.22; padding-top: 16px; }
.peaks-photo { position: absolute; inset: 16px 0 0 0;
  clip-path: polygon(0 100%, 36% 10%, 50% 36%, 66% 0, 100% 100%); background: var(--carreg); overflow: hidden; }
.peaks-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 100%; }
.peaks-band { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(-40px -40px 0 -40px); }
.peaks-band path { fill: none; stroke: var(--ffridd); stroke-width: 12; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Services */
.service { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--carreg); }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.service.flip img { order: 2; }
.service-text p { color: var(--muted); }
.grants { margin-top: clamp(32px, 4vw, 48px); padding: 28px 32px; background: var(--ffridd); color: #e9eee6; border-radius: 4px; display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grants h3 { color: #fff; }
.grants p { margin: 0; }
.grants .btn-primary { background: var(--calchfaen); color: var(--ffridd); }
.grants .btn-primary:hover { background: #fff; }

/* Elidir Environmental */
.environmental { background: #e3e6da; }
.env-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.env-logo svg { display: block; width: 200px; height: auto; margin-bottom: 28px; }
.env-intro p { color: var(--muted); font-size: 1.08rem; }
.env-intro .btn { margin-top: 8px; }
.env-list { list-style: none; margin: 0; padding: 0; }
.env-list li { position: relative; padding: 22px 0 22px 40px; border-top: 1px solid #c9cdbd; }
.env-list li:last-child { border-bottom: 1px solid #c9cdbd; }
.env-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 18px; height: 24px; background: linear-gradient(35deg, #2f8a34, #86c440);
  clip-path: path("M3 24 Q-1 10 14 0 Q19 13 3 24 Z"); }
.env-list h3 { margin-bottom: .3em; }
.env-list p { margin: 0; color: var(--muted); }

/* Grid photo band: a mosaic, tall shot left, wide shot top right */
.grid-photos { display: grid; grid-template-columns: .8fr 1fr 1fr; grid-auto-rows: 230px; gap: 12px; margin: 0 0 clamp(40px, 6vw, 64px); }
.grid-photos figure { position: relative; margin: 0; overflow: hidden; border-radius: 3px; }
.grid-photos figure:nth-child(1) { grid-row: span 2; }
.grid-photos figure:nth-child(2), .grid-photos figure:nth-child(6) { grid-column: span 2; }
.grid-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-size: .85rem; color: #fff;
  background: linear-gradient(transparent, rgba(12, 30, 18, .82)); }

/* Problem solving for the grid */
.solve { margin: 0 0 clamp(56px, 7vw, 88px); padding: clamp(28px, 4vw, 44px); background: var(--ffridd-deep); border-radius: 4px; }
.solve-title { font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.15; max-width: 30ch; text-wrap: balance; margin-bottom: .45em; }
.solve-intro { color: #dfe7dc; font-size: 1.06rem; max-width: 62ch; }
.solve-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; }
.solve-list li { padding-top: 14px; border-top: 2px solid var(--cen); }
.solve-list h4 { margin: 0 0 .35em; color: #fff; font-size: 1rem; }
.solve-list p { margin: 0; font-size: .95rem; color: #cfdacb; }
.steps { margin: 36px 0 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.steps-title { margin: 0 0 14px; color: var(--cen); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--cen); color: var(--cen); font: 700 .95rem/27px var(--serif); text-align: center; }
.steps strong { display: block; color: #fff; }
.steps span { font-size: .95rem; color: #cfdacb; }
.schedule-title { margin-bottom: 24px; font-size: 1.35rem; }

/* Grid & utility */
.grid-section { background: var(--ffridd); color: #dfe7dc; }
.grid-section h2, .grid-section h3 { color: #fff; }
.grid-section .section-head p { color: #cfdacb; }
.sites { margin-bottom: clamp(40px, 5vw, 64px); }
.sites-label { font-size: .9rem; color: var(--cen); font-weight: 600; margin-bottom: 14px; }
.sites-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.sites-line::before { content: ""; position: absolute; left: 7px; right: calc(25% - 7px); top: 7px; height: 2px; background: var(--cen); transform-origin: 0 50%; transform: scaleX(var(--line, 1)); }
.sites-line li { position: relative; padding-top: 30px; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.45rem); color: #fff; }
.sites-line li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; background: var(--cen); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.schedule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.schedule-col > h3 { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25); }
.schedule h4 { color: var(--cen); }
.schedule ul { list-style: none; margin: 0; padding: 0; }
.schedule li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: .96rem; line-height: 1.5; }
.schedule li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--cen); }
.credentials { margin-top: 32px; padding: 22px 24px; background: var(--ffridd-deep); border-radius: 4px; }
.credentials h3 { font-size: 1.1rem; }
.grid-cta { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.25); display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid-cta p { margin: 0; color: #e5ece2; }
.grid-cta strong { color: #fff; }

/* Vision & social value */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.vision-copy img { margin-top: 28px; width: 100%; border-radius: 3px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.values h3 { margin-bottom: 18px; }
.values dl { margin: 0; }
.values dl > div { padding: 16px 0 16px 30px; border-top: 1px solid var(--carreg); position: relative; }
.values dl > div::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 12px; background: var(--mwsogl); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.values dt { font-weight: 700; color: var(--ffridd); }
.values dd { margin: 4px 0 0; color: var(--muted); font-size: .98rem; }

/* Partners */
.partners { background: var(--carreg); }
.partners h2 { max-width: 26ch; }
.partner-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c5c4b9; }
.partner-list li { padding: 20px 20px 20px 0; border-bottom: 1px solid #c5c4b9; font-family: var(--serif); font-size: 1.12rem; color: var(--ffridd); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.about-photos { position: relative; padding-bottom: 14%; }
.about-photos .about-frost { position: absolute; width: 42%; left: -8%; bottom: 0; border: 6px solid var(--calchfaen, #ecebe5); box-shadow: 0 10px 28px rgba(20,30,25,.18); }
@media (max-width: 860px) { .about-photos .about-frost { left: auto; right: 0; width: 40%; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list details { border-top: 1px solid var(--carreg); }
.faq-list details:last-child { border-bottom: 1px solid var(--carreg); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ffridd); font-variation-settings: "opsz" 24; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 12px; background: var(--mwsogl); clip-path: polygon(50% 100%, 100% 0, 0 0); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { background: var(--llechen); color: #d9dcd8; }
.contact h2, .contact h3 { color: #fff; }
.contact .section-head p { color: #c4c9c4; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-block { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; }
.contact-block a { display: block; color: #fff; font-weight: 700; text-decoration: none; margin-top: 6px; overflow-wrap: anywhere; }
.contact-block a:hover { color: var(--cen); text-decoration: underline; }
.contact-block small { font-weight: 400; color: #b6bcb7; }
.contact-block.feature { background: var(--calchfaen); color: var(--ink); border-color: var(--calchfaen); }
.contact-block.feature h3 { color: var(--ffridd); }
.contact-block.feature a { color: var(--ffridd); }
.contact-block .gap { margin: 18px 0 0; }

/* Footer */
.site-footer { background: var(--llechen); color: #b6bcb7; font-size: .92rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; padding-top: 32px; padding-bottom: 32px; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; color: var(--cen); }
.footer-brand p { margin: 0; }
.footer-brand strong { color: #fff; }
.footer-brand .brand-mark svg { width: 46px; }
.footer-links { display: flex; gap: 20px; margin: 0; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.copyright { grid-column: 1 / -1; margin: 0; font-size: .85rem; }

/* Motion: initial states, only when motion is allowed and JS is running */
.motion .peaks-photo { clip-path: polygon(0 100%, 36% 100%, 50% 100%, 66% 100%, 100% 100%); }
.motion .peaks-band { clip-path: inset(-40px 100% 0 -40px); }
.motion .hero-title, .motion .hero-lead, .motion .hero-actions { opacity: 0; }
.motion .sites-line { --line: 0; }
.motion .sites-line li { opacity: 0; }

/* Responsive */
/* Plant and fleet */
.fleet-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.fleet-head .section-head { margin-bottom: 0; }
.fleet-list { list-style: none; margin: 0 0 22px; padding: 0; }
.fleet-list li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--carreg); }
.fleet-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 10px; background: var(--mwsogl); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 12px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 3px; }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(12, 30, 18, .82)); }

/* Team and specialist partners */
.team { background: var(--carreg); }
.team-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.team-cards li { background: var(--calchfaen); border-radius: 4px; overflow: hidden; padding-bottom: 22px; }
.team-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 18px; }
.team-cards h3, .team-cards p { margin-left: 22px; margin-right: 22px; }
.team-cards h3 { font-size: 1.3rem; margin-bottom: .35em; }
.team-cards p { color: var(--muted); margin-top: 0; margin-bottom: 0; }
.team-cards .partner-name { font-weight: 700; color: var(--ffridd); margin-bottom: .4em; }
.subcontract { margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3.5vw, 40px); background: var(--calchfaen); border-left: 6px solid var(--ffridd); border-radius: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(28px, 5vw, 56px); }
.subcontract h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .4em; }
.subcontract p { color: var(--muted); margin: 0; }
.subcontract ul { list-style: none; margin: 0 0 22px; padding: 0; }
.subcontract li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--carreg); }
.subcontract li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 10px; background: var(--mwsogl); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Machine hire page */
.hire-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.hire-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hire-hero h1, .hire-thanks h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; margin-bottom: .4em; }
.hire-hero img { width: 100%; border-radius: 3px; aspect-ratio: 970 / 538; object-fit: cover; }
.hire-lead { font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.hire-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 22px 0 6px; }
.hire-price .offer { flex-basis: 100%; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mwsogl); }
.hire-price strong { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--ffridd); }
.hire-price span { color: var(--muted); }
.hire-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hire-details { background: var(--carreg); padding: clamp(40px, 6vw, 72px) 0; }
.hire-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.hire-cols h2 { font-size: 1.35rem; margin-bottom: .6em; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid rgba(29, 68, 40, .18); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 10px; background: var(--mwsogl); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hire-call a { display: block; font-weight: 700; font-size: 1.15rem; padding: 6px 0; }
.hire-book-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.hire-book h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4em; }
.note { color: var(--muted); }
.note.small { font-size: .88rem; }
.legend { list-style: none; display: flex; gap: 18px; margin: 0 0 14px; padding: 0; font-size: .9rem; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 7px; vertical-align: -2px; }
.k-free { background: #fff; border: 2px solid var(--mwsogl); }
.k-booked { background: var(--carreg); border: 2px solid #b9b8ad; }
.weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.weeks .wk { display: flex; flex-direction: column; width: 100%; min-height: 64px; padding: 9px 10px; border-radius: 4px; text-align: left; font: inherit; }
.weeks .d { font-weight: 700; font-size: .98rem; }
.weeks .s { font-size: .8rem; }
.weeks button.wk { background: #fff; border: 2px solid var(--mwsogl); color: var(--ink); cursor: pointer; }
.weeks button.wk .s { color: var(--mwsogl); }
.weeks button.wk:hover { background: #eef3ea; }
.weeks button.wk.picked { background: var(--ffridd); border-color: var(--ffridd); color: #fff; }
.weeks button.wk.picked .s { color: var(--cen); }
.weeks .booked .wk { background: var(--carreg); border: 2px solid #b9b8ad; color: var(--muted); }
.hire-form { background: #fff; border-radius: 4px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 1px 0 var(--carreg), 0 12px 32px rgba(20, 40, 25, .07); }
.hire-form label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 14px; }
.hire-form input:not([type=radio]):not([type=checkbox]), .hire-form select, .hire-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid #b9b8ad; border-radius: 4px; }
.hire-form input:focus, .hire-form select:focus, .hire-form textarea:focus { border-color: var(--ffridd); outline: 3px solid var(--eithin); outline-offset: 1px; }
.hire-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hire-form fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.hire-form legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.hire-form .choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 8px; }
.hire-form .choice input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ffridd); flex: none; }
.hire-form .check { margin: 6px 0 18px; }
.hire-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.hp { position: absolute; left: -9999px; }
.hire-crew { padding-top: 0; }
.hire-thanks { min-height: 50vh; }
.site-nav a[aria-current="page"] { color: var(--ffridd); text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 860px) {
  .fleet-head, .subcontract, .hire-hero-grid, .hire-book-grid { grid-template-columns: 1fr; }
  .team-cards, .hire-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 8px; }
  .hire-hero-grid img { order: -1; }
}
@media (max-width: 600px) {
  .gallery figcaption { font-size: .75rem; padding: 22px 8px 6px; }
  .weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hire-form .row2 { grid-template-columns: 1fr; }
}

@media (max-width: 1240px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .88rem; }
}
@media (max-width: 900px) {
  .schedule { grid-template-columns: 1fr 1fr; }
  .solve-list { grid-template-columns: 1fr 1fr; }
  .grid-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .grid-photos figure:nth-child(1), .grid-photos figure:nth-child(2), .grid-photos figure:nth-child(6) { grid-row: auto; grid-column: auto; }
  .steps ol { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--calchfaen); border-bottom: 1px solid var(--carreg); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--carreg); font-size: 1rem; }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .peaks { order: -1; aspect-ratio: 1.6; }
  .service, .vision-grid, .about-grid, .faq-grid, .env-grid { grid-template-columns: 1fr; }
  .service.flip img { order: 0; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .brand-mark svg { width: 52px; }
  .schedule, .partner-list, .solve-list { grid-template-columns: 1fr; }
  .grid-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .grid-photos figcaption { font-size: .75rem; padding: 22px 8px 6px; }
  .sites-line { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .sites-line::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .grants { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Brand kit page */
.brand-kit { list-style: none; padding: 0; margin: 16px 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.brand-kit li { background: #fff; border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.brand-kit li.wide img { width: 100%; height: auto; padding: 12px 0; }
.brand-kit li.dark { background: var(--ffridd); }
.brand-kit li.dark a { color: #fff; }
.brand-kit a { font-weight: 700; }
