/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Vantage (deal 2/3, seed energy-commissioning-retro-commissioning-facility-bec3·b8b0ffdc·2026-11-05·r0) · job: hire · draw: e219b9
 * hero: Poster · nav: slab · footer: mast · imagery: photographs + point field · signature: facility scan · vantage: interior/steel
 * critique: dark instrument page, lime CTA, real San Diego phone
 */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(13.5% 0.012 235); --color-paper-2: oklch(17% 0.014 235); --color-paper-3: oklch(21% 0.016 235);
  --color-ink: oklch(95% 0.006 230); --color-ink-2: oklch(82% 0.012 230); --color-muted: oklch(66% 0.016 230);
  --color-rule: oklch(27% 0.014 235); --color-rule-2: oklch(34% 0.016 235);
  --color-accent: oklch(89% 0.19 126); --color-accent-hi: oklch(93% 0.17 126); --color-accent-ink: oklch(19% 0.04 126); --color-focus: oklch(89% 0.19 126);
  --point-lo: oklch(42% 0.04 245); --point-mid: oklch(70% 0.04 232); --point-hi: oklch(96% 0.02 215);
  --color-slot: oklch(21% 0.016 235);
  --font-display: "Geologica", ui-sans-serif, system-ui, sans-serif; --font-body: "Geologica", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --tick: 10px;
  --shadow-card: none;
  --tracking-display: -0.035em; --display-weight: 300;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: muted con=6 sat=-20 */
[data-slot] > img { filter: saturate(0.8) contrast(1.06); }

.site-header {
  background: var(--color-paper-2);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding-block: var(--space-md); flex-wrap: wrap;
}
.brand img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; font-weight: 400; font-size: var(--text-sm); color: var(--color-ink-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--color-accent); }
.nav .phone { color: var(--color-ink); font-variant-numeric: tabular-nums; }
.btn {
  min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--color-accent-ink);
  font: 400 var(--text-md)/1 var(--font-body); text-decoration: none;
  display: inline-flex; align-items: center; cursor: pointer;
  transition: background var(--dur-short, 160ms) var(--ease-out, ease);
}
.btn:hover { background: var(--color-accent-hi); }
.btn--line { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.hero {
  padding-block: var(--space-2xl) var(--section-gap-s);
  position: relative; overflow: clip;
}
.hero .stage {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--gap-columns); align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 300;
  font-variation-settings: "SHRP" 100; letter-spacing: var(--tracking-display);
  margin-bottom: var(--space-md); max-width: 14ch;
}
.hero .lead { color: var(--color-ink-2); margin-bottom: var(--space-xl); max-width: 42ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.cloud-wrap {
  position: relative; aspect-ratio: 5/4; border-radius: var(--radius-card);
  background: var(--color-paper-2); overflow: hidden; width: 100%; max-width: 100%;
}
.cloud-wrap canvas { width: 100%; height: 100%; display: block; }
.ticks { position: relative; padding: var(--space-md); }
.ticks::before, .ticks::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: var(--rule-hair) solid var(--color-rule-2);
  -webkit-mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick));
  mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick));
}
.callout {
  position: absolute; left: 12%; bottom: 18%; display: flex; align-items: center; gap: var(--space-xs, 0.5rem);
  font-size: var(--text-sm); color: var(--color-ink); z-index: 2;
}
.callout .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.section { padding-block: var(--section-gap-s); }
.section-head {
  border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md);
  margin-bottom: var(--space-xl); display: flex; justify-content: space-between; gap: var(--space-md);
  flex-wrap: wrap; align-items: end;
}
.section-head p { color: var(--color-muted); font-size: var(--text-sm); max-width: 42ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.svc {
  background: var(--color-paper-2); border-radius: var(--radius-card); padding: var(--space-lg);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule);
}
.svc h3 { font-weight: 400; font-variation-settings: "SHRP" 100; margin-bottom: var(--space-sm); font-size: var(--text-title); }
.svc p { color: var(--color-ink-2); font-size: var(--text-sm); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.proj {
  border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); text-decoration: none;
}
.proj img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: saturate(0.8) contrast(1.06); }
.proj .body { padding: var(--space-md); }
.proj h3 { font-weight: 400; font-size: var(--text-title); margin-bottom: var(--space-xs); }
.proj p { color: var(--color-muted); font-size: var(--text-sm); }
.markets { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.markets span {
  border-radius: var(--radius-pill); padding: 0.45rem 0.9rem; font-size: var(--text-sm);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); color: var(--color-ink-2);
}
.band {
  background: var(--color-paper-2); color: var(--color-ink); padding-block: var(--section-gap-s);
  border-block: var(--rule-hair) solid var(--color-rule);
}
.band h2 { margin-bottom: var(--space-md); font-weight: 300; font-variation-settings: "SHRP" 100; }
.band p { color: var(--color-ink-2); margin-bottom: var(--space-xl); max-width: 52ch; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.office h3 { font-weight: 400; margin-bottom: var(--space-xs); }
.office p, .office a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; }
.office a:hover { color: var(--color-accent); }
.site-footer { padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.site-footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); }
.fb-credit { opacity: 0.7; font-size: 0.8rem; }
@media (max-width: 60rem) {
  .hero .stage, .svc-grid, .proj-grid, .offices { grid-template-columns: minmax(0, 1fr); }
}


/* floor repairs */
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:active, .btn--primary:active, .btn--secondary:active, .btn--line:active { transform: translateY(1px); }
.btn, .btn--primary, .btn--secondary, .btn--line {
  box-sizing: border-box;
  min-height: 48px;
  line-height: 1.2;
  white-space: nowrap;
}
.section, .band, .band--cast, .band--ink, .band--red {
  padding-block: var(--section-gap-s);
}
.section-head h2, .band h2, .band--cast h2, .band--ink h2, .band--red h2 {
  font-size: var(--text-section);
}
.section-head p { max-width: 52ch; }
.hero { min-height: min(100svh, 900px); display: flex; align-items: center; }
.hero .container, .hero .grid, .hero .stage, .hero-index, .hero-split { width: 100%; }

/* floor patch: focus, overflow, container, control height, section rhythm */
html, body { overflow-x: clip; }
:focus-visible {
  outline: 3px solid var(--color-focus, var(--color-ink, #111));
  outline-offset: 3px;
}
a:active, button:active, .btn:active { filter: brightness(0.92); }
.container {
  width: min(100% - 2 * var(--page-gutter, 1.5rem), 1440px);
  margin-inline: auto;
}
.btn, a.btn {
  min-height: 44px;
  padding-block: 0.75rem;
  padding-inline: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.section, .band, .band--ink, .band--red {
  padding-block: max(5rem, var(--section-gap, 6rem));
}
.section-head h2, .section h2, .band h2, .band--ink h2, .band--red h2 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.1;
  text-wrap: balance;
}
h1 { text-wrap: balance; }


/* quality pass: focus on dark bands, hero fold, fat layouts */
.hero {
  box-sizing: border-box;
  min-height: min(85vh, 760px);
  max-height: none;
  display: flex;
  align-items: center;
  padding-block: clamp(2rem, 4vh, 3.5rem);
}
.hero .grid,
.hero .stage,
.hero-index,
.hero-split {
  align-items: center;
}
.band--cast :focus-visible,
.band--ink :focus-visible,
.band--red :focus-visible,
.band-cast :focus-visible {
  outline-color: var(--color-plate-ink, #f5f2ea);
  outline-width: 3px;
  outline-offset: 3px;
}
.band--cast a:focus-visible,
.band--ink a:focus-visible,
.band--red a:focus-visible {
  outline-color: var(--color-plate-ink, #f5f2ea);
}
.markets--fat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-columns, 1.5rem);
  margin-top: var(--space-2xl, 3rem);
  padding-top: var(--space-xl, 2rem);
  border-top: var(--rule-hair, 1px) solid var(--color-rule, currentColor);
}
.markets--fat a,
.markets--fat span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-rule, currentColor);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.contact-fat,
.connect-fat {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--gap-columns, 2rem);
  align-items: center;
}
.contact-fat .map-panel,
.connect-visual {
  min-height: 280px;
  width: 100%;
}
.connect-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.hero-card figcaption.cap,
.case figcaption,
.entry figcaption.notebook {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-md, 1rem);
}
.hero-card figcaption.cap .code,
.hero-card figcaption.cap .case-title,
.case figcaption .case-title {
  display: block;
}
.entry figcaption.notebook .num {
  display: block;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted, inherit);
  font-size: var(--text-sm, 0.875rem);
}
.entry figcaption.notebook .btn {
  justify-self: start;
  margin-top: var(--space-sm, 0.75rem);
}
@media (max-width: 60rem) {
  .contact-fat,
  .connect-fat,
  .markets--fat {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    min-height: 0;
    padding-block: var(--space-xl, 2.5rem);
  }
}

.markets--fat span {
  background: var(--color-paper-2, transparent);
}
.cloud-wrap, #cloud, #points {
  max-height: 560px;
}

