/*
 * Laniako 3D Creations - site stylesheet (LA-011 / LA-014)
 * Plain CSS, no build step. Tokens follow 07-店铺UI与首批商品.md section 4.
 * Contrast notes: --accent (#B65B3C) is 4.27:1 on --bg, so it is used for
 * graphics and large text only; small accent text uses --accent-ink (5.3:1).
 */

:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --text: #202522;
  --muted: #535C57;
  --brand: #245347;
  --brand-deep: #1B4238;
  --accent: #B65B3C;
  --accent-ink: #A14E31;
  --accent-soft: #F6E6DE;
  --border: #D9DDD7;
  --tint: #EEF3EF;
  --on-brand: #F7F6F2;
  --on-brand-accent: #F2C7B4;
  --focus: #1B4238;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* 4px spacing grid */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --s18: 72px;

  --gutter: 20px;
  --section: 48px;
  --max: 1160px;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-soft: 0 1px 2px rgba(32, 37, 34, 0.05), 0 8px 24px -12px rgba(32, 37, 34, 0.16);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --section: 72px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 48px;
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s4);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--s4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

ul,
ol {
  padding-left: 1.25em;
}

code,
.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  padding: var(--s3) var(--s4);
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius-btn);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--s3);
  color: var(--on-brand);
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.narrow {
  max-width: 760px;
}

.section {
  padding: var(--section) 0;
}

.section--tint {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--paper {
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--s10);
}

.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin: 0 0 var(--s3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9375rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 10px var(--s5);
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn--primary:hover {
  background: var(--brand-deep);
  color: var(--on-brand);
  text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(36, 83, 71, 0.7);
}

.btn--secondary {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand);
}

.btn--secondary:hover {
  background: var(--tint);
  color: var(--brand-deep);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  text-decoration: none;
}

.btn--light {
  background: var(--on-brand);
  color: var(--brand-deep);
}

.btn--light:hover {
  background: #FFFFFF;
  color: var(--brand-deep);
  text-decoration: none;
}

.btn--outline-light {
  background: transparent;
  color: var(--on-brand);
  border-color: rgba(247, 246, 242, 0.6);
}

.btn--outline-light:hover {
  border-color: var(--on-brand);
  color: var(--on-brand);
  text-decoration: none;
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-ink);
  text-decoration: underline;
}

.text-link .arrow {
  transition: transform 0.2s var(--ease);
}

.text-link:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.94);
  border-bottom: 1px solid var(--border);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header {
    background: rgba(247, 246, 242, 0.82);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
  }
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s6);
  min-height: 68px;
  padding-top: var(--s2);
  padding-bottom: var(--s2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-mark .layer {
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand-mark .layer-2 {
  transform: translateY(-1.5px);
}

.brand:hover .brand-mark .layer-3 {
  transform: translateY(-3px);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand-name span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
}

.site-nav {
  width: 100%;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s3);
  border-radius: var(--radius-btn);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: var(--s3);
  right: var(--s3);
  bottom: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--brand);
  font-weight: 650;
}

.nav-cta {
  margin-left: 0;
}

/* Desktop */
@media (min-width: 880px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    width: auto;
    display: flex;
    align-items: center;
    gap: var(--s4);
  }

  .nav-list {
    flex-wrap: nowrap;
  }
}

/* Mobile with JS: collapse navigation into a drawer */
@media (max-width: 879.98px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    min-height: 44px;
    min-width: 44px;
    padding: 0 var(--s3);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .js .nav-toggle:hover {
    border-color: var(--brand);
  }

  .nav-toggle-icon {
    position: relative;
    width: 18px;
    height: 12px;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  }

  .nav-toggle-icon::before {
    top: 0;
  }

  .nav-toggle-icon span {
    top: 5px;
  }

  .nav-toggle-icon::after {
    top: 10px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    transform: translateY(-5px) rotate(-45deg);
  }

  .js .site-nav {
    display: none;
    padding: var(--s2) 0 var(--s4);
    border-top: 1px solid var(--border);
  }

  .js .site-nav.is-open {
    display: block;
    animation: nav-in 0.22s var(--ease) both;
  }

  .js .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .js .nav-list a {
    width: 100%;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 0 var(--s1);
    min-height: 52px;
  }

  .js .nav-list a::after {
    display: none;
  }

  .js .nav-list a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--accent);
    padding-left: var(--s4);
  }

  .site-nav .nav-cta {
    margin-top: var(--s4);
    width: 100%;
  }
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--s12) 0 var(--section);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(36, 83, 71, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 83, 71, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 30%, var(--bg) 30%, rgba(247, 246, 242, 0.6) 65%, rgba(247, 246, 242, 0) 100%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: var(--s10);
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    padding: var(--s16) 0 var(--s18);
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--s12);
  }
}

.hero h1 {
  margin-bottom: var(--s5);
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(transparent 72%, rgba(182, 91, 60, 0.22) 72%);
}

.hero .lead {
  margin-bottom: var(--s8);
}

.quote-note {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s8);
  padding: var(--s4);
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-btn);
  font-size: 0.9375rem;
  color: var(--muted);
}

.quote-note svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-ink);
  margin-top: 2px;
}

.quote-note strong {
  color: var(--text);
}

/* Figures and illustrations */

.figure {
  margin: 0;
}

.art-frame {
  position: relative;
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.art-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

.art-tag {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  z-index: 1;
}

.figure figcaption {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  margin-top: var(--s3);
  font-size: 0.875rem;
  color: var(--muted);
}

.figure figcaption::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.5em;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* SVG drawing styles */
.ill {
  font-family: var(--font-mono);
}

.ill .ln {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ill .ln-brand {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ill .ln-accent {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ill .ln-thin {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.25;
  stroke-linecap: round;
}

.ill .ln-dash {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
}

.ill .fill-tint {
  fill: var(--tint);
}

.ill .fill-soft {
  fill: var(--accent-soft);
}

.ill .fill-surface {
  fill: var(--surface);
}

.ill .fill-brand {
  fill: var(--brand);
}

.ill .fill-accent {
  fill: var(--accent);
}

.ill .panel {
  fill: var(--bg);
  stroke: var(--border);
  stroke-width: 1;
}

.ill .dot {
  fill: var(--border);
}

.ill .dot-dark {
  fill: #AEB6B0;
}

.ill text {
  fill: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ill .t-label {
  fill: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ill .t-num {
  fill: var(--accent-ink);
  font-weight: 700;
}

.ill .t-q {
  fill: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- Status badges (text + shape, never colour alone) ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  background: var(--surface);
}

.status svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.status--concept {
  color: var(--accent-ink);
  background: #FCF5F1;
}

.status--quote {
  color: var(--brand);
  background: var(--tint);
}

.status--open {
  color: var(--brand);
  background: var(--tint);
}

.status--none {
  color: var(--muted);
  background: var(--surface);
}

/* ---------- Studio status strip ---------- */

.status-strip {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.status-strip h2 {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.status-strip-inner {
  display: grid;
  gap: var(--s3) var(--s8);
  padding-top: var(--s5);
  padding-bottom: var(--s5);
  align-items: center;
}

.status-strip dl {
  display: grid;
  gap: var(--s3) var(--s8);
  margin: 0;
}

.status-strip dl div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
}

.status-strip dt {
  font-weight: 600;
  font-size: 0.9375rem;
}

.status-strip dd {
  margin: 0;
}

@media (min-width: 960px) {
  .status-strip-inner {
    grid-template-columns: auto 1fr;
  }

  .status-strip dl {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: var(--s5);
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s6);
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 640px) and (max-width: 999.98px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card h3 {
  margin-bottom: 0;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card .card-foot {
  margin-top: auto;
  padding-top: var(--s3);
}

.card--interactive:hover,
.card--interactive:focus-within {
  border-color: #B9C3BC;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--brand);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.path-card {
  padding: var(--s8) var(--s6);
}

.path-card dl {
  margin: var(--s2) 0 0;
  display: grid;
  gap: var(--s3);
  font-size: 0.9375rem;
}

.path-card dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.path-card dd {
  margin: 0;
}

.path-card--empty {
  background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 10px, #FAFAF7 10px, #FAFAF7 20px);
  border-style: dashed;
  border-color: #C5CCC6;
}

/* ---------- Feature (flagship concept) ---------- */

.feature {
  display: grid;
  gap: var(--s8);
  align-items: center;
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-card) + 4px);
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1.1fr;
    padding: var(--s10);
    gap: var(--s12);
  }
}

.feature .figure .art-frame {
  box-shadow: none;
  background: var(--bg);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s6);
  display: grid;
  gap: var(--s2);
}

.checklist li {
  position: relative;
  padding-left: 28px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--brand);
  border-radius: 3px;
  background: var(--surface);
}

.checklist--unknown li::before {
  border-style: dashed;
  border-color: var(--accent-ink);
}

.checklist--dot li::before {
  width: 7px;
  height: 7px;
  top: 0.65em;
  left: 6px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Known / unknown spec table ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.spec-table caption {
  text-align: left;
  font-weight: 700;
  padding: 0 0 var(--s3);
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 44%;
  font-weight: 600;
}

.tbc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.tbc::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px dashed currentColor;
  border-radius: 50%;
}

/* ---------- Process ---------- */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s4);
  counter-reset: step;
}

@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s4);
  }
}

.process li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6) var(--s5) var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  counter-increment: step;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-ink);
}

@media (min-width: 900px) {
  .process li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -17px;
    width: 18px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px);
    z-index: 1;
  }
}

.process h3 {
  font-size: 1.125rem;
  margin: 0;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.process .status {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Service blocks (custom work page) ---------- */

.service {
  display: grid;
  gap: var(--s8);
  padding: var(--s8) 0;
  border-top: 1px solid var(--border);
}

.service:first-of-type {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 960px) {
  .service {
    grid-template-columns: 1fr 1.25fr;
    gap: var(--s12);
    padding: var(--s12) 0;
  }
}

.service-aside {
  align-self: start;
}

@media (min-width: 960px) {
  .service-aside {
    position: sticky;
    top: 100px;
  }
}

.subtypes {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s6);
}

@media (min-width: 720px) {
  .subtypes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.subtype {
  padding: var(--s6);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.subtype h3 {
  margin: 0;
  font-size: 1.125rem;
}

.subtype p,
.subtype li {
  font-size: 0.9375rem;
}

.boundary {
  padding: var(--s4) var(--s5);
  background: var(--tint);
  border-radius: var(--radius-btn);
  font-size: 0.9375rem;
}

.boundary strong {
  display: block;
  margin-bottom: var(--s1);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ---------- Page header (inner pages) ---------- */

.page-head {
  padding: var(--s12) 0 var(--s10);
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(36, 83, 71, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 83, 71, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

@media (min-width: 768px) {
  .page-head {
    padding: var(--s16) 0 var(--s12);
  }
}

.page-head h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.page-head .lead {
  margin-bottom: 0;
}

.page-head .status {
  margin-bottom: var(--s5);
}

.breadcrumb {
  margin-bottom: var(--s5);
  font-size: 0.875rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Separator trails the item so a wrapped line never starts with "/". */
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: var(--s2);
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

/* ---------- Prose ---------- */

.prose {
  max-width: 70ch;
}

.prose h2 {
  margin-top: var(--s12);
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: var(--s8);
}

.prose li {
  margin-bottom: var(--s2);
}

.two-col {
  display: grid;
  gap: var(--s10);
}

@media (min-width: 960px) {
  .two-col {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: var(--s16);
  }
}

.note {
  padding: var(--s5);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-btn);
  background: var(--surface);
  font-size: 0.9375rem;
}

.note--draft {
  border-left-color: var(--accent);
  background: #FCF5F1;
}

.note h2,
.note h3 {
  font-size: 1rem;
  margin-bottom: var(--s2);
}

/* ---------- Placeholders (LA-010 pending) ---------- */

.placeholder {
  display: inline;
  padding: 1px 6px;
  border: 1px dashed var(--accent-ink);
  border-radius: 4px;
  background: #FCF5F1;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.875em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.on-dark .placeholder {
  background: transparent;
  border-color: var(--on-brand-accent);
  color: var(--on-brand-accent);
}

.photo-slot {
  display: grid;
  place-items: center;
  gap: var(--s2);
  min-height: 220px;
  padding: var(--s6);
  border: 1.5px dashed #BFC7C1;
  border-radius: var(--radius-card);
  background: repeating-linear-gradient(-45deg, var(--bg), var(--bg) 12px, var(--tint) 12px, var(--tint) 24px);
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

.photo-slot svg {
  width: 36px;
  height: 36px;
  color: var(--brand);
}

/* ---------- Email / quote panel ---------- */

.email-panel {
  display: grid;
  gap: var(--s5);
  padding: var(--s8) var(--s6);
  background: var(--brand);
  color: var(--on-brand);
  border-radius: calc(var(--radius-card) + 4px);
  position: relative;
  overflow: hidden;
}

.email-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 246, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 242, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.email-panel > * {
  position: relative;
}

.email-panel h2 {
  margin: 0;
  font-size: 1.125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-brand-accent);
}

.email-address {
  font-size: clamp(1.375rem, 1rem + 2.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-brand);
  text-decoration: none;
  word-break: break-all;
}

.email-address:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.email-panel p {
  color: rgba(247, 246, 242, 0.88);
  margin: 0;
}

.copy-status {
  min-height: 1.6em;
  font-size: 0.9375rem;
  color: var(--on-brand-accent);
}

.categories {
  display: grid;
  gap: var(--s5);
}

@media (min-width: 760px) {
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.category h3 {
  margin: 0;
  font-size: 1.125rem;
}

.category .checklist {
  margin-bottom: var(--s3);
  font-size: 0.9375rem;
}

.category .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- FAQ (details/summary) ---------- */

.faq {
  display: grid;
  gap: var(--s3);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] {
  border-color: #B9C3BC;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 56px;
  padding: var(--s4) var(--s5);
  cursor: pointer;
  font-weight: 650;
  font-size: 1.0625rem;
  list-style: none;
  border-radius: var(--radius-card);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat,
    var(--tint);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq summary:hover {
  color: var(--brand);
}

.faq .answer {
  padding: 0 var(--s5) var(--s5);
  color: var(--muted);
  max-width: 72ch;
}

.faq-group + .faq-group {
  margin-top: var(--s12);
}

.faq-group h2 {
  font-size: 1.375rem;
}

/* ---------- Empty state ---------- */

.empty-state {
  display: grid;
  gap: var(--s6);
  justify-items: start;
  padding: var(--s10) var(--s6);
  background: var(--surface);
  border: 1.5px dashed #BFC7C1;
  border-radius: calc(var(--radius-card) + 4px);
}

@media (min-width: 900px) {
  .empty-state {
    grid-template-columns: 200px 1fr;
    align-items: center;
    padding: var(--s12);
    gap: var(--s10);
  }
}

/* Direct child only: status badges inside the empty state carry their own icon. */
.empty-state > svg {
  width: 180px;
  max-width: 60%;
}

.state-list {
  display: grid;
  gap: var(--s4);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 760px) {
  .state-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.state-list li {
  display: grid;
  gap: var(--s2);
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.state-list .status {
  justify-self: start;
}

.state-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--brand);
  color: var(--on-brand);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 246, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 242, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  display: grid;
  gap: var(--s6);
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band .container {
    grid-template-columns: 1.4fr auto;
    gap: var(--s12);
  }
}

.cta-band h2 {
  color: var(--on-brand);
  margin-bottom: var(--s3);
}

.cta-band p {
  color: rgba(247, 246, 242, 0.88);
  max-width: 60ch;
}

.cta-band .eyebrow {
  color: var(--on-brand-accent);
}

.cta-band .eyebrow::before {
  background: var(--on-brand-accent);
}

/* ---------- About split ---------- */

.split {
  display: grid;
  gap: var(--s10);
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s16);
  }
}

.cap-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.cap-list div {
  display: grid;
  gap: var(--s1);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 600px) {
  .cap-list div {
    grid-template-columns: 170px 1fr;
    gap: var(--s6);
  }
}

.cap-list dt {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  padding-top: 2px;
}

.cap-list dd {
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1C2421;
  color: #DDE2DE;
  padding: var(--s12) 0 var(--s8);
  font-size: 0.9375rem;
}

.site-footer a {
  color: #F7F6F2;
}

.site-footer a:hover {
  color: var(--on-brand-accent);
}

.site-footer :focus-visible {
  outline-color: var(--on-brand-accent);
}

.footer-grid {
  display: grid;
  gap: var(--s8);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: var(--s12);
  }
}

.footer-brand .brand {
  color: #F7F6F2;
}

.footer-brand .brand-name span {
  color: #B9C3BC;
}

.footer-brand p {
  margin-top: var(--s4);
  max-width: 44ch;
  color: #C9D0CB;
}

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B9C3BC;
  margin-bottom: var(--s3);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s10);
  padding-top: var(--s6);
  border-top: 1px solid rgba(221, 226, 222, 0.18);
  color: #B9C3BC;
  font-size: 0.875rem;
}

.footer-legal p {
  margin: 0;
}

.site-footer .placeholder {
  background: transparent;
  border-color: var(--on-brand-accent);
  color: var(--on-brand-accent);
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 60vh;
  display: grid;
  align-items: center;
}

.not-found .ill {
  width: 220px;
  margin-bottom: var(--s6);
}

/* ---------- Motion (progressive enhancement) ----------
 * Content is visible by default. Reveal styles only apply when site.js has
 * added the .js class AND the user has not asked for reduced motion.
 */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Hero text entrance */
  .hero-copy > * {
    animation: rise 0.8s var(--ease) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 0.32s;
  }

  /* SVG stroke drawing. Paths carry pathLength="1"; end state is fully drawn. */
  .draw .d {
    stroke-dasharray: 1;
    animation: draw 1.1s var(--ease) both;
  }

  .draw .fade {
    animation: fade 0.6s var(--ease) both;
  }

  .draw .g1 .d,
  .draw .g1 .fade {
    animation-delay: 0.2s;
  }

  .draw .c1 {
    animation-delay: 1s;
  }

  .draw .g2 .d,
  .draw .g2 .fade {
    animation-delay: 1.15s;
  }

  .draw .c2 {
    animation-delay: 1.95s;
  }

  .draw .g3 .d,
  .draw .g3 .fade {
    animation-delay: 2.1s;
  }

  .draw .c3 {
    animation-delay: 2.9s;
  }

  .draw .g4 .d,
  .draw .g4 .fade {
    animation-delay: 3.05s;
  }

  .draw .fade.late {
    animation-delay: 3.8s;
  }

  /* Nozzle gently travels while "printing" (after the draw finishes) */
  .draw .nozzle {
    animation: nozzle 4s ease-in-out 3s infinite alternate;
  }

  .draw .fit-part {
    animation: fit 3.2s var(--ease) 4s infinite;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes nozzle {
  from {
    transform: translateX(-26px);
  }

  to {
    transform: translateX(26px);
  }
}

@keyframes fit {
  0%,
  100% {
    transform: translate(0, -10px);
  }

  35%,
  70% {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .skip-link {
    display: none;
  }

  body {
    background: #FFFFFF;
  }
}

/* ---------- Small layout helpers ---------- */

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  align-self: start;
}

@media (min-width: 960px) {
  .stack {
    position: sticky;
    top: 100px;
  }
}

.section-gap {
  margin-top: var(--s12);
}

.h3-size {
  font-size: 1.25rem;
  margin: 0;
}

svg.arrow {
  flex: none;
  width: 18px;
  height: 18px;
}

.card-kicker {
  margin: 0;
}

.copy-status:empty {
  min-height: 0;
  margin-top: calc(-1 * var(--s5));
}

.art-frame .art-tag {
  position: static;
  display: flex;
  margin-bottom: var(--s3);
}

.empty-state > * {
  min-width: 0;
  max-width: 100%;
}

.status {
  max-width: 100%;
}

.subtype p,
.category p {
  margin: 0;
}

/* ---------- CAD renders (examples) ---------- */
/* Renders are JPEGs on a dark grey studio background; frame them edge to edge. */

.art-frame--render {
  padding: 0;
  overflow: hidden;
  background: #2A2C2B;
}

.art-frame--render img {
  display: block;
  width: 100%;
  height: auto;
}

.art-frame--photo {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}

.art-frame--photo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 640px;
  height: auto;
  margin: 0 auto;
}

.gallery {
  display: grid;
  gap: var(--s6);
  margin: var(--s8) 0;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery .art-frame {
  box-shadow: none;
}

.card-media {
  margin: calc(-1 * var(--s6)) calc(-1 * var(--s6)) var(--s2);
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: #2A2C2B;
}

.card-media img {
  display: block;
  width: 100%;
  height: auto;
}
