:root {
  --slate: #1E2B33;
  --slate-2: #2C3C46;
  --slate-3: #3B4D58;
  --chalk: #F4F5F3;
  --paper: #FFFFFF;
  --lumber: #E3A92B;
  --lumber-dark: #B9851A;
  --concrete: #6F7A80;
  --ink: #161B1F;
  --line: #D9DDDB;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lumber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--slate-3); max-width: 38ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em;
  padding: .7em 1.4em; border-radius: 3px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--lumber); color: var(--ink); }
.btn-primary:hover { background: #F0BA44; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--slate-2); }

/* Photo slots: show a tidy labeled block until a real photo is dropped in */
.photo { position: relative; background: var(--slate-2); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.missing img { display: none; }
.photo.missing::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  color: rgba(255,255,255,.55); font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.06) 46px 48px),
    var(--slate-2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--slate); color: #fff;
  border-bottom: 3px solid var(--lumber);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 42px; width: auto; }
@media (max-width: 420px) { .brand img { height: 34px; } }
.brand .wordmark { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: .9; letter-spacing: .01em; }
.brand .wordmark small { display: block; font-weight: 500; font-size: .95rem; color: var(--lumber); letter-spacing: .04em; }
.brand.has-logo .wordmark { display: none; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a.link { text-decoration: none; font-weight: 600; font-size: .98rem; color: rgba(255,255,255,.85); }
.nav a.link:hover { color: #fff; }
.nav .btn { font-size: 1.15rem; padding: .45em 1em; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--slate); border-bottom: 3px solid var(--lumber);
    display: none; padding: .5rem var(--gutter) 1.2rem;
  }
  .nav.open { display: flex; }
  .nav a.link { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.1rem; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero: the stud wall ---------- */
.hero {
  position: relative; color: #fff; background: var(--slate);
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero .photo { position: absolute; inset: 0; }
.hero .photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(30,43,51,.35) 0%, rgba(30,43,51,.55) 45%, rgba(22,27,31,.92) 100%);
}
/* Studs at 16" on center: faint framing lines over the photo */
.hero .studs {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(227,169,43,.0) 0, rgba(227,169,43,.0) 100%),
    repeating-linear-gradient(90deg, transparent 0 calc(var(--oc) - 6px), rgba(255,255,255,.07) calc(var(--oc) - 6px) var(--oc));
  --oc: clamp(56px, 8.2vw, 104px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, transparent 100%);
}
.hero .plate { position: absolute; left: 0; right: 0; top: 0; height: 10px; background: rgba(255,255,255,.08); z-index: 2; }
.hero-content { position: relative; z-index: 3; padding-top: 6rem; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 {
  font-size: clamp(3.3rem, 10.5vw, 8.4rem); font-weight: 800; line-height: .88;
  letter-spacing: -0.015em; max-width: 11ch; text-wrap: balance;
}
.hero p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 40ch; margin: 1.4rem 0 2rem; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Tape strip: tick marks along the base of the hero */
.tape {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px; z-index: 3;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 100%) 0 0 / 104px 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(22,27,31,.85) 0 2px, transparent 2px 13px) 0 100% / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(22,27,31,.85) 0 2px, transparent 2px 52px) 0 100% / 100% 15px no-repeat,
    var(--lumber);
}
.hero-load h1, .hero-load p, .hero-load .hero-actions { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-load p { animation-delay: .12s; }
.hero-load .hero-actions { animation-delay: .22s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Credentials strip ---------- */
.creds { background: var(--paper); border-bottom: 1px solid var(--line); }
.creds ul { list-style: none; margin: 0 auto; padding: 1.4rem var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.creds li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; line-height: 1.3; color: var(--slate-3); }
.creds strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.35rem; line-height: 1; font-weight: 700; }
.creds svg { width: 30px; height: 30px; flex: none; color: var(--lumber-dark); }
@media (max-width: 860px) { .creds ul { grid-template-columns: 1fr 1fr; gap: 1.2rem; } }

/* ---------- Sections ---------- */
section.block { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-head p { color: var(--slate-3); max-width: 46ch; margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.6rem; }
.service .photo { aspect-ratio: 4 / 3; border-radius: 3px; margin-bottom: 1rem; }
.service h3 { margin-bottom: .35rem; }
.service p { color: var(--slate-3); margin: 0; font-size: 1rem; }
.service.feature { grid-column: span 2; grid-row: span 2; }
.service.feature .photo { aspect-ratio: auto; height: calc(100% - 7.5rem); min-height: 300px; }
.service.feature h3 { font-size: 2.2rem; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service.feature { grid-column: span 2; grid-row: auto; }
  .service.feature .photo { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service.feature { grid-column: auto; }
}

/* Work gallery */
.work { background: var(--slate); color: #fff; }
.work .section-head p { color: rgba(255,255,255,.75); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 10px; }
.gallery button { all: unset; cursor: zoom-in; position: relative; border-radius: 2px; overflow: hidden; }
.gallery button:focus-visible { outline: 3px solid var(--lumber); outline-offset: 2px; }
.gallery .photo { width: 100%; height: 100%; }
.gallery .photo img { transition: transform .4s ease; }
.gallery button:hover .photo img { transform: scale(1.03); }
.gallery .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem;
  background: linear-gradient(180deg, transparent, rgba(22,27,31,.85));
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
}
/* Pattern repeats every 8 photos: big + 2 stacked, a row of 3, then 2 tall halves */
.gallery button { grid-column: span 4; }
.gallery button:nth-child(8n+1) { grid-column: span 7; grid-row: span 2; }
.gallery button:nth-child(8n+2), .gallery button:nth-child(8n+3) { grid-column: span 5; }
.gallery button:nth-child(8n+7), .gallery button:nth-child(8n) { grid-column: span 6; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery button:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery button:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
}
.work-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: rgba(255,255,255,.75); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14,18,21,.94); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 2px; }
.lightbox figcaption { font-family: var(--display); font-size: 1.4rem; margin-top: .8rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Story */
.story-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story .photo { aspect-ratio: 4 / 5; border-radius: 3px; }
.story-photo { position: relative; }
.story-photo .badge {
  position: absolute; right: -1rem; bottom: 2rem; background: var(--lumber); color: var(--ink);
  padding: 1rem 1.2rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.05; max-width: 15ch;
  box-shadow: 6px 6px 0 var(--slate);
}
.story h2 { margin-bottom: 1.4rem; }
.story p { max-width: 58ch; }
.story blockquote { margin: 1.8rem 0 0; padding-left: 1.2rem; border-left: 4px solid var(--lumber); font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.story blockquote cite { display: block; font-family: var(--body); font-style: normal; font-size: .95rem; font-weight: 500; color: var(--concrete); margin-top: .5rem; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-photo .badge { right: 1rem; } .story .photo { aspect-ratio: 4 / 3; } }

/* "Also on the list" service card */
.service.also { background: var(--slate); color: #fff; padding: 1.6rem 1.5rem; border-radius: 3px; border-top: 5px solid var(--lumber); align-self: stretch; }
.service.also h3 { margin-bottom: .8rem; }
.service.also ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.service.also li { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.service.also p { color: rgba(255,255,255,.75); }

/* Crew */
.crew { background: var(--paper); border-top: 1px solid var(--line); }
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.4rem; }
.member .photo { aspect-ratio: 3 / 4; border-radius: 3px; margin-bottom: 1.1rem; border-bottom: 5px solid var(--lumber); }
.member h3 { font-size: 1.9rem; }
.member .role { color: var(--lumber-dark); font-weight: 700; font-size: .95rem; margin: .15rem 0 .7rem; }
.member p:last-child { color: var(--slate-3); font-size: 1rem; margin: 0; }
@media (max-width: 860px) { .crew-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .crew-grid { gap: 1.6rem 1rem; } .member h3 { font-size: 1.45rem; } .member p:last-child { font-size: .92rem; } }

/* Process (a real sequence, so it's numbered) */
.process { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 3px; background: var(--line); }
.steps li { counter-increment: step; position: relative; padding-right: 1.5rem; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--slate); color: var(--lumber); font-family: var(--display); font-weight: 800; font-size: 1.7rem;
  position: relative; margin-bottom: 1.2rem; border: 4px solid var(--paper);
}
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--slate-3); font-size: 1rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 3px; height: auto; }
  .steps li { padding: 0 0 0 80px; }
  .steps li::before { position: absolute; left: 0; top: -6px; margin: 0; }
}

/* Service area */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.counties { list-style: none; margin: 0; padding: 0; }
.counties li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 2px solid var(--ink); }
.counties li:first-child { border-top: 2px solid var(--ink); }
.counties strong { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.counties span { color: var(--concrete); font-size: .95rem; text-align: right; }
.area-note { margin-top: 1.2rem; color: var(--slate-3); font-size: .98rem; }
@media (max-width: 760px) {
  .area-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .counties li { flex-direction: column; gap: .3rem; }
  .counties span { text-align: left; }
}

/* Contact */
.contact { background: var(--slate); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); }
.contact-grid > * { min-width: 0; }
.contact-lines strong { overflow-wrap: anywhere; }
.contact h2 { margin-bottom: 1.2rem; }
.contact .lede { color: rgba(255,255,255,.8); }
.contact-lines { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-lines a, .contact-lines div { display: flex; gap: .9rem; align-items: flex-start; text-decoration: none; }
.contact-lines svg { width: 24px; height: 24px; color: var(--lumber); flex: none; margin-top: 3px; }
.contact-lines strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.contact-lines small { color: rgba(255,255,255,.65); font-size: .9rem; }
.contact-lines a:hover strong { color: var(--lumber); }

.form { background: var(--paper); color: var(--ink); border-radius: 3px; padding: clamp(1.4rem, 3.5vw, 2.4rem); border-top: 6px solid var(--lumber); }
.form h3 { font-size: 2rem; margin-bottom: .3rem; }
.form > p { color: var(--slate-3); font-size: .98rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; margin-top: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--concrete); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .8rem .85rem; border: 1.5px solid #BFC6C9; border-radius: 3px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(227,169,43,.45); }
.form .btn { margin-top: 1.4rem; width: 100%; }
.form .fine { font-size: .85rem; color: var(--concrete); margin: .9rem 0 0; text-align: center; }
.hidden { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-lines strong { font-size: 1.3rem; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 3rem 0 6rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.site-footer .wordmark { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; line-height: 1; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
@media (min-width: 861px) { .site-footer { padding-bottom: 3rem; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 860px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--slate); border-top: 3px solid var(--lumber);
  }
  .callbar .btn { font-size: 1.2rem; padding: .6em .5em; }
}

/* ---------- Multi-page additions ---------- */
.nav a.link[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--lumber); padding-bottom: 4px; }
@media (max-width: 860px) { .nav a.link[aria-current="page"] { box-shadow: none; color: var(--lumber); padding-bottom: .85rem; } }

/* Page banner for inner pages */
.page-hero { position: relative; background: var(--slate); color: #fff; overflow: hidden; }
.page-hero .photo { position: absolute; inset: 0; background: var(--slate); }
.page-hero .photo img { opacity: .32; }
.page-hero .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30,43,51,.95) 0%, rgba(30,43,51,.6) 60%, rgba(30,43,51,.35) 100%); }
.page-hero .studs { position: absolute; inset: 0; z-index: 2; pointer-events: none; --oc: clamp(56px, 8.2vw, 104px);
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--oc) - 6px), rgba(255,255,255,.06) calc(var(--oc) - 6px) var(--oc)); }
.page-hero .wrap { position: relative; z-index: 3; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; line-height: .9; max-width: 12ch; }
.page-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 46ch; margin: 1.2rem 0 0; }
.page-hero .tape { height: 18px; }

/* Home: service links */
.svc-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc-link { display: block; text-decoration: none; background: var(--paper); border-radius: 3px; overflow: hidden; border: 1px solid var(--line); transition: border-color .15s; }
.svc-link:hover { border-color: var(--lumber); }
.svc-link .photo { aspect-ratio: 16 / 10; }
.svc-link .body { padding: 1.1rem 1.2rem 1.3rem; }
.svc-link h3 { margin-bottom: .3rem; }
.svc-link p { color: var(--slate-3); font-size: .98rem; margin: 0; }
.svc-link .more { display: inline-block; margin-top: .7rem; font-weight: 700; font-size: .92rem; color: var(--lumber-dark); }
.svc-link.dark { background: var(--slate); color: #fff; border-color: var(--slate); padding: 1.6rem 1.4rem; border-top: 5px solid var(--lumber); }
.svc-link.dark ul { list-style: none; padding: 0; margin: .6rem 0 0; }
.svc-link.dark li { font-family: var(--display); font-size: 1.4rem; font-weight: 600; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.svc-link.dark .more { color: var(--lumber); }
@media (max-width: 900px) { .svc-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-links { grid-template-columns: 1fr; } }

/* Home: work preview */
.work-preview { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(150px, 17vw, 230px); gap: 10px; }
.work-preview .photo { border-radius: 2px; }
.work-preview .photo:first-child { grid-row: span 2; }
@media (max-width: 760px) { .work-preview { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } .work-preview .photo:first-child { grid-column: span 2; grid-row: span 2; } }
.link-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* Services page detail rows */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail:nth-child(even) .photo { order: 2; }
.svc-detail .photo { aspect-ratio: 4 / 3; border-radius: 3px; }
.svc-detail h2 { margin-bottom: 1rem; }
.svc-detail p { color: var(--slate-3); max-width: 52ch; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.8rem; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--lumber-dark); border-bottom: 3px solid var(--lumber-dark); transform: rotate(-45deg); }
@media (max-width: 800px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail:nth-child(even) .photo { order: 0; } }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.also-grid article { background: var(--paper); padding: 1.5rem 1.4rem; border-radius: 3px; border-top: 5px solid var(--lumber); }
.also-grid h3 { margin-bottom: .5rem; }
.also-grid p { color: var(--slate-3); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .also-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .also-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--lumber); color: var(--ink); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 16ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn-outline { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-outline:hover { background: rgba(0,0,0,.06); }
@media (max-width: 420px) { .contact-lines strong { font-size: 1.12rem; } }

/* ---------- Our Work: project sections ---------- */
.work-page { padding-top: clamp(2.5rem, 5vw, 4rem); }
.project { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.project:first-child { padding-top: 0; }
.project:last-child { border-bottom: 0; }
.project-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; align-items: end; margin-bottom: 1.5rem; }
.project-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.project-head p { color: var(--slate-3); margin: 0; max-width: 50ch; }
.project .tag { display: inline-block; background: var(--slate); color: var(--lumber); font-weight: 700; font-size: .82rem; padding: .25rem .6rem; border-radius: 2px; margin-bottom: .6rem; }
@media (max-width: 760px) { .project-head { grid-template-columns: 1fr; } }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 15vw, 210px); gap: 8px; }
.project-grid button { all: unset; cursor: zoom-in; position: relative; border-radius: 2px; overflow: hidden; }
.project-grid button:focus-visible { outline: 3px solid var(--lumber); outline-offset: 2px; }
.project-grid .photo { width: 100%; height: 100%; }
.project-grid .photo img { transition: transform .4s ease; }
.project-grid button:hover .photo img { transform: scale(1.03); }
.project-grid button:first-child { grid-column: span 2; grid-row: span 2; }
.project-grid[data-count="1"] { grid-template-columns: 1fr; grid-auto-rows: clamp(260px, 38vw, 520px); }
.project-grid[data-count="1"] button:first-child { grid-column: auto; grid-row: auto; }
.project-grid[data-count="2"] button { grid-column: span 2; grid-row: span 2; }
.project-grid .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem .8rem .6rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(22,27,31,.85));
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.1;
}
.project-grid button:first-child .cap { font-size: 1.3rem; }
.badge-before { position: absolute; top: .6rem; left: .6rem; background: var(--ink); color: #fff; font-weight: 700; font-size: .78rem; padding: .2rem .55rem; border-radius: 2px; }
.project-grid .is-before .photo img { filter: saturate(.75); }
@media (max-width: 760px) {
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .project-grid button:first-child { grid-column: span 2; grid-row: span 2; }
  .project-grid[data-count="2"] button, .project-grid[data-count="2"] button:first-child { grid-column: span 1; grid-row: span 2; }
  .project-grid .cap { font-size: .95rem; padding: 1.4rem .6rem .5rem; }
}
.lb-btn[hidden] { display: none; }

@media (min-width: 761px) {
  .project-grid .d-w2 { grid-column: span 2; }
  .project-grid .d-w4 { grid-column: span 4; }
}
@media (max-width: 760px) { .project-grid .m-w2 { grid-column: span 2; } }
.hero .photo img { object-position: 70% 40%; }
