/* Greenline Project Services — site styles
   Colours pulled from the logo: lime lettering, dark green pipe, charcoal background. */
:root {
  --bg: #1b1e1c;
  --bg-2: #232825;
  --bg-3: #2c322e;
  --line: #3a423c;
  --lime: #9bd13a;
  --lime-hi: #b6e85a;
  --green: #2f6b35;
  --green-dk: #1d4423;
  --paper: #f1f2ec;
  --ink: #1b1e1c;
  --text: #e8ebe4;
  --muted: #a3ab9f;
  --radius: 4px;
  --wrap: 1200px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lime-hi); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--lime); color: var(--ink); padding: .5rem 1rem; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font); font-weight: 900; line-height: 1.02; letter-spacing: -.01em;
  font-variation-settings: "wdth" 112; text-transform: uppercase; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: #d3d8cf; max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--lime); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  font: 800 .95rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  font-variation-settings: "wdth" 110; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-hi); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { background: #000; color: var(--lime-hi); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(27,30,28,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--lime); }
.brand svg { width: 46px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 900; font-size: 1.45rem; letter-spacing: .01em; font-variation-settings: "wdth" 118; }
.brand-sub { font-weight: 700; font-size: .56rem; letter-spacing: .38em; margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lime); }
.header-call { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--lime); text-decoration: none; white-space: nowrap; }
.header-call svg { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 2px solid var(--line); color: var(--text); border-radius: var(--radius); width: 48px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .header-call .num { display: none; }
  .header-call { width: 48px; height: 44px; justify-content: center; border: 2px solid var(--lime); border-radius: var(--radius); }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 1.05rem 1.25rem; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin: 1rem 1.25rem 1.25rem; }
  .header-actions { display: flex; gap: .5rem; }
}
@media (min-width: 901px) { .header-actions .header-call { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 760px); display: flex; align-items: flex-end; padding: 7rem 0 3.5rem; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,23,21,.35) 0%, rgba(20,23,21,.55) 45%, rgba(20,23,21,.96) 100%),
              linear-gradient(90deg, rgba(20,23,21,.75) 0%, rgba(20,23,21,0) 70%);
}
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .btn-row { margin-top: 1.75rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.hero-tags li { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: 2px; background: rgba(0,0,0,.25); }

/* ---------- Proof strip ---------- */
.proof { background: var(--lime); color: var(--ink); }
.proof .wrap { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.5rem; padding-block: 1.6rem; align-items: center; }
.proof-label { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.proof-label a { color: var(--ink); }
.stat b { display: block; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1; font-variation-settings: "wdth" 115; }
.stat span { font-size: .82rem; font-weight: 600; }
@media (max-width: 800px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .proof-label { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-alt { background: var(--bg-2); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .eyebrow { color: var(--green); }
.section-paper .eyebrow::before { background: var(--green); }
.section-paper a { color: var(--green); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { max-width: 44ch; margin: 0; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--bg); padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: background .15s; position: relative; }
.service-card:hover { background: var(--bg-3); color: var(--text); }
.service-card .icon { width: 48px; height: 48px; color: var(--lime); margin-bottom: 1.25rem; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card .more { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.service-card .num { position: absolute; top: 1.4rem; right: 1.5rem; font-weight: 900; color: var(--line); font-size: 1.1rem; }
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 1.5rem 1.25rem; } }

/* ---------- Project cards ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.project-card { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--text); overflow: hidden; }
.project-card:hover { border-color: var(--lime); color: var(--text); }
.project-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .thumb img { transform: scale(1.04); }
.project-card .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-card .meta { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: .6rem; }
.project-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.project-card.featured { grid-column: span 2; }
.project-card.featured .thumb { aspect-ratio: 16 / 9; }
.cta-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 2rem 1.6rem; background: var(--green-dk); border: 1px solid var(--green); }
.cta-tile h3 { color: var(--lime); }
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Why Greenline ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-photo { position: relative; }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--lime); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .6rem .9rem; }
.why-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.why-list .n { width: 44px; height: 44px; display: grid; place-items: center; background: var(--green); color: var(--lime); font-weight: 900; }
.why-list h3 { margin-bottom: .3rem; }
.why-list p { margin: 0; color: #3d443f; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why-photo img { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lime); color: var(--ink); padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; position: relative; }
.cta-band h2 { margin: 0 0 .4rem; max-width: 20ch; }
.cta-band p { margin: 0; font-weight: 500; max-width: 50ch; }
.cta-band .pipe-deco { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .14; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: #121412; border-top: 4px solid var(--lime); padding: 3.5rem 0 3rem; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: var(--text); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-phone { font-size: 1.5rem; font-weight: 900; color: var(--lime) !important; font-variation-settings: "wdth" 112; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .site-footer { padding-bottom: 3rem; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.mobile-bar a:first-child { color: var(--lime); }
.mobile-bar a:last-child { background: var(--lime); color: var(--ink); }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 901px) { .mobile-bar { display: none; } }

/* ---------- Spotlight pages ---------- */
.crumbs { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs span { margin: 0 .4rem; color: var(--lime); }
.hero.spot { min-height: min(78vh, 680px); }
.hero.spot h1 { max-width: 18ch; }

.overview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.overview div { background: var(--bg-2); padding: 1.25rem 1.25rem 1.35rem; }
.overview dt { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: .4rem; }
.overview dd { margin: 0; font-weight: 600; line-height: 1.35; }
@media (max-width: 960px) { .overview { grid-template-columns: 1fr 1fr; } .overview div:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .overview { grid-template-columns: 1fr; } }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--lime); font-weight: 800; }
.section-paper .prose li::marker { color: var(--green); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split figure.wide img { aspect-ratio: 4 / 3; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.section-paper figcaption { color: #5a625c; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } .split figure img { aspect-ratio: 4 / 3; } }

.scope-block { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.scope-block:first-of-type { border-top: 0; padding-top: 0; }
.scope-block h3 { color: var(--lime); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: start; margin: 0 !important; }
.steps li::before { content: counter(s); width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); color: var(--lime); font-weight: 900; font-size: .9rem; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.stats-band div { background: var(--bg); padding: 1.5rem 1.25rem; }
.stats-band b { display: block; color: var(--lime); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1; font-variation-settings: "wdth" 115; margin-bottom: .35rem; }
.stats-band span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats-band { grid-template-columns: 1fr 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,12,11,.94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 1rem 1.5rem; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; object-fit: contain; }
.lightbox figcaption { color: var(--text); text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; background: rgba(0,0,0,.5); color: #fff; border: 1px solid var(--line); width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; border-radius: var(--radius); }
.lb-btn:hover { color: var(--lime); border-color: var(--lime); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; }
.lb-next { right: 1rem; top: 50%; }

.note-box { border-left: 4px solid var(--lime); background: var(--bg-2); padding: 1rem 1.25rem; font-size: .95rem; color: var(--muted); }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Services page ---------- */
.jump { background: var(--bg-2); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 40; }
.jump .wrap { display: flex; gap: 1.5rem; overflow-x: auto; padding-block: .9rem; scrollbar-width: none; }
.jump a { white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.jump a:hover { color: var(--lime); }
.svc { scroll-margin-top: 130px; }
.svc-panel { aspect-ratio: 4 / 3; background: var(--green-dk); border: 1px solid var(--green); display: grid; place-items: center; position: relative; color: var(--lime); }
.svc-panel .icon { width: 38%; height: auto; opacity: .9; }
.svc-panel span { position: absolute; right: 1.25rem; bottom: .5rem; font-weight: 900; font-size: 4rem; color: var(--green); line-height: 1; }
.section-alt .svc-panel { background: var(--bg); border-color: var(--line); }

/* ---------- About ---------- */
.placeholder { border: 2px dashed #e0b23a; background: rgba(224,178,58,.08); color: #e0b23a; padding: .8rem 1rem; font-weight: 600; font-size: .95rem; }
.section-paper .placeholder { color: #8a6510; background: rgba(224,178,58,.15); }
.approach { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
@media (max-width: 760px) { .approach { grid-template-columns: 1fr; } }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.team-card h3 { margin: 1rem 0 .2rem; }
.ph-photo { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-phone { display: inline-flex; align-items: center; gap: 1rem; margin: 1rem 0 2rem; padding: 1rem 1.25rem; border: 2px solid var(--lime); border-radius: var(--radius); text-decoration: none; color: var(--lime); font-weight: 900; font-size: 1.7rem; font-variation-settings: "wdth" 112; }
.contact-phone svg { width: 30px; height: 30px; }
.contact-phone small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-facts { margin: 0; display: grid; gap: 1.1rem; }
.contact-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.contact-facts dd { margin: .2rem 0 0; }
.quote-form { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(1.25rem, 4vw, 2.25rem); display: grid; gap: 1.1rem; }
.quote-form label { display: grid; gap: .4rem; font-weight: 700; font-size: .9rem; }
.quote-form .req { color: var(--lime); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem .9rem; min-height: 50px;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--lime); outline: none; box-shadow: 0 0 0 3px rgba(155,209,58,.25); }
.quote-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .quote-form .row2 { grid-template-columns: 1fr; } }
.quote-form button { justify-self: start; }
.small { font-size: .85rem; margin: 0; }

/* ---------- Gallery-style home (v2) ---------- */
.project-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; }
.project-card.wide .thumb { aspect-ratio: auto; min-height: 340px; }
.project-card.wide .body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
@media (max-width: 860px) { .project-card.wide { grid-template-columns: 1fr; } .project-card.wide .thumb { aspect-ratio: 4 / 3; min-height: 0; } }
.more-link { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.work-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.work-list li { background: var(--bg); padding: 1.5rem 1.4rem; }
.section-alt .work-list li { background: var(--bg-2); }
.work-list .icon { width: 40px; height: 40px; color: var(--lime); margin-bottom: .9rem; }
.work-list h3 { margin-bottom: .35rem; }
.work-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.quiet-contact { border-top: 1px solid var(--line); padding-block: 3rem; }
.quiet-contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.quiet-contact p { margin: 0; font-size: 1.1rem; }
.quiet-contact a.tel { font-weight: 900; font-size: 1.3rem; text-decoration: none; }
.back-link { display: inline-flex; gap: .5rem; align-items: center; }
.work-list { display: flex; flex-wrap: wrap; }
.work-list li { flex: 1 1 210px; }

/* ---------- Water flow diagram ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.2rem; counter-reset: f; position: relative; }
.flow li { background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--lime); padding: 1.1rem 1rem 1.2rem; position: relative; }
.flow li b { display: block; text-transform: uppercase; font-weight: 900; letter-spacing: .02em; font-variation-settings: "wdth" 112; margin-bottom: .3rem; }
.flow li span { color: var(--muted); font-size: .92rem; line-height: 1.4; display: block; }
.flow li:not(:last-child)::after { content: "\2192"; position: absolute; right: -1.75rem; top: 50%; transform: translateY(-50%); color: var(--lime); font-weight: 900; font-size: 1.4rem; }
.flow li:last-child::before { content: "\21BA  loops back"; position: absolute; left: 0; bottom: -1.7rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.flow-side { margin-top: 3rem; border-left: 4px solid #5aa7d8; background: var(--bg-2); padding: 1rem 1.25rem; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 1.6rem; }
  .flow li:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -1.55rem; transform: translateX(-50%); }
  .flow li:last-child::before { position: static; display: block; margin-top: .6rem; order: 2; }
}
.projects-grid.two-up { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .projects-grid.two-up { grid-template-columns: 1fr; } }
.hero.focus-low .hero-media img { object-position: center 48%; }

/* ---------- Spec table + team photo (v3) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.spec { width: 100%; border-collapse: collapse; min-width: 600px; }
table.spec th { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); font-weight: 800; padding: .7rem 1rem .7rem 0; border-bottom: 2px solid var(--lime); }
table.spec td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec td.name { font-weight: 700; }
table.spec td.size { font-weight: 900; color: var(--lime); white-space: nowrap; font-variation-settings: "wdth" 112; }
table.spec td.what { color: var(--muted); }
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.results-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.results-photos figure { margin: 0; }
.results-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .results-photos { grid-template-columns: 1fr; } }
