/* ==========================================================================
   NEZIORA — Public design system
   Palette is restricted to the brand guidelines:
   #FC0229 (red accent, <=10%), #0A0A0A (ink), #FFFFFF (paper),
   #1A1A1A (graphite), #8A8A8A (steel), #F2F2F2 (light surface).
   Typeface: Segoe UI. No gradients. No display fonts.
   ========================================================================== */

:root {
  --red: #FC0229;
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --graphite: #1A1A1A;
  --steel: #8A8A8A;
  --light: #F2F2F2;

  --bg: var(--paper);
  --bg-alt: var(--light);
  --surface: var(--paper);
  --text: var(--ink);
  --text-strong: var(--ink);
  --text-muted: var(--steel);
  --text-soft: var(--graphite);
  --line: rgba(10, 10, 10, 0.13);
  --line-strong: rgba(10, 10, 10, 0.26);
  --field-bg: var(--paper);
  --accent-text: var(--paper);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Consolas", ui-monospace, "SFMono-Regular", monospace;

  --shell: 1240px;
  --header-h: 68px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 8px 24px rgba(10, 10, 10, 0.05);
  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-alt: rgba(255, 255, 255, 0.045);
  --surface: rgba(255, 255, 255, 0.035);
  --text: #FFFFFF;
  --text-strong: #FFFFFF;
  --text-muted: #8A8A8A;
  --text-soft: #E6E6E6;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.3);
  --field-bg: rgba(255, 255, 255, 0.04);
  --accent-text: #FFFFFF;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

h1 { font-size: clamp(1.95rem, 3.4vw, 2.85rem); line-height: 1.12; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

::selection { background: var(--red); color: var(--paper); }

/* ---------- utilities ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow-shell { max-width: 640px; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.small { font-size: 0.82rem; }
.muted { color: var(--text-muted); }
.muted-small { color: var(--text-soft); font-size: 0.86rem; line-height: 1.6; }
.nowrap { white-space: nowrap; }

.sr-only {
  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: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 13px;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--paper); }

.icon { flex: 0 0 auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--red);
}
.eyebrow-index {
  color: var(--ink);
  background: var(--light);
  padding: 2px 6px;
  border-radius: 2px;
}
[data-theme="dark"] .eyebrow-index { color: var(--paper); background: rgba(255, 255, 255, 0.09); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }

.btn--accent { background: var(--red); color: var(--paper); border-color: var(--red); }
.btn--accent:hover { background: #D80022; border-color: #D80022; color: var(--paper); }

.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: var(--graphite); color: var(--paper); }
[data-theme="dark"] .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
[data-theme="dark"] .btn--solid:hover { background: #E4E4E4; color: var(--ink); }

.btn--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--text); background: var(--bg-alt); }

.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.08); color: var(--paper); }

.btn--ghost { background: transparent; color: var(--text-soft); border-color: transparent; }
.btn--ghost:hover { color: var(--text); background: var(--bg-alt); }

.btn--danger { background: transparent; color: var(--red); border-color: rgba(252, 2, 41, 0.4); }
.btn--danger:hover { background: var(--red); color: var(--paper); border-color: var(--red); }

.btn--sm { padding: 9px 14px; font-size: 0.8125rem; }
.btn--xs { padding: 6px 10px; font-size: 0.75rem; }
.btn--lg { padding: 14px 22px; font-size: 0.94rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.icon-btn:hover { border-color: var(--text); background: var(--bg-alt); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.15s var(--ease);
}
.text-link:hover { border-color: var(--red); color: var(--red); }

/* ---------- announcement & header ---------- */

.announcement {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  padding: 9px 0;
}
.announcement .shell { display: flex; align-items: center; gap: 10px; }
.announcement-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(10, 10, 10, 0.05); }
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(0, 0, 0, 0.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand-mark { height: 27px; width: auto; display: block; }
.brand-mark--dark { display: none; }
[data-theme="dark"] .brand-mark--light { display: none; }
[data-theme="dark"] .brand-mark--dark { display: block; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.15s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--red);
}
.nav-link--mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-support {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0 6px;
}
.header-support:hover { color: var(--red); }

.theme-toggle .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-light { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-dark { display: inline-flex; }

.cart-link { position: relative; }
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
}

.nav-toggle { display: none; }
.nav-toggle-close { display: none; }

@media (max-width: 1100px) {
  .header-support { display: none; }
  .primary-nav { gap: 18px; }
  .nav-link { font-size: 0.83rem; }
}

@media (max-width: 960px) {
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .primary-nav.is-open { display: flex; }
  .nav-link {
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-link.is-active::after { display: none; }
  .nav-link--mobile-only { display: block; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-toggle-close { display: none; }
  body.nav-open .nav-toggle-open { display: none; }
  body.nav-open .nav-toggle-close { display: inline-flex; }
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 7vw, 84px) 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero h1 { max-width: 17ch; }
.hero-lead {
  max-width: 56ch;
  margin: 20px 0 28px;
  font-size: clamp(1rem, 1.35vw, 1.09rem);
  line-height: 1.65;
  color: var(--text-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stats > div { padding-right: 18px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats dd {
  margin: 7px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.35;
}

.hero-console {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(10, 10, 10, 0.14);
}
[data-theme="dark"] .hero-console { border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5); }

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A8A;
}
.status-line { display: inline-flex; align-items: center; gap: 7px; color: #F2F2F2; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.console-title { color: #8A8A8A; }
.console-bar .mono { color: #8A8A8A; font-size: 0.64rem; }

.console-body { padding: 22px 18px; }
.console-heading {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 10px;
}
.console-list { margin-bottom: 22px; }
.console-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
  color: #F2F2F2;
}
.console-list li span:first-child { color: #8A8A8A; }
.console-value { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; text-align: right; color: #E6E6E6; }

.console-focus-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.console-focus-row .mono { font-size: 0.58rem; color: #8A8A8A; }
.meter { height: 3px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--red); }
[data-theme="dark"] .meter > span { background: var(--paper); }

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
}

/* ticker */

.ticker {
  border-top: 1px solid var(--line);
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-sep { color: var(--red); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* editorial hero */

.hero { padding: clamp(56px, 8vw, 92px) 0 0; }
.hero-head { max-width: 940px; }
.hero-kicker {
  margin: 0 0 22px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-head h1 { max-width: 20ch; font-size: clamp(2.2rem, 4vw, 3.25rem); letter-spacing: -0.028em; }
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.72fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
  padding: 34px 0 clamp(48px, 6vw, 72px);
}
.hero-copy { max-width: 52ch; }
.hero-copy .hero-lead { margin: 0 0 30px; }
.hero-work { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.hero-work-title {
  margin: 0 0 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-work li { border-bottom: 1px solid var(--line); }
.hero-work li a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; align-items: center; gap: 12px; padding: 14px 0; }
.hero-work li a:hover strong { color: var(--red); }
.hero-work-index { font-size: 0.68rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hero-work-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hero-work-copy strong { font-size: 0.92rem; font-weight: 600; }
.hero-work-copy small { font-size: 0.75rem; color: var(--text-muted); }
.hero-work li .icon { color: var(--text-muted); }
.hero-work-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--text-soft); }
.hero-work-link:hover { color: var(--red); }

@media (max-width: 900px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .hero-head h1 { max-width: 22ch; }
  .hero-work { max-width: 560px; }
}

/* ---------- sections ---------- */

.section { padding: clamp(54px, 7vw, 88px) 0; }
.section--surface { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head-main { max-width: 68ch; }
.section-head h2 { margin-bottom: 0; }
.section-lead {
  margin: 14px 0 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 62ch;
}
.section-action { padding-bottom: 4px; flex: 0 0 auto; }
.section-action a { color: var(--text); }

/* service grid */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s var(--ease);
}
.service-card:hover { border-color: var(--text); transform: translateY(-2px); background: var(--bg); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg-alt);
}
.service-index { font-size: 0.62rem; color: var(--text-muted); }
.service-card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.service-card p { font-size: 0.875rem; line-height: 1.6; color: var(--text-soft); margin-bottom: 18px; }
.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.service-card:hover .service-link { color: var(--red); }

/* cards shared */

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card-text { font-size: 0.86rem; line-height: 1.6; color: var(--text-soft); margin: 0; }

/* products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 286px), 1fr));
  gap: 20px;
}
.product-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-card:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); }

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card-media-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.product-card:hover .card-media-img { transform: scale(1.02); }
.card-media-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--steel); }

.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.product-card h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 8px; }
.product-card h3 a:hover { color: var(--red); }
.product-card .card-text { margin-bottom: 18px; }
.product-card-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price-now { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.price-was { font-size: 0.78rem; color: var(--text-muted); text-decoration: line-through; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.card-link:hover { color: var(--red); }

/* approach */

.approach-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); }
.approach-intro h2 { margin-bottom: 0; max-width: 18ch; }
.approach-intro .section-lead { margin: 18px 0 24px; }

.steps { border-top: 1px solid var(--line); }
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step-index { font-size: 0.62rem; color: var(--text-muted); padding-top: 3px; }
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { font-size: 0.86rem; line-height: 1.6; color: var(--text-soft); margin: 0; }

/* projects */

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.project-grid--wide { gap: 32px; }
.project-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s var(--ease); }
.project-card:hover { border-color: var(--text); }
.project-media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.02); }
.project-category {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 2px;
}
.project-body { padding: 20px 20px 22px; }
.project-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.project-body h3 a:hover { color: var(--red); }
.project-body .card-text { margin-bottom: 16px; }
.metric-inline { display: flex; gap: 28px; border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
.metric-inline dt { font-size: 1.1rem; font-weight: 600; }
.metric-inline dd { margin: 2px 0 0; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* metrics band */

.metrics-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(38px, 5vw, 56px) 0;
}
[data-theme="dark"] .metrics-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics-grid > div { padding: 4px 26px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.metrics-grid > div:first-child { border-left: 0; padding-left: 0; }
.metric-value { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.metric-label { display: block; margin-top: 10px; font-size: 0.76rem; line-height: 1.5; color: #8A8A8A; max-width: 22ch; }

/* articles */

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); transition: border-color 0.18s var(--ease); }
.article-card:hover { border-color: var(--text); }
.article-card-link { display: flex; flex-direction: column; height: 100%; padding: 22px 20px; }
.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-card h3 { font-size: 1.06rem; line-height: 1.35; margin-bottom: 10px; }
.article-card .card-text { margin-bottom: 22px; }
.article-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 0.74rem;
  color: var(--text-muted);
}
.article-more { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-weight: 600; }
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 7px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* team */

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: filter 0.35s var(--ease), transform 0.35s var(--ease); }
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.015); }
.team-body { padding: 16px 16px 18px; }
.team-body h3 { font-size: 0.98rem; margin-bottom: 4px; }
.team-role { font-size: 0.78rem; color: var(--text-muted); margin: 0; line-height: 1.45; }
.team-bio { font-size: 0.85rem; line-height: 1.6; color: var(--text-soft); margin: 12px 0 0; }
.team-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.team-links a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.team-links a:hover { color: var(--red); }

/* FAQ */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.faq-intro h2 { max-width: 14ch; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 500;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-marker { color: var(--text-muted); transition: transform 0.2s var(--ease); display: inline-flex; }
.faq-item[open] .faq-marker { transform: rotate(45deg); color: var(--red); }
.faq-answer { padding: 0 44px 18px 2px; }
.faq-answer p { font-size: 0.9rem; line-height: 1.7; color: var(--text-soft); }

/* CTA band */

.cta-band { background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 72px) 0; }
.cta-band--compact { padding: clamp(38px, 4vw, 52px) 0; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-grid > div:first-child { max-width: 56ch; }
.cta-band .eyebrow { color: #8A8A8A; }
.cta-band h2 { color: var(--paper); margin-bottom: 10px; }
.cta-band p { color: #8A8A8A; font-size: 0.95rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero ---------- */

.page-hero {
  padding: clamp(38px, 5vw, 64px) 0 clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.page-hero--compact { padding-bottom: clamp(24px, 3vw, 32px); }
.page-hero h1 { max-width: 22ch; }
.page-lead {
  margin: 18px 0 0;
  max-width: 66ch;
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.65;
  color: var(--text-soft);
}
.page-hero .hero-actions { margin-top: 26px; }

.site-search { display: flex; gap: 10px; max-width: 680px; margin-top: 26px; }
.site-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
}
.site-search input:focus { outline: none; border-color: var(--text); }
.site-search-results { border-top: 1px solid var(--line); }
.site-search-results li { border-bottom: 1px solid var(--line); }
.site-search-results a { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; }
.site-search-results a:hover strong { color: var(--red); }
.site-search-results .mono { font-size: 0.58rem; letter-spacing: 0.12em; color: var(--steel); }
.site-search-results strong { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.site-search-results p { margin: 0; max-width: 74ch; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.site-search-results .text-link { margin-top: 4px; }
@media (max-width: 560px) {
  .site-search { flex-direction: column; }
  .site-search .btn { width: 100%; }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-current] { color: var(--text-soft); }

/* ---------- services page ---------- */

.service-list { border-top: 1px solid var(--line-strong); }
.service-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.2fr) minmax(0, 1fr) 40px;
  gap: 26px;
  align-items: center;
  padding: 30px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s var(--ease);
}
.service-row:hover { background: var(--bg-alt); }
.service-row-index { font-size: 0.66rem; color: var(--text-muted); }
.service-row-main h2 { font-size: 1.22rem; margin: 12px 0 6px; }
.service-row-main p { font-size: 0.88rem; color: var(--text-soft); margin: 0; max-width: 46ch; }
.service-row-main .service-icon { width: 34px; height: 34px; }
.service-row-features li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: 0.83rem; color: var(--text-soft); }
.service-row-features .icon { color: var(--text-muted); margin-top: 2px; }
.service-row-link { display: inline-flex; justify-content: flex-end; color: var(--text); }
.service-row:hover .service-row-link { color: var(--red); }

/* detail layout */

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 26px; }
.aside-block { border-top: 2px solid var(--ink); padding-top: 16px; }
[data-theme="dark"] .aside-block { border-color: var(--paper); }
.aside-block h2 {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text);
}
.aside-cta { background: var(--bg-alt); border-left: 2px solid var(--red); padding: 18px; }
.aside-cta p { font-size: 0.85rem; line-height: 1.6; color: var(--text-soft); margin: 0 0 14px; }
.aside-cta .mono { color: var(--text-muted); font-size: 0.6rem; margin-bottom: 8px; }

.check-list li { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; font-size: 0.87rem; line-height: 1.55; color: var(--text-soft); }
.check-list .icon { color: var(--red); margin-top: 2px; }

.plain-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.plain-list li span:first-child { color: var(--text-muted); }
.plain-list li span:last-child { text-align: right; }
.plain-list--tall li { padding: 14px 0; }
.plain-list a:hover { color: var(--red); }

.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 0.87rem; }
.link-list a:hover { color: var(--red); }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.16s var(--ease);
}
.related-card:hover { border-color: var(--text); }
.related-card span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.related-card h3 { font-size: 1rem; }
.related-card .icon { margin-top: auto; color: var(--text-muted); }

/* ---------- marketplace ---------- */

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-soft);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.filter-pill:hover { border-color: var(--text); color: var(--text); }
.filter-pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
[data-theme="dark"] .filter-pill.is-active { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.filter-pill span { font-family: var(--mono); font-size: 0.62rem; color: inherit; opacity: 0.75; }

.search-form { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.search-form input { border: 0; padding: 10px 12px; min-width: 220px; background: transparent; font-size: 0.86rem; }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: transparent; padding: 0 12px; display: inline-flex; align-items: center; color: var(--text-soft); }
.search-form button:hover { color: var(--red); }

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 56px 24px; text-align: center; }
.empty-state h2 { font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 20px; }

.support-strip, .careers-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.support-strip h2, .careers-strip h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 8px; }
.support-strip p, .careers-strip p { color: var(--text-soft); font-size: 0.92rem; max-width: 56ch; margin: 0; }
.strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* product detail */

.product-detail { padding-top: clamp(28px, 4vw, 44px); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.product-thumbs div { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: 8px 0 10px; max-width: 24ch; }
.product-tagline { font-size: 1rem; line-height: 1.6; color: var(--text-soft); margin-bottom: 22px; }
.product-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-price { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; }
.stock-line { display: inline-flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-muted); margin-left: auto; }
.stock-line .icon { color: var(--red); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.delivery-note { display: flex; align-items: flex-start; gap: 7px; font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.product-features { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- work / project ---------- */

.project-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: end; }
.project-facts { margin: 0; border-top: 1px solid var(--line-strong); }
.project-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.project-facts dt { color: var(--text-muted); }
.project-facts dd { margin: 0; text-align: right; }
.project-facts a { display: inline-flex; align-items: center; gap: 4px; color: var(--red); }
.project-cover { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-cover img { width: 100%; display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.metric-list { display: grid; gap: 0; margin: 0; }
.metric-list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.metric-list dt { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.metric-list dd { margin: 4px 0 0; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery-img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- insights / article ---------- */

.feature-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.18s var(--ease);
}
.feature-article:hover { border-color: var(--text); }
.feature-article-media { aspect-ratio: 16 / 11; overflow: hidden; border-right: 1px solid var(--line); background: var(--bg-alt); }
.feature-article-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-article-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature-article-body h2 { margin: 6px 0 12px; }
.feature-article-body p { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 22px; max-width: 52ch; }

.article-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.article-header { padding: clamp(32px, 5vw, 56px) 0 28px; border-bottom: 1px solid var(--line); }
.article-header-inner { max-width: 860px; }
.article-header h1 { margin: 10px 0 0; max-width: 26ch; }
.article-byline { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.8rem; color: var(--text-muted); }
.article-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.article-cover { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 64px); padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(48px, 6vw, 72px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 26px; }

/* prose */

.prose { max-width: 72ch; font-size: 1rem; line-height: 1.75; color: var(--text-soft); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin: 40px 0 12px; color: var(--text-strong); }
.prose h3 { font-size: 1.12rem; margin: 30px 0 10px; color: var(--text-strong); }
.prose h4 { margin: 24px 0 8px; color: var(--text-strong); }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--text-strong); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--red); }
.prose ol { counter-reset: prose; }
.prose ol li { counter-increment: prose; }
.prose ol li::before {
  content: counter(prose) ".";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  top: 2px;
}
.prose blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--red);
  color: var(--text);
  font-size: 1.02rem;
}
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--bg-alt); padding: 2px 5px; border-radius: 3px; color: var(--text); }
.prose pre {
  background: var(--ink);
  color: #F2F2F2;
  padding: 18px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 0 0 22px;
  font-size: 0.82rem;
  line-height: 1.6;
}
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose a:hover { color: var(--red); text-decoration-color: var(--red); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.md-heading { scroll-margin-top: 90px; }

/* ---------- team / about ---------- */

.team-grid--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-grid--detailed .team-photo { aspect-ratio: 16 / 10; }
.team-grid--detailed .team-body { padding: 22px; }
.team-grid--detailed h3 { font-size: 1.15rem; }
.team-grid--detailed .team-role { font-size: 0.84rem; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-aside { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.principle-list li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.principle-list .mono { font-size: 0.6rem; color: var(--text-muted); padding-top: 3px; }

/* ---------- careers ---------- */

.job-list { border-top: 1px solid var(--line-strong); }
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s var(--ease), padding 0.16s var(--ease);
}
.job-row:hover { background: var(--bg-alt); padding-left: 14px; }
.job-row h2 { font-size: 1.12rem; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.job-meta--large { margin-top: 14px; font-size: 0.72rem; }
.job-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.job-open { color: var(--text); }
.job-row:hover .job-open { color: var(--red); }

.hiring-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.hiring-steps li { border-top: 2px solid var(--ink); padding-top: 16px; }
[data-theme="dark"] .hiring-steps li { border-color: var(--paper); }
.hiring-steps .mono { font-size: 0.62rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.hiring-steps h3 { font-size: 1rem; margin-bottom: 6px; }
.hiring-steps p { font-size: 0.84rem; color: var(--text-soft); margin: 0; line-height: 1.55; }

/* ---------- forms ---------- */

.stack-form { display: flex; flex-direction: column; gap: 16px; }
.stack-form--compact { gap: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .field--full, .field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--red); margin-left: 3px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"],
input[type="password"], input[type="search"], input[type="date"], select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--field-bg);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
select { cursor: pointer; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.07);
}
[data-theme="dark"] input:focus, [data-theme="dark"] select:focus, [data-theme="dark"] textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }

.field-help { font-size: 0.76rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.field--check { flex-direction: row; align-items: center; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 0.86rem; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.check span { line-height: 1.5; }

.consent-note { font-size: 0.76rem; color: var(--text-muted); line-height: 1.55; }
.consent-note a { text-decoration: underline; text-underline-offset: 2px; }
.consent-note a:hover { color: var(--red); }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  background: var(--bg-alt);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 18px;
  color: var(--text);
}
.alert .icon { margin-top: 1px; flex: 0 0 auto; }
.alert--success { border-left-color: var(--ink); }
.alert--error { border-left-color: var(--red); color: var(--red); }

.hp-wrap, .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note { font-size: 0.76rem; color: var(--text-muted); margin: 6px 0 0; min-height: 1em; }

.card-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(20px, 3vw, 28px); }

.form-section-title { font-size: 1rem; margin: 8px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* contact */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); background: var(--surface); }
.contact-aside { display: flex; flex-direction: column; gap: 26px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside .btn { width: 100%; }

/* support */

.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.support-form-card, .form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); background: var(--surface); }
.form-title { font-size: 1.2rem; margin-bottom: 20px; }

.ticket-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ticket-header h1 { margin-bottom: 0; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.ticket-thread { display: flex; flex-direction: column; gap: 14px; }
.ticket-message { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.ticket-message--staff { background: var(--bg-alt); border-left: 2px solid var(--ink); }
[data-theme="dark"] .ticket-message--staff { border-left-color: var(--paper); }
.ticket-message header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-size: 0.78rem; }
.ticket-message header time { color: var(--text-muted); margin-left: auto; font-family: var(--mono); font-size: 0.62rem; }
.ticket-body { font-size: 0.9rem; line-height: 1.65; color: var(--text-soft); }
.ticket-reply { margin-top: 8px; }
.form-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* chips */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.chip--positive { border-color: var(--ink); color: var(--text); }
.chip--negative { border-color: rgba(252, 2, 41, 0.45); color: var(--red); }
.chip--neutral { color: var(--text-muted); }

/* ---------- cart / checkout / order ---------- */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.cart-main { min-height: 160px; }
.cart-loading { color: var(--text-muted); font-size: 0.9rem; padding: 30px 0; }
.cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row:first-child { border-top: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-title { font-size: 0.95rem; font-weight: 600; }
.cart-meta { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.cart-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-group { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.qty-group button { width: 28px; height: 28px; border: 0; background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.qty-group button:hover { background: var(--bg-alt); }
.qty-group span { min-width: 28px; text-align: center; font-size: 0.82rem; line-height: 28px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cart-remove { border: 0; background: none; font-size: 0.75rem; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.cart-remove:hover { color: var(--red); }
.cart-line-total { font-size: 0.95rem; font-weight: 600; text-align: right; white-space: nowrap; }
.cart-empty { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 44px 24px; text-align: center; }
.cart-empty h2 { font-size: 1.15rem; margin-bottom: 8px; }
.cart-empty p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 18px; }

.cart-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.cart-summary h2 { font-size: 1.05rem; margin-bottom: 18px; }
.summary-list { margin: 0 0 18px; }
.summary-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.summary-list dt { color: var(--text-muted); }
.summary-list dd { margin: 0; text-align: right; }
.summary-total { font-weight: 600; font-size: 0.98rem; border-bottom: 0 !important; padding-top: 14px !important; }
.summary-total dt, .summary-total dd { color: var(--text); }
.summary-note { font-size: 0.76rem; line-height: 1.5; color: var(--text-muted); margin: 14px 0 0; }
.summary-note a { text-decoration: underline; text-underline-offset: 2px; }
.summary-items { margin-bottom: 12px; }
.summary-item { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.summary-item span:last-child { white-space: nowrap; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.checkout-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.table-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 22px; }
.order-bank h2 { font-size: 1rem; margin-bottom: 14px; }

/* data tables */

.data-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.data-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-strong);
}
.data-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; }
.data-table tfoot td { border-top: 1px solid var(--line-strong); border-bottom: 0; }
.data-table .total-row td { font-weight: 600; font-size: 0.95rem; }
.cell-sub { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* invoices */

.invoice-page { background: var(--bg-alt); }
.invoice-sheet {
  max-width: 880px;
  background: #FFFFFF;
  color: #0A0A0A;
  border: 1px solid rgba(10, 10, 10, 0.16);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 52px);
}
.invoice-head { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 2px solid #0A0A0A; }
.invoice-logo { height: 28px; width: auto; }
.invoice-org { margin: 14px 0 0; font-size: 0.8rem; line-height: 1.6; color: #5c5c5c; }
.invoice-meta { text-align: right; }
.invoice-meta h1 { font-size: 1.6rem; letter-spacing: 0.16em; margin-bottom: 6px; color: #0A0A0A; }
.invoice-meta p { font-size: 0.8rem; color: #5c5c5c; margin: 2px 0; }
.invoice-meta .mono { color: #0A0A0A; font-size: 0.8rem; }
.invoice-status { display: inline-block; margin-top: 10px; border: 1px solid #0A0A0A; padding: 3px 9px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 0; }
.invoice-parties h2 { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8A8A8A; margin-bottom: 8px; }
.invoice-parties p { font-size: 0.84rem; line-height: 1.7; color: #1A1A1A; margin: 0; }
.invoice-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; margin-bottom: 22px; }
.invoice-table th { text-align: left; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8A8A8A; border-bottom: 1px solid #0A0A0A; padding: 10px 8px; }
.invoice-table td { padding: 12px 8px; border-bottom: 1px solid rgba(10, 10, 10, 0.12); }
.invoice-table .num { text-align: right; }
.invoice-totals { margin-left: auto; max-width: 340px; }
.invoice-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; font-size: 0.86rem; }
.invoice-total { border-top: 1px solid #0A0A0A; border-bottom: 1px solid #0A0A0A; font-weight: 600; font-size: 1rem !important; margin: 6px 0; padding: 12px 0 !important; }
.invoice-balance { font-weight: 600; }
.invoice-notes { margin-top: 26px; border-top: 1px solid rgba(10, 10, 10, 0.12); padding-top: 16px; }
.invoice-notes h2 { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8A8A8A; margin-bottom: 6px; }
.invoice-notes p { font-size: 0.82rem; color: #1A1A1A; line-height: 1.6; }
.invoice-foot { margin-top: 28px; font-size: 0.76rem; color: #8A8A8A; }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 22px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-tagline { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.footer-desc { font-size: 0.86rem; line-height: 1.65; color: var(--text-soft); max-width: 40ch; margin: 0 0 18px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-social a { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.footer-social a:hover { color: var(--red); }

.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-title {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 9px; }
.footer-cols a, .footer-contact li { font-size: 0.86rem; color: var(--text-soft); }
.footer-cols a:hover { color: var(--red); }
.footer-contact li { line-height: 1.5; }

.footer-newsletter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer-newsletter h2 { font-size: 0.95rem; margin-bottom: 5px; }
.footer-newsletter p { font-size: 0.82rem; color: var(--text-muted); margin: 0; max-width: 44ch; }
.newsletter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.newsletter-form input[type="email"] { width: 260px; }
.newsletter-form .form-note { flex-basis: 100%; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a:hover { color: var(--text); }

/* ---------- error ---------- */

.error-page { padding: clamp(64px, 10vw, 120px) 24px; max-width: 640px; }
.error-page h1 { margin-bottom: 14px; }
.error-page p { color: var(--text-soft); margin-bottom: 28px; }

/* ---------- toast ---------- */

.nz-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.nz-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .metrics-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hiring-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .service-row { grid-template-columns: 40px minmax(0, 1.2fr) minmax(0, 1fr); }
  .service-row-link { display: none; }
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-aside > * { flex: 1 1 240px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { max-width: 22ch; }
  .hero-console { max-width: 560px; }
  .approach-grid, .faq-grid, .about-grid, .detail-grid, .product-detail-grid, .project-head-grid,
  .contact-layout, .support-layout, .ticket-layout, .form-page-grid, .cart-layout, .checkout-layout,
  .order-layout, .feature-article { grid-template-columns: minmax(0, 1fr); }
  .detail-aside, .about-aside, .contact-aside, .cart-summary { position: static; }
  .feature-article-media { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .service-row { grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
  .service-row-features { grid-column: 2; }
  .team-grid--detailed { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .shell { padding: 0 18px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats > div { padding-right: 12px; }
  .hero-stats > div + div { padding-left: 12px; }
  .hero-stats dt { font-size: 1.2rem; }
  .service-grid, .team-grid, .article-grid, .article-grid--list, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics-grid > div { border-left: 0; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .metrics-grid > div:first-child { border-top: 0; padding-top: 0; }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line-total { grid-column: 2; text-align: left; }
  .newsletter-form input[type="email"] { width: 100%; }
  .newsletter-form { width: 100%; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-head { flex-direction: column; }
  .invoice-meta { text-align: left; }
  .invoice-parties { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .invoice-totals { max-width: none; }
  .cta-grid { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .search-form { width: 100%; }
  .search-form input { flex: 1; min-width: 0; }
  .hiring-steps { grid-template-columns: minmax(0, 1fr); }
  .job-row { align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-stats > div { padding: 0 0 12px; border-left: 0; }
  .hero-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- motion & print ---------- */

html.js-anim .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
html.js-anim .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; }
  html.js-anim .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Public platform experience
   A sharper, product-led surface: compact navigation, real work in the hero,
   soft surfaces, deliberate cards and a consistent editorial rhythm.
   Palette and typeface remain the brand system above. No gradients.
   ========================================================================== */

:root {
  --header-h: 76px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(10, 10, 10, 0.04), 0 18px 40px rgba(10, 10, 10, 0.06);
  --shadow-soft: 0 1px 2px rgba(10, 10, 10, 0.03), 0 8px 24px rgba(10, 10, 10, 0.04);
}

/* ---------- top strip, header, footer ---------- */

.announcement {
  background: var(--bg);
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.announcement .shell { gap: 10px; }
.announcement-dot { width: 5px; height: 5px; }

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .header-inner { height: var(--header-h); gap: 22px; }
.site-header .brand-mark { height: 46px; }
.site-header .header-support { font-size: 0.78rem; }
.site-header .primary-nav { gap: 22px; }
.site-header .nav-link { font-size: 0.82rem; font-weight: 500; padding: 7px 0; }
.site-header .nav-link.is-active::after { bottom: 0; height: 1.5px; }
.site-header .header-actions { gap: 6px; }
.site-header .icon-btn { width: 34px; height: 34px; border-color: transparent; }
.site-header .icon-btn:hover { border-color: var(--line); background: var(--bg-alt); }
.site-header .header-cta { margin-left: 6px; }

.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.site-footer .footer-brand .brand-mark { height: 52px; }
.site-footer .footer-top { padding-top: clamp(48px, 6vw, 72px); }
.site-footer .footer-title { font-size: 0.66rem; letter-spacing: 0.14em; }
.site-footer .footer-desc { max-width: 34ch; color: var(--text-muted); }
.site-footer .footer-newsletter { border-top: 1px solid var(--line); }
.site-footer .footer-bottom { border-top: 1px solid var(--line); }

/* ---------- shared rhythm ---------- */

body:not(.admin-body):not(.login-body) .btn {
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
body:not(.admin-body):not(.login-body) .btn:hover { transform: none; }
body:not(.admin-body):not(.login-body) .btn--lg { padding: 13px 21px; font-size: 0.92rem; }
body:not(.admin-body):not(.login-body) .btn--accent { box-shadow: 0 1px 2px rgba(252, 2, 41, 0.2); }
body:not(.admin-body):not(.login-body) .btn--accent:hover { box-shadow: 0 4px 14px rgba(252, 2, 41, 0.22); }

.section { padding: clamp(72px, 8vw, 104px) 0; }
.section--surface { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px 56px;
  align-items: end;
  margin-bottom: clamp(34px, 4.5vw, 52px);
}
.section-head h2 { max-width: 18ch; margin-top: 12px; font-size: clamp(1.7rem, 2.8vw, 2.25rem); line-height: 1.14; letter-spacing: -0.035em; }
.section-head .section-lead { max-width: 42ch; margin: 0; color: var(--text-soft); font-size: 0.94rem; line-height: 1.65; }
.section-head .section-action { margin-top: 16px; }
.section-head > .section-aside { display: flex; flex-direction: column; align-items: flex-start; }

.brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.brand-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.brand-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- home hero ---------- */

.brand-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}
.home-hero {
  display: grid;
  place-items: center;
  min-height: max(620px, min(820px, calc(100svh - var(--header-h))));
  isolation: isolate;
}
.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-field canvas,
.hero-field-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-field canvas { z-index: 1; }
.hero-field-fallback { z-index: 0; object-fit: cover; }
.hero-field.is-live .hero-field-fallback { visibility: hidden; }
[data-theme="dark"] .hero-field-fallback { opacity: 0.32; }

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(86px, 10vw, 126px);
  padding-bottom: clamp(72px, 9vw, 112px);
  text-align: center;
}
.home-hero .brand-eyebrow { justify-content: center; }
.home-hero h1 {
  max-width: 15ch;
  margin: 0 auto;
  font-size: clamp(2.65rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.home-hero .brand-lead {
  max-width: 49ch;
  margin: 24px auto 30px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.65;
}
.home-hero .brand-actions { justify-content: center; gap: 10px; }
.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: clamp(48px, 7vw, 76px) 0 0;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.home-hero-meta span + span { position: relative; padding-left: 14px; }
.home-hero-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-50%);
}
.hero-accent { color: var(--red); }

/* ---------- beliefs ---------- */

.belief-section {
  padding: clamp(60px, 7vw, 88px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.belief-intro { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 32px 56px; align-items: start; }
.belief-intro .eyebrow { margin-top: 10px; }
.belief-intro h2 {
  max-width: 28ch;
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(34px, 5vw, 52px);
  border-top: 1px solid var(--line-strong);
}
.belief-item { padding-top: 16px; }
.belief-index { display: block; margin-bottom: 22px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--red); }
.belief-item h3 { margin-bottom: 6px; font-size: 1rem; }
.belief-item p { max-width: 30ch; margin: 0; color: var(--text-soft); font-size: 0.88rem; line-height: 1.6; }

/* ---------- capability cards ---------- */

.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.capability-card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.capability-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.capability-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--red);
}
.capability-index { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--text-muted); }
.capability-card h3 { margin-bottom: 8px; font-size: 1.12rem; letter-spacing: -0.02em; }
.capability-card p { max-width: 34ch; margin: 0 0 22px; color: var(--text-soft); font-size: 0.9rem; line-height: 1.62; }
.capability-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
}
.capability-link .icon { transition: transform 0.18s var(--ease); }
.capability-card:hover .capability-link .icon { transform: translateX(3px); }

/* ---------- work ---------- */

.work-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.work-feature { display: block; min-width: 0; }
.work-feature:nth-child(even) .work-feature-media { order: 0; }
.work-feature-media {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.work-feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-feature:hover .work-feature-media img { transform: scale(1.025); }
.work-feature-body { max-width: none; padding-top: 15px; }
.work-feature-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  padding-top: 0;
  border-top: 0;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.work-feature h3 { margin-bottom: 7px; font-size: 1.08rem; letter-spacing: -0.02em; }
.work-feature h3 a:hover { color: var(--red); }
.work-feature p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.work-feature .text-link { font-size: 0.72rem; border-bottom: 0; color: var(--text); }
.work-feature .text-link:hover { color: var(--red); }

/* ---------- process ---------- */

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.process-grid li { padding: 20px 24px 0 0; }
.process-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.process-grid span { display: block; margin-bottom: 24px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--red); }
.process-grid h3 { margin-bottom: 6px; font-size: 1rem; }
.process-grid p { max-width: 28ch; margin: 0; color: var(--text-soft); font-size: 0.86rem; line-height: 1.6; }

/* ---------- team ---------- */

.team-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-portrait { display: block; min-width: 0; }
.team-portrait-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.team-portrait-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: filter 0.4s var(--ease), transform 0.6s var(--ease); }
.team-portrait:hover .team-portrait-media img { filter: grayscale(0); transform: scale(1.02); }
.team-portrait-body {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 10px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.team-portrait-index { grid-row: span 2; padding-top: 2px; font-family: var(--mono); font-size: 0.58rem; color: var(--text-muted); }
.team-portrait h3 { margin: 0 0 3px; font-size: 0.94rem; }
.team-portrait p { margin: 0; color: var(--text-muted); font-size: 0.74rem; line-height: 1.45; }

.team-profiles { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
.team-profile { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.team-profile:nth-child(even) .team-profile-media { order: 2; }
.team-profile:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.team-profile-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.team-profile-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.team-profile-body { max-width: 560px; }
.team-profile-index { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--red); }
.team-profile h2 { margin-bottom: 5px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.team-profile .team-role { margin-bottom: 20px; font-size: 0.82rem; color: var(--text-muted); }
.team-profile .team-bio { margin: 0 0 20px; color: var(--text-soft); font-size: 0.92rem; line-height: 1.7; }
.team-profile .team-links { display: flex; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.team-profile .team-links a { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.team-profile .team-links a:hover { color: var(--red); }

.founder-section { border-top: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.founder-portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.founder-copy { max-width: 680px; }
.founder-copy blockquote { margin: 0 0 24px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -0.025em; }
.founder-name { margin: 0; font-weight: 600; }
.founder-role { margin: 2px 0 18px; color: var(--text-muted); font-size: 0.82rem; }

/* ---------- closing invitation ---------- */

.brand-cta,
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  color: var(--text);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 96px) 0;
}
.brand-cta-grid,
.cta-band .shell { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px 56px; align-items: end; }
.brand-cta h2,
.cta-band h2 {
  max-width: 18ch;
  color: var(--text-strong);
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.brand-cta-body { max-width: 470px; }
.brand-cta-body p,
.cta-band p { margin-bottom: 22px; color: var(--text-soft); font-size: 0.94rem; line-height: 1.65; }
.brand-cta .brand-eyebrow,
.cta-band .eyebrow { color: var(--text-muted); }
.cta-band--compact { padding: clamp(44px, 5vw, 64px) 0; }
.cta-band .shell { align-items: center; }
.cta-band h2 { max-width: 22ch; }

/* ---------- inner page headers ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: clamp(54px, 6.5vw, 82px) 0 clamp(42px, 5vw, 56px);
}
.page-hero .shell { position: relative; }
.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.page-hero .page-lead { max-width: 66ch; margin-top: 18px; color: var(--text-soft); font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.65; }
.page-hero .eyebrow { margin-bottom: 18px; }

/* ---------- catalogue and editorial components ---------- */

.product-grid,
.product-grid--wide { gap: 38px 22px; }
.product-card { border: 0; background: transparent; border-radius: 0; box-shadow: none; }
.product-card:hover { border: 0; box-shadow: none; transform: none; }
.product-card .card-media { border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.product-card .card-media-img { border: 0; }
.product-card-body { padding: 16px 0 0; }
.product-card h3 { font-size: 1.04rem; letter-spacing: -0.02em; }
.product-card h3 a:hover { color: var(--red); }
.product-card .card-text { color: var(--text-muted); font-size: 0.86rem; }
.product-card-foot { border-top: 0; padding-top: 8px; }
.card-meta { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.09em; color: var(--text-muted); }
.product-card:hover .card-media img { transform: scale(1.025); }
.card-media img { transition: transform 0.6s var(--ease); }

.project-grid { gap: 38px 22px; }
.project-card { border: 0; background: transparent; border-radius: 0; }
.project-card:hover { border: 0; }
.project-media { border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.project-grid .project-media { border: 0; }
.project-body { padding: 16px 0 0; }
.project-card h3 { font-size: 1.08rem; letter-spacing: -0.02em; }
.project-card h3 a:hover { color: var(--red); }
.project-card .card-text { color: var(--text-muted); font-size: 0.86rem; }

.article-card {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}
.article-card:hover { border-color: var(--red); }
.article-card-link { padding: 22px 0 24px; }
.article-card h3 { letter-spacing: -0.02em; }
.article-card-foot { border-top: 0; padding-top: 0; }
.article-card .tag { font-family: var(--mono); }

.feature-article { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: transparent; }
.feature-article:hover { border-color: var(--red); }
.feature-article-media { border-right: 0; border-radius: var(--radius); overflow: hidden; }
.feature-article-body { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px); }

.service-card {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  padding: 22px 0 0;
}
.service-card:hover { border-color: var(--red); background: transparent; transform: none; }
.service-card .service-icon,
.service-row .service-icon { border: 0; background: transparent; padding: 0; width: auto; height: auto; color: var(--red); }
.service-row-main .service-icon { margin-bottom: 2px; }
.service-row-main h2 { font-size: 1.3rem; letter-spacing: -0.025em; }

.team-card { border: 0; border-radius: 0; background: transparent; }
.team-photo { border-bottom: 0; border-radius: var(--radius); overflow: hidden; }
.team-body { padding: 15px 0 0; }

.related-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 16px 0; }
.related-card:hover { border-color: var(--red); }

.tag { border: 0; padding: 0; color: var(--red); }

.contact-form-card { border: 0; border-radius: 0; background: transparent; padding: 0; }
.aside-cta { background: transparent; border-left: 2px solid var(--red); padding: 2px 0 2px 18px; }
body:not(.admin-body):not(.login-body) .card-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.empty-state,
.cart-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 44px 32px;
}
.empty-state h2,
.cart-empty h2 { font-size: 1.3rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.empty-state p,
.cart-empty p { max-width: 48ch; color: var(--text-soft); font-size: 0.92rem; line-height: 1.65; margin: 0 0 20px; }

.cart-thumb { border: 0; border-radius: var(--radius); }
body:not(.admin-body):not(.login-body) .table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.product-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 10px; align-items: start; }
.product-hero-media { border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.product-thumbs { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.product-thumbs button { width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer; }
.product-thumbs button.is-active { border-color: var(--text); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumbs button:hover { border-color: var(--line-strong); }
.product-description .product-details { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.project-cover, .article-cover, .gallery-img { border: 0; border-radius: var(--radius); }

/* Filters are compact tabs, not pills. */
.filter-row { gap: 6px 24px; border-bottom: 1px solid var(--line); }
.filter-pill {
  border: 0;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.filter-pill:hover { border-bottom-color: var(--line-strong); color: var(--text); }
.filter-pill.is-active { background: transparent; border-bottom-color: var(--red); color: var(--text); }
[data-theme="dark"] .filter-pill.is-active { background: transparent; border-bottom-color: var(--red); color: var(--paper); }
.filter-pill span { opacity: 1; }

/* Fields are deliberate boxes again, not floating rules. */
body:not(.admin-body):not(.login-body) .field input[type="text"],
body:not(.admin-body):not(.login-body) .field input[type="email"],
body:not(.admin-body):not(.login-body) .field input[type="tel"],
body:not(.admin-body):not(.login-body) .field input[type="url"],
body:not(.admin-body):not(.login-body) .field input[type="number"],
body:not(.admin-body):not(.login-body) .field input[type="password"],
body:not(.admin-body):not(.login-body) .field input[type="search"],
body:not(.admin-body):not(.login-body) .field input[type="date"],
body:not(.admin-body):not(.login-body) .field select,
body:not(.admin-body):not(.login-body) .field textarea,
body:not(.admin-body):not(.login-body) .newsletter-form input[type="email"],
body:not(.admin-body):not(.login-body) .site-search input {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 11px 13px;
  box-shadow: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
body:not(.admin-body):not(.login-body) .field textarea { min-height: 112px; }
body:not(.admin-body):not(.login-body) .field input:focus,
body:not(.admin-body):not(.login-body) .field select:focus,
body:not(.admin-body):not(.login-body) .field textarea:focus,
body:not(.admin-body):not(.login-body) .site-search input:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}
body:not(.admin-body):not(.login-body) .search-form {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
body:not(.admin-body):not(.login-body) .search-form input { border: 0; background: transparent; }
.site-search { max-width: 620px; gap: 10px; }
.site-search .btn { border-radius: var(--radius-sm); }

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .site-header .primary-nav { gap: 16px; }
  .site-header .nav-link { font-size: 0.78rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header .header-inner { height: var(--header-h); }
  .site-header .brand-mark { height: 40px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .section-head > .section-aside { align-items: flex-start; }
  .belief-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .belief-intro .eyebrow { margin-top: 0; }
  .belief-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .belief-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
  .belief-index { grid-row: span 2; margin: 0; padding-top: 3px; }
  .belief-item p { max-width: 52ch; }
  .work-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid li { padding: 20px 22px 26px 0; }
  .process-grid li:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .process-grid li:nth-child(4) { border-top: 1px solid var(--line); }
  .team-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .team-profile { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .team-profile:nth-child(even) .team-profile-media { order: 0; }
  .team-profile:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .founder-grid { grid-template-columns: minmax(0, 1fr); }
  .founder-portrait { max-width: 420px; }
  .brand-cta-grid, .cta-band .shell { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-gallery { grid-template-columns: minmax(0, 1fr); }
  .product-thumbs { flex-direction: row; overflow-x: auto; }
  .product-thumbs button { flex: 0 0 72px; }
}

@media (max-width: 700px) {
  .home-hero h1 { font-size: clamp(2.35rem, 10.8vw, 3rem); }
  .home-hero .brand-actions .btn { width: 100%; }
  .home-hero-inner { padding-top: 74px; padding-bottom: 64px; }
  .home-hero-meta { margin-top: 42px; gap: 8px 14px; }
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .capability-card { min-height: 0; padding: 22px; }
  .capability-card-top { margin-bottom: 24px; }
  .work-showcase { grid-template-columns: minmax(0, 1fr); }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-grid li { padding: 18px 0 22px; }
  .process-grid li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-grid span { margin-bottom: 12px; }
  .team-wall { gap: 20px 12px; }
  .site-footer .footer-brand .brand-mark { height: 44px; }
}

@media (max-width: 520px) {
  .home-hero h1 { font-size: clamp(2.45rem, 12.5vw, 3rem); }
  .home-hero-meta { font-size: 0.56rem; gap: 7px 12px; }
  .home-hero-meta span + span { padding-left: 12px; }
  .team-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  .site-header, .site-footer, .announcement, .ticker, .cta-band, .nz-toast { display: none !important; }
  body { background: #fff; color: #000; }
  .invoice-sheet { border: 0; max-width: none; padding: 0; }
  a { text-decoration: none; color: #000; }
  .section { padding: 0; }
  .invoice-page { padding: 0; }
}
