/* ============================================================
   The Fieldstone Standard — Warm Craftsman / Regional Editorial
   Overrides the parent's expressive layer only; structure stays.
   ============================================================ */

:root{
  --ink:#33302A;            /* warm dark brown-grey */
  --bark:#443F36;
  --forest:#9C4A34;         /* barn red — the primary accent now */
  --forest-lt:#B35B43;
  --brass:#3C5169;          /* chalk-blue secondary, replaces the metal */
  --paper:#FAF6EF;          /* off-white */
  --stone:#F3ECE0;          /* parchment */
  --stone-dk:#DFD3C0;
  --muted:#7A7264;

  --r:3px;
  --max:1280px;

  --fdisp:"Source Serif 4",Georgia,"Times New Roman",serif;
  --ftext:"Karla",system-ui,-apple-system,"Segoe UI",sans-serif;
}

body{background:var(--paper);letter-spacing:.005em}

/* Source Serif 4 is a text serif, not a display face — it wants a little more
   weight and a little less negative tracking than Fraunces did. */
h1,h2,h3,h4{font-weight:600;letter-spacing:-.005em;line-height:1.14}
h1{font-size:clamp(2.3rem,1.5rem + 3.4vw,4.1rem)}
h2{font-size:clamp(1.8rem,1.3rem + 2vw,2.8rem)}

.eyebrow{color:var(--forest);letter-spacing:.14em;font-weight:700}

/* ---------- header: a masthead rule rather than a floating bar ---------- */
.site-head{border-bottom:2px solid var(--ink);background:var(--paper)}
.nav a{font-size:.78rem;letter-spacing:.09em}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--forest)}
.btn{border-radius:var(--r);letter-spacing:.07em}
.btn:hover{background:var(--forest);border-color:var(--forest)}

/* ---------- hero: text-led, with a photo mosaic beside it ----------
   No full-bleed image. Ordinary photography is shown small and cropped
   consistently, so no single frame is asked to carry the fold. */
.hero{
  min-height:0;display:block;background:var(--stone);
  border-bottom:2px solid var(--ink);isolation:auto
}
.hero::after{display:none}
.hero>img,.hero>picture{display:none}          /* parent's full-bleed image suppressed */
.hero__in{
  padding-block:clamp(3rem,7vw,6rem);max-width:none;color:var(--ink);
  display:grid;gap:clamp(2rem,5vw,4rem);align-items:center
}
@media(min-width:900px){.hero__in{grid-template-columns:1.05fr .95fr}}
.hero h1{color:var(--ink);text-shadow:none;text-wrap:balance}
.hero .eyebrow{color:var(--forest);text-shadow:none}
.hero p{color:#5A5346;max-width:34rem}
.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)}

.hero-mosaic{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}
.hero-mosaic img{
  width:100%;height:100%;object-fit:cover;border-radius:var(--r);
  aspect-ratio:4/3;filter:saturate(.92) sepia(.06)   /* one uniform warm grade */
}
.hero-mosaic a:first-child{grid-column:1 / -1}
.hero-mosaic a:first-child img{aspect-ratio:16/9}

/* ---------- stats: a ledger rule, not cards ---------- */
.stats{background:var(--paper);border-block:1px solid var(--stone-dk);gap:0}
.stat{background:transparent;border-right:1px solid var(--stone-dk)}
.stat:last-child{border-right:0}
.stat b{color:var(--forest);font-weight:600}

/* ---------- pull quote, set in italic serif ---------- */
.quote blockquote{font-style:italic;font-weight:400;letter-spacing:-.005em}
.dark{background:var(--ink)}
.dark .eyebrow{color:#E8B9A8}
.quote cite{color:#E8B9A8}

/* ---------- project cards: captions carry narrative weight ---------- */
.proj__img{border-radius:var(--r)}
.proj__img img{filter:saturate(.92) sepia(.06)}
.proj__cat{
  background:var(--ink);color:var(--paper);border-radius:var(--r);
  font-size:.62rem;letter-spacing:.14em
}
.proj__meta h3{font-size:1.2rem;font-weight:600}
.proj__meta span{
  font-family:var(--ftext);font-variant:small-caps;letter-spacing:.06em;
  font-size:.82rem;color:var(--muted)
}

/* ---------- services: warm overlay rather than near-black ---------- */
.svc::after{background:linear-gradient(180deg,rgba(51,48,42,0) 28%,rgba(51,48,42,.88) 100%)}
.svc img{filter:saturate(.92) sepia(.06)}
.svc .more{color:#E8B9A8}

/* ---------- gallery: never let one photo dominate ---------- */
.gal-wrap .wp-block-gallery .wp-block-image img{filter:saturate(.92) sepia(.06)}
.gal-wrap .wp-block-gallery{columns:2}
@media(min-width:1040px){.gal-wrap .wp-block-gallery{columns:3}}

/* ---------- filters ---------- */
.filters button[aria-pressed="true"]{background:var(--forest);border-color:var(--forest)}

/* ---------- team masthead on the home page ---------- */
.masthead{display:grid;gap:clamp(1.5rem,3vw,2.5rem);grid-template-columns:repeat(3,1fr)}
@media(max-width:700px){.masthead{grid-template-columns:1fr}}
.masthead figure{margin:0}
.masthead img{
  width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r);
  filter:saturate(.9) sepia(.08)
}
.masthead figcaption{padding-top:.9rem;border-top:1px solid var(--stone-dk);margin-top:.9rem}
.masthead h3{font-size:1.05rem;font-weight:600}
.masthead .role{
  font-family:var(--ftext);font-variant:small-caps;letter-spacing:.08em;
  font-size:.8rem;color:var(--forest);margin-top:.15rem
}

/* ---------- footer ---------- */
.site-foot{background:var(--ink)}
.site-foot h4{color:#E8B9A8}
.social a:hover{background:#E8B9A8;border-color:#E8B9A8}
.demobar{background:var(--ink)}
.demobar b{color:#E8B9A8}
.affil img{filter:grayscale(1) sepia(.2);opacity:.6}

/* 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}
}
