/* ====================================================================
   TWF Website — Brand stylesheet
   Plain CSS · Mobile-first responsive · GSAP-friendly
   ==================================================================== */

:root {
  --navy: #004384;
  --navy-rgb: 0, 67, 132;
  --navy-deep: #00305E;
  --blue: #0062B4;
  --blue-light: #8FB7DC;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --ink-mute: #555;
  --ink-faint: #777;
  --bone: #F2EFE9;
  --paper: #F8F6F1;
  --red: #FF0000;
  --red-deep: #d80000;
  --line: rgba(0,67,132,0.18);
  --maxw: 1280px;
  --serif: "Lora", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.5;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Keyboard-only focus ring across all interactive elements. */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Floating blue blocks — match the .container content area (same width as
   the Book a Visit strip) and center, so they read as inset cards rather
   than full-width chunks. .visit-strip already lives inside .container. */
.spoc,
.creds-banner,
.factory-top {
  max-width: var(--maxw);
  width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
}
.spoc,
.creds-banner,
.factory-top,
.visit-strip {
  border-radius: 12px;
  overflow: hidden;
}


/* ============= TYPOGRAPHY ============= */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--blue); }
.eyebrow.muted { color: rgba(255,255,255,0.7); }
.eyebrow.on-image { color: rgba(255,255,255,0.85); }

.display { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.01em; color: var(--ink); margin-top: 16px; }
.display em { font-style: italic; color: var(--blue); }
.display.white { color: #fff; }
.display.white em { color: var(--red); }

h2.display .strike { position: relative; display: inline-block; color: var(--ink); }
h2.display .strike::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; border-top: 3px solid var(--red); transform: rotate(-3deg); }

h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.01em; color: var(--navy); }
h3 em { font-style: italic; color: var(--blue); }
h3.white { color: #fff; }
h3.white em.red { color: var(--red); }

h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.5vw, 26px); line-height: 1.2; color: var(--navy); }
h4 em { font-style: italic; color: var(--blue); }

h5 { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }

.lede { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.55; color: #2a2a2a; margin-top: 18px; max-width: 60ch; }
.lede.white { color: rgba(255,255,255,0.92); }
.lede strong { font-style: normal; font-weight: 700; color: var(--ink); }

.strap { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.6vw, 18px); text-align: center; color: var(--navy); }
.strap em { color: var(--blue); }
.white-strap { color: #fff; font-size: clamp(16px, 1.8vw, 22px); text-align: center; margin: 32px auto 0; max-width: 50ch; font-family: var(--serif); font-style: italic; }
.white-strap em { color: var(--red); font-style: italic; }

/* ============= NAV ============= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(248,246,241,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding: 8px 24px; background: rgba(248,246,241,0.97); border-bottom-color: var(--line); }
.nav-mark img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy); position: relative; padding: 4px 0;
}
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--red); transition: width 0.25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue); }

.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============= 1. HERO with 10% zoom ============= */
.hero { position: relative; height: 100vh; min-height: 640px; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  animation: heroZoom 14s ease-out 0.2s forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 22%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.85) 100%); }
.hero-corner-l, .hero-corner-r { position: absolute; top: 90px; z-index: 4; font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-corner-l { left: 28px; }
.hero-corner-r { right: 28px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: rgba(255,255,255,0.85); text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.hero-top { position: absolute; top: 124px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 4; padding: 28px 24px; }
.hero-top::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 52vw, 720px);
  height: clamp(220px, 26vw, 320px);
  background: radial-gradient(ellipse at center, rgba(0,30,60,0.55) 0%, rgba(0,30,60,0.30) 40%, rgba(0,30,60,0) 75%);
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}
.hero-mark {
  height: 80px; width: auto;
  filter: drop-shadow(0 4px 22px rgba(0,0,0,0.7))
          drop-shadow(0 2px 6px rgba(0,0,0,0.5))
          drop-shadow(0 0 1px rgba(0,0,0,0.6));
}
.hero-tagline {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.46em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.55);
}
.hero-atelier {
  margin-top: 6px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.3vw, 28px);
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5);
}
.hero-atelier-rule { display: inline-block; width: 44px; height: 1px; background: rgba(255,255,255,0.8); box-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.hero-atelier em { font-style: italic; color: #fff; }
.hero-content { position: absolute; bottom: 14vh; left: 0; right: 0; padding: 0 28px; z-index: 4; text-align: left; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.012em; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35); }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.95); }
.hero-trades { margin-top: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.42em; color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 24px; border: 1px solid rgba(255,255,255,0.6); font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; transition: background 0.25s ease, border-color 0.25s ease; }
.hero-cta span { font-size: 16px; letter-spacing: 0; transition: transform 0.25s ease; }
.hero-cta:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero-cta:hover span { transform: translateY(3px); }

/* ============= MARKETING DROPS ============= */
.drop { padding: 56px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drop-1, .drop-3, .drop-5, .drop-7 { background: var(--bone); }
.drop em { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.3; color: var(--navy); text-align: center; max-width: 800px; margin: 0 auto; }

/* ============= 2. APPROACH ============= */
.approach { background: var(--bone); padding: 64px 0 48px; }
.rule { width: 60px; height: 1px; background: rgba(0,0,0,0.2); margin: 32px 0 16px; }
.inputs-label { font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy); margin-bottom: 24px; }
.inputs-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(0,0,0,0.18); border-bottom: 1px solid rgba(0,0,0,0.18); }
.input { padding: 32px 12px; text-align: center; border-right: 1px solid rgba(0,0,0,0.12); }
.input:last-child { border-right: 0; }
.input-ic { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--navy); }
.input-ic svg { width: 100%; height: 100%; }
.input h5 { color: var(--navy); margin-bottom: 6px; }
.input p { font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.4; color: #555; }
.distill { margin: 48px auto 24px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--blue); }
.distill::before, .distill::after { content: ""; display: inline-block; vertical-align: middle; width: 60px; height: 1px; background: rgba(0,98,180,0.4); margin: 0 16px; }
.house-rule { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(0,0,0,0.2); padding-top: 24px; margin-top: 40px; }
.house-rule .quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--ink); }
.house-rule .attrib { font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy); flex-shrink: 0; }

/* ============= 3. SPOC ============= */
.spoc { background: var(--navy); color: #fff; padding: 64px 0 48px; }
.diagram-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 40px; }
.diagram-box { padding: 0 20px; }
.diagram-box:first-child { border-right: 1px dashed rgba(255,255,255,0.22); }
.diagram-lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; text-align: center; margin-bottom: 16px; }
.diagram-box svg { width: 100%; height: auto; max-height: 260px; display: block; }
.diagram-verdict { margin-top: 16px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: #fff; }
.pipeline { margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); padding: 32px 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.pipeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 60px; border-top: 1px dashed rgba(255,255,255,0.4); }
.pipeline-stage { text-align: center; position: relative; }
.pipeline-ic { width: 56px; height: 56px; margin: 0 auto 14px; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy); position: relative; z-index: 2; color: #fff; }
.pipeline-ic svg { width: 50%; height: 50%; }
.pipeline-stage h5 { color: #fff; }
.pipeline-stage .num { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 14px; color: #fff; }

/* ============= 4. PROMISE ============= */
.promise { background: var(--paper); }
.promise-hero { position: relative; min-height: 360px; background-size: cover; background-position: center 60%; display: flex; align-items: flex-end; }
.promise-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.85) 100%); }
.promise-hero-text { position: relative; z-index: 2; padding: 60px 24px 50px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.promise-hero-text h2 { margin-top: 12px; color: #fff !important; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.promise-hero-text h2.display em,
.promise-hero-text h2.display.white em { color: #fff !important; font-style: italic; }
.promise-hero-text .eyebrow { text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.promise-body { padding: 56px 24px 56px; max-width: 1180px; }

/* Group labels — restrained, editorial */
.group-label {
  display: flex; align-items: center; gap: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(0,67,132,0.55);
  margin-bottom: 0;
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-label.right { justify-content: flex-end; flex-direction: row-reverse; color: rgba(0,67,132,0.55); }
.group-label.right::after { background: var(--line); }

/* OUTSIDE — paper background, hairline dividers, cool & technical */
.row-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.row-four .promise-item {
  padding: 26px 24px;
  border-right: 1px solid rgba(0,67,132,0.10);
}
.row-four .promise-item:last-child { border-right: 0; }

/* INSIDE — bone tinted panel, navy italic with red accents (warmth via red) */
.row-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 18px;
  background: var(--bone);
  border-left: 3px solid var(--red);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.row-three .promise-item.in {
  padding: 36px 28px;
  border-right: 1px solid rgba(0,67,132,0.10);
}
.row-three .promise-item.in:last-child { border-right: 0; }

/* Item base */
.promise-item {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  gap: 10px;
  text-align: left;
  background: transparent;
  border: 0;
  transition: none;
}
.promise-item:hover { transform: none; box-shadow: none; border: 0; }
.promise-item::after { display: none; }

/* Outside item: small navy icon + serif name + sans description */
.row-four .promise-ic {
  width: 30px; height: 30px;
  border: 1px solid rgba(0,67,132,0.35);
  border-radius: 50%;
  background: transparent;
  color: rgba(0,67,132,0.65);
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.row-four .promise-ic svg { width: 54%; height: 54%; }
.row-four .promise-item:hover .promise-ic { color: var(--blue); border-color: var(--blue); }
.row-four .promise-item h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: 0;
  margin: 0;
}
.row-four .promise-item p {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(0,0,0,0.55);
  margin: 0;
  max-width: 22ch;
}

/* Inside item: NO icon. Italic serif with red name + navy italic description */
.row-three .promise-item.in .promise-ic { display: none; }
.row-three .promise-item.in h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.05;
  color: var(--red);
  letter-spacing: -0.005em;
  margin: 0 0 6px;
}
.row-three .promise-item.in p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.5;
  color: rgba(0,67,132,0.78);
  margin: 0;
  max-width: 26ch;
}

/* The pivot — centered italic with fading rules */
.transition-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.4;
  color: var(--navy);
  padding: 32px 24px;
  margin: 0;
  background: transparent;
  border: 0;
}
.transition-line::before,
.transition-line::after {
  content: "";
  flex-shrink: 0;
  width: clamp(40px, 8vw, 96px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,67,132,0.28), transparent);
}
.transition-line-text {
  /* Keep the phrase as a single flex item so the gap only sits between
     the rules and the text — not between every word of the sentence. */
  display: inline-block;
}
.transition-line em {
  font-style: italic;
  color: var(--blue);
}

.creds-banner { background: var(--navy); color: #fff; padding: 56px 0; }
.creds-header { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.22); padding-bottom: 18px; margin-bottom: 32px; }
.creds-label { font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.creds-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: #fff; }
.creds-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.creds-stat { padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.22); }
.creds-stat:first-child { padding-left: 0; }
.creds-stat:last-child { border-right: 0; padding-right: 0; }
.creds-stat .n { font-family: var(--serif); font-size: clamp(48px, 7vw, 80px); line-height: 1; color: #fff; }
.creds-stat .n em { font-style: italic; color: var(--red); font-size: 0.6em; vertical-align: 0.4em; }
.creds-stat .lbl { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

/* ============= 5. EXTERNAL TITLE ============= */
.ext-title { position: relative; min-height: 300px; color: #fff; display: flex; align-items: center; padding: 56px 0; overflow: hidden; }
.ext-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }
.ext-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,28,0.5), rgba(8,18,28,0.92)); }
.ext-corner-l, .ext-corner-r { position: absolute; top: 24px; z-index: 3; font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.ext-corner-l { left: 24px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: 0.02em; text-transform: none; }
.ext-corner-r { right: 24px; }
.ext-title .container { position: relative; z-index: 2; }
.ext-content { max-width: 720px; }
.ext-content .display { font-size: clamp(28px, 4vw, 44px); margin-top: 10px; }
.ext-content .lede { font-size: clamp(14px, 1.3vw, 16px); margin-top: 12px; }

/* ============= 6. EXTERNAL RANGE ============= */
.ext-range { background: var(--bone); }
.ext-range-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.ext-range > .ext-range-head { padding-top: 56px; padding-bottom: 20px; }
.ext-range-head h3 { font-size: clamp(22px, 2.6vw, 30px); }
.ext-range-head .meta { font-size: 10px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--navy); }
.ext-range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin: 0 24px 36px; }
.ec { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.ec.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ec.photo:hover img { transform: scale(1.04); }
.ec.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,48,94,0.10) 0%, rgba(0,48,94,0.55) 55%, rgba(0,48,94,0.92) 100%); z-index: 1; pointer-events: none; }
.ec.sketch { background: var(--navy); }
.ec.sketch img { position: absolute; top: 18px; left: 18px; right: 18px; bottom: 64px; width: auto; height: auto; object-fit: contain; z-index: 0; filter: brightness(0) invert(1); opacity: 0.55; transition: opacity 0.3s ease; }
.ec.sketch:hover img { opacity: 0.8; }
.ec.sketch::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(0,48,94,0) 0%, rgba(0,48,94,0.55) 55%, rgba(0,48,94,0.92) 100%); z-index: 1; pointer-events: none; }
.ec-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 18px 16px; color: #fff; }
.ec.sketch .ec-overlay { color: #fff; }
.ec-overlay h4 { font-style: italic; margin-bottom: 4px; color: #fff; font-size: clamp(15px, 1.3vw, 18px); font-weight: 400; }
.ec-overlay p { font-family: var(--serif); font-style: italic; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,0.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ec.sketch .ec-overlay p { color: rgba(255,255,255,0.85); }
.ec-overlay .ec-cta, .tile-overlay .ec-cta { display: none; }
/* Card link wrapper */
a.ec, a.tile {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s ease;
}
a.ec:hover, a.tile:hover { transform: translateY(-2px); }

/* "Read more" affordance */
.ec-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
  position: relative;
  opacity: 0.85;
}
a.ec:hover .ec-cta, a.tile:hover .ec-cta { border-bottom-color: #fff; opacity: 1; transform: translateX(4px); }
.ec-cta.dark { color: var(--navy); border-bottom-color: rgba(0,67,132,0.4); }
a.ec:hover .ec-cta.dark, a.tile:hover .ec-cta.dark { border-bottom-color: var(--navy); }

/* Subtle "+" indicator on photo cards (top right) */
a.ec.photo::after, a.tile.photo::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/11px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center/1px 11px no-repeat;
  color: #fff;
  z-index: 3;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
a.ec.photo:hover::after, a.tile.photo:hover::after {
  opacity: 1;
  transform: scale(1);
}
a.ec.sketch::after, a.tile.sketch::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center/11px 1px no-repeat,
    linear-gradient(#fff, #fff) center/1px 11px no-repeat;
  z-index: 3;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
a.ec.sketch:hover::after, a.tile.sketch:hover::after { opacity: 1; transform: scale(1); }

/* ============= 7. INTERNAL ============= */
.int-grid { background: var(--bone); }
.int-grid > .int-head { padding-top: 36px; padding-bottom: 20px; }
.int-head h3 { font-size: clamp(22px, 2.6vw, 30px); }
.int-head p { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(13px, 1.2vw, 15px); color: #3a3a3a; max-width: 60ch; }
.int-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin: 0 24px 36px; }
.tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile.photo:hover img { transform: scale(1.04); }
.tile.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,48,94,0.10) 0%, rgba(0,48,94,0.55) 55%, rgba(0,48,94,0.92) 100%); z-index: 1; pointer-events: none; }
.tile.sketch { background: var(--navy); }
.tile.sketch img { position: absolute; top: 18px; left: 18px; right: 18px; bottom: 64px; width: auto; height: auto; object-fit: contain; z-index: 0; filter: brightness(0) invert(1); opacity: 0.55; transition: opacity 0.3s ease; }
.tile.sketch:hover img { opacity: 0.8; }
.tile.sketch::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(0,48,94,0) 0%, rgba(0,48,94,0.55) 55%, rgba(0,48,94,0.92) 100%); z-index: 1; pointer-events: none; }
.tile-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 18px 16px; color: #fff; }
.tile-overlay h4 { color: #fff; font-style: italic; font-weight: 400; font-size: clamp(15px, 1.3vw, 18px); margin-bottom: 4px; }
.tile-overlay p { margin-top: 0; font-family: var(--serif); font-style: italic; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,0.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-overlay .ec-cta { margin-top: 8px; font-size: 9px; letter-spacing: 0.28em; color: #fff; border-bottom-color: rgba(255,255,255,0.4); }
a.tile:hover .tile-overlay .ec-cta { border-bottom-color: #fff; }

/* ============= 8. PEOPLE ============= */
.people { background: #fff; padding: 64px 0 44px; }
.people-hero { max-width: var(--maxw); margin: 24px auto 36px; padding: 0 24px; overflow: hidden; }
.people-hero-img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: cover; object-position: center top; filter: grayscale(100%) contrast(1.05) brightness(0.95); transform: translateZ(0); will-change: transform; }
.people-headline { padding: 16px 24px 8px; text-align: center; }
.people-headline .eyebrow { color: var(--blue); margin-bottom: 8px; }
.people-headline h3 { color: var(--navy); font-size: clamp(24px, 2.8vw, 34px); }
.people-headline h3 em { font-style: italic; color: var(--red); }

.people-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 24px; max-width: var(--maxw); margin: 0 auto 36px; }
.people-strip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(100%); transition: filter 0.5s ease; transform: translateZ(0); }
.people-strip img:hover { filter: grayscale(0%); }

/* Drop the 760px cap so the text width matches the .people-strip photo
   grid above it (both now inherit .container's max-width). Center the
   block contents to balance with the wider, centered photo strip. */
.people-body { padding: 0 24px; text-align: center; }
.people-lede { font-family: var(--serif); font-size: clamp(14px, 1.4vw, 17px); line-height: 1.55; color: var(--ink); margin-bottom: 14px; }
.people-lede em { font-style: italic; color: var(--blue); }

.installer-attrs {
  list-style: none;
  margin: 14px 0 14px;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.installer-attrs li {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-right: 16px;
}
.installer-attrs li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

.people-tag { margin-top: 6px; font-family: var(--serif); font-size: clamp(14px, 1.4vw, 17px); color: var(--navy); }
.people-tag strong { font-weight: 700; }

/* ============= 9. FACTORY ============= */
.factory { background: var(--paper); }
.factory-top { background: var(--navy); color: #fff; padding: 44px 0 36px; }
.factory-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.factory-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.factory-badge { display: inline-block; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.35); padding: 5px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: #fff; }
.factory-status-tag { display: inline-block; background: var(--red); color: #fff; padding: 5px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }
.factory-top h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; max-width: 920px; }
.factory-sub { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.5; color: rgba(255,255,255,0.85); max-width: 720px; }
.bigstats { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bigstat { border-top: 1px solid rgba(255,255,255,0.25); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.bigstat .n { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1; color: #fff; }
.bigstat .n .suffix { font-style: italic; font-size: 0.5em; color: var(--red); vertical-align: 0.6em; }
.bigstat .n em { font-style: italic; font-size: 0.6em; color: var(--red); vertical-align: 0.4em; }
.bigstat .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.factory-punch { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.25); font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.3; color: #fff; }
.factory-bottom { padding: 32px 0 36px; background: var(--paper); }
.factory-lede { font-family: var(--serif); font-size: clamp(14px, 1.3vw, 16px); line-height: 1.4; color: var(--navy); margin-bottom: 18px; }
.factory-feats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.factory-feat { padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.14); display: flex; flex-direction: column; gap: 4px; }
.factory-feat .fnum { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--blue); margin-bottom: 2px; }
.factory-feat h5 { color: var(--navy); margin-bottom: 2px; font-size: 12px; line-height: 1.2; }
.factory-feat p { font-size: 12px; line-height: 1.4; color: #555; }
.factory-strap { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.14); font-family: var(--serif); font-style: italic; font-size: 13px; color: #2a2a2a; text-align: center; }

/* ============= 10. TRUSTED + MARQUEE ============= */
.trusted { background: #fff; padding: 64px 0 48px; }
.trusted h3 { border-bottom: 1px solid rgba(0,0,0,0.18); padding-bottom: 24px; margin-bottom: 32px; }
.studios-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(0,0,0,0.14); border-left: 1px solid rgba(0,0,0,0.14); }
.studio { border-right: 1px solid rgba(0,0,0,0.14); border-bottom: 1px solid rgba(0,0,0,0.14); height: 90px; display: flex; align-items: center; justify-content: center; padding: 12px; font-family: var(--serif); font-size: 14px; text-align: center; color: #333; }
.studio.tight { font-size: 12px; }
.studio.italic { font-style: italic; }
.studio.caps { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.studio.alt { font-family: var(--sans); font-weight: 900; font-size: 15px; letter-spacing: 0.04em; }
.trusted .strap { margin-top: 32px; }
.marquee-cap { margin-top: 64px; border-top: 1px solid rgba(0,0,0,0.18); padding-top: 24px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.marquee-cap h4 { color: var(--navy); }
.marquee-cap .meta { font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy); }
.marquee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.marquee-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); cursor: zoom-in; }
.marquee-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.marquee-ph:hover img { transform: scale(1.04); }

/* ============= 11. DOWNLOADS ============= */
.downloads { background: var(--bone); padding: 100px 0 80px; }
.downloads h3 { margin-top: 8px; }
.cat-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-grid.single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.cat { background: #fff; border: 1px solid var(--line); padding: 32px 24px; text-align: left; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; font-family: inherit; }
.cat:hover { border-color: var(--navy); transform: translateY(-3px); }
.cat-ic { width: 40px; height: 40px; color: var(--navy); margin-bottom: 16px; }
.cat-ic svg { width: 100%; height: 100%; }
.cat h5 { color: var(--navy); margin-bottom: 6px; }
.cat p { font-family: var(--serif); font-style: italic; font-size: 13px; color: #555; }
.cat-note { margin-top: 32px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--navy); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.78); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { background: #fff; max-width: 500px; width: 100%; padding: 40px; position: relative; transform: translateY(12px); transition: transform 0.3s ease; }
.modal.open .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--navy); }
.modal-card h4 { margin-top: 6px; margin-bottom: 24px; color: var(--navy); }
.cat-form label { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }
.cat-form input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); font-family: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); border-radius: 0; background: var(--paper); }
.cat-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--navy); }
.cat-form fieldset { border: 0; padding: 0; margin: 14px 0 18px; }
.cat-form legend { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.cat-form .radio { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; margin-bottom: 8px; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--ink); }
.cat-form .radio input { width: auto; display: inline; margin: 0; }
.btn-primary { display: inline-block; padding: 12px 28px; background: var(--navy); color: #fff; border: 0; cursor: pointer; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; transition: background 0.2s ease; }
.btn-primary:hover { background: var(--blue); }
.btn-primary.big { padding: 16px 36px; font-size: 12px; }
.cat-form-note { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 12px; color: #777; letter-spacing: 0; text-transform: none; font-weight: 400; }

/* ============= 12. FAQ — 2-col grid ============= */
.faq { background: #fff; padding: 64px 0 56px; }
.faq-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 32px; row-gap: 0; align-items: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-item {
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.faq-item:nth-child(1), .faq-item:nth-child(6) { border-top: 0; }
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.35s ease;
}
.faq-item[open]::before, .faq-item:hover::before { transform: scaleY(1); }
.faq-item:hover { background: rgba(0, 67, 132, 0.025); }
.faq-item[open] { background: rgba(0, 67, 132, 0.04); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px 14px 16px;
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 14px;
  transition: padding-left 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item:hover summary, .faq-item[open] summary { padding-left: 32px; }

.faq-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--blue);
  line-height: 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.faq-q {
  font-family: var(--serif);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.3;
  color: var(--navy);
  transition: color 0.25s ease;
}
.faq-item[open] .faq-q { color: var(--blue); font-style: italic; }

.faq-item .caret {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.35s ease, border-color 0.25s ease, background 0.25s ease;
  justify-self: end;
}
.faq-item .caret::before, .faq-item .caret::after {
  content: "";
  position: absolute;
  background: var(--navy);
  left: 50%; top: 50%;
}
.faq-item .caret::before { width: 11px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item .caret::after  { width: 1.5px; height: 11px; transform: translate(-50%, -50%); transition: transform 0.35s ease, opacity 0.2s ease; }
.faq-item[open] .caret { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.faq-item[open] .caret::before, .faq-item[open] .caret::after { background: #fff; }
.faq-item[open] .caret::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  padding: 0 18px 16px 62px;
  overflow: hidden;
  animation: faqSlide 0.4s ease-out;
}
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-a p {
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.55;
  color: #2a2a2a;
}
.faq-a p em { font-style: italic; color: var(--blue); }
.faq-a p a { color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.faq-a p a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ============= VISIT STRIP (compact CTA) ============= */
.visit-strip {
  margin-top: 56px;
  margin-bottom: 32px;
  padding: 32px 40px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.visit-strip::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(0,98,180,0.4), transparent 70%);
  pointer-events: none;
}
.visit-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  position: relative; z-index: 2;
}
.visit-strip-text { flex: 1; min-width: 0; }
.visit-strip-text .eyebrow { color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.visit-strip-line {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: #fff;
  max-width: 60ch;
}
.visit-strip-line em { font-style: italic; color: var(--red); }
.visit-strip .btn-primary {
  flex-shrink: 0;
  background: var(--red);
  border: 0;
  white-space: nowrap;
  padding: 18px 32px;
  font-size: 12px;
  cursor: pointer;
}
.visit-strip .btn-primary:hover { background: var(--red-deep); }

.visit-modal-card { max-width: 540px; }
.visit-modal-card .cat-form label { color: var(--navy); }
.visit-modal-card .cat-form input,
.visit-modal-card .cat-form select {
  display: block; width: 100%; margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit; font-size: 14px; color: var(--ink);
  font-weight: 400; letter-spacing: 0; text-transform: none;
  border-radius: 0;
}
.visit-modal-card .cat-form input:focus-visible,
.visit-modal-card .cat-form select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--navy); }
.visit-modal-card .opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(0,0,0,0.5); margin-left: 4px; }

/* ============= 14. CONTACT (Founders + ECs) ============= */
.contact { background: var(--paper); padding: 100px 0 60px; }
.contact h3 { margin-top: 8px; }
.founders-label {
  margin-top: 28px;
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 14px;
  position: relative;
}
.founders-label::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 28px; height: 1px;
  background: var(--blue);
}
.founders-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.founders-row.big .founder-pic { width: 220px; height: 264px; max-width: 100%; }
.founder { text-align: center; }
.founder-pic { margin: 0 auto 10px; background: var(--navy); overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.founder-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.founder-pic:hover img { transform: scale(1.04); }
.founder-name { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.founder-name em { font-style: italic; color: var(--blue); }
.founder-role { margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(0,0,0,0.55); }

.ec-tagline { margin-top: 48px; text-align: center; font-family: var(--serif); font-size: 16px; color: var(--navy); }
.ec-tagline em { font-style: italic; color: var(--blue); }
.ec-head { margin-top: 40px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.ec-head h4 { color: var(--navy); }
.ec-head .meta { font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy); }
.ec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ec-card { border-top: 1px solid rgba(0,0,0,0.18); padding-top: 16px; }
.ec-card h5 { color: var(--navy); margin-bottom: 10px; }
.ec-card p { font-size: 13px; line-height: 1.5; color: #333; }
.ec-meta { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--navy); }
.ec-meta a { color: var(--navy); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.ec-meta a:hover { border-bottom-color: var(--blue); }
.ec-map { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); border: 0; border-bottom: 1px solid currentColor; padding: 0 0 1px; background: transparent; font-family: inherit; cursor: pointer; transition: color 0.2s ease; }
.ec-map:hover { color: var(--navy); }
.ec-card .soon { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--blue); padding: 6px 0; }
.ec-card.qr-card { grid-column: span 2; }
.ec-card.qr-card h5 { font-size: 14px; }
.qr-meta { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--navy); }

/* ============= FOOTER ============= */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 32px 0 24px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.foot-mark img { height: 28px; }
.foot-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(0,0,0,0.6); }
.foot-by-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 32px 24px;
  border-bottom: 1px solid var(--line);
}
.foot-by-row span {
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy);
}
.foot-by-row a { display: inline-flex; align-items: center; transition: opacity 0.2s ease; }
.foot-by-row a:hover { opacity: 0.7; }
.foot-by-row img { height: 36px; width: auto; }
.foot-bottom { padding-top: 18px; display: flex; justify-content: center; align-items: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.5); }
.foot-socials { display: flex; align-items: center; gap: 10px; }
.foot-socials a { color: var(--navy); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.foot-socials a:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.foot-socials svg { width: 18px; height: 18px; }

/* ============= GSAP-friendly utility ============= */
.reveal-h span { display: inline-block; }
/* Prevent flash-then-hide on slow mobile networks: keep spans hidden until
   GSAP is ready (body.gsap-ready) or the no-anim fallback kicks in. */
body:not(.gsap-ready):not(.no-anim) .reveal-h span { opacity: 0; transform: translateY(105%); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .ec.photo img, .marquee-ph img, .tile.photo img, .founder-pic img, .nav { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================ TABLET ≤1024px */
@media (max-width: 1024px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.18em; }
  .inputs-grid { grid-template-columns: repeat(3, 1fr); }
  .input { border-bottom: 1px solid rgba(0,0,0,0.12); }
  .input:nth-child(3n) { border-right: 0; }
  .input:nth-last-child(-n+3) { border-bottom: 0; }
  .row-four { grid-template-columns: repeat(2, 1fr); }
  .creds-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .creds-stat:nth-child(2) { border-right: 0; }
  .factory-feats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .studios-grid { grid-template-columns: repeat(4, 1fr); }
  .ext-range-grid { grid-template-columns: repeat(2, 1fr); }
  .int-tiles { grid-template-columns: repeat(2, 1fr); }
  .ec-grid { grid-template-columns: repeat(2, 1fr); }
  .ec-card.qr-card { grid-column: span 2; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .people-strip { grid-template-columns: repeat(2, 1fr); }
  .founders-row.big .founder-pic { width: 180px; height: 216px; }
  .marquee-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================ MOBILE ≤768px */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 12px 20px; }
  .nav-links { position: fixed; top: 60px; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 24px 24px 32px; width: 80%; max-width: 320px; height: calc(100vh - 60px); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.3s ease; gap: 0; box-shadow: -8px 0 32px rgba(0,0,0,0.08); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav-toggle { display: flex; }

  .hero { min-height: 100vh; }
  .hero-corner-l, .hero-corner-r { top: 80px; font-size: 9px; letter-spacing: 0.24em; }
  .hero-corner-r { font-size: 11px; letter-spacing: 0.02em; }
  .hero-top { top: 88px; padding: 16px 14px; gap: 12px; }
  .hero-top::before { width: 92vw; height: 180px; filter: blur(8px); }
  .hero-mark { height: 56px; }
  .hero-tagline { font-size: 10px; letter-spacing: 0.36em; }
  .hero-atelier { font-size: 16px; gap: 10px; }
  .hero-atelier-rule { width: 28px; }
  .hero-content { bottom: 8vh; padding: 0 20px; }
  .hero-trades { font-size: 9px; letter-spacing: 0.32em; }

  .approach { padding: 64px 0 48px; }
  .inputs-grid { grid-template-columns: repeat(2, 1fr); }
  .input { padding: 24px 12px; border-bottom: 1px solid rgba(0,0,0,0.12); }
  /* Restore the borders the tablet rules zeroed but the 2-col mobile
     layout needs back: cell 3 (left col, row 2) needs a right divider,
     cell 4 (right col, row 2) needs a bottom divider. */
  .input:nth-child(3) { border-right: 1px solid rgba(0,0,0,0.12); }
  .input:nth-last-child(3) { border-bottom: 1px solid rgba(0,0,0,0.12); }
  .input:nth-child(2n) { border-right: 0; }
  .input:nth-last-child(-n+2) { border-bottom: 0; }
  .house-rule { flex-direction: column; gap: 12px; align-items: flex-start; }

  .spoc { padding: 64px 0 48px; }
  .diagram-grid { grid-template-columns: 1fr; gap: 32px; }
  .diagram-box:first-child { border-right: 0; border-bottom: 1px dashed rgba(255,255,255,0.22); padding-bottom: 24px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; padding: 24px 8px; }
  .pipeline::before { display: none; }
  .pipeline-stage h5 { font-size: 11px; letter-spacing: 0.16em; }
  /* 5 stages in a 2-col grid leaves an orphan; center it across both cols. */
  .pipeline-stage:nth-child(5):last-child { grid-column: 1 / -1; }

  .promise-hero { min-height: 280px; }
  .promise-hero-text { padding: 32px 20px; }

  .creds-banner { padding: 40px 0; }
  .creds-header { flex-direction: column; gap: 6px; }
  .creds-stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .creds-stat:nth-child(2) { border-right: 0; }
  .creds-stat { padding: 0 16px; }

  .ext-title { min-height: 360px; }
  .ext-corner-l, .ext-corner-r { font-size: 10px; letter-spacing: 0.24em; }
  .ext-corner-r { letter-spacing: 0.32em; }
  .ext-range-grid { grid-template-columns: 1fr 1fr; }
  .ec { aspect-ratio: 4 / 3; }
  .ec-overlay { padding: 12px 14px; }

  .int-tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 4 / 3; }
  .tile.sketch img { top: 12px; left: 12px; right: 12px; bottom: 50px; }
  .tile-overlay { padding: 12px 14px; }

  .people { padding: 40px 0 32px; }
  .people-hero { margin: 16px auto 24px; padding: 0 20px; }
  .people-strip { grid-template-columns: repeat(2, 1fr); padding: 0 20px; gap: 6px; margin-bottom: 24px; }
  .people-headline { padding: 12px 20px 6px; }
  .people-body { padding: 0 20px; }
  /* Center the trait pills on mobile and drop the dot separators since
     they look stranded after the items wrap to multiple rows. */
  .installer-attrs { justify-content: center; gap: 8px 10px; padding: 12px 0; }
  .installer-attrs li { padding: 4px 10px; padding-right: 10px; background: rgba(0,67,132,0.06); border-radius: 999px; font-size: 9px; letter-spacing: 0.18em; }
  .installer-attrs li:not(:last-child)::after { display: none; }
  .people-tag { text-align: center; }

  /* Promise (Stays outside / inside) */
  .promise-body { padding: 36px 16px 32px; }
  .row-four { grid-template-columns: repeat(2, 1fr); }
  .row-four .promise-item { padding: 18px 16px; border-right: 1px solid rgba(0,67,132,0.10); }
  .row-four .promise-item:nth-child(2n) { border-right: 0; }
  .row-four .promise-item:nth-child(-n+2) { border-bottom: 1px solid rgba(0,67,132,0.10); }
  .row-three { grid-template-columns: 1fr; border-left-width: 3px; }
  .row-three .promise-item.in { padding: 22px 18px; border-right: 0; border-bottom: 1px solid rgba(0,67,132,0.10); }
  .row-three .promise-item.in:last-child { border-bottom: 0; }
  .row-three .promise-item.in h4 { font-size: 24px; }
  .transition-line { padding: 22px 18px; gap: 14px; font-size: 15px; }
  .transition-line::before, .transition-line::after { width: 32px; }

  .factory-top { padding: 28px 0 24px; }
  .factory-bottom { padding: 22px 0 28px; }
  .factory-top h3 { font-size: clamp(20px, 6vw, 26px); }
  .factory-sub { font-size: 13px; }
  .bigstats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .bigstat .n { font-size: clamp(28px, 8vw, 44px); }
  .factory-feats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* 5 feats in a 2-col grid leaves an orphan; center it across both cols. */
  .factory-feat:nth-child(5):last-child { grid-column: 1 / -1; align-items: center; text-align: center; }

  .trusted { padding: 64px 0 48px; }
  .studios-grid { grid-template-columns: repeat(2, 1fr); }
  .studio { height: 70px; }
  .marquee-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .downloads { padding: 64px 0 48px; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat { padding: 24px 20px; }
  .modal-card { padding: 28px 24px; }

  .faq { padding: 56px 0 40px; }
  .faq-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; column-gap: 0; }
  /* Reset the desktop 2-col border tweak: in single-column only the first
     item drops its top border. */
  .faq-item:nth-child(6) { border-top: 1px solid var(--line); }
  .faq-item { border-top: 1px solid var(--line); }
  .faq-item:first-child { border-top: 0; }
  .faq-item summary {
    grid-template-columns: 32px 1fr 24px;
    gap: 12px;
    padding: 14px 14px;
  }
  .faq-num { font-size: 16px; }
  .faq-q { font-size: 14px; }
  .faq-item:hover summary, .faq-item[open] summary { padding-left: 16px; }
  .faq-a { padding: 0 16px 18px 56px; }

  .visit-strip { padding: 24px 20px; margin-top: 40px; margin-bottom: 24px; }
  .visit-strip-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .visit-strip .btn-primary { width: 100%; text-align: center; padding: 16px 24px; }

  .contact { padding: 64px 0 48px; }
  .founders-row { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; margin-bottom: 32px; }
  .founders-row.big .founder-pic { width: 100%; max-width: 110px; height: auto; aspect-ratio: 4/5; }
  .founder-name { font-size: 14px; }
  .founder-role { font-size: 9px; letter-spacing: 0.22em; }
  /* 2-col grid on mobile so the 6 city cards fit a 2x3 block instead
     of a long single column. QR card stays full-width below. */
  .ec-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .ec-card { padding-top: 12px; }
  .ec-card h5 { font-size: 12px; letter-spacing: 0.16em; margin-bottom: 6px; }
  .ec-card p { font-size: 12px; line-height: 1.45; }
  .ec-meta { font-size: 12px; margin-top: 6px; }
  .ec-map { font-size: 10px; letter-spacing: 0.18em; margin-top: 6px; }
  .ec-card.qr-card { grid-column: span 2; grid-template-columns: 100px 1fr; gap: 16px; }
  .ec-card.qr-card .qr { width: 100px; height: 100px; }

  .drop { padding: 36px 0; }
  .drop em { font-size: clamp(16px, 4.5vw, 22px); }

  .foot-row { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .foot-by-row { padding: 24px 16px; gap: 12px; }
  .foot-by-row span { font-size: 18px; }
  .foot-by-row img { height: 30px; }
  .foot-bottom { text-align: center; }
}

@media (max-width: 380px) {
  .hero-trades { font-size: 8px; }
  .hero-cta { padding: 12px 16px; font-size: 10px; }
  .hero h1 { font-size: 36px; }
}

/* ============= PRODUCT DETAIL PAGE ============= */
.pd-back { position: absolute; top: 76px; left: 24px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.45); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; backdrop-filter: blur(6px); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.pd-back:hover { background: #fff; color: var(--navy); border-color: #fff; }
.pd-back .arrow { font-size: 16px; line-height: 1; }

/* End-of-page back link on product pages — mirrors the top .pd-back
   button so the reader doesn't have to scroll all the way back up. */
.pd-back-foot { padding: 32px 24px 56px; text-align: center; background: var(--paper); }
.pd-back-foot a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.pd-back-foot a:hover { background: var(--navy); color: #fff; }
.pd-back-foot .arrow { font-size: 16px; line-height: 1; }
.foot-by { display: flex; align-items: center; gap: 10px; }
.foot-by span { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--navy); }
.foot-by img { height: 24px; width: auto; }
.pd-hero { position: relative; height: 48vh; min-height: 320px; max-height: 440px; color: #fff; overflow: hidden; }
.pd-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); will-change: transform; }
.pd-hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,67,132,0.55) 0%, rgba(0,67,132,0.35) 50%, rgba(0,48,94,0.92) 100%); }
.pd-hero-text { position: relative; z-index: 2; padding: 0 24px; max-width: var(--maxw); margin: 0 auto; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 36px; }
.pd-hero-text .crumb { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.pd-hero-text .crumb a { color: rgba(255,255,255,0.85); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.pd-hero-text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.012em; color: #fff; }
.pd-hero-text h1 em { font-style: italic; color: #fff; }
.pd-hero-text .tagline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(14px, 1.4vw, 17px); color: rgba(255,255,255,0.92); max-width: 60ch; }

.pd-body { padding: 44px 0 28px; background: var(--paper); }
.pd-poetic { max-width: 720px; margin: 0 auto; padding: 0 24px; text-align: left; }
.pd-poetic p { font-family: var(--serif); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; color: var(--ink); margin-bottom: 14px; }
.pd-poetic p em { font-style: italic; color: var(--blue); }
.pd-pull { max-width: 720px; margin: 28px auto; padding: 22px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.3; color: var(--navy); text-align: center; }
.pd-pull .container { max-width: 100%; padding: 0; }

.pd-specs { background: var(--bone); padding: 40px 0 36px; }
.pd-specs > .container { max-width: 800px; }
.pd-specs h3 { margin-bottom: 20px; font-size: clamp(20px, 2.4vw, 26px); text-align: center; }
.pd-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.pd-spec { border-top: 1px solid var(--line); padding-top: 12px; }
.pd-spec h4 { color: var(--navy); font-size: 11px; font-weight: 700; font-family: var(--sans); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.pd-spec p { font-size: 12px; line-height: 1.45; color: #444; }

.pd-config { padding: 24px 0 36px; background: #fff; }
.pd-config > .container { max-width: 800px; text-align: center; }
.pd-config h4 { font-size: 11px; font-weight: 700; font-family: var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.pd-config-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; justify-content: center; }
.pd-config-list .chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-family: var(--serif); font-style: italic; font-size: 12px; line-height: 1.4; color: var(--navy); text-align: center; transition: none; cursor: default; }
.pd-config-list .chip:hover { background: transparent; color: var(--navy); border-color: var(--line); }

/* Big CTA */
.pd-cta {
  position: relative;
  padding: 56px 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.pd-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,98,180,0.4), transparent 70%);
  pointer-events: none;
}
.pd-cta .cta-line { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; max-width: 700px; margin: 0 auto 14px; color: #fff; }
.pd-cta .cta-line em { color: var(--red); font-style: italic; }
.pd-cta .cta-sub { font-family: var(--serif); font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.pd-cta .cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pd-cta .btn-cta { display: inline-block; padding: 11px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; border: 1px solid #fff; color: #fff; transition: background 0.2s ease, color 0.2s ease; }
.pd-cta .btn-cta:hover { background: #fff; color: var(--navy); }
.pd-cta .btn-cta.primary { background: var(--red); border-color: var(--red); }
.pd-cta .btn-cta.primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }

/* Related products strip */
.pd-related { padding: 36px 0 44px; background: var(--paper); }
.pd-related h4 { color: var(--navy); margin-bottom: 16px; font-size: 11px; font-weight: 700; font-family: var(--sans); letter-spacing: 0.28em; text-transform: uppercase; }
.pd-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-related-card { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pd-related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pd-related-card:hover img { transform: scale(1.05); }
.pd-related-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,67,132,0) 55%, rgba(0,67,132,0.88)); }
.pd-related-card .lbl { position: absolute; bottom: 10px; left: 12px; right: 12px; z-index: 2; color: #fff; font-family: var(--serif); font-style: italic; font-size: 13px; }

@media (max-width: 1024px) {
  .pd-specs-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pd-hero { height: 50vh; min-height: 320px; max-height: 380px; }
  .pd-hero-text { padding-bottom: 28px; }
  .pd-hero-text h1 { font-size: clamp(26px, 7vw, 36px); }
  .pd-hero-text .tagline { font-size: 13px; }
  .pd-back { top: 66px; left: 16px; padding: 5px 10px; font-size: 9px; letter-spacing: 0.22em; }
  .pd-body { padding: 32px 0 24px; }
  .pd-pull { margin: 22px 0; padding: 18px 0; font-size: 16px; }
  .pd-specs, .pd-config, .pd-cta, .pd-related { padding: 28px 0; }
  .pd-specs-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pd-config-list { gap: 6px; }
  .pd-cta { padding: 36px 0; }
  .pd-cta .cta-buttons { flex-direction: column; align-items: center; }
  .pd-cta .btn-cta { width: 100%; max-width: 280px; text-align: center; }
}
