/* Simorgh — design system
   Light, editorial, restrained. No external fonts or assets. */

:root {
  --bg: #f6f5f1;
  --bg-soft: #efede6;
  --surface: #ffffff;
  --ink: #151d26;
  --ink-2: #263342;
  --muted: #5d6874;
  --muted-2: #78828c;
  --line: #dfdcd3;
  --line-strong: #c8c3b7;
  --accent: #b23a2e;
  --accent-dark: #8d2a20;
  --accent-soft: #f3e3df;
  --navy: #16222f;
  --navy-2: #1c2b3a;
  --sage: #64796a;
  --amber: #a8732f;
  --max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -36px rgba(21, 29, 38, 0.45);
  --font: "Manrope", "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 780px);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.eyebrow--light {
  color: #e7b7ad;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

.btn-light {
  background: #f6f5f1;
  color: var(--navy);
}

.btn-light:hover {
  background: #fff;
  color: var(--navy);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.26);
  color: #f6f5f1;
}

.btn-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 40px;
  padding: 9px 17px;
  font-size: 0.84rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 241, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 245, 241, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -32px rgba(21, 29, 38, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.brand-word {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.19em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-cta {
  display: none;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(21, 29, 38, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: clamp(64px, 9vw, 118px) 0 clamp(52px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
}

.hero-accent {
  color: var(--accent);
}

.hero-lede {
  max-width: 610px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 620px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-facts dd {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.hero-visual {
  min-width: 0;
}

.system-map {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.system-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.system-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.system-map svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fbfaf7;
}

.map-node rect {
  fill: #fff;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.map-node--accent rect {
  fill: var(--accent-soft);
  stroke: #d9a79f;
}

.map-label {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.map-sub {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.map-note {
  fill: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfaf7;
}

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

.trust-grid > div {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid > div + div {
  padding-left: 26px;
}

.trust-value {
  display: block;
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.trust-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Sections */
.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2 {
  max-width: 15ch;
}

.section-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Factory feature */
.factory-feature {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--navy);
  color: #f3f1eb;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.factory-kicker {
  margin-bottom: 14px;
  color: #e7b7ad;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.factory-copy h2 {
  max-width: 14ch;
  color: #fff;
}

.factory-copy > p {
  max-width: 580px;
  margin-top: 24px;
  color: rgba(243, 241, 235, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
}

.factory-note {
  color: rgba(243, 241, 235, 0.5) !important;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.03em;
}

.factory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.factory-visual {
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.factory-visual img {
  width: 100%;
  border-radius: 10px;
  background: #fbfaf7;
}

.factory-caption {
  margin: 10px 2px 0;
  color: rgba(243, 241, 235, 0.48);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  grid-column: span 4;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.product-card--full {
  grid-column: span 12;
}

.product-card--half {
  grid-column: span 6;
}

.product-card--third {
  grid-column: span 4;
}

.product-card-anchor {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card-anchor:hover {
  color: inherit;
}

.product-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-card--full .product-card-media {
  aspect-ratio: 16 / 7;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.025);
}

.product-card-media.is-svg img {
  object-fit: contain;
  padding: 22px;
  background: #fbfaf7;
}

.product-index {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(21, 29, 38, 0.78);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.product-category {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.product-card--third h3 {
  font-size: 1.32rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
}

.product-more {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.product-card-link {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-production {
  background: #e8f1ea;
  color: #2f5b3e;
  border-color: #cfe2d4;
}

.status-development {
  background: #f6ecde;
  color: #76501d;
  border-color: #e8d5b8;
}

.status-planned {
  background: #efefed;
  color: #5f666d;
  border-color: #dddcd7;
}

.status-internal {
  background: #e9eef3;
  color: #3f566b;
  border-color: #d3dde6;
}

.status-legacy {
  background: #f0eae4;
  color: #6f5a47;
  border-color: #e0d4c8;
}

/* CTA card to complete the last grid row */
.product-card--cta {
  grid-column: span 8;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--navy);
  color: #f3f1eb;
  border-color: var(--navy);
}

.product-card--cta::before,
.product-card--cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.product-card--cta::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
}

.product-card--cta::after {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -60px;
  border-color: rgba(178, 58, 46, 0.55);
}

.product-card--cta > * {
  position: relative;
  z-index: 1;
}

.product-card--cta .product-category {
  color: #e7b7ad;
}

.product-card--cta h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: 1.45rem;
}

.product-card--cta p {
  color: rgba(243, 241, 235, 0.66);
}

.product-card--cta .btn {
  align-self: flex-start;
  margin-top: 18px;
}

.cta-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-steps li {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(243, 241, 235, 0.66);
  font-size: 0.76rem;
  line-height: 1.4;
}

.cta-steps span {
  display: block;
  margin-bottom: 4px;
  color: #e7b7ad;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.expertise-item {
  padding: 28px 26px 30px;
  background: var(--surface);
}

.expertise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent);
  background: #fbfaf7;
}

.expertise-icon svg {
  width: 21px;
  height: 21px;
}

.expertise-item h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.expertise-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Method */
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-step {
  padding: 26px 22px 8px 0;
  border-right: 1px solid var(--line);
}

.method-step:last-child {
  border-right: 0;
}

.method-step + .method-step {
  padding-left: 22px;
}

.method-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.method-step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.method-step p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Company */
.company-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}

.company-lede {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.company-grid p:not(.eyebrow):not(.company-lede):not(.company-panel-note) {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.company-panel {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-fact {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-fact:first-child {
  padding-top: 0;
}

.company-fact-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.company-fact strong {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
}

.company-panel-note {
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 78px);
  padding: clamp(36px, 5vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  max-width: 13ch;
}

.contact-copy > p {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  margin-top: 26px;
  color: var(--accent);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-email:hover {
  color: var(--accent-dark);
}

.contact-email--large {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  margin-top: 34px;
}

.contact-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-guide {
  padding: 26px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-guide h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.contact-guide ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.contact-guide li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-guide li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

/* Footer */
.site-footer {
  margin-top: clamp(72px, 9vw, 112px);
  padding: 64px 0 30px;
  background: var(--navy);
  color: #f3f1eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 0.9fr;
  gap: 48px;
}

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

.brand--footer:hover {
  color: #fff;
}

.brand--footer .brand-mark {
  color: #e7b7ad;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: rgba(243, 241, 235, 0.6);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-email {
  display: inline-block;
  margin-top: 18px;
  color: #e7b7ad;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-email:hover {
  color: #fff;
}

.footer-col h2 {
  margin-bottom: 16px;
  color: rgba(243, 241, 235, 0.44);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  color: rgba(243, 241, 235, 0.78);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(243, 241, 235, 0.45);
  font-size: 0.72rem;
}

.footer-note {
  max-width: 540px;
}

/* Page hero */
.page-hero {
  padding: clamp(64px, 8vw, 104px) 0 clamp(46px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 980px;
  margin-inline: 0;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-lede {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

/* Product detail */
.product-hero {
  padding: 28px 0 clamp(48px, 6vw, 72px);
  background: #fbfaf7;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

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

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

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.product-hero-copy h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
}

.product-tagline {
  max-width: 620px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.product-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.product-order {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.product-hero-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-hero-figure img[src$=".svg"] {
  object-fit: contain;
  padding: 24px;
  background: #fbfaf7;
}

.product-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(36px, 6vw, 90px);
  justify-content: center;
  padding-top: clamp(48px, 7vw, 80px);
}

.product-aside {
  align-self: start;
  position: sticky;
  top: 100px;
}

.aside-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.aside-block:first-child {
  padding-top: 0;
}

.aside-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aside-block p {
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.55;
}

.aside-block a {
  color: var(--accent);
  text-decoration: none;
}

.product-content section {
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}

.product-content section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.product-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
}

.product-content p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.detail-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding: 11px 14px 11px 34px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.challenge {
  padding: 18px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.challenge h3 {
  margin-bottom: 7px;
  font-size: 0.98rem;
}

.challenge p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px !important;
  background: var(--navy);
  border: 0 !important;
  border-radius: var(--radius);
}

.product-cta h2 {
  color: #fff;
  margin-bottom: 6px;
}

.product-cta p {
  margin: 0;
  color: rgba(243, 241, 235, 0.65);
  font-size: 0.88rem;
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-nav-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
}

.product-nav-link span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-nav-link strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.product-nav-link--next {
  align-items: flex-end;
  text-align: right;
}

/* Expertise page */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.capability-card {
  padding: 30px;
  background: var(--surface);
}

.capability-card h2 {
  margin-bottom: 18px;
  font-size: 1.18rem;
}

.capability-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.capability-card li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Company page */
.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: clamp(36px, 6vw, 90px);
  justify-content: center;
}

.prose h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
}

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

.prose p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.prose a {
  color: var(--accent);
}

.prose-aside {
  align-self: start;
  position: sticky;
  top: 100px;
}

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: clamp(36px, 6vw, 90px);
  justify-content: center;
}

.contact-card {
  align-self: start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1.25rem;
  word-break: break-word;
}

.contact-card > p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-card hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

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

.link-list li + li {
  margin-top: 8px;
}

.link-list a {
  color: var(--ink-2);
  font-size: 0.86rem;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--accent);
}

/* CTA band */
.cta-band {
  background: #fbfaf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 18ch;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* Legal / 404 */
.legal {
  padding-top: clamp(56px, 7vw, 84px);
}

.not-found {
  min-height: 56vh;
  display: flex;
  align-items: center;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid,
  .factory-grid,
  .company-grid,
  .contact-panel,
  .product-hero-grid {
    gap: 40px;
  }

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

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

  .method-step {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px;
    margin: 0 10px 10px 0;
  }

  .method-step + .method-step {
    padding-left: 22px;
  }

  .method-step:last-child {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 24px;
    background: #fbfaf7;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -40px rgba(21, 29, 38, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 14px;
    align-self: flex-start;
  }

  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.02rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .factory-grid,
  .company-grid,
  .contact-panel,
  .product-hero-grid,
  .prose-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-facts {
    max-width: 100%;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head h2 {
    max-width: 20ch;
  }

  .product-card--half {
    grid-column: span 12;
  }

  .product-card--third {
    grid-column: span 6;
  }

  .product-card--cta {
    grid-column: span 12;
  }

  .product-card--full .product-card-media {
    aspect-ratio: 16 / 9;
  }

  .product-aside,
  .prose-aside {
    position: static;
  }

  .product-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .aside-block {
    border-bottom: 0;
    padding: 10px 0;
  }

  .aside-block:first-child {
    padding-top: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 34px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav {
    top: 68px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-facts > div {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .hero-facts dd {
    margin-top: 0;
  }

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

  .trust-grid > div {
    padding: 20px 16px 20px 0;
  }

  .trust-grid > div + div {
    padding-left: 16px;
  }

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-card--third {
    grid-column: span 12;
  }

  .product-card--full .product-card-media,
  .product-card--half .product-card-media,
  .product-card--third .product-card-media {
    aspect-ratio: 16 / 10;
  }

  .expertise-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-step {
    margin-right: 0;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .product-aside {
    grid-template-columns: 1fr;
  }

  .product-pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-nav-link--next {
    align-items: flex-start;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-panel,
  .company-panel,
  .contact-card {
    padding: 24px;
  }

  .cta-band-inner {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.1rem);
  }

  .product-hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

  .hero-actions,
  .factory-actions,
  .product-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .product-card-body {
    padding: 18px;
  }

  .system-map-head {
    padding: 11px 14px;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-visual,
  .hero-actions,
  .product-hero-actions,
  .product-pagination,
  .contact-panel .contact-guide {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .product-body {
    display: block;
  }
}
