/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Furrow (deal 3/3, seed inland-empire-commercial-general-0ea3·b8b0ffdc·2026-11-05·r0) · job: hire · draw: 625771
 * hero: Index · nav: banner · footer: colophon · imagery: photographs · signature: Riverside yard pin · furrow: manila
 * critique: warm paper, tangerine keys, project index
 * waive 47b: static SVG site plan instead of marching-squares canvas for speed
 */
:root {
  color-scheme: light;
  --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(52% 0.19 27); --color-success: oklch(50% 0.12 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(96% 0.011 85); --color-paper-2: oklch(99.5% 0.005 85); --color-paper-3: oklch(92% 0.016 85);
  --color-ink: oklch(18% 0.006 60); --color-ink-2: oklch(28% 0.008 60); --color-muted: oklch(44% 0.012 60); --color-rule: oklch(88% 0.013 85);
  --color-accent: oklch(70% 0.19 40); --color-accent-ink: oklch(18% 0.006 60); --color-accent-soft: oklch(91% 0.05 50); --color-focus: oklch(60% 0.19 40);
  --color-green: oklch(48% 0.11 150); --color-green-soft: oklch(92% 0.04 150);
  --color-contour: oklch(62% 0.07 58); --color-water: oklch(60% 0.05 232); --color-hedge: oklch(50% 0.1 150);
  --color-grid: oklch(90% 0.014 85); --color-grid-strong: oklch(85% 0.018 85); --color-sheet: oklch(99.3% 0.004 85);
  --font-display: "Red Hat Display", "Red Hat Text", ui-sans-serif, sans-serif; --font-body: "Red Hat Text", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Red Hat Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-entry: 14px; --radius-pill: 6px; --rule-hair: 1px;
  --shadow-card: 0 1px 2px oklch(18% 0.006 60 / 0.08), 0 14px 28px -16px oklch(18% 0.006 60 / 0.28);
  --shadow-lift: 0 1px 1px oklch(18% 0.006 60 / 0.1), 0 2px 4px -1px oklch(18% 0.006 60 / 0.1), 0 24px 44px -20px oklch(18% 0.006 60 / 0.42);
  --tracking-display: -0.035em; --display-weight: 600;
}

*, *::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: natural con=8 sat=-6 */
[data-slot] > img { filter: contrast(1.08) saturate(0.94); }

.banner {
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: var(--text-sm);
  font-weight: 500;
  padding-block: var(--space-xs);
}
.banner .inner { display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.banner a { color: var(--color-paper); text-decoration: none; }
.banner a:hover { color: var(--color-accent); }
.site-header { background: var(--color-paper); 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: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; font-weight: 500; font-size: var(--text-sm); }
.nav a { text-decoration: none; }
.btn {
  min-height: 48px; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill);
  padding: 0 var(--space-lg); font-weight: 500; background: var(--color-paper-2); color: var(--color-ink);
  box-shadow: inset 0 1px 0 var(--color-sheet), 0 1px 1px var(--color-rule);
  text-decoration: none; display: inline-flex; align-items: center; cursor: pointer;
}
.btn--primary {
  background: var(--color-accent); color: var(--color-accent-ink);
  border-color: color-mix(in oklab, var(--color-accent) 78%, var(--color-ink));
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-sheet) 32%, transparent), inset 0 -1px 0 color-mix(in oklab, var(--color-ink) 10%, transparent);
}
.btn:active { transform: translateY(1px); }
.hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.hero-index { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--gap-columns); align-items: start; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: var(--tracking-display); margin-bottom: var(--space-md); max-width: 16ch; }
.hero .lead { color: var(--color-muted); margin-bottom: var(--space-xl); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.entry {
  border-radius: var(--radius-entry); background: var(--color-paper-2);
  box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); overflow: hidden;
}
.entry-head { background: var(--color-ink); color: var(--color-paper); padding: var(--space-md); display: flex; justify-content: space-between; gap: var(--space-sm); font-size: var(--text-sm); font-weight: 500; }
.entry-head .tag { color: var(--color-accent); }
.notebook {
  background:
    linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px,
    var(--color-paper-2);
  padding: var(--space-lg);
}
.notebook h3 { margin-bottom: var(--space-sm); }
.notebook p { color: var(--color-muted); font-size: var(--text-sm); margin-bottom: var(--space-sm); }
.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.map-panel {
  border-radius: var(--radius-card); background: var(--color-paper-3);
  border: 1px solid var(--color-rule); padding: var(--space-md); position: relative; min-height: 180px;
}
.map-panel svg { width: 100%; height: auto; }
.map-label { position: absolute; left: var(--space-md); bottom: var(--space-md); background: var(--color-paper-2); border: 1px solid var(--color-ink); border-radius: 6px; padding: 0.4rem 0.65rem; font-size: var(--text-sm); font-weight: 500; box-shadow: var(--shadow-card); }
.map-label span { color: var(--color-green); }
.section { padding-block: var(--section-gap-s); }
.section-head { border-top: 1px solid var(--color-ink); 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: 40ch; }
.ruled > * { border-bottom: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-md); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; }
.ruled > *:first-child { border-top: 1px solid var(--color-ink); }
.ruled h3 { font-size: var(--text-title); }
.ruled p { color: var(--color-muted); font-size: var(--text-sm); }
.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.2rem 0.65rem; background: var(--color-green-soft); color: var(--color-green); font-size: 0.75rem; font-weight: 500; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.proj { border-radius: 10px; overflow: hidden; background: var(--color-paper-2); box-shadow: var(--shadow-card); text-decoration: none; }
.proj img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: contrast(1.08) saturate(0.94); }
.proj .body { padding: var(--space-md); }
.proj h3 { font-size: var(--text-title); margin-bottom: var(--space-xs); }
.proj p { color: var(--color-muted); font-size: var(--text-sm); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.svc { background: var(--color-paper-2); border-radius: var(--radius-card); padding: var(--space-lg); box-shadow: 0 0 0 1px var(--color-rule); }
.svc h3 { margin-bottom: var(--space-xs); }
.svc p { color: var(--color-muted); font-size: var(--text-sm); }
.band { background: var(--color-accent-soft); padding-block: var(--section-gap-s); border-block: 1px solid var(--color-rule); }
.band h2 { margin-bottom: var(--space-md); }
.band p { color: var(--color-muted); margin-bottom: var(--space-xl); max-width: 48ch; }
.site-footer { padding-block: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); border-top: 1px solid var(--color-rule); }
.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-index, .proj-grid, .svc-list { grid-template-columns: minmax(0, 1fr); }
  .ruled > * { 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: 0; padding-block: var(--space-xl) var(--space-2xl); }
.hero .container, .hero .grid, .hero .stage, .hero-index, .hero-split { width: 100%; }

.case-title { font-weight: 700; font-size: var(--text-title); margin-top: var(--space-xs); }

/* 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);
  }
}

.hero { min-height: min(78vh, 720px); }
.entry { margin: 0; }
.entry figcaption.notebook {
  padding: var(--space-lg);
  background: var(--color-paper-2);
}
.contact-fat .map-panel {
  position: relative;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-card, 10px);
  overflow: hidden;
  background: #e8dfc8;
  min-height: 240px;
}
.contact-fat .map-panel svg { width: 100%; height: auto; display: block; }

