:root {
  --yellow: #f5c400;
  --yellow-strong: #e7b800;
  --ink: #151515;
  --ink-soft: #303030;
  --paper: #ffffff;
  --canvas: #f2f1eb;
  --line: #d9d8d1;
  --muted: #686862;
  --max-width: 1240px;
  --section-space: clamp(5rem, 9vw, 8.5rem);
  --shadow: 0 18px 55px rgb(20 20 20 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[id] {
  scroll-margin-top: 8rem;
}

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

::selection {
  color: var(--ink);
  background: var(--yellow);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-tight {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section-canvas {
  background-color: var(--canvas);
  background-image:
    linear-gradient(to right, rgb(21 21 21 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(21 21 21 / 4%) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-dark {
  color: var(--paper);
  background: var(--ink);
}

.section-yellow {
  background: var(--yellow);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 0.38fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head.compact {
  margin-bottom: 2.25rem;
}

.section-code {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.section-dark .section-code {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.2rem, 7.4vw, 7.2rem);
  font-weight: 850;
}

h2 {
  max-width: 17ch;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 780;
}

.lede {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.65vw, 1.25rem);
  line-height: 1.65;
}

.section-dark .lede,
.section-dark .muted {
  color: #bcbcb6;
}

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

.text-link {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  padding: 0.86rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: var(--yellow);
}

.button-light {
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}

.button-light:hover {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.button-plain {
  background: var(--paper);
}

.button-plain:hover {
  color: var(--paper);
  background: var(--ink);
}

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

/* Header */
.utility-bar {
  color: #e8e8e2;
  background: var(--ink);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.utility-inner {
  display: flex;
  min-height: 2.3rem;
  gap: 1.4rem;
  align-items: center;
  justify-content: space-between;
}

.utility-group {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.utility-bar a {
  text-decoration: none;
}

.utility-bar a:hover {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 97%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 0.78rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  background: var(--yellow);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--ink);
}

.brand-mark::before {
  top: 0.5rem;
  left: 1.02rem;
  width: 0.4rem;
  height: 1.45rem;
  transform: skew(-18deg);
}

.brand-mark::after {
  top: 1.04rem;
  left: 0.5rem;
  width: 1.45rem;
  height: 0.38rem;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  gap: clamp(0.95rem, 2vw, 1.8rem);
  align-items: center;
}

.site-navigation > a:not(.button) {
  position: relative;
  padding-block: 2rem;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
}

.site-navigation > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  height: 3px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.site-navigation .button {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.menu-button {
  display: none;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.78rem;
  border: 0;
  background: var(--yellow);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 0.28rem;
  background: var(--ink);
}

/* Home hero */
.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgb(21 21 21 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(21 21 21 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
}

.home-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34vw;
  height: 0.7rem;
  background: var(--yellow);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(24rem, 0.72fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  min-height: 710px;
  align-items: center;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

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

.hero-manifesto {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 strong {
  color: var(--yellow-strong);
  font-weight: inherit;
}

.hero-copy .lede {
  max-width: 55ch;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  padding: 0 0 2.2rem 2.2rem;
}

.hero-visual::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 58%;
  background: var(--yellow);
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-rail {
  position: absolute;
  right: -1.5rem;
  bottom: 5rem;
  z-index: 2;
  padding: 1rem 0.55rem;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.proof-line {
  color: var(--paper);
  background: var(--ink);
}

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

.proof-item {
  min-height: 8.5rem;
  padding: 1.65rem;
  border-right: 1px solid #3d3d3d;
}

.proof-item:first-child {
  border-left: 1px solid #3d3d3d;
}

.proof-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--yellow);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof-item span {
  color: #bfbfb9;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Journey and service blocks */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.journey-card {
  display: flex;
  min-height: 290px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.journey-card:hover {
  background: var(--yellow);
}

.journey-number {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.journey-card h3 {
  max-width: 9ch;
}

.journey-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.journey-card:hover p,
.journey-card:hover .journey-number {
  color: var(--ink-soft);
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.service-module {
  position: relative;
  display: flex;
  min-height: 350px;
  padding: clamp(1.65rem, 3vw, 2.5rem);
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  text-decoration: none;
}

.service-module:nth-child(1),
.service-module:nth-child(4) {
  grid-column: span 7;
}

.service-module:nth-child(2),
.service-module:nth-child(3) {
  grid-column: span 5;
}

.service-module.dark {
  color: var(--paper);
  background: var(--ink);
}

.service-module.yellow {
  background: var(--yellow);
}

.service-module.image {
  color: var(--paper);
  background-position: center;
  background-size: cover;
}

.service-module.solar-background {
  background-image: url('/images/service-solar.jpg');
}

.service-module.image::before {
  position: absolute;
  inset: 0;
  background: rgb(16 16 16 / 62%);
  content: "";
}

.service-module > * {
  position: relative;
  z-index: 1;
}

.service-module .module-number {
  margin-bottom: auto;
  color: var(--muted);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.service-module.dark .module-number,
.service-module.image .module-number {
  color: var(--yellow);
}

.service-module h3 {
  max-width: 13ch;
  margin-top: 4rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.service-module p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
}

.service-module.dark p,
.service-module.image p {
  color: #d0d0ca;
}

.service-module::after {
  position: absolute;
  right: 2rem;
  bottom: 1.8rem;
  z-index: 2;
  font-size: 1.7rem;
  content: "↗";
  transition: transform 180ms ease;
}

.service-module:hover::after {
  transform: translate(0.25rem, -0.25rem);
}

/* Systems, sectors, evidence */
.system-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.system-statement {
  position: sticky;
  top: 8rem;
}

.system-statement h2 {
  margin-bottom: 1.5rem;
}

.system-list {
  border-top: 1px solid #444;
}

.system-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding-block: 2.1rem;
  border-bottom: 1px solid #444;
}

.system-row strong {
  color: var(--yellow);
  font-size: 0.85rem;
  letter-spacing: 0.13em;
}

.system-row h3 {
  margin-bottom: 0.6rem;
}

.system-row p {
  margin-bottom: 0;
  color: #bcbcb6;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sector {
  min-height: 240px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sector-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 3.3rem;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 900;
}

.sector h3 {
  font-size: 1.35rem;
}

.sector p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.evidence-card {
  min-height: 260px;
  padding: 2rem;
  border-top: 0.65rem solid var(--yellow);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.evidence-card strong {
  display: block;
  margin-bottom: 2.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.evidence-card h3 {
  font-size: 1.45rem;
}

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

/* Feature and shop */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.feature-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  padding: clamp(3rem, 7vw, 7rem);
  flex-direction: column;
  justify-content: center;
}

.feature-copy h2 {
  margin-bottom: 1.5rem;
}

.feature-copy .lede {
  margin-bottom: 2rem;
}

.shop-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--ink);
}

.shop-copy {
  display: flex;
  padding: clamp(2.5rem, 5vw, 5rem);
  flex-direction: column;
  justify-content: center;
  background: var(--yellow);
}

.shop-copy h2 {
  margin-bottom: 1.4rem;
}

.shop-copy p {
  max-width: 48ch;
  margin-bottom: 2rem;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.product-cell {
  display: grid;
  min-height: 250px;
  padding: 1.5rem;
  place-items: center;
  background: var(--paper);
}

.product-cell img {
  width: min(100%, 180px);
  height: 180px;
  object-fit: contain;
}

/* Page heroes and content */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background-color: var(--canvas);
  background-image:
    linear-gradient(to right, rgb(21 21 21 / 5%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(21 21 21 / 5%) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(1rem, 3vw, 2.2rem);
  height: 100%;
  background: var(--yellow);
  content: "";
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.32fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(3rem, 5.1vw, 5.35rem);
}

.page-hero-copy .lede {
  max-width: 68ch;
  margin-bottom: 2rem;
}

.page-index {
  min-width: 0;
  padding-left: 1.4rem;
  border-left: 5px solid var(--yellow);
}

.page-index strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-index p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.detail-card {
  min-height: 330px;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--paper);
}

.detail-card.yellow {
  background: var(--yellow);
}

.detail-card.dark {
  color: var(--paper);
  background: var(--ink);
}

.detail-card .card-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.detail-card.dark .card-number {
  color: var(--yellow);
}

.detail-card h3 {
  max-width: 18ch;
}

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

.detail-card.dark p {
  color: #c7c7c1;
}

.clean-list {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.65rem;
  border-top: 1px solid var(--line);
}

.clean-list li::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 0.55rem;
  height: 0.15rem;
  background: var(--yellow-strong);
  content: "";
}

.detail-card.dark .clean-list li,
.section-dark .clean-list li {
  border-color: #444;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.process-step {
  min-height: 270px;
  padding: 2rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.process-step:first-child {
  border-left: 1px solid var(--ink);
}

.process-step strong {
  display: block;
  margin-bottom: 3.8rem;
  color: var(--yellow-strong);
  font-size: 2rem;
}

.process-step h3 {
  font-size: 1.35rem;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 8rem;
}

.sticky-copy h2 {
  margin-bottom: 1.5rem;
}

.stack-list {
  border-top: 1px solid var(--ink);
}

.stack-item {
  padding-block: 2.25rem;
  border-bottom: 1px solid var(--ink);
}

.stack-item h3 {
  margin-bottom: 0.65rem;
}

.stack-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list {
  max-width: 940px;
  margin-inline: auto;
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  display: flex;
  padding: 1.55rem 0;
  align-items: center;
  justify-content: space-between;
  font-size: 1.12rem;
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  margin-left: 1rem;
  color: var(--yellow-strong);
  font-size: 1.6rem;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 70ch;
  padding-bottom: 1.5rem;
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 4rem;
}

.timeline::before {
  position: absolute;
  top: 1.45rem;
  right: 2rem;
  left: 2rem;
  height: 4px;
  background: var(--ink);
  content: "";
}

.timeline-row {
  position: relative;
  min-height: 350px;
  padding: 0 clamp(0.8rem, 1.6vw, 1.4rem) 1.5rem;
  border-right: 1px solid var(--line);
}

.timeline-row::before {
  position: absolute;
  top: -3.15rem;
  left: 50%;
  width: 1.45rem;
  height: 1.45rem;
  border: 4px solid var(--ink);
  background: var(--yellow);
  content: "";
  transform: translateX(-50%);
}

.timeline-row:last-child {
  border-right: 0;
}

.timeline-row time {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--yellow-strong);
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.timeline-row > div {
  padding-top: 1.4rem;
  border-top: 0.45rem solid var(--yellow);
}

.timeline-row h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.timeline-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-row:last-child > div {
  padding: 1.4rem;
  border-top-color: var(--yellow);
  color: var(--paper);
  background: var(--ink);
}

.timeline-row:last-child p {
  color: #c8c8c2;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #444;
  border-left: 1px solid #444;
}

.brand-name {
  display: grid;
  min-height: 120px;
  padding: 1.5rem;
  place-items: center;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  color: #d7d7d2;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.brand-name.highlight {
  color: var(--ink);
  background: var(--yellow);
}

.brand-wall-light {
  border-color: var(--line);
}

.brand-wall-light .brand-name {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.brand-wall-light .brand-name.highlight {
  background: var(--yellow);
}

.info-note {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 0.82rem;
}

.section-follow-link {
  margin-top: 2rem;
}

/* Contact */
.contact-routing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.contact-route {
  min-height: 285px;
  padding: 2rem;
  background: var(--paper);
}

.contact-route.primary {
  background: var(--yellow);
}

.contact-route strong {
  display: block;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-route a {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-facts {
  border-top: 1px solid var(--ink);
}

.contact-fact {
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.contact-fact strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-fact p,
.contact-fact a {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--canvas);
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #aaa9a2;
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}

.field input,
.field select {
  min-height: 3.3rem;
  padding: 0.75rem 0.9rem;
}

.field textarea {
  min-height: 150px;
  padding: 0.9rem;
  resize: vertical;
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.map-card {
  position: relative;
  display: grid;
  min-height: 420px;
  padding: clamp(2rem, 5vw, 5rem);
  align-content: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.map-card::before,
.map-card::after {
  position: absolute;
  content: "";
}

.map-card::before {
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}

.map-card::after {
  top: 25%;
  right: 18%;
  width: 4rem;
  height: 4rem;
  border: 0.85rem solid var(--yellow);
  transform: rotate(45deg);
}

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

.map-card h2 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
}

/* CTA and footer */
.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  align-items: end;
  background: var(--yellow);
}

.contact-cta h2 {
  max-width: 15ch;
  margin-bottom: 1rem;
}

.contact-cta p {
  max-width: 58ch;
  margin-bottom: 0;
}

.site-footer {
  color: var(--paper);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.65fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 4.5rem;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 1.4rem;
  color: #aaa9a4;
}

.site-footer .brand {
  color: var(--paper);
}

.site-footer .brand-text small {
  color: #aaa9a4;
}

.footer-column strong {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-bottom: 0.65rem;
  color: #d5d5d0;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  min-height: 4.2rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #3b3b3b;
  color: #8e8e89;
  font-size: 0.77rem;
  font-variant-numeric: tabular-nums;
}

.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  width: min(calc(100% - 2.5rem), 560px);
  padding: 1.15rem;
  align-items: center;
  border-left: 0.5rem solid var(--yellow);
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin-bottom: 0;
  color: #c9c9c4;
  font-size: 0.82rem;
}

.cookie-banner .button {
  min-height: 2.7rem;
  border-color: var(--yellow);
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 1080px) {
  .site-navigation {
    gap: 0.85rem;
  }

  .site-navigation > a:not(.button) {
    font-size: 0.79rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    min-height: 650px;
  }

  .journey-grid,
  .sector-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .proof-item:nth-child(3) {
    border-left: 1px solid #3d3d3d;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid #3d3d3d;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

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

  .timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 3.25rem;
  }

  .timeline::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0.75rem;
    width: 4px;
    height: auto;
  }

  .timeline-row {
    min-height: 0;
    padding: 0 0 2.5rem 1.25rem;
    border-right: 0;
  }

  .timeline-row::before {
    top: 0.35rem;
    left: -2.5rem;
    transform: none;
  }

  .timeline-row time {
    margin-bottom: 0.6rem;
  }

  .timeline-row > div {
    padding: 1.25rem 0 0 1.25rem;
    border-top: 0;
    border-left: 0.4rem solid var(--yellow);
  }

  .timeline-row:last-child > div {
    padding: 1.4rem;
    border-left-color: var(--yellow);
  }
}

@media (max-width: 880px) {
  .site-header {
    backdrop-filter: none;
  }

  .utility-group:first-child span:last-child {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-navigation {
    position: fixed;
    top: calc(2.3rem + 5.2rem);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 1.5rem;
    align-items: stretch;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-navigation > a:not(.button) {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }

  .site-navigation > a:not(.button)::after {
    display: none;
  }

  .site-navigation .button {
    min-height: 3.4rem;
    margin-top: 0.8rem;
  }

  .hero-grid,
  .page-hero-grid,
  .section-head,
  .system-grid,
  .feature-split,
  .shop-panel,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 3.5rem;
  }

  .hero-visual img {
    min-height: 440px;
  }

  .section-head {
    gap: 1.5rem;
    align-items: start;
  }

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

  .system-statement,
  .sticky-copy {
    position: static;
  }

  .feature-split .feature-image {
    order: 2;
  }

  .feature-copy {
    min-height: 450px;
  }

  .evidence-grid,
  .contact-routing {
    grid-template-columns: 1fr;
  }

  .evidence-card {
    min-height: 220px;
  }

  .contact-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --section-space: 4.5rem;
  }

  .shell {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .utility-inner {
    min-height: 2rem;
  }

  .utility-group {
    gap: 0.8rem;
  }

  .utility-group:first-child span {
    display: none;
  }

  .utility-group:last-child a:first-child {
    display: none;
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .site-navigation {
    top: 6.5rem;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand-mark::before {
    top: 0.43rem;
    left: 0.87rem;
    height: 1.23rem;
  }

  .brand-mark::after {
    top: 0.88rem;
    left: 0.43rem;
    width: 1.23rem;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .brand-text small {
    display: none;
  }

  .home-hero::before {
    width: 50vw;
  }

  .hero-grid {
    padding-block: 3.5rem 4.5rem;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .hero-visual {
    padding: 0 0 1.25rem 1.25rem;
  }

  .hero-visual img {
    min-height: 330px;
  }

  .hero-rail {
    right: -0.3rem;
    bottom: 3.5rem;
  }

  .proof-grid,
  .journey-grid,
  .sector-grid,
  .detail-grid,
  .process-grid,
  .product-strip,
  .brand-wall {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(3) {
    border-right: 1px solid #3d3d3d;
    border-bottom: 1px solid #3d3d3d;
    border-left: 1px solid #3d3d3d;
  }

  .proof-item + .proof-item {
    border-top: 0;
  }

  .journey-card {
    min-height: 235px;
  }

  .service-module,
  .service-module:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .service-module h3 {
    margin-top: 3rem;
  }

  .system-row {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

  .sector {
    min-height: 210px;
  }

  .sector-icon {
    margin-bottom: 2rem;
  }

  .feature-image {
    min-height: 350px;
  }

  .feature-copy {
    min-height: 0;
    padding-block: 4rem;
  }

  .product-cell {
    min-height: 210px;
  }

  .page-hero {
    padding-block: 4rem;
  }

  .detail-card {
    min-height: 290px;
  }

  .detail-card .card-number {
    margin-bottom: 2.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field.full,
  .form-actions {
    grid-column: 1;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .map-card {
    min-height: 350px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 3.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    padding-block: 1.2rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .cookie-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    width: calc(100% - 1.5rem);
  }
}
