/* Haste Contracting website. Dark ground, the logo's orange, slanted edges and the three-slash mark from the logo.
   Built by hand for pages/haste-contracting; see the README. Fonts: Saira (display) and Barlow (text) from Google Fonts. */
:root {
  --bg: #0e0f11; --bg-2: #141518; --panel: #1a1b1f; --panel-2: #222327;
  --line: #2b2d33; --line-2: #3b3e46;
  --text: #f4f1eb; --muted: #aaa69e; --dim: #8f8b84;
  --orange: #de633c; --orange-hot: #ff7d4a; --orange-deep: #b94b25; --orange-ink: #17100c;
  --sand: #e9d3b3;
  --display: "Saira", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px; --gutter: clamp(16px, 4vw, 40px); --measure: 62ch;
  --slant: 4.5vw;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root { color-scheme: dark; } }   /* the site is dark by design, whatever the phone prefers */
html { background: var(--bg); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-hot); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(2.3rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h2 .alt, h1 .alt { color: var(--orange); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: var(--measure); }
.lead--short { display: none; }
.measure { max-width: var(--measure); }
.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--orange-ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* the three slashes from the logo, used as the eyebrow mark */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 0.8rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-hot); }
.eyebrow::before { content: ""; width: 38px; height: 15px; flex: none; background: repeating-linear-gradient(112deg, var(--orange) 0 7px, transparent 7px 13px); }

/* buttons are parallelograms, like the bar under HASTE */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.9em 1.7em; background: var(--orange); color: var(--orange-ink); font: italic 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background 0.2s, transform 0.2s; max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.btn--plain { text-transform: none; font: 700 1rem/1.2 var(--body); letter-spacing: 0; }
.btn:hover { background: var(--orange-hot); color: var(--orange-ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); clip-path: none; border: 2px solid var(--line-2); padding: calc(0.9em - 2px) 1.5em; }
.btn--ghost:hover { background: transparent; border-color: var(--orange-hot); color: #fff; }
.btn--light { background: var(--text); }
.btn--light:hover { background: #fff; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(14, 15, 17, 0.96); border-bottom: 1px solid var(--line); }
.top .container { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; align-self: flex-start; margin-top: 10px; margin-bottom: -38px; filter: drop-shadow(0 8px 22px rgba(222, 99, 60, 0.35)); transition: transform 0.25s; position: relative; z-index: 2; }
.brand img { height: 112px; width: auto; }
.brand:hover { transform: scale(1.03); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 11px; color: var(--text); font: 600 0.95rem/1 var(--body); letter-spacing: 0.02em; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-color: var(--orange); }
.nav .btn { margin-left: 12px; font-size: 0.95rem; padding: 0.8em 1.3em; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line-2); color: var(--text); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: 0 auto; content: ""; transition: transform 0.2s; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1200px) {
  .top .container { min-height: 70px; }
  .brand { margin: 0; align-self: center; filter: none; }
  .brand img { height: 52px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; gap: 2px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav .btn { margin: 14px 0 0; clip-path: none; border-radius: var(--radius); }
}

/* heroes */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--bg-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 17, 0.93) 0%, rgba(14, 15, 17, 0.62) 48%, rgba(14, 15, 17, 0.28) 100%), linear-gradient(0deg, rgba(14, 15, 17, 0.9) 0%, rgba(14, 15, 17, 0) 45%); }
.hero .container { position: relative; }
.hero--home .container { padding: clamp(70px, 9vw, 120px) 0 calc(clamp(70px, 9vw, 120px) + var(--slant)); min-height: 640px; display: flex; flex-direction: column; justify-content: center; }
.hero__logo { width: min(640px, 82vw); height: auto; margin: 0 0 30px -2%; filter: drop-shadow(0 10px 30px rgba(222, 99, 60, 0.42)); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.hero .lead { color: #e8e4dc; margin: 22px 0 30px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.hero--page .container { padding: clamp(60px, 8vw, 110px) 0 calc(clamp(60px, 8vw, 110px) + var(--slant)); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero--page h1 { max-width: 16ch; }
.hero--page .lead { margin: 18px 0 0; }
.hero-strip { height: 14px; background: var(--orange); margin-top: calc(-1 * var(--slant)); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-top: var(--slant); box-sizing: content-box; }

/* orange band (About on the home page) */
.band { position: relative; background: var(--orange); color: var(--orange-ink); margin-top: calc(-1 * var(--slant) - 1px); padding: calc(var(--slant) + 56px) 0 calc(var(--slant) + 56px); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.band + .section { margin-top: calc(-1 * var(--slant)); padding-top: calc(var(--slant) + 70px); }
.band .eyebrow { color: var(--orange-ink); }
.band .eyebrow::before { background: repeating-linear-gradient(112deg, var(--orange-ink) 0 7px, transparent 7px 13px); }
.band h2 .alt { color: #fff; }
.band a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.band .btn { background: var(--orange-ink); color: #fff; }
.band .btn:hover { background: #000; }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 60px; align-items: start; }
.band-grid p { font-size: 1.08rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts--2 { grid-template-columns: repeat(2, 1fr); }
.fact { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 16px 18px; border-radius: var(--radius); }
.fact b { display: block; font: italic 800 1.25rem/1.05 var(--display); text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.fact span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 800px) { .band-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, 1fr); } }

/* sections */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section--tight { padding: clamp(40px, 6vw, 70px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head p { margin: 10px 0 0; color: var(--muted); max-width: 58ch; }
.section__head .btn { flex: none; }

/* equipment tiles: big photos, titles bottom-left */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.tile { position: relative; overflow: hidden; background: var(--panel); border-radius: var(--radius); color: #fff; display: block; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: 1 / -1; }
.tile--wide .tile__cap h3 { font-size: 1.6rem; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(0deg, rgba(14, 15, 17, 0.92), rgba(14, 15, 17, 0)); }
.tile__cap h3 { font-size: 1.35rem; }
.tile--big .tile__cap h3 { font-size: 2rem; }
.tile__cap span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.tile__cap h3::before { content: ""; display: block; width: 34px; height: 6px; margin-bottom: 10px; background: var(--orange); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .tile--big { grid-row: span 1; } .tiles .tile:last-child { grid-column: span 2; } }

/* project cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); position: relative; transition: transform 0.25s, border-color 0.25s; cursor: pointer; text-align: left; padding: 0; font: inherit; scroll-margin-top: 110px; }
.card:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--text); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.card__cat { font: 700 0.72rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-hot); }
.card__title { font-size: 1.12rem; }
.card__meta { color: var(--muted); font-size: 0.92rem; }
.card--featured::after { content: "Featured"; position: absolute; top: 10px; right: 10px; background: var(--orange); color: var(--orange-ink); font: italic 700 0.72rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 9px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.cards--featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards--featured { grid-template-columns: repeat(2, 1fr); } }


/* what we do, on the home page: photo tiles with the service name */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
.service-tile { position: relative; min-height: 250px; border-radius: var(--radius); overflow: hidden; background: var(--panel); color: #fff; padding: 18px; display: flex; align-items: flex-end; isolation: isolate; }
.service-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service-tile:hover img { transform: scale(1.05); }
.service-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 15, 17, 0.95) 20%, rgba(14, 15, 17, 0.25) 70%); transition: opacity 0.3s; }
.service-tile:hover::before { opacity: 0.85; }
.service-tile h3 { font-size: 1.2rem; }
.service-tile p { margin: 6px 0 0; font-size: 0.9rem; color: var(--muted); }
.service-tile b { display: block; margin-top: 10px; color: var(--orange-hot); font: 700 0.72rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
/* the main-focus job: a wide banner tile with the orange glow, above the other six */
.service-tile--lead { grid-column: 1 / -1; min-height: 320px; padding: 26px; border: 2px solid var(--orange); box-shadow: 0 0 0 4px rgba(222, 99, 60, 0.16), 0 14px 46px rgba(222, 99, 60, 0.28); }
.service-tile--lead::before { background: linear-gradient(90deg, rgba(14, 15, 17, 0.94) 0%, rgba(14, 15, 17, 0.7) 45%, rgba(14, 15, 17, 0.15) 100%), linear-gradient(0deg, rgba(14, 15, 17, 0.75) 0%, rgba(14, 15, 17, 0) 55%); }
.service-tile--lead > div { max-width: 56ch; }
.service-tile--lead h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
.service-tile--lead p { font-size: 1.08rem; color: var(--text); max-width: 52ch; }
.service-tile--lead b { font-size: 0.8rem; margin-top: 14px; }
.service-tile .tag { position: absolute; top: 16px; left: 16px; background: var(--orange); color: var(--orange-ink); font: italic 700 0.82rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.08em; padding: 9px 13px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); }

.tagline { font: italic 700 1.25rem/1.2 var(--display); color: var(--orange-hot); margin: 8px 0 6px !important; text-transform: uppercase; letter-spacing: 0.02em; }
/* the main-focus service on What We Do */
.service--main { background: var(--bg-2); border-top: 4px solid var(--orange); }
.service--main h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.service--main .eyebrow { color: var(--orange-hot); }
.also { margin: 22px 0 0; color: var(--muted); font-size: 1.02rem; max-width: 70ch; }
.also a { color: var(--text); border-bottom: 1px solid var(--orange); }
.also a:hover { color: var(--orange-hot); }
.jump a.jump--focus { border-color: var(--orange); }
.more { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.more__item { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 18px 20px; }
.more__item h3 { margin-bottom: 6px; }
.more__item p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* what we do page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.jump a, .chip { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font: 600 0.9rem/1 var(--body); background: var(--panel); cursor: pointer; }
.jump a:hover, .chip:hover { border-color: var(--orange); color: #fff; }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.count { margin: -12px 0 22px; color: var(--muted); font-size: 0.95rem; }
.service { padding: clamp(44px, 6vw, 70px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px 50px; align-items: start; }
.service h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.service .short { color: var(--muted); font-size: 1.08rem; margin: 12px 0 18px; }
.list-cols { columns: 2; column-gap: 28px; padding: 0; margin: 0; list-style: none; }
.list-cols li { break-inside: avoid; padding: 6px 0 6px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.list-cols li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 6px; background: var(--orange); clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%); }
.service__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service__photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.service__photos figure:first-child { grid-column: span 2; }
.service__photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service__photos figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.service__photos a:hover img { transform: scale(1.05); }
.service__photos figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; font-size: 0.88rem; color: #fff; background: linear-gradient(0deg, rgba(14, 15, 17, 0.9), rgba(14, 15, 17, 0)); }
@media (max-width: 860px) {
  .service__grid { grid-template-columns: 1fr; }
  .list-cols { columns: auto; display: flex; flex-wrap: wrap; gap: 8px; }
  .list-cols li { border: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; font-size: 0.88rem; background: var(--panel); }
  .list-cols li::before { display: none; }
}
@media (min-width: 861px) and (max-width: 1100px) { .list-cols { columns: 1; } }

/* meet the founder */
.founder__grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 40px 64px; align-items: start; }
.founder__photo { margin: 0; position: relative; isolation: isolate; }
.founder__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; background: var(--orange); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.founder__photo img, .founder__placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
.founder__placeholder { background: var(--panel); border: 2px dashed var(--line-2); display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 24px; color: var(--muted); }
.founder__placeholder .eyebrow { margin: 0; }
.founder__placeholder b { font: italic 800 1.5rem/1.1 var(--display); text-transform: uppercase; color: var(--text); }
.founder__line { font: italic 700 1.35rem/1.3 var(--display); color: var(--text); border-left: 4px solid var(--orange); padding-left: 18px; margin-top: 10px; text-wrap: balance; }
@media (max-width: 860px) { .founder__grid { grid-template-columns: 1fr; } .founder__photo { max-width: 340px; } }

/* quotes, suburbs */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote { margin: 0; background: var(--panel); border-left: 4px solid var(--orange); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.quote p { margin: 0; font: italic 600 1.15rem/1.35 var(--display); }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }
.quote cite a { color: var(--orange-hot); }
.suburbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.suburbs li { padding: 8px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; }
.suburbs li.home { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 700; }

/* hire page rows */
.hire-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 50px; align-items: center; padding: clamp(30px, 4vw, 50px) 0; border-top: 1px solid var(--line); }
.hire-row:nth-child(even) .hire-row__img { order: 2; }
.hire-row__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel); }
.hire-row__img img { width: 100%; height: 100%; object-fit: cover; }
.hire-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 12px; }
.hire-row p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 820px) { .hire-row { grid-template-columns: 1fr; } .hire-row:nth-child(even) .hire-row__img { order: 0; } }
.notice { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 22px 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; }
.notice h3 { margin-bottom: 6px; }
.notice p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .notice { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px 70px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact-list .ic { width: 46px; height: 46px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; }
.contact-list svg { width: 22px; height: 22px; fill: var(--orange-hot); }
.contact-list b { display: block; font: 700 0.72rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a { font-size: 1.15rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange-hot); }
.form { background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); }
.form h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font: 700 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; font: 400 1rem var(--body); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(222, 99, 60, 0.25); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { margin: 12px 0 0; font-size: 0.9rem; color: var(--dim); }
.form-note[data-state="sent"] { color: var(--orange-hot); }

/* material calculator */
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.calc__form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); }
.calc__live { display: none; }
.calc__result { position: sticky; top: 100px; background: var(--panel); border: 2px solid var(--orange); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 0 0 4px rgba(222, 99, 60, 0.14), 0 14px 40px rgba(222, 99, 60, 0.2); }
.calc__big { margin: 6px 0 4px; font: italic 900 clamp(2.8rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.calc__big span { font-size: 0.42em; color: var(--orange-hot); font-weight: 800; text-transform: uppercase; }
.calc__sub { margin: 0 0 10px; font-weight: 600; }
.calc__detail { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.calc .form-note { margin-top: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; margin: 0 0 18px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 0.95rem/1.2 var(--body); padding: 12px 10px; border-radius: 999px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"], .seg button[aria-pressed="true"]:hover { background: var(--orange); color: var(--orange-ink); }
.seg--small button { padding: 9px 8px; font-size: 0.88rem; }
.unitwrap { position: relative; }
.unitwrap input { padding-right: 66px; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.unitwrap > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--orange-hot); font: 700 0.85rem var(--body); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips .chip { padding: 7px 11px; font-size: 0.85rem; }
.hint { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--dim); }
.cond { margin-top: 4px; padding: 14px 16px 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); }
.cond__title { margin: 0 0 12px; font: 700 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-hot); }
.cond .form-row .field { margin-bottom: 12px; }
.cond__eff { margin: 4px 0 0; padding: 10px 12px; background: rgba(222, 99, 60, 0.12); border-left: 4px solid var(--orange); font-size: 0.95rem; color: var(--muted); }
.cond__eff b { color: var(--text); font-variant-numeric: tabular-nums; margin-left: 6px; }
.cond__eff span { display: inline-block; margin-left: 8px; font-size: 0.86rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; background: var(--orange); color: var(--orange-ink); font: italic 800 1.25rem/44px var(--display); text-align: center; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.step b { display: block; font: italic 700 1.1rem/1.15 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.mats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.mat { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 14px 16px; }
.mat b { display: block; font: italic 700 1.05rem/1.15 var(--display); text-transform: uppercase; }
.mat .d { color: var(--orange-hot); font-weight: 700; font-size: 0.85rem; }
.mat p { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }
.h-mid { font-size: 1.5rem; margin-top: 10px; }
.depths { width: 100%; border-collapse: collapse; margin-top: 12px; }
.depths td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.depths td:last-child { text-align: right; color: var(--orange-hot); font-weight: 700; padding-left: 12px; max-width: 45%; }
.notes { margin: 12px 0 0; padding: 0 0 0 20px; color: var(--muted); display: grid; gap: 8px; }
.notice h2 { margin: 6px 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc__result { position: static; } .steps { grid-template-columns: 1fr; } }

/* 404 */
.oops { padding: clamp(60px, 10vw, 120px) 0; }
.oops h1 { margin-bottom: 14px; }

/* footer: orange band then black bar, as on the reference site */
.foot-band { background: var(--orange); color: var(--orange-ink); padding: 26px 0; margin-top: 30px; }
.foot-band .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.foot-band a { color: var(--orange-ink); display: inline-flex; align-items: center; gap: 10px; font: italic 700 1.1rem/1 var(--display); text-transform: uppercase; }
.foot-band a:hover { color: #fff; }
.foot-band svg { width: 20px; height: 20px; fill: currentColor; }
.foot-band a.mail { text-transform: none; font: 700 1.05rem/1 var(--body); overflow-wrap: anywhere; }
.foot-bar { background: #000; color: #9c9891; padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px)); font-size: 0.92rem; }
.foot-bar .container { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; }
.foot-bar img { height: 42px; width: auto; opacity: 0.95; margin-right: 10px; }
.foot-bar .abn { margin-left: auto; }
.foot-bar a { color: #cfcac2; }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(14, 15, 17, 0.95); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .callbar .btn { padding: 0.85em 0.6em; font-size: 0.95rem; clip-path: none; border-radius: var(--radius); }
  body { padding-bottom: 76px; }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 9, 0.94); display: grid; grid-template-rows: auto 1fr auto; padding: 14px; color: #fff; }
.lb__top { display: flex; align-items: center; gap: 14px; }
.lb__top .card__cat { flex: none; }
.lb__top h2 { font-size: 1.2rem; }
.lb__close, .lb__nav { background: var(--panel); color: #fff; border: 1px solid var(--line-2); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; flex: none; }
.lb__close { margin-left: auto; }
.lb__close:hover, .lb__nav:hover { border-color: var(--orange); }
.lb__close svg, .lb__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.lb__stage { position: relative; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 10px; min-height: 0; }
.lb__fig { margin: 0; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 210px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); background: var(--panel); }
.lb__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 10px; }
.lb__bottom p { margin: 0; max-width: 80ch; color: #e6e2da; }
.lb__count { color: var(--muted); font-variant-numeric: tabular-nums; }
.lb__fb { color: var(--orange-hot); font-size: 0.92rem; margin-left: auto; }
@media (max-width: 640px) { .lb__stage { grid-template-columns: 1fr; } .lb__nav { position: absolute; top: 50%; transform: translateY(-50%); } .lb__nav--prev { left: 4px; } .lb__nav--next { right: 4px; } }
body.lb-open { overflow: hidden; }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; }
  h2 { font-size: 1.75rem; }
  .section { padding: 48px 0; }
  .section--tight { padding: 32px 0; }
  .section__head { gap: 14px; margin-bottom: 22px; }
  .section__head p { font-size: 0.98rem; }

  /* hero: the photo shows on top, the words sit on the dark below it */
  /* the photo stays visible behind the words: a light wash, darker only at the bottom for the button */
  .hero::before { background: linear-gradient(180deg, rgba(14, 15, 17, 0.32) 0%, rgba(14, 15, 17, 0.28) 30%, rgba(14, 15, 17, 0.5) 62%, rgba(14, 15, 17, 0.88) 100%); }
  .hero__bg { object-position: 50% 50% !important; }
  .hero--home .hero__bg { object-position: 44% 56% !important; }   /* the machines under the shelter, not the roof */
  .hero--home .container { padding: 110px 0 calc(26px + var(--slant)); min-height: 0; justify-content: flex-end; }
  .hero .eyebrow, .hero h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 4px 22px rgba(0, 0, 0, 0.7); }
  .hero .lead { color: #f4f1eb; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 3px 16px rgba(0, 0, 0, 0.8); }
  .hero .btn--ghost { background: rgba(14, 15, 17, 0.6); border-color: rgba(244, 241, 235, 0.5); }
  .hero__call, .lead--long { display: none; }
  .lead--short { display: block; }
  .hero--page .container { padding: 150px 0 calc(30px + var(--slant)); min-height: 0; }
  .hero__logo { width: 80vw; margin: 0 0 16px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 6px 20px rgba(222, 99, 60, 0.32)); }
  h1 { font-size: 2.05rem; letter-spacing: 0; }
  .hero h1, .hero--page h1 { max-width: none; }
  .hero .lead { font-size: 1.02rem; margin: 12px 0 18px; }
  .hero--page .lead { margin: 12px 0 0; }
  .hero .actions { gap: 10px; }
  .hero .actions .btn { flex: 1 1 100%; }

  /* orange band: short, and only the story */
  .band { padding: calc(var(--slant) + 40px) 0 calc(var(--slant) + 36px); }
  .band-grid { gap: 36px; }
  .band .band-grid { gap: 0; }
  .band__more { display: none; }
  .band-grid p { font-size: 1rem; }
  .band .btn { margin-top: 4px; }
  .facts { gap: 10px; }
  .fact { padding: 12px 14px; }
  .fact b { font-size: 1.05rem; }
  .fact span { font-size: 0.85rem; }

  /* fleet: one big tile, then pairs */
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 10px; }
  .tile { height: 150px; }
  .tile--big { grid-column: span 2; grid-row: auto; height: 250px; }
  .tiles .tile:last-child { grid-column: span 2; height: 190px; }
  .tile__cap { padding: 30px 14px 12px; }
  .tile__cap h3 { font-size: 1.05rem; }
  .tile--big .tile__cap h3 { font-size: 1.5rem; }
  .tile__cap span { display: none; }
  .tile--big .tile__cap span { display: block; font-size: 0.88rem; }
  .tile__cap h3::before { width: 26px; height: 5px; margin-bottom: 8px; }

  /* what we do most: the main focus as a photo tile, the rest as a tidy list */
  .services { grid-template-columns: 1fr; gap: 10px; }
  .service-tile--lead { grid-column: auto; min-height: 250px; padding: 16px; box-shadow: 0 0 0 3px rgba(222, 99, 60, 0.16), 0 10px 30px rgba(222, 99, 60, 0.25); }
  .service-tile--lead h3 { font-size: 1.45rem; }
  .service-tile--lead p { font-size: 0.95rem; }
  .service-tile .tag { top: 12px; left: 12px; font-size: 0.72rem; padding: 7px 10px; }
  .service-tile:not(.service-tile--lead) { min-height: 0; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 14px; padding: 10px; background: var(--panel); border: 1px solid var(--line); }
  .service-tile:not(.service-tile--lead)::before { display: none; }
  .service-tile:not(.service-tile--lead) img { position: static; width: 84px; height: 84px; border-radius: var(--radius); }
  .service-tile:not(.service-tile--lead) h3 { font-size: 1.02rem; }
  .service-tile:not(.service-tile--lead) p { margin-top: 3px; font-size: 0.85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .service-tile:not(.service-tile--lead) b { margin-top: 6px; font-size: 0.66rem; }
  .also { font-size: 0.95rem; }
  .calc__form { padding: 16px; padding-top: 0; }
  .cond { padding: 12px; }
  .cond__eff span { display: block; margin: 2px 0 0; }
  /* on a phone the answer rides along at the top of the screen while you fill the form in */
  .calc__live { display: flex; align-items: baseline; gap: 8px; position: sticky; top: 70px; z-index: 5; margin: 0 -16px 14px; padding: 10px 16px; background: var(--orange); color: var(--orange-ink); font: italic 900 1.7rem/1 var(--display); border-radius: var(--radius) var(--radius) 0 0; }
  .calc__live span { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; }
  .calc__live small { margin-left: auto; font: 600 0.8rem/1.2 var(--body); text-align: right; max-width: 55%; }
  .calc__result { padding: 18px; }
  .calc__big { font-size: 2.6rem; }
  .seg button { font-size: 0.88rem; padding: 11px 6px; }
  .seg--small button { font-size: 0.82rem; }
  .tagline { font-size: 1.05rem; }

  /* project cards: featured ones swipe sideways on the home page; the full list is two columns */
  .cards.cards--featured { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cards.cards--featured::-webkit-scrollbar { display: none; }
  .cards.cards--featured .card { flex: 0 0 74vw; scroll-snap-align: start; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card__img { aspect-ratio: 1 / 1; }
  .cards--featured .card__img { aspect-ratio: 4 / 3; }
  .card__body { padding: 10px 12px 12px; gap: 4px; }
  .card__cat { font-size: 0.6rem; letter-spacing: 0.1em; }
  .card__title { font: 700 0.95rem/1.25 var(--body); text-transform: none; }
  .card__meta { display: none; }
  .cards--featured .card__meta { display: block; font-size: 0.85rem; }
  .card--featured::after { font-size: 0.6rem; padding: 5px 7px; }

  /* filter chips and the jump menu: one row you can swipe */
  .filters, .jump { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 6px; }
  .filters::-webkit-scrollbar, .jump::-webkit-scrollbar { display: none; }
  .filters .chip, .jump a { white-space: nowrap; flex: none; font-size: 0.85rem; padding: 8px 12px; }
  .count { margin: 0 0 16px; font-size: 0.88rem; }

  /* the rest */
  .quotes { gap: 10px; }
  .quote { padding: 16px 18px; }
  .quote p { font-size: 1.05rem; }
  .suburbs { gap: 6px; }
  .suburbs li { padding: 6px 11px; font-size: 0.85rem; }
  .list-cols li { font-size: 0.85rem; padding: 6px 11px; }
  .service { padding: 40px 0; }
  .service h2 { font-size: 1.5rem; }
  .service .short { font-size: 1rem; margin: 10px 0 14px; }
  .hire-row { gap: 16px; padding: 28px 0; }
  .hire-row h2 { font-size: 1.5rem; }
  .hire-row p { font-size: 1rem; }
  .more__grid { gap: 10px; }
  .notice { padding: 18px 20px; }
  .founder__grid { gap: 22px; }
  .founder__photo { max-width: none; }
  .founder__photo::before { inset: 14px -12px -12px 14px; }
  .founder__line { font-size: 1.15rem; }
  .contact-list a { font-size: 1.05rem; }
  .form { padding: 18px; }
  .foot-band { padding: 20px 0; }
  .foot-band .container { gap: 10px; }
  .foot-band a { font-size: 1rem; }
  .foot-band a.mail { font-size: 0.95rem; }
  .foot-bar { font-size: 0.85rem; text-align: center; }
  .foot-bar .container { justify-content: center; }
  .foot-bar .abn { margin-left: 0; }
}
