/* ==========================================================================
   CoPartners — Concrete · Landscape · Excavation
   Rugged-industrial, heritage-minded. Static site, no build step.
   ========================================================================== */

:root {
  --ink: #14171a;
  --steel: #1d2227;
  --slate: #2b3238;
  --line-dark: rgba(244, 241, 234, 0.14);
  --line-light: rgba(20, 23, 26, 0.16);
  --concrete: #b9bdbf;
  --bone: #f4f1ea;
  --bone-2: #ebe7de;
  --paper: #fbf9f4;
  --orange: #f26a1b;          /* safety orange — on dark, and as button fill */
  --orange-deep: #b8430a;     /* orange for text on light (AA on bone) */
  --text: #1c2024;
  --text-soft: #464d54;
  --text-on-dark: #f4f1ea;
  --text-on-dark-soft: #c1c5c8;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Times New Roman", Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 84px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;            /* 18px — comfortable for every reader */
  line-height: 1.65;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible { outline-color: #ffb37f; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* concrete grain, used sparingly on dark surfaces */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before { content: ""; width: 44px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--orange); }
.eyebrow .num { opacity: 0.7; }

.display { font-size: clamp(2.6rem, 6.2vw, 5rem); }
.display em, .hero h1 em, .page-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--text-soft); max-width: 60ch; }
.section--dark .lede { color: var(--text-on-dark-soft); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #ff8340; }
.btn--ghost { border-color: rgba(244, 241, 234, 0.55); color: var(--text-on-dark); }
.btn--ghost:hover { border-color: var(--text-on-dark); background: rgba(244, 241, 234, 0.08); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: var(--slate); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bone); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange-deep); padding-block: 6px; border-bottom: 2px solid currentColor;
  transition: gap 0.25s var(--ease);
}
.link-arrow:hover { gap: 16px; }
.link-arrow svg { width: 18px; height: 18px; }
.section--dark .link-arrow { color: var(--orange); }
button.link-arrow { background: none; border-top: 0; border-inline: 0; cursor: pointer; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: linear-gradient(to bottom, rgba(20, 23, 26, 0.85), rgba(20, 23, 26, 0));
  color: var(--text-on-dark);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header.is-solid, .site-header.nav-open { background: rgba(20, 23, 26, 0.96); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(10px); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a {
  position: relative; display: inline-block; padding: 10px 2px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 18px; padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line-dark); }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.06em; white-space: nowrap; }
.nav__phone svg { width: 20px; height: 20px; color: var(--orange); }
.nav__phone:hover { color: #ffb37f; }
.nav__quote {
  background: none; cursor: pointer; padding: 9px 18px; min-height: 44px;
  border: 1.5px solid rgba(244, 241, 234, 0.4); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.nav__quote:hover { border-color: var(--orange); background: var(--orange); color: var(--ink); }

.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; background: none; border: 1.5px solid rgba(244, 241, 234, 0.4); border-radius: var(--radius); cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-toggle__bars { position: relative; width: 22px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; } .nav-toggle__bars span:nth-child(2) { top: 6px; } .nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter would make the fixed menu panel size itself to the header */
  .site-header.is-solid, .site-header.nav-open { backdrop-filter: none; background: rgba(20, 23, 26, 0.98); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 28px var(--gutter) 40px; background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { font-size: 2.2rem; padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: block; }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--orange); }
  .nav__tools { flex-direction: column; align-items: stretch; border: 0; padding: 28px 0 0; gap: 14px; }
  .nav__phone { font-size: 1.8rem; }
  .nav__quote { text-align: center; }
}
@media (max-width: 480px) { .brand img { height: 46px; } :root { --header-h: 76px; } }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(100svh, 920px); padding-top: calc(var(--header-h) + 40px);
  color: var(--text-on-dark); background: var(--ink); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 26, 0.9) 0%, rgba(20, 23, 26, 0.62) 40%, rgba(20, 23, 26, 0) 100%),
    linear-gradient(0deg, rgba(20, 23, 26, 0.9) 0%, rgba(20, 23, 26, 0) 38%);
}

.hero__inner { position: relative; padding-bottom: clamp(48px, 7vw, 88px); }
/* version C: logo watermark filling the photo area, kept faint so the photos still read */
.hero__watermark { position: absolute; inset: calc(var(--header-h) + 12px) 4vw 84px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero__watermark img { width: 100%; height: 100%; object-fit: contain; opacity: 0.32; }
.hero h1.hero__tagline { max-width: none; margin: 22px 0 30px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }
.hero h1 { font-size: clamp(3.6rem, 10.5vw, 9rem); line-height: 0.9; max-width: 11ch; margin: 22px 0 28px; }
.hero h1 em { color: var(--orange); font-size: 0.86em; }
.hero h1.hero__logo { max-width: none; margin: 26px 0 24px; line-height: 0; }
/* logo, tagline and buttons pulled well left into the page margin (up to 300px), kept ~32px clear of the screen edge */
.hero__inner--logo { --logo-shift: min(-12px, max(-300px, calc((1240px - 100vw) / 2 + 32px))); --logo-w: clamp(300px, 62vw, 880px); }
/* text starts under the "C" of Co., which sits 46/1200 of the logo's width in from its edge */
.hero__inner--logo .hero__tagline, .hero__inner--logo .hero__actions { margin-left: calc(var(--logo-shift) + var(--logo-w) * 0.0383); }
.hero__logo img { width: var(--logo-w); height: auto; margin-left: var(--logo-shift); filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45)); }
.hero__tagline { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; margin: 0 0 30px; color: var(--text-on-dark); }
.hero__tagline em { font-family: var(--font-serif); font-style: italic; font-weight: 500; text-transform: none; color: var(--orange); font-size: 0.9em; }
.hero p.lede { color: #dfe1e2; max-width: 46ch; margin-bottom: 36px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__strip { position: relative; border-top: 1px solid var(--line-dark); background: rgba(20, 23, 26, 0.72); backdrop-filter: blur(6px); }
.hero__strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.hero__strip li { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__strip li::before { content: ""; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); flex: none; }
@media (max-width: 720px) {
  .hero__media::after { background: linear-gradient(0deg, rgba(20, 23, 26, 0.96) 0%, rgba(20, 23, 26, 0.7) 55%, rgba(20, 23, 26, 0.35) 100%); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section); position: relative; }
/* divider between two back-to-back sections of the same color: the line sits midway in the gap */
.section--ruled { padding-top: 0; }
.section--ruled > .wrap { border-top: 1px solid var(--line-dark); padding-top: var(--section); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--steel { background: var(--steel); color: var(--text-on-dark); }
.section--paper { background: var(--paper); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(24px, 6vw, 96px); }
.section-head--split .lede { margin: 0; }
/* short note pinned to the right edge (lines up with the content below) and level with the heading's bottom */
.section-head--split:has(.section-head__aside) { grid-template-columns: auto 1fr; margin-bottom: clamp(28px, 3.2vw, 44px); }
.section-head__aside { justify-self: end; text-align: right; padding-bottom: 0.35em; }
@media (max-width: 860px) { .section-head__aside { justify-self: start; text-align: left; padding-bottom: 0; } }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* image frame with survey-style corner marks */
.frame { position: relative; margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.frame::before, .frame::after { content: ""; position: absolute; width: 44px; height: 44px; pointer-events: none; z-index: 2; border: 0 solid var(--orange); }
.frame::before { top: -10px; left: -10px; border-top-width: 3px; border-left-width: 3px; }
.frame::after { bottom: -10px; right: -10px; border-bottom-width: 3px; border-right-width: 3px; }
.frame figcaption, .caption { margin-top: 18px; display: flex; gap: 14px; align-items: baseline; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
.section--dark .frame figcaption, .section--steel .frame figcaption { color: var(--text-on-dark-soft); }
.frame figcaption b, .caption b { color: var(--orange-deep); font-weight: 700; }
.section--dark .frame figcaption b { color: var(--orange); }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.intro h2 { margin: 22px 0 28px; }
.promises { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line-light); }
.promises li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.promises .n { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--orange-deep); line-height: 1.1; }
.promises h3 { font-size: 1.5rem; letter-spacing: 0.04em; margin-bottom: 6px; }
.promises p { margin: 0; color: var(--text-soft); }
.intro .frame { aspect-ratio: 4 / 5; }
.intro .frame img { object-position: 42% 50%; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .intro .frame { aspect-ratio: 16 / 10; order: -1; } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-dark); }
.service { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 44px); border-right: 1px solid var(--line-dark); background: var(--ink); transition: background-color 0.3s var(--ease); }
.service:last-child { border-right: 0; }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.service:hover { background: var(--steel); }
.service:hover::before { transform: scaleX(1); }
.service .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 7vw, 6rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 241, 234, 0.35); margin-bottom: 26px; }
.service h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 16px; min-height: 2em; }
.service p { color: var(--text-on-dark-soft); }
.service ul { margin: 6px 0 30px; border-top: 1px solid var(--line-dark); }
.service li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line-dark); position: relative; }
.service li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.service .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } .service { border-right: 0; border-bottom: 1px solid var(--line-dark); } .service:last-child { border-bottom: 0; } }

/* ---------- progress strip ---------- */
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.progress li { position: relative; }
.progress__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--slate); }
.progress__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.progress li:hover img { transform: scale(1.04); }
.progress p { margin: 18px 0 0; padding-top: 14px; position: relative; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark); }
.progress p::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-dark); }
.progress p::after { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
.progress b { display: block; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
@media (max-width: 860px) { .progress { grid-template-columns: 1fr; } }

/* ---------- project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(20, 23, 26, 0.35); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--slate); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-deep); }
.card h3 { font-size: 1.9rem; line-height: 1.02; }
.card p { margin: 0; color: var(--text-soft); font-size: 1.05rem; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.cards-note { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line-light); }
.cards-note p { margin: 0; color: var(--text-soft); max-width: 60ch; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .card { flex-direction: row; } .card__img { width: 42%; aspect-ratio: auto; flex: none; } }
@media (max-width: 620px) { .card { flex-direction: column; } .card__img { width: 100%; aspect-ratio: 4 / 3; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 clamp(16px, 2.4vw, 32px) 0 0; }
.step::before { content: ""; display: block; height: 2px; background: var(--line-dark); margin-bottom: 26px; }
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.2em; color: var(--orange); }
.step h3 { font-size: 2rem; margin: 10px 0 12px; }
.step p { color: var(--text-on-dark-soft); margin: 0; font-size: 1.05rem; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; gap: 44px 0; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- quiet CTA ---------- */
.quiet-cta { padding-block: clamp(56px, 7vw, 88px); background: var(--bone-2); border-top: 1px solid var(--line-light); }
.quiet-cta .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.quiet-cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 30ch; }
.quiet-cta h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; text-transform: none; }
.quiet-cta p { margin: 10px 0 0; color: var(--text-soft); max-width: 52ch; }
.quiet-cta__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.quiet-cta__phone { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: 0.05em; text-decoration: none; }
.quiet-cta__phone:hover { color: var(--orange-deep); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(44px, 6vw, 72px); }
.footer-grid img { height: 84px; width: auto; margin-bottom: 20px; }
.footer-grid p { color: var(--text-on-dark-soft); font-size: 1.05rem; max-width: 34ch; }
.footer-grid h3 { font-size: 1.15rem; letter-spacing: 0.2em; color: var(--orange); margin-bottom: 18px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--text-on-dark-soft); }
.footer-grid a:hover { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid address { font-style: normal; color: var(--text-on-dark-soft); line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 0.95rem; color: var(--text-on-dark-soft); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner-page hero
   ========================================================================== */
.page-hero { position: relative; color: var(--text-on-dark); background: var(--ink); padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(20, 23, 26, 0.55) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.6rem); line-height: 0.92; margin: 20px 0 24px; max-width: 14ch; }
.page-hero h1 em { color: var(--orange); font-size: 0.88em; }
.page-hero .lede { color: #dfe1e2; }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--orange); }

/* ==========================================================================
   Services page
   ========================================================================== */
.trade { display: grid; grid-template-columns: 0.9fr 1.1fr; column-gap: clamp(32px, 7vw, 104px); align-items: start; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-light); }
.trade:first-of-type { border-top: 0; padding-top: 0; }
/* head children (number, title, photo) sit in column 1 so the checklist can line up beside the photo (row 3) */
.trade__head { display: contents; }
.trade__head > * { grid-column: 1; }
.trade__body { grid-column: 2; grid-row: 3; align-self: center; }
.trade__head .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 10vw, 9rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px rgba(20, 23, 26, 0.35); display: block; margin-bottom: 22px; }
.trade__head h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 20px; }
.trade__head .frame { margin-top: 32px; aspect-ratio: 16 / 10; }
.trade__body p { color: var(--text-soft); }
.trade__body > .checklist:first-child { margin-top: 0; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 28px 0 8px; border-top: 1px solid var(--line-light); }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line-light); font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 15px; height: 8px; border-left: 3px solid var(--orange-deep); border-bottom: 3px solid var(--orange-deep); transform: rotate(-45deg); }
.callout { margin-top: 32px; padding: 26px 28px; background: var(--ink); color: var(--text-on-dark); border-left: 4px solid var(--orange); border-radius: var(--radius); }
.callout h3 { font-size: 1.5rem; letter-spacing: 0.06em; margin-bottom: 8px; color: var(--orange); }
.callout p { margin: 0; color: var(--text-on-dark-soft); }
@media (max-width: 900px) { .trade { grid-template-columns: 1fr; } .trade__body { grid-column: 1; grid-row: auto; margin-top: 32px; } .checklist { grid-template-columns: 1fr; } }

/* ==========================================================================
   Projects page
   ========================================================================== */
.case { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-light); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case--flip { grid-template-columns: 1fr 1.35fr; }
.case--flip .case__gallery { order: 2; }
.case__gallery { min-width: 0; }
.case__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--slate); border-radius: var(--radius); }
.case__stage::before { content: ""; position: absolute; inset: -40px; background: var(--stage-bg) center / cover no-repeat; filter: blur(28px) brightness(0.55); }
.case__stage img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.case__stage.is-swapping img { animation: swap 0.5s var(--ease); }
@keyframes swap { from { opacity: 0.2; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.case__stage--portrait { aspect-ratio: 4 / 4.6; }
.case__count { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: rgba(20, 23, 26, 0.86); color: var(--text-on-dark); font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.16em; border-radius: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 560px) { .thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: var(--slate); cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3; opacity: 0.66; transition: opacity 0.2s, border-color 0.2s; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.case__caption { margin-top: 14px; min-height: 3em; color: var(--text-soft); font-size: 1rem; }
.case__info .num { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-deep); }
.case__info h2 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); margin: 14px 0 22px; }
.specs { margin: 30px 0 0; border-top: 2px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.specs dt { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); padding-top: 2px; }
.specs dd { margin: 0; font-weight: 500; }
@media (max-width: 900px) { .case, .case--flip { grid-template-columns: 1fr; } .case--flip .case__gallery { order: 0; } }

/* justified rows: each photo's width follows its aspect ratio (--r), so rows share one height and nothing is cropped */
.work-gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.work-gallery figure { margin: 0; flex: calc(var(--r) * 100) 1 calc(var(--r) * 230px); max-width: calc(var(--r) * 360px); border-radius: var(--radius); overflow: hidden; background: var(--slate); }
.work-gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .work-gallery { gap: 6px; } .work-gallery figure { flex-basis: calc(var(--r) * 120px); } }

.more-coming { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 44px); border: 1px dashed rgba(244, 241, 234, 0.35); border-radius: var(--radius); }
.more-coming .pulse { width: 14px; height: 14px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 0 rgba(242, 106, 27, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(242, 106, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 106, 27, 0); } }
.more-coming h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 6px; }
.more-coming p { margin: 0; color: var(--text-on-dark-soft); }
@media (max-width: 760px) { .more-coming { grid-template-columns: 1fr; } }

/* ==========================================================================
   About page
   ========================================================================== */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 112px); align-items: center; }
.story h2 { margin: 22px 0 26px; }
.story .frame { aspect-ratio: 5 / 4; }
.story .frame img { object-position: 30% 55%; }
/* two photos stacked evenly beside the story text */
.story__photos { display: grid; gap: clamp(28px, 3vw, 40px); }
.story__photos .frame { aspect-ratio: auto; }
.story__photos .frame img { aspect-ratio: 4 / 3; height: auto; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.value { padding: 32px clamp(16px, 2.4vw, 32px) 32px 0; border-right: 1px solid var(--line-light); }
.value + .value { padding-left: clamp(16px, 2.4vw, 32px); }
.value:last-child { border-right: 0; }
.value .n { font-family: var(--font-display); font-weight: 700; color: var(--orange-deep); letter-spacing: 0.2em; font-size: 1.1rem; }
.value h3 { font-size: 2.1rem; margin: 10px 0 12px; }
.value p { color: var(--text-soft); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value { border-right: 0; border-bottom: 1px solid var(--line-light); padding-left: 0 !important; } .value:last-child { border-bottom: 0; } }
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.area ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area li { padding: 9px 18px; border: 1px solid var(--line-dark); border-radius: 999px; font-weight: 500; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ==========================================================================
   Quote dialog
   ========================================================================== */
.quote-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 4px; background: var(--paper); color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); overflow: auto; }
.quote-dialog::backdrop { background: rgba(14, 16, 18, 0.72); backdrop-filter: blur(3px); }
.quote-dialog[open] { animation: rise 0.35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.quote__head { position: relative; padding: 32px 36px 24px; background: var(--ink); color: var(--text-on-dark); border-bottom: 4px solid var(--orange); }
.quote__head h2 { font-size: 2.3rem; margin: 10px 0 8px; }
.quote__head p { margin: 0; color: var(--text-on-dark-soft); font-size: 1.05rem; }
.quote__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.quote__close:hover { background: rgba(244, 241, 234, 0.12); }
.quote__close svg { width: 22px; height: 22px; }
.quote__form { padding: 28px 36px 36px; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.field label small { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #8b9095; border-radius: var(--radius); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242, 106, 27, 0.5); border-color: var(--orange-deep); }
.quote__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.quote__foot p { margin: 0; font-size: 0.98rem; color: var(--text-soft); }
.quote__foot a { font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.quote__done { grid-column: 1 / -1; padding: 22px 24px; background: #e9f3e6; border-left: 4px solid #2f7a3b; border-radius: var(--radius); }
.quote__done[hidden], .quote__form .field[hidden], .quote__form .quote__foot[hidden] { display: none; }
@media (max-width: 560px) { .quote__form { grid-template-columns: 1fr; padding: 24px 22px 30px; } .quote__head { padding: 28px 22px 22px; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print { .site-header, .quote-dialog, .quiet-cta { display: none; } }

/* ==========================================================================
   Our Crew (about page)
   ========================================================================== */
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.member h3 { font-size: 1.9rem; margin: 26px 0 6px; }
.member .role { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.member .bio { margin: 0; color: var(--text-on-dark-soft); font-size: 1.02rem; }
.crew__photo { aspect-ratio: 4 / 5; background: var(--slate); border-radius: var(--radius); }
.crew__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.crew__photo--empty { display: grid; place-items: center; align-content: center; gap: 14px; background: linear-gradient(160deg, var(--slate), var(--steel)); }
.crew__photo--empty svg { width: 46%; fill: rgba(244, 241, 234, 0.14); }
.crew__photo--empty span { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.crew--two { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; column-gap: clamp(32px, 9vw, 140px); }
@media (max-width: 1000px) { .crew { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .crew { grid-template-columns: 1fr; } .crew__photo { aspect-ratio: 4 / 4.2; } }
