/* Hallmark · shape: Feature Stack · genre: modern-minimal · theme: Terrazzo (deal 3/3, seed environmental-remediation-hazardous-materials-4bbc·b8b0ffdc·2026-11-05·r0) · job: hire · draw: 26cf66
 * hero: Corridor · nav: edge-aligned · footer: statement · imagery: photographs · signature: Shinohara card · terrazzo: off-white
 * critique: sample-drawer services, rust signal, real project photos
 */
: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.009 82); --color-paper-2: oklch(92% 0.012 82); --color-paper-3: oklch(87.5% 0.014 80);
  --color-plate: oklch(99.5% 0.003 82);
  --color-ink: oklch(16% 0.006 60); --color-ink-2: oklch(27% 0.006 60); --color-muted: oklch(46% 0.01 60);
  --color-rule: oklch(81% 0.012 80);
  --color-accent: oklch(53% 0.15 38); --color-accent-soft: oklch(91% 0.035 45); --color-accent-ink: oklch(99.5% 0.003 82); --color-focus: oklch(50% 0.16 38);
  --font-display: "Syne", ui-sans-serif, sans-serif; --font-body: "Onest", ui-sans-serif, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 2px;
  --shadow-card: 14px 14px 0 var(--color-paper-3); --shadow-card-hover: 14px 14px 0 var(--color-ink);
  --tracking-display: -0.025em; --display-weight: 700;
}

*, *::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) 25%, transparent); }
: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=4 */
[data-slot] > img { filter: contrast(1.04); }

.site-header { border-bottom: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); }
.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 { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 42px; 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; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav .phone { font-family: var(--font-outlier); font-weight: 500; }
.btn { border-radius: 0; padding: var(--space-md) var(--space-lg); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; border: 0; cursor: pointer; }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary { box-shadow: inset 0 0 0 var(--rule-bar) currentColor; background: transparent; color: var(--color-ink); }
.hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: end; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); letter-spacing: var(--tracking-display); margin-bottom: var(--space-md); max-width: 16ch; }
.hero .lead { color: var(--color-ink-2); margin-bottom: var(--space-xl); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-card { background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: contrast(1.04); }
.hero-card .cap { padding: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.hero-card .code { font-family: var(--font-outlier); color: var(--color-accent); font-size: var(--text-sm); }
.hero-card h3 { margin-top: var(--space-xs); }
.section { padding-block: var(--section-gap-s); }
.section-head { border-top: var(--rule-bar) 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: 42ch; }
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); }
.spec th, .spec td { text-align: left; padding: var(--space-md) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.spec th { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.spec tr:hover { background: var(--color-accent-soft); }
.spec .code { font-family: var(--font-outlier); font-weight: 500; color: var(--color-accent); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.card { background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); overflow: hidden; text-decoration: none; transition: box-shadow var(--dur-micro) var(--ease-out); display: block; }
a.card:hover { box-shadow: var(--shadow-card-hover); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: contrast(1.04); }
.card .body { padding: var(--space-md); }
.card .code { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent); }
.card h3 { margin-top: var(--space-xs); }
.card p { color: var(--color-ink-2); font-size: var(--text-sm); margin-top: var(--space-xs); }
.band--ink { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }
.band--ink h2 { color: var(--color-paper); margin-bottom: var(--space-md); }
.band--ink p { color: color-mix(in oklab, var(--color-paper) 80%, transparent); margin-bottom: var(--space-xl); max-width: 50ch; }
.band--ink .btn--primary { background: var(--color-plate); color: var(--color-ink); }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.office { border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md); }
.office h3 { font-size: var(--text-title); margin-bottom: var(--space-xs); color: var(--color-paper); }
.office p, .office a { color: color-mix(in oklab, var(--color-paper) 75%, transparent); font-size: var(--text-sm); text-decoration: none; }
.office a:hover { color: var(--color-accent); }
.site-footer { border-top: var(--rule-bar) solid var(--color-ink); padding-block: var(--space-xl); 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 .grid, .grid-3, .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%; }

.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-card img { max-height: 480px; aspect-ratio: 16/10; }
.hero .grid { align-items: center; }
.hero-card figcaption.cap {
  border-top: var(--rule-hair) solid var(--color-rule);
}
.band--ink {
  background: var(--color-ink);
  color: var(--color-paper, #fff);
}

