/* ==========================================================================
   Remodeling Innovations - Cima Renovations and Construction Inc
   Design language: warm natural materials  ×  engineering blueprint.
   Forest green + earth brown + warm sand, restrained brass hairline signature.
   ========================================================================== */

/* ---- Fonts (self-hosted variable woff2) --------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/public-sans-var-latin.woff2') format('woff2');
}
/* Metric-matched fallback to curb CLS during swap */
@font-face {
  font-family: 'Public Sans Fallback';
  src: local('Arial');
  ascent-override: 96%; descent-override: 24%; line-gap-override: 0%; size-adjust: 102%;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --forest:       #2E4A3B;
  --forest-deep:  #1C3026;
  --forest-line:  #3C5A49;
  --earth:        #5B4636;
  --sand:         #F4EFE4;
  --sand-card:    #EAE3D3;
  --sand-line:    #DED4BF;
  --ink:          #1B1A16;
  --ink-soft:     #45433B;
  --brass:        #B08D57;
  --brass-soft:   #C7A876;
  --white:        #FFFFFF;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Public Sans', 'Public Sans Fallback', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 14px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--forest); color: var(--white); padding: .7rem 1.1rem;
  border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--sand-card { background: var(--sand-card); }
.section--forest  { background: var(--forest-deep); color: var(--sand); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--white); }

/* ---- Type scale --------------------------------------------------------- */
.display  { font-size: clamp(2.6rem, 6.2vw, 5rem); }
.h2       { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3       { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lead     { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.section--forest .lead { color: #CFE0D3; }
.measure  { max-width: 62ch; }

/* Engineering "spec" eyebrow - the blueprint voice */
.spec {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--earth);
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 500;
}
.spec::before {
  content: ""; width: 30px; height: 1px; background: var(--brass); flex: none;
}
.section--forest .spec { color: var(--brass-soft); }
.section--forest .spec::before { background: var(--brass); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -0.01em; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--earth); border-color: var(--sand-line); }
.btn--ghost:hover { border-color: var(--earth); transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--forest-deep); }
.btn--brass:hover { background: var(--brass-soft); transform: translateY(-2px); }
.btn--on-forest { background: var(--sand); color: var(--forest-deep); }
.btn--on-forest:hover { background: var(--white); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }

.brand { display: inline-flex; align-items: baseline; gap: .5rem; font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.brand .b-remodel { color: var(--ink); }
.brand .b-mark { width: 7px; height: 7px; background: var(--brass); display: inline-block; border-radius: 2px; transform: translateY(-2px); }
.brand .b-innov  { color: var(--forest); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink-soft); position: relative; padding-block: .4rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--forest); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--brass);
}
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; }

/* Mobile nav */
.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--sand-line);
  border-radius: 9px; background: var(--white); align-items: center; justify-content: center;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s var(--ease);
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after  { position: absolute; top: 6px; }
[aria-expanded="true"] .hamburger span { background: transparent; }
[aria-expanded="true"] .hamburger span::before { top: 0; transform: rotate(45deg); }
[aria-expanded="true"] .hamburger span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--sand); border-bottom: 1px solid var(--sand-line);
    padding: 1rem var(--gutter) 1.5rem; transform: translateY(-120%); transition: transform .28s var(--ease);
    box-shadow: 0 20px 40px rgba(28,48,38,.12);
  }
  .nav[aria-expanded="true"] .nav-links { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--sand-line); }
  .nav-links a { display: block; padding: .95rem 0; font-size: 1.1rem; }
  .hamburger { display: inline-flex; }
  .nav-cta .btn--primary { display: none; }
}

/* ==========================================================================
   Hero - the thesis: warm photo + engineering annotation
   ========================================================================== */
.hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .spec { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--forest); }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Asymmetric rounded-cutout photo frame with brass dimension ticks */
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 3.35; object-fit: cover;
  border-radius: var(--radius-lg) 6px var(--radius-lg) 6px;
}
.hero-figure::before { /* brass frame offset */
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--brass); border-radius: var(--radius-lg) 6px var(--radius-lg) 6px;
  z-index: -1;
}
.hero-annot {
  position: absolute; left: 16px; bottom: 16px;
  background: color-mix(in srgb, var(--forest-deep) 82%, transparent);
  color: var(--sand); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  padding: .5rem .8rem; border-radius: 8px; text-transform: uppercase;
  display: flex; align-items: center; gap: .5rem; backdrop-filter: blur(3px);
}
.hero-annot b { color: var(--brass-soft); font-weight: 600; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; margin-bottom: 1rem; }
  .hero-figure::before { inset: 10px -10px -10px 10px; }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust {
  border-block: 1px solid var(--sand-line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding-block: 1.8rem;
}
.trust-item { display: flex; flex-direction: column; gap: .15rem; }
.trust-item .n { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--forest); }
.trust-item .l { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }

/* ==========================================================================
   Identity block - Who we are / Mission / Vision
   ========================================================================== */
.identity-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.identity-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.identity-figure { position: relative; }
.identity-figure .tick-label {
  position: absolute; top: 1rem; left: 1rem; background: var(--sand);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--earth); padding: .35rem .6rem; border-radius: 6px; border: 1px solid var(--sand-line);
}
.identity-copy h2 { margin-bottom: 1.1rem; }
.mv { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.mv-card { border-top: 1px solid var(--sand-line); padding-top: 1.3rem; }
.mv-card h3 { color: var(--forest); margin-bottom: .5rem; }
@media (max-width: 820px) { .identity-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Services grid - capsule cards
   ========================================================================== */
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head .spec { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: .8rem; }

.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.svc-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 340px; display: flex; align-items: flex-end; padding: 1.25rem;
  color: var(--white); isolation: isolate;
  transition: transform .25s var(--ease);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(28,48,38,.92) 8%, rgba(28,48,38,.35) 55%, rgba(28,48,38,.12) 100%); }
.svc-card:hover { transform: translateY(-4px); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card img { transition: transform .4s var(--ease); }
/* first two cards span wider on large screens for rhythm */
.services-grid .svc-card:nth-child(1) { grid-column: span 3; }
.services-grid .svc-card:nth-child(2) { grid-column: span 3; }
.services-grid .svc-card:nth-child(n+3) { grid-column: span 2; }
.svc-card .capsule {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: color-mix(in srgb, var(--brass) 90%, transparent); color: var(--forest-deep);
  padding: .3rem .65rem; border-radius: 40px; align-self: flex-start; margin-bottom: auto; font-weight: 600;
}
.svc-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.svc-card p { font-size: .92rem; color: #E4EBE1; max-width: 34ch; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .svc-card:nth-child(n) { grid-column: span 1; }
}
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Services page - detailed rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; padding-block: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--sand-line); }
.svc-row:first-of-type { border-top: 0; }
.svc-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.svc-row.reverse .svc-row-media { order: 2; }
.svc-row .capsule { display: inline-block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: var(--sand-card); color: var(--earth); padding: .3rem .7rem; border-radius: 40px; margin-bottom: 1rem; }
.svc-row h2 { margin-bottom: .8rem; }
.svc-list { list-style: none; margin-top: 1.3rem; display: grid; gap: .6rem; }
.svc-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--brass); border-radius: 2px; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } .svc-row.reverse .svc-row-media { order: -1; } }

/* ==========================================================================
   Value prop - "Grounded in Excellence" inverted material-contrast block
   ========================================================================== */
.value { position: relative; overflow: hidden; }
.value::before { /* faint drafting grid */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--forest-line) 1px, transparent 1px), linear-gradient(90deg, var(--forest-line) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
  opacity: .18;
}
.value .wrap { position: relative; }
.value-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem,4vw,3rem); }
.value-col { border-top: 1px solid var(--forest-line); padding-top: 1.4rem; }
.value-col .ic { width: 44px; height: 44px; color: var(--brass-soft); margin-bottom: 1rem; }
.value-col .ic svg { width: 100%; height: 100%; }
.value-col h3 { color: var(--white); margin-bottom: .6rem; }
.value-col p { color: #CFE0D3; }
@media (max-width: 820px) { .value-cols { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ==========================================================================
   Process timeline - a genuine sequence (numbers earned here)
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(2rem,4vw,3rem); counter-reset: step; }
.step { border-top: 2px solid var(--brass); padding-top: 1.1rem; }
.step .num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--brass); }
.step h3 { font-size: 1.2rem; margin: .5rem 0; }
.step p { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 820px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  padding: .55rem 1.15rem; border-radius: 40px; border: 1.5px solid var(--sand-line); background: transparent; color: var(--ink-soft);
  transition: .18s var(--ease);
}
.filter-btn:hover { border-color: var(--earth); }
.filter-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }

.gallery {
  columns: 3 260px; column-gap: 1.1rem;
}
.gallery figure { break-inside: avoid; margin: 0 0 1.1rem; }
.gallery button.tile {
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand-card);
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery img { width: 100%; height: auto; transition: transform .4s var(--ease); }
.gallery button.tile::after {
  content: "⤢"; position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 8px; color: var(--white);
  background: color-mix(in srgb, var(--forest-deep) 70%, transparent); opacity: 0; transition: opacity .2s var(--ease); font-size: 1.1rem;
}
.gallery button.tile:hover::after, .gallery button.tile:focus-visible::after { opacity: 1; }
.gallery button.tile:hover img { transform: scale(1.05); }
figure.is-hidden { display: none; }
.gallery figcaption {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); padding-top: .5rem;
}
@media (prefers-reduced-motion: reduce) { .gallery img, .svc-card img { transition: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(20,30,25,.94); padding: clamp(1rem, 4vw, 3rem); }
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lb-cap { position: absolute; bottom: max(1.2rem, 4vw); left: 0; right: 0; text-align: center; color: var(--sand);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.lb-btn { position: absolute; background: color-mix(in srgb, var(--sand) 12%, transparent); color: var(--white);
  border: 1px solid rgba(255,255,255,.25); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; transition: background .18s var(--ease); }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: max(1.2rem,3vw); right: max(1.2rem,3vw); }
.lb-prev { left: max(1rem,2vw); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(1rem,2vw); top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lb-prev, .lb-next { display: none; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--forest); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 34px 100%; }
.cta-band .inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .6rem; }
.cta-band p { color: #CFE0D3; }
.cta-actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-band .inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ==========================================================================
   Forms (contact)
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.field .req { color: var(--brass); }
.field input, .field textarea {
  font: inherit; padding: .8rem .95rem; border: 1.5px solid var(--sand-line); border-radius: 10px;
  background: var(--white); color: var(--ink); transition: border-color .18s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }
#form-feedback { margin-top: 1rem; font-weight: 500; }
#form-feedback.ok { color: var(--forest); }
#form-feedback.err { color: #A2402F; }
/* Honeypot: kept in the DOM for bots, moved off-screen for people (not display:none). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: grid; gap: 1.4rem; align-content: start; }
.info-card { border-top: 1px solid var(--sand-line); padding-top: 1.1rem; }
.info-card .spec { margin-bottom: .5rem; }
.info-card a { color: var(--forest); font-weight: 500; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.crumb { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 1.5rem; }
.crumb a:hover { color: var(--forest); }
.crumb span { color: var(--brass); }

/* ==========================================================================
   About
   ========================================================================== */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about-hero img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.creds { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2rem; }
.cred { border-top: 1px solid var(--sand-line); padding-top: 1rem; }
.cred .n { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: var(--forest); line-height: 1.1; margin-bottom: .3rem; }
.cred .l { display: block; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 820px) { .about-hero { grid-template-columns: 1fr; } .creds { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-deep); color: var(--sand); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand .brand .b-remodel { color: var(--white); }
.footer-brand .brand .b-innov { color: var(--brass-soft); }
.footer-brand p { color: #B7C7BB; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a, .footer-col p { color: #CFE0D3; }
.footer-col a:hover { color: var(--white); }
.footer-legal { border-top: 1px solid var(--forest-line); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-legal p { font-size: .82rem; color: #9FB3A4; }
.license-badge { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-soft); border: 1px solid var(--forest-line); padding: .4rem .8rem; border-radius: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Our Story - founder narrative (a genuine chronology)
   ========================================================================== */
.story-intro { max-width: 720px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3vw, 2.8rem); margin-top: clamp(2rem, 4vw, 3rem); }
.chapter { border-top: 2px solid var(--brass); padding-top: 1.25rem; }
.chapter .num { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.chapter h3 { font-size: 1.3rem; margin: .55rem 0 .6rem; }
.chapter p { color: var(--ink-soft); }
.chapter p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Progressive enhancement: content is visible by default (no-JS / crawlers),
   the reveal animation only applies once JS marks <html class="js">. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
