/* ============================================================
   Plumb Line — Architectural Monochrome, de-risked
   One accent colour. No hero photograph. Uniform crops.
   ============================================================ */

:root{
  --ink:#232323;            /* graphite */
  --bark:#333333;
  --forest:#D14A1F;         /* chalk-orange, the single accent */
  --forest-lt:#E05A2C;
  --brass:#D14A1F;
  --paper:#F5F4F0;          /* bone */
  --stone:#EAE8E2;
  --stone-dk:#D3D1C9;
  --muted:#8C8B86;          /* mid-gray */

  --r:0px;                  /* squared off throughout */
  --max:1400px;

  --fdisp:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ftext:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --fmono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

body{background:var(--paper)}

/* One family carrying the whole system; the weight does the work. */
h1,h2,h3,h4{font-weight:800;letter-spacing:-.03em;line-height:1.02;text-transform:none}
h1{font-size:clamp(2.6rem,1.4rem + 5.4vw,6.4rem);font-weight:900}
h2{font-size:clamp(1.9rem,1.3rem + 2.6vw,3.4rem)}
h3{font-weight:600;letter-spacing:-.015em}

.eyebrow,.stat span,.proj__cat,.filters button,.btn,.nav a,.site-foot h4{
  font-family:var(--fmono);text-transform:uppercase;letter-spacing:.1em;font-weight:400
}
.eyebrow{color:var(--forest);font-size:.7rem}
.lede{font-size:clamp(1.05rem,1rem + .4vw,1.2rem);color:#4A4A48}

/* ---------- header ---------- */
.site-head{border-bottom:1px solid var(--ink);background:var(--paper);backdrop-filter:none}
.nav a{font-size:.72rem}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--forest);color:var(--forest)}
.brand b{font-weight:800;letter-spacing:-.02em}
.btn{border-radius:0;font-size:.7rem;padding:1rem 1.6rem}
.btn:hover{background:var(--forest);border-color:var(--forest)}

/* ---------- hero: no photograph, by design ---------- */
.hero{
  min-height:0;display:block;background:var(--paper);isolation:auto;
  border-bottom:1px solid var(--ink)
}
.hero::after{display:none}
.hero>img,.hero>picture{display:none}
.hero__in{padding-block:clamp(4rem,11vw,9rem);max-width:64rem;color:var(--ink)}
.hero h1{color:var(--ink);text-shadow:none;text-wrap:balance}
.hero .eyebrow{color:var(--forest);text-shadow:none}
.hero p{color:#4A4A48;max-width:38rem;font-size:clamp(1rem,.95rem + .35vw,1.15rem)}
.hero__cta .btn--light{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.hero__cta .btn--light:hover{background:var(--forest);border-color:var(--forest)}
.hero__cta .btn--onimg{color:var(--ink);border-color:var(--ink)}
.hero__cta .btn--onimg:hover{background:var(--ink);color:var(--paper)}

/* ---------- numbered index grid ---------- */
.pl-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1px;
  background:var(--stone-dk);border:1px solid var(--stone-dk)
}
@media(min-width:700px){.pl-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1100px){.pl-grid{grid-template-columns:repeat(4,1fr)}}
.pl-card{
  position:relative;display:block;text-decoration:none;color:inherit;
  background:var(--paper);padding:1rem 1rem 1.25rem;transition:background .25s
}
.pl-card:hover{background:#fff}
.pl-card__no{
  font-family:var(--fmono);font-size:.68rem;color:var(--muted);
  display:block;margin-bottom:.7rem;letter-spacing:.08em
}
.pl-card:hover .pl-card__no{color:var(--forest)}
/* Identical crop on every card is the point — scale discipline over image quality. */
.pl-card__img{aspect-ratio:1;overflow:hidden;background:var(--stone);margin-bottom:.85rem}
.pl-card__img img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(.28) contrast(1.04);transition:filter .4s,transform .6s
}
.pl-card:hover .pl-card__img img{filter:grayscale(0) contrast(1);transform:scale(1.03)}
.pl-card h3{font-size:.98rem;line-height:1.25}
.pl-card__meta{
  font-family:var(--fmono);font-size:.68rem;color:var(--muted);
  margin:.35rem 0 0;letter-spacing:.04em;text-transform:uppercase
}

/* ---------- project index as a table, after Crisp Architects ---------- */
.pl-index{border-top:1px solid var(--ink)}
.pl-index a{
  display:grid;grid-template-columns:2.5rem 4.5rem 1fr;gap:1.25rem;align-items:center;
  padding:1rem .25rem;border-bottom:1px solid var(--stone-dk);
  text-decoration:none;color:inherit;transition:background .2s,padding-left .2s
}
@media(min-width:760px){
  .pl-index a{grid-template-columns:3rem 5.5rem 1fr auto auto;gap:2rem}
}
.pl-index a:hover{background:#fff;padding-left:.75rem}
.pl-index .no{font-family:var(--fmono);font-size:.7rem;color:var(--muted)}
.pl-index .thumb{aspect-ratio:4/3;overflow:hidden;background:var(--stone)}
.pl-index .thumb img{width:100%;height:100%;object-fit:cover;filter:grayscale(.28)}
.pl-index a:hover .thumb img{filter:grayscale(0)}
.pl-index .name{font-weight:600;font-size:1rem;letter-spacing:-.01em}
.pl-index .meta{font-family:var(--fmono);font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
@media(max-width:759px){.pl-index .meta{display:none}}

/* ---------- stats as a technical strip ---------- */
.stats{background:var(--ink);border:0;gap:1px}
.stat{background:var(--ink);border-right:1px solid #3A3A3A;padding-block:clamp(1.5rem,3vw,2.25rem)}
.stat:last-child{border-right:0}
.stat b{color:var(--paper);font-weight:900;letter-spacing:-.03em}
.stat span{color:var(--muted);font-size:.64rem}

/* ---------- sections ---------- */
.tint{background:var(--stone)}
.dark{background:var(--ink)}
.dark .eyebrow{color:var(--forest)}
.quote blockquote{font-weight:600;letter-spacing:-.025em;font-style:normal}
.quote cite{color:var(--forest);font-family:var(--fmono)}

/* ---------- services ---------- */
.svc{border-radius:0}
.svc img{filter:grayscale(.3) contrast(1.05)}
.svc:hover img{filter:grayscale(0)}
.svc::after{background:linear-gradient(180deg,rgba(35,35,35,0) 32%,rgba(35,35,35,.9) 100%)}
.svc h3{font-weight:800;letter-spacing:-.02em}
.svc .more{color:var(--forest);font-family:var(--fmono);font-size:.66rem}

/* ---------- gallery: capped so no single photo fills the view ---------- */
.gal-wrap .wp-block-gallery{columns:2}
@media(min-width:1040px){.gal-wrap .wp-block-gallery{columns:3}}
.gal-wrap .wp-block-gallery .wp-block-image{border-radius:0}
.gal-wrap .wp-block-gallery .wp-block-image img{filter:grayscale(.2) contrast(1.03)}
.gal-wrap .wp-block-gallery .wp-block-image:hover img{filter:none}

/* ---------- filters ---------- */
.filters button{border-radius:0;font-size:.66rem}
.filters button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink)}

/* ---------- footer ---------- */
.site-foot{background:var(--ink)}
.site-foot h4{color:var(--forest);font-size:.66rem}
.social a{border-radius:0}
.social a:hover{background:var(--forest);border-color:var(--forest);color:var(--paper)}
.demobar{background:var(--ink);font-family:var(--fmono);font-size:.7rem}
.demobar b{color:var(--forest)}
.affil img{filter:grayscale(1);opacity:.45}
.proj__img,.proj__cat{border-radius:0}

/* Touch targets — see the parent stylesheet. Repeated here because this theme
   restyles the same components and would otherwise shrink them again. */
@media (hover: none), (max-width: 900px) {
  .filters button{min-height:44px}
  .site-foot ul li a{display:inline-block;min-height:44px;line-height:44px}
  .arrowlink{min-height:44px;align-items:center}
  .tel{min-height:44px;display:inline-flex;align-items:center}
}
