/* =====================================================================
   ZURA CONSTRUCTION, LLC — Design System
   "First in Service, First in Quality"
   Brand tokens derived from the logo (steel-blue rings + charcoal mark).
   WCAG 2.1 AA: contrast, focus states, motion-reduce, target sizes.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from logo) */
  --ink:        #16181d;   /* charcoal mark            */
  --ink-soft:   #353a43;
  --muted:      #5b616c;   /* secondary text (AA on paper) */
  --paper:      #fbfaf8;   /* warm off-white canvas    */
  --paper-2:    #f3efe8;   /* deeper warm panel        */
  --paper-3:    #ebe6dc;
  --line:       #e2ddd3;   /* warm hairline            */
  --line-2:     #d3cdc1;

  --brand:      #2e83ae;   /* steel blue (logo rings)  */
  --brand-deep: #1a5b81;   /* AA text/link on white    */
  --brand-ink:  #0d3950;   /* deep teal-navy panels    */
  --brand-tint: #e9f2f7;   /* pale blue wash           */
  --brand-glow: #5aa6c9;

  --white:      #ffffff;
  --gold:       #b9882f;   /* understated quality accent */

  /* Typography */
  --display: "EB Garamond", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3.4vw, 4.6rem);
  --step-5:  clamp(3.2rem, 2.2rem + 5vw, 6.2rem);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.1rem, 0.6rem + 2.5vw, 3rem);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(22,24,29,.05), 0 8px 30px -12px rgba(22,24,29,.18);
  --shadow-lg: 0 30px 60px -25px rgba(13,57,80,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::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; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
ul[role="list"] { list-style: none; padding: 0; }

/* ---------- Accessibility utilities ---------- */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--brand-ink); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 8px 8px; z-index: 999; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 460; line-height: 1.05; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: var(--step--1);
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-deep);
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brand); display: inline-block; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.serif-accent { font-family: var(--display); font-style: italic; color: var(--brand-deep); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.grid { display: grid; gap: clamp(1.2rem, .8rem + 1.5vw, 2.4rem); }
.center { text-align: center; }
.measure { max-width: 64ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand-ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  padding: .85rem 1.6rem; font-family: var(--body); font-weight: 600; font-size: var(--step-0);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bg); border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn--light { --bg: #fff; --fg: var(--brand-ink); border-color: #fff; }
.btn--brand { --bg: var(--brand); border-color: var(--brand); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-lockup img { width: 132px; }
.nav-links { display: flex; align-items: center; gap: clamp(.3rem, 1.5vw, 1.6rem); }
.nav-links a {
  font-weight: 500; color: var(--ink); text-decoration: none; padding: .55rem .35rem;
  position: relative; font-size: var(--step--1); letter-spacing: .02em;
}
.nav-links a::after {
  content: ""; position: absolute; left: .35rem; right: .35rem; bottom: .35rem; height: 1.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brand-deep); }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; min-width: 48px; background: none; border: 1.5px solid var(--line-2);
    border-radius: 3px; cursor: pointer; color: var(--ink); font-family: var(--body); font-weight: 600;
  }
  .nav-panel {
    position: fixed; inset: 78px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem;
    transform: translateY(-110%); transition: transform .4s var(--ease); box-shadow: var(--shadow);
  }
  .nav-panel.is-open { transform: translateY(0); }
  .nav-links { display: none; }
  .nav-panel .nav-links { display: flex; }
  .nav-panel .nav-links a { font-size: var(--step-1); padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-panel .nav-cta { margin: 1.2rem 0 0; }
  .nav-panel .btn { width: 100%; justify-content: center; }
}
@media (min-width: 941px) { .nav-panel { display: contents; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 7vw, 7rem) clamp(2.5rem,1.5rem+5vw,5rem); overflow: hidden; }
.hero::before {
  /* blueprint grid texture */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 1.2rem 0; }
.hero h1 em { font-style: italic; color: var(--brand-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-rings { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; }
.hero-rings .ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--brand); }
.hero-figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--brand-ink), #0a2c3e 70%); color: #fff;
  padding: clamp(1.6rem,3vw,2.6rem); box-shadow: var(--shadow-lg); min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-figure::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 12%, rgba(90,166,201,.55), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 22px);
}
.hero-figure .badge { position: relative; z-index: 1; }
.hero-figure .quote { position: relative; z-index: 1; font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.hero-figure .quote span { color: var(--brand-glow); font-style: italic; }

/* ---------- Stat bar ---------- */
.statbar { border-block: 1px solid var(--line); background: var(--paper-2); }
.statbar .grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 760px){ .statbar .grid { grid-template-columns: repeat(2,1fr); } }
.stat { padding: clamp(1.6rem,3vw,2.6rem) clamp(.8rem,2vw,1.6rem); border-left: 1px solid var(--line); text-align: center; }
.stat:first-child { border-left: 0; }
@media (max-width:760px){ .stat:nth-child(odd){ border-left: 0; } .stat:nth-child(n+3){ border-top: 1px solid var(--line); } }
.stat .num { font-family: var(--display); font-size: var(--step-4); line-height: 1; color: var(--brand-ink); display: block; }
.stat .num .u { color: var(--brand); }
.stat .label { font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; display: block; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 70ch; margin-bottom: clamp(2rem,4vw,3.5rem); }
.sec-head h2 { margin: .8rem 0 1rem; }

/* ---------- Cards ---------- */
.cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px){ .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem,3vw,2.2rem); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint); }
.card .ic {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 9px;
  background: var(--brand-tint); color: var(--brand-deep); margin-bottom: 1.2rem;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: var(--step-0); }
.card .corner { position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 38px 38px 0; border-color: transparent var(--brand-tint) transparent transparent; opacity: 0; transition: opacity .3s; }
.card:hover .corner { opacity: 1; }

/* trades chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-weight: 500; font-size: var(--step--1);
}
.chip svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Dark band ---------- */
.band-dark { background: var(--brand-ink); color: #eaf2f6; position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--brand-glow); }
.band-dark .eyebrow::before { background: var(--brand-glow); }
.band-dark .lede { color: #c4d6df; }
.band-dark::before {
  content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px; -webkit-mask-image: radial-gradient(100% 100% at 10% 0%, #000, transparent 70%); mask-image: radial-gradient(100% 100% at 10% 0%, #000, transparent 70%);
}
.band-dark .wrap { position: relative; z-index: 1; }

/* ---------- Brand wall ---------- */
.brandwall { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 880px){ .brandwall { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 480px){ .brandwall { grid-template-columns: repeat(2,1fr);} }
.brandwall .b { background: var(--white); display: grid; place-items: center; padding: 1.8rem 1rem; text-align: center; min-height: 96px; transition: background .3s; }
.brandwall .b:hover { background: var(--brand-tint); }
.brandwall .b span { font-family: var(--display); font-size: var(--step-1); color: var(--ink-soft); letter-spacing: .01em; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps .step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem,3vw,2.4rem); padding: clamp(1.6rem,3vw,2.4rem) 0; border-top: 1px solid var(--line); align-items: start; }
.steps .step:last-child { border-bottom: 1px solid var(--line); }
.steps .step .n { counter-increment: step; font-family: var(--display); font-size: var(--step-3); color: var(--brand); line-height: 1; min-width: 2.4ch; }
.steps .step .n::before { content: counter(step, decimal-leading-zero); }
.steps .step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.steps .step p { color: var(--muted); max-width: 62ch; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter {
  min-height: 44px; padding: .55rem 1.1rem; border: 1px solid var(--line-2); background: var(--white);
  border-radius: 100px; cursor: pointer; font-family: var(--body); font-weight: 500; font-size: var(--step--1); color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--brand); color: var(--brand-deep); }
.filter[aria-pressed="true"] { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.proj-grid { grid-template-columns: repeat(3,1fr); }
@media (max-width: 940px){ .proj-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .proj-grid { grid-template-columns: 1fr;} }
.proj {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column;
}
.proj:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.proj .top { padding: 1.3rem 1.4rem 1rem; border-bottom: 1px solid var(--line); display:flex; justify-content: space-between; align-items: start; gap: 1rem; }
.proj .state-tag { font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); background: var(--brand-tint); padding: .3rem .6rem; border-radius: 4px; white-space: nowrap; }
.proj .brand-tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proj h3 { font-size: var(--step-1); padding: 0 1.4rem; margin-top: 1rem; }
.proj .addr { padding: .4rem 1.4rem 0; color: var(--muted); font-size: var(--step--1); }
.proj .scope { margin-top: auto; padding: 1.1rem 1.4rem; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: .6rem; font-size: var(--step--1); color: var(--ink-soft); }
.proj .scope strong { font-family: var(--display); font-size: var(--step-1); color: var(--brand-ink); }
.proj .scope svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.count-note { color: var(--muted); margin-bottom: 1rem; font-size: var(--step--1); }

/* ---------- Quote / value ---------- */
.values { grid-template-columns: repeat(2,1fr); }
@media (max-width: 760px){ .values { grid-template-columns: 1fr; } }
.value { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.4rem 0; }
.value .vic { width: 44px; height: 44px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.value .vic svg { width: 22px; height: 22px; }
.value h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.value p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(150deg, var(--brand-ink), #082734); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem,5vw,4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 50% -10%, rgba(90,166,201,.35), transparent 60%); pointer-events:none;}
.cta h2 { color: #fff; position: relative; }
.cta p { color: #c7d8e0; max-width: 52ch; margin: 1rem auto 2rem; position: relative; }
.cta .hero-actions { justify-content: center; position: relative; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field .req { color: var(--brand-deep); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: var(--step-0); padding: .8rem 1rem; min-height: 48px;
  border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); outline: 3px solid var(--brand-tint); outline-offset: 0; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.form-status { padding: 1rem 1.2rem; border-radius: 6px; background: var(--brand-tint); border: 1px solid var(--brand); color: var(--brand-ink); font-weight: 600; }

/* contact split */
.contact-grid { grid-template-columns: 1.2fr .8fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.4rem); }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .cic { width: 42px; height: 42px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-deep); }
.contact-item .cic svg { width: 20px; height: 20px; }
.contact-item .k { font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-item .v { font-weight: 600; }
.contact-item a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6c9cf; padding-block: clamp(3rem,5vw,4.5rem) 2rem; }
.site-footer a { color: #c6c9cf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.5rem,3vw,3rem); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 700; }
.footer-grid ul { display: grid; gap: .7rem; }
.footer-brand .mark { color: #fff; font-family: var(--display); font-size: var(--step-3); line-height: 1; }
.footer-brand .mark b { color: var(--brand-glow); font-weight: 400; }
.footer-brand p { margin-top: .8rem; max-width: 34ch; color: #9aa0a8; font-size: var(--step--1); }
.footer-tag { font-family: var(--display); font-style: italic; color: var(--brand-glow); margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: var(--step--1); color: #8b9098; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: clamp(3rem,4vw,5rem) clamp(2.5rem,3vw,4rem); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; opacity:.5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg,var(--line) 1px, transparent 1px); background-size:64px 64px; -webkit-mask-image: radial-gradient(90% 80% at 90% 10%, #000, transparent 70%); mask-image: radial-gradient(90% 80% at 90% 10%, #000, transparent 70%);}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-deep); }
.page-hero h1 { font-size: var(--step-4); margin-bottom: 1rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* ---------- Brand guideline page specifics ---------- */
.swatches { grid-template-columns: repeat(4,1fr); }
@media (max-width: 760px){ .swatches { grid-template-columns: repeat(2,1fr);} }
.swatch { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.swatch .chip-color { height: 110px; }
.swatch .meta { padding: 1rem 1.2rem; font-size: var(--step--1); }
.swatch .meta b { display: block; font-family: var(--display); font-size: var(--step-0); color: var(--ink); margin-bottom: .2rem; }
.swatch .meta code { color: var(--muted); font-family: ui-monospace, monospace; }
.do-dont { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px){ .do-dont { grid-template-columns: 1fr; } }
.dd { border-radius: var(--radius-lg); padding: 1.6rem; border: 1px solid var(--line); }
.dd.do { background: var(--brand-tint); border-color: var(--brand); }
.dd.dont { background: #fbeeee; border-color: #d9a3a3; }
.dd h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: .1em; font-size: var(--step--1); margin-bottom: .8rem; }
.dd.do h4 { color: var(--brand-ink); } .dd.dont h4 { color: #9a2a2a; }
.dd ul { display: grid; gap: .6rem; padding-left: 1.1rem; }
.type-spec { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; background:#fff; margin-bottom: 1rem; }
.type-spec .label { font-size: var(--step--1); color: var(--muted); letter-spacing:.08em; text-transform: uppercase; }

/* ---------- Project card photos (plugin grid) ---------- */
.proj-photo { display:block; aspect-ratio: 4 / 3; overflow:hidden; background:var(--paper-3); }
.proj-photo img { width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.proj:hover .proj-photo img { transform: scale(1.04); }
.proj-photo--placeholder {
  background:
    linear-gradient(135deg, var(--brand-tint), var(--paper-2)),
    repeating-linear-gradient(45deg, rgba(46,131,174,.06) 0 12px, transparent 12px 24px);
  position: relative;
}
.proj-photo--placeholder::after {
  content: "Photo coming soon"; position:absolute; inset:0; display:grid; place-items:center;
  color: var(--brand-deep); font-size: var(--step--1); letter-spacing:.08em; text-transform:uppercase; opacity:.6;
}
.proj h3 a { color: inherit; text-decoration: none; }
.proj h3 a:hover { color: var(--brand-deep); }
