/* ==========================================================================
   AXBRIK LTD — Design System
   This file controls the look of every page: colours, fonts, spacing,
   buttons, cards and basic layout rules. Every page links to this one file,
   so changing a colour here changes it everywhere at once.
   ========================================================================== */

/* --- Google Fonts ---------------------------------------------------------
   Space Grotesk = bold modern heading font (architectural, confident)
   Inter         = highly readable body font
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* --- Design tokens ---------------------------------------------------------
   These "CSS variables" are the single source of truth for the brand.
   To change the brand orange everywhere on the site, you only ever need to
   change --brick-500 on this one line.
   -------------------------------------------------------------------------- */
:root {
  /* Charcoal / near-black */
  --charcoal-900: #15171a;
  --charcoal-800: #1d2023;
  --charcoal-700: #2a2d31;
  --charcoal-600: #3a3e43;

  /* Off-white */
  --offwhite-100: #faf8f5;
  --offwhite-200: #f3f0ea;
  --offwhite-300: #e8e3da;

  /* Brick orange — the ONE accent colour */
  --brick-300: #e08a5f;
  --brick-500: #c1502f;
  --brick-600: #a53f22;
  --brick-700: #82331c;

  /* Subtle grey */
  --grey-600: #6b6f76;
  --grey-400: #9a9ea5;
  --grey-200: #d9dbdd;

  /* Borders */
  --border-light: rgba(21, 23, 26, 0.1);
  --border-lighter: rgba(21, 23, 26, 0.06);
  --border-dark: rgba(250, 248, 245, 0.12);

  /* Typography */
  --font-heading: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Spacing scale (used for padding/margin/gaps throughout) */
  --space-1: 0.5rem;   /* 8px  */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2.5rem;   /* 40px */
  --space-5: 4rem;     /* 64px */
  --space-6: 6rem;     /* 96px */
  --space-7: 9rem;     /* 144px */

  /* Shape & shadow */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(21, 23, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(21, 23, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(21, 23, 26, 0.16);

  /* Layout */
  --container-width: 1240px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Base ---------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--offwhite-100);
  color: var(--charcoal-900);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .heading-font {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal-900);
}

h1 { font-size: clamp(2.5rem, 4.2vw + 1rem, 4.4rem); }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3rem); }
h3 { font-size: clamp(1.35rem, 1vw + 1rem, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--grey-600); }
p.lead { font-size: 1.2rem; line-height: 1.6; color: var(--charcoal-700); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brick-500);
  outline-offset: 3px;
}

/* --- Layout helpers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-6); }
.section-sm { padding-block: var(--space-5); }

.section-dark {
  background: var(--charcoal-900);
  color: var(--offwhite-200);
}
.section-dark p { color: var(--grey-200); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--offwhite-100);
}
/* A light-background .card can sit inside a dark section (e.g. material
   cards on the Materials Supply band) — its own text must stay dark,
   not inherit the light-on-dark colours above. */
.section-dark .card { color: var(--charcoal-900); }
.section-dark .card h1, .section-dark .card h2, .section-dark .card h3, .section-dark .card h4 {
  color: var(--charcoal-900);
}
.section-dark .card p { color: var(--grey-600); }

.grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick-500);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--brick-500);
  display: inline-block;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
              border-color var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brick-500);
  color: var(--offwhite-100);
  box-shadow: 0 10px 24px rgba(193, 80, 47, 0.28);
}
.btn-primary:hover { background: var(--brick-600); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--charcoal-900);
  color: var(--charcoal-900);
}
.btn-outline-dark:hover { background: var(--charcoal-900); color: var(--offwhite-100); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(250, 248, 245, 0.5);
  color: var(--offwhite-100);
}
.btn-outline-light:hover { background: var(--offwhite-100); color: var(--charcoal-900); border-color: var(--offwhite-100); }

/* --- Cards ------------------------------------------------------------------ */
.card {
  background: var(--offwhite-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: var(--offwhite-300);
  color: var(--charcoal-700);
}

/* --- Simple scroll-reveal animation (activated by js/main.js) --------------
   Important: elements are only hidden once JavaScript confirms it's running
   (the "js" class on <html>, set by an inline script in <head>). If a page
   is ever uploaded without js/main.js, or a visitor has JavaScript blocked,
   content stays fully visible instead of disappearing. */
.reveal { transition: opacity 700ms ease, transform 700ms ease; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility ----------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mb-1 { margin-bottom: var(--space-1); } .mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); } .mb-4 { margin-bottom: var(--space-4); }
.text-grey { color: var(--grey-600); }
.text-brick { color: var(--brick-500); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--charcoal-900);
  color: var(--offwhite-100);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Site header / navigation — shared by every page
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-lighter);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--border-light); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.85rem;
}

.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }

.main-nav ul { display: flex; gap: var(--space-4); }
.main-nav { display: none; }
@media (min-width: 960px) { .main-nav { display: block; } }

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal-800);
  position: relative;
  padding-block: 0.35rem;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -3px;
  height: 2px;
  background: var(--brick-500);
  transition: right var(--transition);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--brick-600); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-actions .btn { display: none; }
@media (min-width: 640px) { .header-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 20px; height: 2px; background: var(--charcoal-900); display: block; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--charcoal-900);
  display: flex;
  flex-direction: column;
  padding: 6.5rem var(--space-3) var(--space-3);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--offwhite-100);
  display: block;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav .btn { margin-top: var(--space-3); align-self: flex-start; }
@media (min-width: 960px) { .mobile-nav { display: none; } }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--charcoal-900);
  color: var(--offwhite-100);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250,248,245,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,248,245,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top left, black, transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 0.92fr; gap: var(--space-5); } }

.hero .eyebrow { color: var(--brick-300); }
.hero .eyebrow::before { background: var(--brick-300); }
.hero h1 { color: var(--offwhite-100); }
.hero p.lead { color: var(--grey-200); max-width: 54ch; }
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }

.hero-reg {
  margin-top: var(--space-2);
  font-size: 0.84rem;
  color: var(--grey-400);
  letter-spacing: 0.01em;
}

/* ---- Hero entrance animation (pure CSS — runs with or without JS) ---- */
.hero-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 760ms cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-anim-1 { animation-delay: 60ms; }
.hero-anim-2 { animation-delay: 160ms; }
.hero-anim-3 { animation-delay: 260ms; }
.hero-anim-4 { animation-delay: 360ms; }
.hero-anim-5 { animation-delay: 460ms; }
.hero-anim-6 { animation-delay: 560ms; }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-anim { opacity: 1; transform: none; animation: none; }
}

/* ---- Hero photo panel — replace assets/images/hero/hero-photo.jpg with a
   real project photo later; nothing else needs to change. ---- */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--charcoal-800);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21,23,26,0.55) 0%, transparent 32%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(21, 23, 26, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(250,248,245,0.14);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}
.hero-badge-icon {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(193,80,47,0.18);
  display: flex; align-items: center; justify-content: center;
}
.hero-badge-icon svg { width: 22px; height: 22px; color: var(--brick-300); }
.hero-badge strong { display: block; font-family: var(--font-heading); font-size: 0.92rem; color: var(--offwhite-100); }
.hero-badge span { display: block; font-size: 0.8rem; color: var(--grey-200); }

.hero-trust {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-dark);
}
.hero-trust-item { display: flex; align-items: center; gap: 0.6rem; color: var(--grey-200); font-size: 0.92rem; }
.hero-trust-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brick-300); }

/* ==========================================================================
   Placeholder media (used until real photos are added)
   ========================================================================== */
.placeholder-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 23px, var(--border-light) 23px, var(--border-light) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, var(--border-light) 23px, var(--border-light) 24px),
    var(--offwhite-200);
  border: 1px solid var(--border-light);
}
.placeholder-media .ph-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: var(--space-2);
  color: var(--grey-600);
}
.placeholder-media .ph-label svg { width: 30px; height: 30px; color: var(--grey-400); }
.placeholder-media .ph-label strong { font-family: var(--font-heading); font-size: 0.85rem; color: var(--charcoal-700); }
.placeholder-media .ph-label span { font-size: 0.76rem; }
.placeholder-media.ratio-16-10 { aspect-ratio: 16 / 10; }
.placeholder-media.ratio-square { aspect-ratio: 1 / 1; }
/* When a placeholder-media contains a real <img> (the generated photo
   placeholders in assets/images/...), fill the frame with it instead of
   the CSS grid pattern — replacing the file later needs no CSS changes. */
.placeholder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Service / material / project cards
   ========================================================================== */
.service-card, .project-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.service-card .placeholder-media, .project-card .placeholder-media { border-radius: 0; border-width: 0 0 1px; }
.service-card-body, .project-card-body { padding: var(--space-3); }
.service-card-body h3 { margin-bottom: 0.5rem; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem;
  color: var(--brick-600); margin-top: var(--space-2);
}
.service-card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card-link:hover svg { transform: translateX(3px); }

.material-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.material-card .placeholder-media { border-radius: 0; border-width: 0 0 1px; }
.material-card-body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.material-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Numbered step list ("How We Work")
   ========================================================================== */
.step-list { counter-reset: step; display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .step-list { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--space-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--offwhite-100);
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--charcoal-900); color: var(--offwhite-100);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  margin-bottom: var(--space-2);
}
.step:nth-child(odd) .step-number { background: var(--brick-500); }

/* ==========================================================================
   Why choose us — feature list
   ========================================================================== */
.feature-list { display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature {
  display: flex; gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--offwhite-100);
}
.feature-icon {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: rgba(193, 80, 47, 0.1);
  color: var(--brick-500);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--charcoal-900);
  color: var(--offwhite-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,80,47,0.25), transparent 55%);
  pointer-events: none;
}
.cta-band h2 { color: var(--offwhite-100); position: relative; }
.cta-band p { color: var(--grey-200); max-width: 56ch; margin-inline: auto; position: relative; }
.cta-band .btn-row { justify-content: center; margin-top: var(--space-3); position: relative; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal-900); color: var(--grey-200); }
.footer-top { padding-block: var(--space-5); display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr; gap: var(--space-3); } }
.footer-brand img { height: 32px; margin-bottom: var(--space-2); }
.footer-brand p { color: var(--grey-200); max-width: 34ch; }
.footer-col h4 { color: var(--offwhite-100); margin-bottom: var(--space-2); font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: var(--grey-200); transition: color var(--transition); }
.footer-col a:hover { color: var(--brick-300); }
.footer-col address { font-style: normal; color: var(--grey-200); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-block: var(--space-2);
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: var(--grey-400);
}

/* ==========================================================================
   Inner page banner (About / Services / Materials / Projects / Contact)
   A smaller version of the homepage hero, used to open every other page.
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--charcoal-900);
  color: var(--offwhite-100);
  padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(2.25rem, 5vw, 3.25rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250,248,245,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,248,245,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at top left, black, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--brick-300); }
.page-hero .eyebrow::before { background: var(--brick-300); }
.page-hero h1 { color: var(--offwhite-100); font-size: clamp(2.2rem, 3.4vw + 1rem, 3.2rem); }
.page-hero p.lead { color: var(--grey-200); max-width: 62ch; margin-top: var(--space-2); }
.breadcrumb { display: flex; gap: 0.4rem; align-items: center; font-size: 0.85rem; color: var(--grey-400); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--grey-200); }
.breadcrumb a:hover { color: var(--brick-300); }

/* ==========================================================================
   Filter bar — used on Materials and Projects pages
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
}
.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border-light);
  background: var(--offwhite-100);
  color: var(--charcoal-800);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover { border-color: var(--brick-500); color: var(--brick-600); }
.filter-btn.is-active { background: var(--charcoal-900); border-color: var(--charcoal-900); color: var(--offwhite-100); }
.filter-empty { color: var(--grey-600); padding-block: var(--space-3); display: none; }
.filter-empty.is-visible { display: block; }

/* ==========================================================================
   Service detail sections (Services page)
   ========================================================================== */
.service-detail { padding-block: var(--space-5); border-bottom: 1px solid var(--border-lighter); }
.service-detail:last-of-type { border-bottom: none; }
.service-detail-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .service-detail.reverse .service-detail-grid { direction: rtl; }
  .service-detail.reverse .service-detail-grid > * { direction: ltr; }
}
.service-detail-media .placeholder-media { aspect-ratio: 4 / 3.1; border-radius: var(--radius-lg); }
.benefit-list { display: flex; flex-direction: column; gap: 0.65rem; margin: var(--space-3) 0; }
.benefit-item { display: flex; align-items: flex-start; gap: 0.65rem; }
.benefit-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brick-500); margin-top: 0.15rem; }
.service-anchor-nav {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding-block: var(--space-3);
}
.service-anchor-nav a {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem;
  padding: 0.55rem 1rem; border-radius: 100px;
  border: 1.5px solid var(--border-light); color: var(--charcoal-800);
  transition: border-color var(--transition), color var(--transition);
}
.service-anchor-nav a:hover { border-color: var(--brick-500); color: var(--brick-600); }

/* ==========================================================================
   About page — approach cards & detail panel
   ========================================================================== */
.detail-panel {
  display: grid; gap: var(--space-4);
}
@media (min-width: 860px) { .detail-panel { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); align-items: start; } }
.info-card {
  background: var(--offwhite-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.info-card h3 { margin-bottom: var(--space-2); }
.info-card dl { display: grid; gap: var(--space-3); }
.info-card dt { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 0.25rem; }
.info-card dd { margin: 0; color: var(--charcoal-800); line-height: 1.6; }
.info-card dd a { color: var(--brick-600); font-weight: 600; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-5); } }

.contact-details-card {
  background: var(--charcoal-900);
  color: var(--offwhite-100);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.contact-details-card h3 { color: var(--offwhite-100); }
.contact-row { display: flex; gap: 0.85rem; padding-block: var(--space-2); border-top: 1px solid var(--border-dark); }
.contact-row:first-of-type { border-top: none; margin-top: var(--space-2); }
.contact-row svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brick-300); margin-top: 0.1rem; }
.contact-row a { color: var(--offwhite-100); font-weight: 600; }
.contact-row a:hover { color: var(--brick-300); }
.contact-row address { font-style: normal; color: var(--grey-200); line-height: 1.65; }
.contact-row p { color: var(--grey-200); margin: 0; }

.form-card {
  background: var(--offwhite-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; display: grid; gap: var(--space-3); } }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--charcoal-800); }
.form-field .required { color: var(--brick-500); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--offwhite-100);
  color: var(--charcoal-900);
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brick-500);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note {
  display: flex; gap: 0.7rem;
  background: var(--offwhite-200);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  margin-top: var(--space-3);
  font-size: 0.88rem;
  color: var(--charcoal-700);
}
.form-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brick-500); margin-top: 0.1rem; }
.form-status {
  display: none;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: rgba(193,80,47,0.08);
  border: 1px solid rgba(193,80,47,0.3);
  color: var(--brick-700);
}

/* ==========================================================================
   FAQ accordion (Contact page)
   Built with native <details>/<summary> — no JavaScript required, and
   keyboard/screen-reader accessible by default. To add a question, copy
   one <details class="faq-item">...</details> block in contact.html and
   edit the text (and add a matching Q&A to the FAQPage schema in <head>
   if you want it eligible for FAQ rich results too).
   ========================================================================== */
.faq-list { display: grid; gap: var(--space-2); max-width: 78ch; }
.faq-item {
  background: var(--offwhite-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--charcoal-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  line-height: 1;
  color: var(--brick-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brick-600); }
.faq-item summary:focus-visible { outline: 2px solid var(--brick-500); outline-offset: 2px; }
.faq-item p {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  color: var(--grey-600);
  line-height: 1.65;
}
.faq-item p a { color: var(--brick-600); font-weight: 600; }
.form-status.is-visible { display: block; }
