/* Shear MFG — stark.
   One ink on white. Montserrat throughout, matching the lockup.
   Wide-tracked light caps for headings, as on the existing site. */

:root {
  --paper: #ffffff;
  --ink: #1d2026;
  --grey: #6b6f75;
  --panel: #e6e6e6;
  --rule: #d9d9d9;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --measure: 56ch;
}
:root { color-scheme: only light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
p { margin: 0 0 1.2em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }

/* Heading voice: thin, wide, uppercase — the "HARD WALL COVERINGS" treatment */
.caps {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.2;
  margin: 0;
}
h1.caps { font-size: clamp(1.4rem, 3.2vw, 2.2rem); }
h2.caps { font-size: clamp(1.05rem, 2vw, 1.4rem); }
h3 { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.6em; }

/* ---- Masthead: the stacked lockup, centered, as on the existing site ---- */
.masthead {
  text-align: center;
  padding: clamp(28px, 4vw, 48px) var(--gutter) 0;
}
.masthead .lockup { display: inline-block; }
.masthead .lockup img { width: clamp(120px, 12vw, 160px); margin: 0 auto; }
.nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  padding: 22px 0 0;
  flex-wrap: wrap;
}
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav a:hover { color: var(--ink); }

/* ---- Blocks ---- */
.block { padding: clamp(40px, 6vw, 88px) var(--gutter); }
.block.tight { padding-top: clamp(28px, 4vw, 56px); }
.centered { text-align: center; }
.centered p { margin-left: auto; margin-right: auto; }
.lede { font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }

/* Full-bleed-ish hero image, inset like the Squarespace one */
.hero { padding: clamp(28px, 4vw, 56px) var(--gutter) 0; }
.hero img { width: 100%; aspect-ratio: 2.8 / 1; object-fit: cover; }
.hero figcaption { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }

/* ---- Materials grid: light panel, square swatch, name in thin caps ---- */
.materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(16px, 2.5vw, 40px);
}
.material {
  background: var(--panel);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
}
.material img { width: 42%; aspect-ratio: 1; object-fit: cover; }
.material-note {
  font-size: 0.8rem; color: var(--grey); margin-top: 14px; letter-spacing: 0.02em;
}

/* ---- Capabilities: four columns, hairline rules ---- */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.cols > div {
  padding: 28px clamp(16px, 2vw, 32px) 28px 0;
  border-bottom: 1px solid var(--rule);
}
.cols > div + div { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); }
.cols p { font-size: 0.92rem; }
@media (max-width: 760px) {
  .cols > div + div { padding-left: 0; border-left: 0; }
}

/* ---- Statement rows (capabilities page) ---- */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 96px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--rule);
}
.row:last-of-type { border-bottom: 1px solid var(--rule); }
.row .lead { font-weight: 300; font-size: 1.05rem; line-height: 1.6; max-width: 40ch; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* ---- Work entries ---- */
.entry {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.entry:last-of-type { border-bottom: 1px solid var(--rule); }
.entry .swatch { background: var(--panel); aspect-ratio: 1; display: grid; place-items: center; }
.entry .swatch img { width: 60%; aspect-ratio: 1; object-fit: cover; }
.entry .swatch.empty { background: transparent; border: 1px solid var(--rule); }
.entry .meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin: 0 0 1.2em; }
@media (max-width: 640px) { .entry { grid-template-columns: 1fr; } .entry .swatch { max-width: 220px; } }

/* ---- Contact ---- */
.mail {
  font-weight: 300;
  font-size: clamp(1.3rem, 3.4vw, 2.4rem);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.facts { margin: 36px auto 0; display: inline-grid; grid-template-columns: max-content 1fr; gap: 6px 28px; text-align: left; font-size: 0.9rem; }
.facts dt { color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; padding-top: 3px; }
.facts dd { margin: 0; }

/* ---- Footer ---- */
.foot {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 48px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.foot a { color: var(--ink); }
.foot .social { display: flex; justify-content: center; gap: 22px; margin-bottom: 20px; }
.foot .social svg { width: 18px; height: 18px; fill: var(--ink); }

@media (prefers-reduced-motion: no-preference) { .nav a { transition: color 120ms ease, border-color 120ms ease; } }

/* ---- Logo sizing for the real lockup ---- */
.masthead .lockup img { width: clamp(110px, 10vw, 140px); }

/* ---- In-use strip: brand product photography ---- */
.inuse {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(16px, 2.5vw, 40px);
}
.inuse figure { margin: 0; }
.inuse img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel); }
.inuse figcaption { margin-top: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); line-height: 1.5; }
.inuse figcaption b { font-weight: 500; color: var(--ink); display: block; }

/* ---- Work entries: photo-led ---- */
.entry { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.entry .photo { margin: 0; }
.entry .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--panel); }
.entry .photo.square img { aspect-ratio: 1; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel); }
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shapes img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border: 1px solid var(--rule); }
.credit { font-size: 0.74rem; color: var(--grey); letter-spacing: 0.04em; margin-top: 40px; }
@media (max-width: 640px) { .entry { grid-template-columns: 1fr; } }

.material { margin: 0; grid-template-rows: 1fr auto; }
.material figcaption { position:absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-weight: 300; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.entry .photo { max-width: 460px; }

.inuse { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
