/* =================================================================
   ALLVIEW ELECTRICAL — "Architectural Dusk"
   A refined, cinematic identity for a high-end smart-home electrician.
   Display: Fraunces  ·  Body: Hanken Grotesk
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces — neutral near-blacks */
  --ink:        #0F1012;
  --ink-1:      #141519;
  --ink-2:      #1B1D21;
  --ink-3:      #24262B;
  --ink-line:   rgba(255, 255, 255, 0.10);
  --ink-line-2: rgba(255, 255, 255, 0.16);

  /* Light surfaces — crisp whites (brand: never beige) */
  --paper:      #FFFFFF;
  --paper-2:    #F6F7F8;
  --paper-3:    #ECEEF0;
  --paper-line: rgba(18, 20, 24, 0.12);

  /* Text */
  --cream:      #FFFFFF;   /* primary on dark */
  --cream-soft: #D7DADE;
  --muted:      #9CA1A8;   /* secondary on dark */
  --muted-2:    #7E848B;
  --ink-text:   #17181B;   /* primary on light */
  --ink-muted:  #5C6167;   /* secondary on light */

  /* Brand amber */
  --amber:      #F8AD1B;
  --amber-soft: #FFC451;
  --amber-deep: #B5780B;
  --amber-glow: rgba(248, 173, 27, 0.30);

  /* Type */
  --display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Mono documentation layer — amber legible at micro sizes on white */
  --amber-ink: #8A5D10;

  /* Fluid scale */
  --fs-mega:   clamp(2.2rem, 5.6vw, 5rem);
  --fs-display:clamp(2.4rem, 5.2vw, 4.4rem);
  --fs-h1:     clamp(2rem, 4vw, 3.3rem);
  --fs-h2:     clamp(1.55rem, 2.7vw, 2.3rem);
  --fs-h3:     clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-lead:   clamp(1.06rem, 1.35vw, 1.32rem);
  --fs-body:   1.0625rem;
  --fs-sm:     0.9375rem;
  --fs-xs:     0.8125rem;

  /* Rhythm */
  --section-y: clamp(5rem, 10vw, 9rem);
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --maxw:      1280px;
  --radius:    18px;
  --radius-lg: 26px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    0.28s;
  --t-med:     0.55s;
  --t-slow:    0.9s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 920px; }
section { position: relative; }
.section { padding-block: var(--section-y); }

/* Surfaces */
.bg-ink   { background: var(--ink);   color: var(--cream); }
.bg-ink-1 { background: var(--ink-1); color: var(--cream); }
.bg-paper { background: var(--paper); color: var(--ink-text); }

/* ---------- Typography helpers ---------- */
/* Eyebrow = drawing-sheet section reference: mono index + slash + label */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow b { font-weight: 500; color: var(--amber); }
.bg-paper .eyebrow { color: var(--ink-muted); }
.bg-paper .eyebrow b { color: var(--amber-ink); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
.title-mega    { font-size: var(--fs-mega);    font-weight: 800; line-height: 0.92; letter-spacing: -0.025em; font-stretch: 110%; }
.title-display { font-size: var(--fs-display); font-weight: 700; line-height: 1.0; letter-spacing: -0.022em; font-stretch: 105%; }
.title-h1      { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.02em; }
.title-h2      { font-size: var(--fs-h2); font-weight: 700; }
.title-h3      { font-size: var(--fs-h3); font-weight: 600; }
/* accent phrase — italic amber, a touch of expression against the upright structural headings */
.serif-italic  { font-style: italic; letter-spacing: -0.012em; }
.accent        { color: var(--amber); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--cream-soft); font-weight: 350; }
.bg-paper .lead { color: var(--ink-muted); }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.bg-paper .muted { color: var(--ink-muted); }
.measure { max-width: 56ch; }
.measure-sm { max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.7em;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--t-fast) var(--ease); }
.btn--amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset;
}
.btn--amber:hover { background: var(--amber-soft); }
.btn--amber:hover svg { transform: translateX(3px); }
.btn--amber:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--ink-line-2);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.bg-paper .btn--ghost { color: var(--ink-text); border-color: var(--paper-line); }
.bg-paper .btn--ghost:hover { color: var(--amber-deep); border-color: var(--amber-deep); }
.btn--lg { padding: 1.1em 2em; font-size: var(--fs-body); }
.btn--block { width: 100%; justify-content: center; }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--amber);
  width: fit-content;
}
.link-arrow svg { width: 1.15em; height: 1.15em; transition: transform var(--t-fast) var(--ease); }
.link-arrow .underline {
  position: relative;
}
.link-arrow .underline::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.link-arrow:hover .underline::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Texture & atmosphere ---------- */
.grain::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Image media with cinematic grade */
.media { position: relative; overflow: hidden; background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0) 35%, rgba(14,15,17,0.55) 100%);
}
.media--warm img { filter: saturate(0.9) contrast(1.04) brightness(0.97); }
.media--warm::after {
  background: linear-gradient(180deg, rgba(14,15,17,0.08) 0%, rgba(14,15,17,0.55) 100%),
              radial-gradient(120% 80% at 50% 0%, rgba(248,173,27,0.08), transparent 60%);
}

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), backdrop-filter var(--t-med);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 2rem; }
.nav.scrolled {
  background: rgba(14, 13, 11, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--ink-line), 0 18px 40px -30px rgba(0,0,0,0.9);
}
/* Keep the brand + close button above the menu overlay */
body.menu-open .nav { z-index: 80; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open { overflow: hidden; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__logo { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--display); font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cream); line-height: 1; }
.brand__name small { display: block; font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.nav__menu { display: flex; align-items: center; gap: 2.1rem; }
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--cream-soft);
  padding-block: 0.4em;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: var(--fs-sm); color: var(--cream); transition: color var(--t-fast); }
.nav__phone:hover { color: var(--amber); }
.nav__phone svg { width: 1.05em; height: 1.05em; color: var(--amber); }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 80; }
.nav__toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--cream); transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__overlay {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 6rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
body.menu-open .nav__overlay { opacity: 1; visibility: visible; }
.nav__overlay-menu { display: flex; flex-direction: column; }
.nav__overlay-menu > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
body.menu-open .nav__overlay-menu > * { opacity: 1; transform: none; }
body.menu-open .nav__overlay-menu > *:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .nav__overlay-menu > *:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .nav__overlay-menu > *:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .nav__overlay-menu > *:nth-child(4) { transition-delay: 0.28s; }
body.menu-open .nav__overlay-menu > *:nth-child(5) { transition-delay: 0.34s; }

/* Mobile accordion */
.nav__acc { border-bottom: 1px solid var(--ink-line); }
.nav__acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 6.2vw, 2rem); letter-spacing: -0.02em; color: var(--cream); padding: 0.62em 0; text-align: left; transition: color var(--t-fast); }
.nav__acc-trigger:hover, .nav__acc.open .nav__acc-trigger { color: var(--amber); }
.nav__acc-trigger .chev { width: 24px; height: 24px; color: var(--amber); flex: none; transition: transform var(--t-med) var(--ease); }
.nav__acc.open .nav__acc-trigger .chev { transform: rotate(180deg); }
.nav__acc-panel { overflow: hidden; max-height: 0; transition: max-height var(--t-med) var(--ease); }
.nav__acc-panel-inner { display: grid; gap: 0.1rem; padding: 0.1rem 0 1rem; }
.nav__acc-panel a { font-size: 1.02rem; color: var(--muted); padding: 0.46em 0; transition: color var(--t-fast), padding-left var(--t-fast); }
.nav__acc-panel a:hover { color: var(--amber); padding-left: 8px; }
.nav__acc-link { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 6.2vw, 2rem); letter-spacing: -0.02em; color: var(--cream); padding: 0.62em 0; border-bottom: 1px solid var(--ink-line); transition: color var(--t-fast); }
.nav__acc-link:hover { color: var(--amber); }

.nav__overlay-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Desktop dropdowns */
.nav__menu { gap: 1.7rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 0.3em; }
.nav__link .chev { width: 13px; height: 13px; opacity: 0.6; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.nav__item:hover .nav__link .chev, .nav__item:focus-within .nav__link .chev { transform: rotate(180deg); opacity: 1; }
.nav__dropdown {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translate(-50%, 8px);
  min-width: 252px; padding: 0.55rem;
  background: rgba(18, 16, 13, 0.97);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--ink-line-2); border-radius: 16px;
  box-shadow: 0 28px 60px -22px rgba(0,0,0,0.9);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
  z-index: 60;
}
.nav__dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
.nav__dropdown::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; background: var(--amber); border-radius: 0 0 2px 2px; }
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav__drop-link { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.65rem 0.8rem; border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; color: var(--cream-soft); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast); }
.nav__drop-link .a { width: 14px; height: 14px; color: var(--amber); opacity: 0; transform: translateX(-5px); transition: opacity var(--t-fast), transform var(--t-fast); flex: none; }
.nav__drop-link:hover { background: rgba(248,173,27,0.10); color: var(--cream); padding-left: 1rem; }
.nav__drop-link:hover .a { opacity: 1; transform: none; }
@media (max-width: 1024px) { .nav__dropdown { display: none; } }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; min-height: clamp(620px, 92vh, 960px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-out forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,17,0.55) 0%, rgba(14,15,17,0.18) 32%, rgba(14,15,17,0.74) 78%, rgba(14,15,17,0.96) 100%),
    linear-gradient(95deg, rgba(14,15,17,0.85) 0%, rgba(14,15,17,0.30) 55%, transparent 100%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -10%; top: 8%;
  background: radial-gradient(circle, rgba(248,173,27,0.22), transparent 62%);
  filter: blur(20px);
  animation: floatGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero__inner { padding-block: clamp(3rem, 7vh, 6rem); position: relative; }
.hero__content { max-width: 860px; }
.hero h1 { color: var(--cream); margin: 1.2rem 0 1.5rem; text-shadow: 0 1px 40px rgba(0,0,0,0.3); }
.hero .lead { max-width: 54ch; color: var(--cream-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--ink-line); }
.trust-item { display: flex; align-items: center; gap: 0.6em; font-size: var(--fs-sm); color: var(--cream-soft); }
.trust-item svg { color: var(--amber); flex: none; }
.trust-item strong { color: var(--cream); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 15px; height: 15px; }

/* =================================================================
   ETHOS / split intro
   ================================================================= */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.ethos__media { position: relative; }
.ethos__media .media { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
.ethos__badge {
  position: absolute; left: -6%; bottom: 8%;
  background: var(--amber); color: var(--ink);
  padding: 1.1rem 1.4rem; border-radius: 16px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,0.7);
  max-width: 220px;
}
.ethos__badge .n { font-family: var(--display); font-size: 2.5rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.ethos__badge .l { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; margin-top: 0.3em; }
.stat-row { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.4rem; padding-top: 2.2rem; border-top: 1px solid var(--ink-line); }
.bg-paper .stat-row { border-color: var(--paper-line); }
.stat { }
.stat__n { font-family: var(--display); font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1; color: var(--cream); letter-spacing: -0.03em; }
.bg-paper .stat__n { color: var(--ink-text); }
.stat__n .accent { color: var(--amber); }
.bg-paper .stat__n .accent { color: var(--amber-deep); }
.stat__l { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.6em; font-weight: 500; }
.bg-paper .stat__l { color: var(--ink-muted); }

/* =================================================================
   SECTION HEADER
   ================================================================= */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.sec-head__text { max-width: 60ch; }
.sec-head .title-display, .sec-head .title-h1 { margin-top: 1.1rem; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* =================================================================
   SERVICE CARDS
   ================================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); }
.svc {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: clamp(320px, 42vw, 480px);
  display: flex; align-items: flex-end;
  isolation: isolate;
  border: 1px solid var(--ink-line);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.svc__media { position: absolute; inset: 0; z-index: -2; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,15,17,0.05) 0%, rgba(14,15,17,0.55) 55%, rgba(14,15,17,0.93) 100%);
  transition: background var(--t-med) var(--ease);
}
.svc__body { padding: clamp(1.6rem, 2.6vw, 2.4rem); width: 100%; }
.svc__num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--amber); font-weight: 500; font-variant-numeric: tabular-nums; }
.svc__title { font-family: var(--display); font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: var(--cream); margin: 0.6rem 0 0.5rem; line-height: 1.05; }
.svc__desc { color: var(--cream-soft); font-size: var(--fs-sm); max-width: 40ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease), opacity var(--t-med) var(--ease), margin var(--t-med); }
.svc__cta { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--amber); }
.svc__cta svg { width: 1.2em; transition: transform var(--t-fast) var(--ease); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.svc__tag { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.05em; color: var(--cream-soft); border: 1px solid var(--ink-line-2); padding: 0.35em 0.7em; border-radius: 3px; }
.svc:hover { border-color: rgba(248,173,27,0.4); }
.svc:hover .svc__media img { transform: scale(1.07); }
.svc:hover::after { background: linear-gradient(180deg, rgba(14,15,17,0.1) 0%, rgba(13,14,16,0.6) 50%, rgba(14,15,17,0.96) 100%); }
.svc:hover .svc__desc { max-height: 8em; opacity: 1; margin-top: 0.2rem; }
.svc:hover .svc__cta svg { transform: translateX(4px); }
.svc--wide { grid-column: span 2; min-height: clamp(340px, 36vw, 440px); }

/* =================================================================
   FLAGSHIP FEATURE (smart lighting)
   ================================================================= */
.feature { position: relative; overflow: hidden; }
.feature__glow { position: absolute; z-index: 0; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; left: -12%; top: 10%; background: radial-gradient(circle, rgba(248,173,27,0.08), transparent 64%); filter: blur(10px); pointer-events: none; }
.feature .split { position: relative; z-index: 1; }
.feature__media { position: relative; }
.feature__media .media { border-radius: var(--radius-lg); aspect-ratio: 3/4; }
.feature__media .media.big { aspect-ratio: 3/4; }
.feature__chip {
  position: absolute; right: -8%; top: 12%;
  width: clamp(120px, 16vw, 168px); aspect-ratio: 3/4;
  border-radius: 16px; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.85);
}
.feature__chip img { width: 100%; height: 100%; object-fit: cover; }
/* Lighting feature list = ruled spec table with mono line refs */
.feature__list { margin-top: 2rem; display: grid; gap: 0.2rem; }
.feature__list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--ink-line); position: relative; }
.feature__list li:first-child { border-top: 1px solid var(--ink-line); }
.feature__list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.feature__list li:hover::after { transform: scaleX(1); }
.feature__list .ref { flex: none; width: 3.6rem; font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--amber); padding-top: 0.3em; font-variant-numeric: tabular-nums; }
.feature__list h4 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-body); color: var(--cream); margin-bottom: 0.15em; }
.feature__list p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* =================================================================
   EVERYDAY ELECTRICAL (paper)
   ================================================================= */
.essentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.4vw, 1.2rem); }
/* Essentials = schedule entries: mono way-ref + energising rule + compliance datum tag */
.ess {
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 3px;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: border-color var(--t-fast) var(--ease);
  position: relative;
}
.ess:hover { border-color: rgba(18,20,24,0.4); }
.ess__ref { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.25rem; }
.ess__ref .idx { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.ess__ref .rule { flex: 1; height: 1px; background: var(--paper-line); position: relative; overflow: hidden; }
.ess__ref .rule::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.ess:hover .ess__ref .rule::after { transform: scaleX(1); }
.ess__ref .tag { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--ink-muted); text-transform: uppercase; white-space: nowrap; }
.ess h3 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-h3); color: var(--ink-text); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.ess p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; }

/* =================================================================
   PROCESS
   ================================================================= */
/* Process = junctions on a cable run: ruled rail, amber tick, mono index-of-total */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.step { position: relative; border-top: 1px solid var(--paper-line); padding-top: 1.4rem; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 32px; height: 3px; background: var(--amber); transition: width 0.4s var(--ease); }
.step:hover::before { width: 56px; }
.step__n { font-family: var(--mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--amber-ink); font-variant-numeric: tabular-nums; margin-bottom: 0.9rem; }
.step__n span { color: var(--ink-muted); }
.step h3 { font-family: var(--display); font-size: var(--fs-h3); color: var(--cream); margin-bottom: 0.6rem; font-weight: 600; }
.step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Why pillars */
/* Why-pillars = one ruled title-block table: three cells, mono datum openers */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--paper-line); }
.pillar { padding: 1.7rem 1.6rem; border: 0; border-left: 1px solid var(--paper-line); border-radius: 0; background: none; display: block; transition: background var(--t-fast); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar:hover { background: rgba(248,173,27,0.05); }
.pillar__datum { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--amber-ink); text-transform: uppercase; font-variant-numeric: tabular-nums; margin-bottom: 0.9rem; }
.pillar h4 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-body); color: var(--cream); margin-bottom: 0.3em; }
.pillar p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* =================================================================
   TESTIMONIALS (live EmbedSocial widget)
   ================================================================= */
.reviews-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2rem; }
.badge-pill { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.6em 1.1em; border-radius: 100px; border: 1px solid var(--paper-line); font-size: var(--fs-sm); color: var(--ink-text); font-weight: 600; background: var(--paper); }
.badge-pill img { height: 26px; width: auto; }

/* =================================================================
   COVERAGE
   ================================================================= */
.coverage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.area-list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.area-list li { }
.area-chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6em 1.1em; border: 1px solid var(--ink-line-2); border-radius: 100px; font-size: var(--fs-sm); color: var(--cream-soft); transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
.area-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.area-chip:hover { border-color: var(--amber); color: var(--cream); background: rgba(248,173,27,0.06); }

/* =================================================================
   CONTACT / CTA
   ================================================================= */
.contact { background: linear-gradient(180deg, var(--paper-2), var(--paper)); color: var(--ink-text); }
.contact__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.contact__left { padding-block: 0.5rem; }
/* Contact methods = ledger rows: mono label, value, bare functional icon at right */
.contact__methods { display: grid; gap: 0; margin-top: 2rem; }
.cmethod { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0.2rem; border: 0; border-bottom: 1px solid var(--ink-line); border-radius: 0; position: relative; transition: background var(--t-fast); }
.cmethod:first-child { border-top: 1px solid var(--ink-line); }
.cmethod::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.cmethod:hover::after { transform: scaleX(1); }
.cmethod .ic { flex: none; order: 2; margin-left: auto; width: auto; height: auto; background: none; border-radius: 0; color: var(--muted); display: block; transition: color var(--t-fast); }
.cmethod:hover .ic { color: var(--amber); }
.cmethod .ic svg { width: 20px; height: 20px; }
.cmethod__l { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cmethod__v { font-weight: 600; color: var(--cream); }

.form-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 0.55rem; }
.field .control {
  width: 100%; background: var(--ink); border: 1px solid var(--ink-line-2); border-radius: 12px;
  padding: 0.95em 1.1em; color: var(--cream); font-size: var(--fs-body);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field .control::placeholder { color: var(--muted-2); }
.field .control:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(248,173,27,0.14); background: var(--ink-1); }
textarea.control { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1rem; text-align: center; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 12px; font-size: var(--fs-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(248,173,27,0.12); border: 1px solid rgba(248,173,27,0.4); color: var(--amber-soft); }
.form-status.err { background: rgba(220,80,60,0.12); border: 1px solid rgba(220,80,60,0.4); color: #ff9d87; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: #0A0B0D; border-top: 1px solid var(--ink-line); padding-block: clamp(3.5rem, 6vw, 5rem) 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(1.6rem, 3vw, 2.6rem); padding-bottom: 3rem; }
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__brand p { font-size: var(--fs-sm); color: var(--muted); max-width: 34ch; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-line-2); display: grid; place-items: center; color: var(--cream-soft); transition: all var(--t-fast); }
.footer__social a:hover { border-color: var(--amber); color: var(--amber); }
.footer__social svg { width: 17px; height: 17px; }
.footer h5 { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.2rem; font-weight: 600; }
.footer__links { display: grid; gap: 0.65rem; }
.footer__links a { font-size: var(--fs-sm); color: var(--muted); transition: color var(--t-fast), padding-left var(--t-fast); }
.footer__links a:hover { color: var(--amber); padding-left: 5px; }
.footer__contact { display: grid; gap: 0.8rem; font-size: var(--fs-sm); color: var(--muted); }
.footer__contact a:hover { color: var(--amber); }
.footer__accred { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.footer__accred img { height: 46px; width: auto; background: var(--cream); border-radius: 8px; padding: 6px 8px; }
.footer__bottom { border-top: 1px solid var(--ink-line); padding-block: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: var(--muted-2); }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--amber); }

/* =================================================================
   FLOATING ACTIONS (mobile)
   ================================================================= */
.fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: none; gap: 0.6rem; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6); }
.fab .call { background: var(--amber); color: var(--ink); }
.fab .wa { background: #25D366; color: #fff; }
.fab svg { width: 24px; height: 24px; }

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.96); }

/* Hero load sequence */
.hero [data-load] { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease-out) forwards; animation-delay: var(--d, 0.1s); }

/* ---------- Keyframes ---------- */
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes floatGlow { from { transform: translate(0,0); opacity: 0.8; } to { transform: translate(-40px, 30px); opacity: 1; } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .essentials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--paper-line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .coverage, .contact__wrap { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .ethos__media { max-width: 480px; }
  .feature__media { max-width: 460px; }
  .contact__left { order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--paper-line); }
  .pillar:first-child { border-top: 0; }
  .fab { display: flex; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc--wide { grid-column: span 1; }
  .essentials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .svc__desc { max-height: 8em; opacity: 1; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .nav__inner { height: 72px; gap: 0.6rem; }
  .nav__actions .btn--amber { padding: 0.68em 1.05em; font-size: var(--fs-xs); }
  .brand__name { font-size: 1.15rem; }
  .brand__name small { letter-spacing: 0.28em; }
}
@media (max-width: 380px) {
  .nav__actions .btn--amber { display: none; }
}

/* =================================================================
   SERVICE PAGES
   ================================================================= */
.hero--service { min-height: clamp(460px, 58vh, 620px); }
.hero--service h1 { font-size: var(--fs-display); }
.hero--service .hero__inner { padding-block: clamp(2.5rem, 5vh, 4rem); }
.crumb a { color: inherit; transition: color var(--t-fast); }
.crumb a:hover { color: var(--amber); }

/* Feature list on light sections */
.bg-paper .feature__list li { border-color: var(--paper-line); }
.bg-paper .feature__list li:first-child { border-top-color: var(--paper-line); }
.bg-paper .feature__list .ref { color: var(--amber-ink); }
.bg-paper .feature__list h4 { color: var(--ink-text); }
.bg-paper .feature__list p { color: var(--ink-muted); }

/* Included checklist */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1rem; color: var(--ink-text); font-weight: 500; }
.check-list .tk { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--amber); display: grid; place-items: center; margin-top: 1px; }
.check-list .tk svg { width: 13px; height: 13px; color: var(--ink); }

/* FAQ — circuit-schedule accordion (light sections) */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__item:first-child { border-top: 1px solid var(--paper-line); }
.faq__q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.25rem 0; text-align: left; font-family: var(--sans); font-weight: 600; font-size: 1.06rem; color: var(--ink-text); -webkit-tap-highlight-color: transparent; }
.faq__q:focus { outline: none; }
.faq__q:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; border-radius: 4px; }
.faq__q .ic { flex: none; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--paper-line); display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.faq__q .ic svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.faq__item.open .faq__q .ic { background: var(--amber); border-color: var(--amber); }
.faq__item.open .faq__q .ic svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq__a p { padding: 0 0 1.25rem; margin: 0; color: var(--ink-muted); line-height: 1.6; font-size: 0.98rem; max-width: 68ch; }

/* Focus — panel-tester crisp, replaces glow rings */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.bg-paper :focus-visible { outline-color: var(--amber-ink); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__bg img { transform: scale(1); }
  [data-reveal], .hero [data-load] { opacity: 1; transform: none; filter: none; }
}

/* =================================================================
   WARM / APPROACHABLE PASS
   Light-theme variants for the everyday side of the brand. The dark
   cinematic styling stays reserved for the hero, the smart-home
   signature services, the lighting feature, and the footer.
   ================================================================= */

/* Amber reads too pale on warm paper — use the deeper gold */
.bg-paper .accent { color: var(--amber-deep); }

/* Process steps on light */
.bg-paper .step h3 { color: var(--ink-text); }
.bg-paper .step p { color: var(--ink-muted); }

/* Why-choose pillars on light */
.bg-paper .pillar h4 { color: var(--ink-text); }
.bg-paper .pillar p { color: var(--ink-muted); }

/* Coverage chips on light */
.bg-paper .area-chip { border-color: var(--paper-line); color: var(--ink-text); }
.bg-paper .area-chip:hover { border-color: var(--amber-deep); color: var(--ink-text); background: rgba(248,173,27,0.14); }

/* Contact / form on light */
.bg-paper .cmethod { border-color: var(--paper-line); }
.bg-paper .cmethod:hover { background: rgba(248,173,27,0.05); }
.bg-paper .cmethod .ic { color: var(--ink-muted); }
.bg-paper .cmethod:hover .ic { color: var(--amber-ink); }
.bg-paper .cmethod__l { color: var(--ink-muted); }
.bg-paper .cmethod__v { color: var(--ink-text); }
.bg-paper .form-card { background: #FFFFFF; border-color: var(--paper-line); box-shadow: 0 40px 80px -48px rgba(16,18,22,0.5); }
.bg-paper .field label { color: var(--ink-muted); }
.bg-paper .control { background: var(--paper); border-color: var(--paper-line); color: var(--ink-text); }
.bg-paper .control::placeholder { color: #9AA0A6; }
.bg-paper .control:focus { border-color: var(--amber-deep); box-shadow: 0 0 0 4px rgba(248,173,27,0.18); background: #fff; }
.bg-paper .form-note { color: var(--ink-muted); }
.bg-paper .form-status.ok { background: rgba(212,144,26,0.14); border-color: rgba(212,144,26,0.45); color: #8a5d10; }

/* ---------- Value / reassurance band ---------- */
/* Value band = one row lifted from a circuit schedule: ruled cells, mono way-numbers */
.valueband { background: var(--paper); border-bottom: 1px solid var(--paper-line); }
.valueband__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; padding-block: clamp(1.6rem, 3vw, 2.3rem); }
.vitem { display: block; border-left: 1px solid var(--paper-line); padding-left: 1.1rem; transition: border-color var(--t-fast); }
.vitem:hover { border-left-color: var(--amber); }
.vitem__idx { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--amber-ink); font-variant-numeric: tabular-nums; margin-bottom: 0.5rem; }
.vitem h4 { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--ink-text); line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
@media (max-width: 980px) { .valueband__grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.4rem; } }
@media (max-width: 480px) { .valueband__grid { grid-template-columns: 1fr; } }

/* ---------- Meet the team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.8rem, 1.4vw, 1.3rem); }
.tmember { text-align: center; }
.tmember__photo { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; margin-bottom: 0.9rem; background: var(--paper-3); }
.tmember__photo::after { content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--paper-line); }
.tmember__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tmember:hover .tmember__photo img { transform: scale(1.06); }
.tmember h4 { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink-text); letter-spacing: -0.01em; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* About — expanded team bios */
.team-grid--bio { grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 3vw, 2.8rem) clamp(1.2rem, 2vw, 2rem); }
.team-grid--bio .tmember { text-align: left; }
.tmember__role { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-ink); margin-top: 0.35rem; }
.tmember__bio { font-size: var(--fs-sm); color: var(--ink-muted); margin-top: 0.65rem; }
.tmember__bio strong { color: var(--ink-text); font-weight: 600; }
@media (max-width: 900px) { .team-grid--bio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid--bio { grid-template-columns: 1fr; } }

/* About — mission & vision two-up */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4.5rem); margin-top: 1.8rem; }
.mv-grid p { color: var(--muted); margin-top: 0.9rem; max-width: 56ch; }
@media (max-width: 820px) { .mv-grid { grid-template-columns: 1fr; } }
