/* Hallmark v2 · theme: Formwork (reference) · formwork: night pour / drawing · genre: editorial · shape: Site Board · hero: stage · job: hire · posture: restrained · axes: dark/display-condensed/warm */
/* Critique: the first screen earns the inquiry with the actual service scope, a material grade and the stated first-sample window. */
/* Photo slots remain visibly labeled until BOYI supplies its own pictures. */
:root {
  --color-paper: #eeeee9;
  --color-paper-2: #e0e1da;
  --color-paper-3: #d3d5ce;
  --color-plate: #f8f8f3;
  --color-ink: #1a1d1b;
  --color-muted: #50574f;
  --color-panel: #202522;
  --color-panel-2: #292f2b;
  --color-rule: #b3b8af;
  --color-rule-dark: #586058;
  --color-inverse: #f5f6ee;
  --color-inverse-soft: #c0c7bd;
  --color-accent: #ff723f;
  --color-accent-ink: var(--color-ink);
  --color-accent-hover: #ff8d63;
  --color-accent-depth: #a63d19;
  --color-focus-light: #8a2d0e;
  --color-focus-dark: #ff9e77;
  --color-grid-dark: #c6d1c510;
  --color-grid-light: #343b3310;
  --color-focus: var(--color-focus-light);
  --font-body: system-ui, sans-serif;
  --font-display: var(--font-body);
  --font-figure: "Oswald", "Avenir Next Condensed", "Arial Narrow", var(--font-body);
  --heading-tracking: -0.025em;
  --hero-tracking: -0.035em;
  --sticky-header-offset: var(--site-header-height, 7rem);
  --inspection-label-width: min(34%, 9rem);
  --inspection-table-width: 22rem;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --container: 82rem;
  --gap: clamp(1.5rem, 4vw, 3.75rem);
  --section-space: clamp(4rem, 7.25vw, 7rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --title-size: clamp(2rem, 4vw, 3.6rem);
}
html:lang(zh) {
  --font-body: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --heading-tracking: -0.045em;
  --hero-tracking: -0.055em;
  --inspection-label-width: 2.2rem;
  --inspection-table-width: 15rem;
}
html:lang(ja) {
  --font-body: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  --heading-tracking: -0.015em;
  --hero-tracking: -0.025em;
  line-break: strict;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-block-start: var(--sticky-header-offset);
  scrollbar-color: var(--color-muted) var(--color-paper-2);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
main { hyphens: auto; }
[hidden] { display: none !important; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 {
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}
h1, h2 { text-wrap: balance; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[id] { scroll-margin-block-start: 1.25rem; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
::selection { background: var(--color-accent); color: var(--color-ink); }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.dark-surface {
  --color-focus: var(--color-focus-dark);
  background: var(--color-ink);
  color: var(--color-inverse);
}
.skip-link {
  position: fixed;
  inset: 0.65rem auto auto 0.65rem;
  z-index: 10;
  max-inline-size: calc(100% - 1.3rem);
  padding: 0.65rem 0.9rem;
  background: var(--color-plate);
  color: var(--color-ink);
  translate: 0 -180%;
}
.skip-link:focus { translate: 0; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.3rem;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, translate 140ms ease;
}
.button-primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-bottom-color: var(--color-accent-depth);
  box-shadow: 0 2px 0 var(--color-accent-depth);
}
.button-primary:hover { background: var(--color-accent-hover); }
.button:active { translate: 0 2px; }
.button-secondary { border-color: var(--color-rule-dark); color: var(--color-inverse); }
.button-secondary:hover { border-color: var(--color-inverse); background: var(--color-panel-2); }
button:disabled, input:disabled, textarea:disabled { cursor: not-allowed; opacity: 0.55; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 4;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-rule);
}
.header-contact-bar {
  --color-focus: var(--color-focus-dark);
  background: var(--color-panel);
  color: var(--color-inverse);
}
.header-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 clamp(0.75rem, 2vw, 1.5rem);
  font-size: var(--text-small);
}
.header-contacts a {
  display: flex;
  align-items: center;
  min-block-size: 2.125rem;
  min-inline-size: 0;
  text-decoration: none;
}
.header-contacts a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.header-layout {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr) minmax(0, max-content);
  align-items: center;
  gap: var(--gap);
  min-height: 4.75rem;
}
.wordmark {
  display: inline-flex;
  width: fit-content;
  min-inline-size: 0;
  max-inline-size: min(100%, 13.5rem);
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}
.wordmark-latin {
  flex: none;
  font-family: var(--font-figure);
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.wordmark-name {
  border-inline-start: 1px solid var(--color-rule);
  padding-inline-start: 0.65rem;
  font-size: var(--text-small);
  font-weight: 650;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem clamp(0.75rem, 2.15vw, 1.8rem);
  min-inline-size: 0;
  hyphens: auto;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding-block: 0.3rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav a:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.35rem; }
.site-menu-toggle {
  min-height: 2.75rem;
  padding-inline: 0.8rem;
  border-color: var(--color-rule-dark);
  background: var(--color-plate);
  color: var(--color-ink);
  font-size: var(--text-small);
}
.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.55rem;
  min-inline-size: 0;
  max-inline-size: min(31vw, 17rem);
}
.header-quote { min-height: 2.65rem; padding-inline: 1.25rem; font-size: var(--text-small); }

.hero { border-bottom: 1px solid var(--color-rule-dark); }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--gap);
  min-height: min(36rem, max(31.5rem, calc(100svh - 10.5rem)));
  padding-block: clamp(3.25rem, 5.6vw, 5.35rem);
}
.hero-copy h1 {
  max-inline-size: 100%;
  font-size: clamp(2.65rem, 4.9vw, 4.75rem);
  letter-spacing: var(--hero-tracking);
  line-height: 1.14;
}
.hero-copy p {
  max-width: 27em;
  margin-top: 1.45rem;
  color: var(--color-inverse-soft);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-figure { min-width: 0; border: 1px solid var(--color-rule-dark); }
.media-slot {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 16 / 9;
  color: var(--color-inverse-soft);
  background-color: var(--color-panel);
  background-image: linear-gradient(to right, var(--color-grid-dark) 1px, transparent 1px), linear-gradient(to bottom, var(--color-grid-dark) 1px, transparent 1px);
  background-size: 2rem 2rem;
}
.media-slot > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.media-placeholder { display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1rem; font-size: var(--text-small); }
.slot-viewfinder {
  position: relative;
  display: block;
  width: 3.4rem;
  height: 2.55rem;
  border: 1px solid currentColor;
  opacity: 0.8;
}
.slot-viewfinder::before,
.slot-viewfinder::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  translate: -50% -50%;
}
.slot-viewfinder::before { width: 1rem; height: 1px; }
.slot-viewfinder::after { width: 1px; height: 1rem; }
.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--color-inverse);
  border-top: 1px solid var(--color-rule-dark);
  background: var(--color-panel-2);
}
.hero-specs > div { display: grid; gap: 0.38rem; padding: 1.12rem 1.35rem 1.16rem; }
.hero-specs > div + div { border-inline-start: 1px solid var(--color-rule-dark); }
.hero-specs strong { font-family: var(--font-figure); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; }
.hero-specs small { font-size: 0.52em; font-family: var(--font-body); }
.hero-specs span { color: var(--color-inverse-soft); font-size: var(--text-small); line-height: 1.4; }

.proof-band { background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); }
.proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-list > div { display: grid; gap: 0.28rem; padding: 1.23rem 1.6rem; }
.proof-list > div:first-child { padding-inline-start: 0; }
.proof-list > div + div { border-inline-start: 1px solid var(--color-rule); }
.proof-list dt { color: var(--color-muted); font-size: var(--text-small); }
.proof-list dd { font-size: 1rem; font-weight: 650; }

.section { padding-block: var(--section-space); }
.section h2 { font-size: var(--title-size); letter-spacing: var(--heading-tracking); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  align-items: end;
  gap: var(--gap);
  margin-block-end: clamp(2rem, 4vw, 3.7rem);
}
.section-heading p,
.section-intro > p { color: var(--color-muted); }
.section-intro > p { max-width: 22em; margin-top: 1.35rem; }
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: var(--gap);
}
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-inline-size: 0;
  max-inline-size: 100%;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 650;
  text-align: start;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.project-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--gap); }
.project { min-width: 0; }
.project-media, .workshop-media {
  min-width: 0;
  border: 1px solid var(--color-rule);
  color: var(--color-muted);
  background-color: var(--color-paper-2);
  background-image: linear-gradient(to right, var(--color-grid-light) 1px, transparent 1px), linear-gradient(to bottom, var(--color-grid-light) 1px, transparent 1px);
}
.project-media { height: clamp(12rem, 24vw, 20rem); aspect-ratio: auto; }
.workshop-media {
  max-width: 25rem;
  margin-top: 1.55rem;
  aspect-ratio: 2.15 / 1;
}
.project:first-child .project-media { background-color: var(--color-paper-3); }
.project-body { padding-top: 1.1rem; }
.project-title { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 1.3rem; }
.project-title h3 { font-size: clamp(1.35rem, 2.3vw, 1.95rem); }
.project-type { color: var(--color-muted); font-size: var(--text-small); }
.project-body > p { color: var(--color-muted); margin-top: 0.72rem; }
.project-body > a { margin-top: 0.25rem; }

.project-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-rule);
  color: var(--color-muted);
  font-size: var(--text-small);
}
.project-carousel-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; min-inline-size: 0; max-inline-size: 100%; }
.project-move {
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.8rem;
  border-color: var(--color-rule-dark);
  background: var(--color-plate);
  color: var(--color-ink);
  font-size: var(--text-small);
}
.project-move:hover:not(:disabled) { background: var(--color-paper-3); border-color: var(--color-ink); }
.project-track {
  --project-gap: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--project-gap) - var(--project-gap)) / 3);
  gap: var(--project-gap);
  padding: 0.15rem 0 0.8rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.project-track > .project { scroll-snap-align: start; }
.project-gallery > .project { display: flex; flex-direction: column; }
.project-gallery .project .project-media { height: auto; aspect-ratio: 5 / 4; background-color: var(--color-paper-2); }
.project-gallery .project-body { display: flex; flex-direction: column; flex: 1; padding-top: 0.9rem; }
.project-gallery .project-title { gap: 0.2rem 0.85rem; }
.project-gallery .project-title h3 { font-size: clamp(1.32rem, 2vw, 1.75rem); }
.project-image-link { display: block; }
.project-image-link:hover .project-media { border-color: var(--color-rule-dark); }
.project-image-link:focus-visible { outline-offset: -3px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 0 0.85rem; margin-top: auto; padding-top: 0.4rem; }
.project-actions .text-link:focus-visible { outline-offset: -2px; }
[data-photo-zoom] { overflow: hidden; }
[data-photo-zoom].is-zooming { cursor: crosshair; }
.photo-lens {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  border-radius: 50%;
  background-color: var(--color-paper-2);
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px var(--color-plate), 0 3px 15px rgb(26 29 27 / 35%);
  pointer-events: none;
}

.capabilities { border-top: 1px solid var(--color-rule); background: var(--color-plate); }
.capability-list { border-top: 2px solid var(--color-ink); }
.capability-list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 1.25rem;
  padding: 1.27rem 0;
  border-bottom: 1px solid var(--color-rule);
}
.capability-list dt { font-size: 1.12rem; font-weight: 700; line-height: 1.5; }
.capability-list dd { display: grid; gap: 0.21rem; color: var(--color-muted); }
.source-note { font-size: var(--text-small); font-weight: 650; color: var(--color-ink); }

.quality { background: var(--color-paper-2); border-block: 1px solid var(--color-rule); }
.quality-layout { align-items: center; }
.checkpoints { display: grid; gap: 0.75rem; padding: 0; margin: 1.65rem 0 0; list-style: none; }
.checkpoints li { display: grid; grid-template-columns: var(--inspection-label-width) minmax(0, 1fr); gap: 0.85rem; }
.checkpoints span { color: var(--color-muted); }
.report {
  min-width: 0;
  padding: clamp(1rem, 2.9vw, 2.25rem);
  background: var(--color-plate);
  border: 2px solid var(--color-ink);
  box-shadow: 5px 5px 0 var(--color-ink);
}
.report-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 1.3rem; }
.report-heading h3 { font-size: clamp(1.22rem, 2vw, 1.7rem); }
.report-heading span { color: var(--color-muted); font-size: var(--text-small); }
.report-scroll { overflow-x: auto; max-inline-size: 100%; }
.report-scroll:focus-visible { outline-offset: -2px; }
.report table { width: 100%; min-inline-size: var(--inspection-table-width); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report th,
.report td { padding: 0.7rem 0.4rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--color-rule); }
.report th:first-child { padding-inline-start: 0; }
.report td:last-child, .report th:last-child { padding-inline-end: 0; text-align: end; }
.report thead th { color: var(--color-muted); font-size: var(--text-small); font-weight: 600; border-top: 2px solid var(--color-ink); }
.report tbody th { font-weight: 600; }
.report figcaption { margin-top: 1rem; color: var(--color-muted); font-size: var(--text-small); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--color-ink);
  counter-reset: delivery-step;
}
.process-steps li { counter-increment: delivery-step; padding: 1.35rem 1.25rem 0; }
.process-steps li:first-child { padding-inline-start: 0; }
.process-steps li + li { border-inline-start: 1px solid var(--color-rule); }
.process-steps li::before {
  display: block;
  content: counter(delivery-step, decimal-leading-zero);
  margin-bottom: 1.12rem;
  font-family: var(--font-figure);
  font-size: 2.62rem;
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.process-steps h3 { font-size: 1.18rem; }
.process-steps p { margin-top: 0.52rem; color: var(--color-muted); }

.inquiry { border-block: 1px solid var(--color-rule-dark); }
.inquiry-intro > p { color: var(--color-inverse-soft); }
.inquiry-intro > .nda-note { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--color-rule-dark); }
.inquiry-intro .text-link { color: var(--color-inverse); }
.inquiry-panel {
  --color-focus: var(--color-focus-light);
  min-width: 0;
  padding: clamp(1.125rem, 3.2vw, 2.55rem);
  background: var(--color-plate);
  color: var(--color-ink);
}
.inquiry-panel form { display: grid; gap: 1.3rem; }
.project-stage { min-width: 0; margin: 0; padding: 0; border: 0; }
.project-stage legend { max-inline-size: 100%; margin: 0 0 0.6rem; padding: 0; font-size: 1.12rem; font-weight: 700; }
.stage-options { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
.stage-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stage-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 0;
  min-height: 2.85rem;
  padding: 0.42rem 0.32rem;
  border: 1px solid var(--color-rule);
  cursor: pointer;
  text-align: center;
  font-size: var(--text-small);
  font-weight: 650;
  line-height: 1.35;
}
.stage-options label:hover { border-color: var(--color-ink); }
.stage-options input:checked + label { background: var(--color-ink); color: var(--color-inverse); border-color: var(--color-ink); }
.stage-options input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.field-help { color: var(--color-muted); font-size: var(--text-small); line-height: 1.5; }
.project-stage > .field-help { margin-top: 0.55rem; }
.project-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-inline: 0.75rem;
  background: var(--color-paper-2);
  font-size: var(--text-small);
}
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
  align-items: baseline;
  min-width: 0;
  font-weight: 650;
}
.field > span { color: var(--color-muted); font-size: var(--text-small); font-weight: 450; }
.field .field-description { flex: 1 1 100%; }
.field input,
.field textarea {
  flex: 0 1 100%;
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.56rem 0.7rem;
  border: 1px solid var(--color-rule-dark);
  border-radius: 0;
  background: var(--color-plate);
  color: var(--color-ink);
  caret-color: var(--color-ink);
  font-weight: 450;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--color-muted); opacity: 1; }
.attachment-drop {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.45rem;
  padding: 0.9rem;
  border: 1px dashed var(--color-rule-dark);
  background: var(--color-paper);
}
.attachment-drop label { cursor: pointer; }
.attachment-drop strong { color: var(--color-ink); }
.attachment-drop[data-dragging] { border-color: var(--color-focus); background: var(--color-paper-2); }
.attachment-input { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); }
.attachment-input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.attachment-input:disabled + label { cursor: progress; opacity: 0.68; }
.attachment-list { list-style: none; padding: 0; margin: 0.55rem 0 0; }
.attachment-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-inline: 0.65rem;
  border-top: 1px solid var(--color-rule);
  font-size: var(--text-small);
}
.attachment-list li:last-child { border-bottom: 1px solid var(--color-rule); }
.attachment-list li span { flex: 1 1 10rem; min-width: 0; }
.attachment-feedback:not(:empty), .inquiry-fallback { margin-top: 0.55rem; }
.inquiry-panel [data-error] { color: var(--color-focus-light); }
.form-action, .draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; }
.form-action .field-help { flex: 1 1 11rem; }
.form-action button:disabled { cursor: progress; opacity: 0.68; }
.inquiry-confirmation p { margin-top: 0.55rem; overflow-wrap: anywhere; }
.email-draft { margin-top: 1.65rem; padding-top: 1.3rem; border-top: 2px solid var(--color-ink); }
.email-draft h3 { font-size: 1.2rem; }
.email-draft > .field-help { margin-top: 0.5rem; }
.email-draft .field, .draft-actions { margin-top: 0.8rem; }

.site-footer { background: var(--color-paper-2); }
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  padding-block: 2rem;
}
.footer-brand { font-weight: 700; }
.footer-layout div p + p { margin-top: 0.24rem; color: var(--color-muted); font-size: var(--text-small); }

@media (max-width: 62rem) {
  :root { --sticky-header-offset: 0px; }
  .site-header { position: static; }
  .header-contacts { justify-content: space-between; }
  .header-layout { grid-template-columns: minmax(0, 1fr) minmax(0, max-content); gap: 0.18rem 0.85rem; padding-block: 0.65rem 0.2rem; }
  .site-menu-toggle, .header-layout > .header-quote { grid-column: 2; grid-row: 1; max-inline-size: 44vw; justify-self: end; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 0 0.85rem; }
  .site-nav a { font-size: var(--text-small); }
  .header-actions { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; max-inline-size: 100%; padding-block: 0.25rem; }
  .hero-layout { min-height: 0; }
  .hero-copy h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
  .project-track { grid-auto-columns: calc((100% - var(--project-gap)) / 2); }
}
@media (max-width: 48rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 2.85rem 2rem; gap: 2rem; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 3.85rem); }
  .hero-copy p { margin-top: 1rem; }
  .hero-actions { margin-top: 1.55rem; }
  .hero-specs > div { padding: 0.9rem 0.8rem; }
  .proof-list > div { padding: 0.95rem 0.55rem; }
  .proof-list dd { font-size: var(--text-small); line-height: 1.55; }
  .section-heading, .split-layout { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .split-layout { gap: 2rem; }
  .section-heading p { max-width: 26em; }
  .desktop-break { display: none; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-media { height: auto; aspect-ratio: 16 / 10; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps li { padding: 1.25rem 0.75rem 1.3rem; }
  .process-steps li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .process-steps li:nth-child(n + 3) { border-top: 1px solid var(--color-rule); }
  .inquiry-intro > .nda-note { margin-top: 1.35rem; }
}
@media (max-width: 40rem) {
  .project-track { grid-auto-columns: 88%; }
}
@media (max-width: 34rem) {
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
  .capability-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; padding-block: 0.95rem; }
  .report th, .report td { font-size: var(--text-small); padding-inline: 0.25rem; }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .footer-layout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 23rem) {
  .hero-actions { gap: 0.65rem; }
  .hero-actions .button { padding-inline: 0.85rem; }
  .hero-specs span { font-size: 0.8125rem; }
  .report th, .report td { font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  html, .project-track { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
