:root {
  --bg: #f3f2ec;
  --surface: #fbfaf5;
  --surface-strong: #ffffff;
  --ink: #111116;
  --muted: #656570;
  --line: #c9c8c1;
  --line-strong: #111116;
  --violet: #5c49f2;
  --violet-soft: #dcd8ff;
  --acid: #d9ff43;
  --orange: #ff6b45;
  --header: rgba(243, 242, 236, 0.88);
  --shadow: 0 28px 80px rgba(17, 17, 22, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

:root[data-theme="dark"] {
  --bg: #0d0d12;
  --surface: #15151c;
  --surface-strong: #1b1b23;
  --ink: #f5f4ed;
  --muted: #a6a5af;
  --line: #34343d;
  --line-strong: #f5f4ed;
  --violet: #8e82ff;
  --violet-soft: #302b66;
  --acid: #d9ff43;
  --orange: #ff7958;
  --header: rgba(13, 13, 18, 0.88);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 3%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--ink) 3%, transparent) 1px, transparent 1px),
    var(--bg);
  background-size: 80px 80px;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--violet) 15%, transparent), transparent 30rem);
  content: "";
  pointer-events: none;
}

::selection {
  color: #111116;
  background: var(--acid);
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.shell {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: #111116;
  background: var(--acid);
  border: 2px solid #111116;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: fit-content;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  overflow: hidden;
  color: var(--bg);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand-mark::after {
  position: absolute;
  right: -2px;
  bottom: 5px;
  width: 17px;
  height: 5px;
  background: var(--acid);
  content: "";
  transform: rotate(-38deg);
}

.brand-mark span {
  transform: translate(-1px, -1px);
}

.brand-name {
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.brand-name > span {
  color: var(--violet);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav a,
.language-switch a,
.footer-main a,
.footer-bottom a {
  text-decoration: none;
}

.primary-nav a {
  position: relative;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--violet);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.language-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.language-switch a,
.language-switch span {
  display: grid;
  min-width: 31px;
  height: 27px;
  place-items: center;
  border-radius: 999px;
}

.language-switch [aria-current="page"] {
  color: var(--bg);
  background: var(--ink);
}

.theme-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  color: #111116;
  background: var(--acid);
  transform: rotate(8deg);
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon-sun,
:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
  align-items: center;
  min-height: min(790px, calc(100svh - 78px));
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(72px, 10vw, 132px) 0;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-bottom: 28px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow span {
  position: relative;
}

.eyebrow span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 4px;
  height: 4px;
  background: var(--violet);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.hero h1 {
  max-width: 9.2ch;
  margin-bottom: 30px;
  font-size: clamp(3.7rem, 7.3vw, 7rem);
  font-weight: 850;
}

.hero h1 em {
  color: var(--violet);
  font-style: normal;
}

.hero-lead {
  max-width: 58ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 18px;
  padding: 13px 20px;
  border: 2px solid currentColor;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.button span {
  font-size: 1.05rem;
}

.button-primary {
  color: #111116;
  background: var(--acid);
  border-color: #111116;
  box-shadow: 7px 7px 0 var(--ink);
}

.button-primary:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(4px, 4px);
}

:root[data-theme="dark"] .button-primary {
  box-shadow: 7px 7px 0 #6657ff;
}

:root[data-theme="dark"] .button-primary:hover {
  box-shadow: 3px 3px 0 #6657ff;
}

.button-secondary {
  color: #111116;
  background: transparent;
}

.button-secondary:hover {
  color: #f5f4ed;
  background: #111116;
  transform: translateY(-2px);
}

.text-link {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
}

.hero-object {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 1px),
    var(--surface);
  background-size: 34px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero-object::before,
.hero-object::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-object::before {
  inset: 12%;
  background: var(--violet);
}

.hero-object::after {
  inset: 23%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.orbit {
  position: absolute;
  z-index: 1;
  inset: 5%;
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  border-radius: 50%;
  transform: rotate(28deg) scaleY(0.36);
}

.orbit::after {
  position: absolute;
  top: 47%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--acid);
  border: 2px solid #111116;
  border-radius: 50%;
  content: "";
}

.orbit-two {
  inset: 16%;
  border-color: rgba(255, 255, 255, 0.45);
  transform: rotate(-36deg) scaleY(0.47);
}

.orbit-two::after {
  top: 35%;
  right: auto;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

.hero-code {
  position: absolute;
  z-index: 2;
  inset: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.hero-code strong {
  font-size: clamp(5.5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
  transform: translateX(-0.05em);
}

.hero-code-top,
.hero-code-bottom {
  position: absolute;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-code-top {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-code-bottom {
  bottom: 3%;
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
}

.signal {
  position: absolute;
  z-index: 4;
  padding: 7px 10px;
  color: #111116;
  background: var(--acid);
  border: 1px solid #111116;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.signal-one {
  top: 18%;
  left: 2%;
  transform: rotate(-6deg);
}

.signal-two {
  top: 26%;
  right: 1%;
  background: #ffffff;
  transform: rotate(5deg);
}

.signal-three {
  right: 9%;
  bottom: 11%;
  color: #ffffff;
  background: #111116;
  border-color: #ffffff;
  transform: rotate(-3deg);
}

.hero-index {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 104px);
  border-block: 1px solid var(--line);
}

.hero-index > div {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 21px 24px;
  gap: 1px 14px;
}

.hero-index > div + div {
  border-left: 1px solid var(--line);
}

.hero-index span {
  grid-row: span 2;
  align-self: center;
  color: var(--violet);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 800;
}

.hero-index strong {
  font-size: 0.9rem;
}

.hero-index small {
  color: var(--muted);
  font-size: 0.74rem;
}

.projects-section {
  margin-top: clamp(96px, 13vw, 180px);
  padding-block: clamp(90px, 11vw, 150px);
  color: #f5f4ed;
  background: #111116;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: end;
  margin-bottom: clamp(54px, 8vw, 96px);
  gap: 36px;
}

.section-number {
  margin-bottom: 0;
  color: currentColor;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading h2,
.company-statement h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 850;
}

.section-heading h2 span {
  color: var(--acid);
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: #a9a8b1;
  line-height: 1.65;
}

.project-list {
  display: grid;
  gap: 28px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: 600px;
  overflow: hidden;
  color: #111116;
  background: #f2f1eb;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.project-maps {
  color: #f5f4ed;
  background: #1b1b23;
}

.project-farmhub {
  color: #10271d;
  background: #edf2e9;
}

.project-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(30px, 5vw, 62px);
}

.project-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid currentColor;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: clamp(44px, 7vw, 82px) 0 26px;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
  font-weight: 900;
}

.project-ridelab h3 span {
  color: #6657ff;
}

.project-maps h3 span {
  color: #d9ff43;
}

.project-farmhub h3 span {
  color: #157347;
}

.project-farmhub .project-copy h3 {
  max-width: 100%;
  font-size: clamp(3.5rem, 5vw, 4.4rem);
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.project-copy > p {
  max-width: 45ch;
  margin-bottom: 28px;
  opacity: 0.72;
  font-size: 1.02rem;
  line-height: 1.68;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 34px;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-link span {
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.project-link:hover span {
  transform: translate(4px, -4px);
}

.product-window {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.window-bar {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 50px;
  padding-inline: 18px;
  border-bottom: 1px solid currentColor;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.window-bar > span:first-child {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.window-bar > span:last-child {
  justify-self: end;
}

.magazine-window {
  color: #f5f4ed;
  background: #6657ff;
}

.magazine-window::before {
  position: absolute;
  inset: 50px 0 0;
  background:
    linear-gradient(115deg, transparent 55%, rgba(17, 17, 22, 0.11) 55%),
    radial-gradient(circle at 75% 30%, rgba(217, 255, 67, 0.36), transparent 28%);
  content: "";
}

.magazine-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 310px;
  align-items: end;
  padding: 88px 32px 35px;
  gap: 22px;
  border-bottom: 1px solid currentColor;
}

.feature-index {
  align-self: start;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.magazine-feature small {
  display: block;
  margin-bottom: 12px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.magazine-feature strong {
  display: block;
  max-width: 8ch;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.feature-arrow {
  font-size: 2.4rem;
}

.magazine-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  min-height: 80px;
  padding-inline: 30px;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.magazine-row > span,
.magazine-row small {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.magazine-row strong {
  font-size: 1rem;
}

.map-window {
  color: #f5f4ed;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #272832;
  background-size: 36px 36px;
}

.map-lines {
  position: absolute;
  inset: 50px 0 0;
  width: 100%;
  height: calc(100% - 50px);
}

.contour {
  fill: none;
  stroke: #777883;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  stroke-width: 1.2;
}

.route-shadow,
.route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-shadow {
  stroke: rgba(0, 0, 0, 0.55);
  stroke-width: 15;
}

.route {
  stroke: #d9ff43;
  stroke-dasharray: 12 5;
  stroke-width: 7;
}

.route-point {
  fill: #d9ff43;
  stroke: #111116;
  stroke-width: 5;
}

.route-point.end {
  fill: #ff7958;
}

.map-panel {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 30px;
  display: grid;
  min-width: 190px;
  padding: 18px;
  color: #111116;
  background: #f5f4ed;
  border: 1px solid #111116;
  box-shadow: 7px 7px 0 #6657ff;
}

.map-panel small,
.map-panel span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.map-panel strong {
  margin-block: 4px 3px;
  font-size: 2.1rem;
  letter-spacing: -0.06em;
}

.map-mode {
  position: absolute;
  z-index: 3;
  top: 76px;
  right: 22px;
  display: flex;
  overflow: hidden;
  color: #111116;
  background: #f5f4ed;
  border: 1px solid #111116;
  border-radius: 999px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 850;
}

.map-mode span {
  padding: 8px 10px;
}

.map-mode span:first-child {
  color: #111116;
  background: #d9ff43;
}

.farm-window {
  color: #f5f4ed;
  background:
    radial-gradient(circle at 82% 17%, rgba(217, 255, 67, 0.24), transparent 24%),
    repeating-linear-gradient(104deg, transparent 0 42px, rgba(255, 255, 255, 0.055) 43px 45px),
    #12613d;
}

.farm-window::before {
  position: absolute;
  right: -8%;
  bottom: -34%;
  width: 84%;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 244, 237, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(245, 244, 237, 0.04),
    0 0 0 96px rgba(245, 244, 237, 0.035),
    0 0 0 144px rgba(245, 244, 237, 0.025);
  content: "";
}

.farm-dashboard {
  position: absolute;
  z-index: 2;
  top: 88px;
  right: clamp(24px, 5vw, 50px);
  bottom: 38px;
  left: clamp(24px, 5vw, 50px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: #10271d;
  background: #f5f4ed;
  border: 1px solid #10271d;
  box-shadow: 12px 12px 0 #b9ef57;
}

.farm-dashboard-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  border-bottom: 1px solid #10271d;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.farm-dashboard-head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(22px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(16, 39, 29, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(16, 39, 29, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}

.farm-dashboard-head small {
  margin-bottom: 14px;
  color: #157347;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.farm-dashboard-head strong {
  max-width: 10ch;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.farm-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #10271d;
}

.farm-data-grid div {
  display: grid;
  min-width: 0;
  padding: 16px;
  gap: 4px;
}

.farm-data-grid div + div {
  border-left: 1px solid #10271d;
}

.farm-data-grid span,
.farm-data-grid small {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.farm-data-grid span {
  color: #157347;
}

.farm-data-grid strong {
  font-size: clamp(0.78rem, 1.4vw, 1rem);
}

.activity-section {
  padding-block: clamp(96px, 13vw, 180px);
}

.section-heading-compact {
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1.1fr) minmax(260px, 0.55fr);
}

.activity-section .section-heading h2 span {
  color: var(--violet);
}

.activity-section .section-heading > p:last-child {
  color: var(--muted);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.activity-grid article {
  position: relative;
  min-height: 390px;
  padding: 32px;
}

.activity-grid article + article {
  border-left: 1px solid var(--line-strong);
}

.activity-code {
  display: inline-flex;
  padding: 5px 8px;
  color: #111116;
  background: var(--acid);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 850;
}

.activity-grid h3 {
  max-width: 9ch;
  margin: 68px 0 22px;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 820;
}

.activity-grid p {
  max-width: 38ch;
  margin-bottom: 0;
  padding-bottom: 34px;
  color: var(--muted);
  line-height: 1.68;
}

.activity-arrow {
  position: absolute;
  right: 28px;
  bottom: 20px;
  color: var(--violet);
  font-size: 2rem;
}

.company-section {
  padding-block: clamp(92px, 12vw, 150px);
  color: #111116;
  background: #7f72ff;
}

.company-section :focus-visible {
  outline-color: #111116;
  box-shadow: 0 0 0 3px #d9ff43;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(54px, 8vw, 120px);
}

.company-statement,
.company-copy,
.company-data {
  min-width: 0;
}

.company-statement h2 {
  margin-top: 38px;
}

.company-statement h2 span {
  color: #d9ff43;
  overflow-wrap: anywhere;
}

.company-copy {
  align-self: end;
}

.company-copy p {
  max-width: 52ch;
  line-height: 1.7;
}

.company-lead {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.48 !important;
}

.company-copy .button {
  margin-top: 18px;
}

.company-data {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  margin: 18px 0 0;
  border-top: 1px solid #111116;
  border-bottom: 1px solid #111116;
}

.company-data div {
  padding: 25px 28px 27px 0;
}

.company-data div + div {
  padding-left: 28px;
  border-left: 1px solid #111116;
}

.company-data dt {
  margin-bottom: 11px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.company-data dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.site-footer {
  color: #f5f4ed;
  background: #111116;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding-block: 70px;
  gap: 40px;
  border-bottom: 1px solid #36363f;
}

.brand-footer {
  color: #f5f4ed;
}

.brand-footer .brand-mark {
  color: #111116;
  background: #f5f4ed;
}

.footer-main > p {
  max-width: 25ch;
  margin: 0;
  color: #a9a8b1;
}

.footer-main nav {
  display: grid;
  justify-items: start;
  justify-self: end;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.footer-main nav a:hover {
  color: #d9ff43;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #85858e;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom a:hover {
  color: #f5f4ed;
}

/* Privacy pages */
.legal-main {
  padding-block: clamp(70px, 9vw, 120px);
}

.legal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 96px);
  gap: 50px;
}

.legal-header h1 {
  max-width: 10ch;
  margin: 22px 0 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 850;
}

.legal-header > p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.35fr) minmax(0, 1fr);
  border-top: 1px solid var(--line-strong);
  gap: clamp(40px, 8vw, 120px);
}

.legal-aside {
  align-self: start;
  padding-top: 28px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: uppercase;
}

.legal-aside strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
}

.legal-content {
  border-left: 1px solid var(--line-strong);
}

.legal-content section {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr);
  padding: 34px 0 38px 38px;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.legal-content .legal-text p {
  margin-bottom: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.legal-content .legal-text p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 32px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-copy {
    min-height: 530px;
  }

  .product-window {
    min-height: 540px;
  }

  .section-heading,
  .section-heading-compact {
    grid-template-columns: 0.3fr 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

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

  .hero-object {
    width: min(100%, 500px);
    justify-self: center;
  }

  .hero-index {
    margin-top: 54px;
  }

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

  .activity-grid article {
    min-height: 300px;
  }

  .activity-grid article + article {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

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

  .company-data {
    grid-template-columns: 1fr;
  }

  .company-data div + div {
    padding-left: 0;
    border-top: 1px solid #111116;
    border-left: 0;
  }

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

  .footer-main nav {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .legal-header,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-content {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .legal-aside {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 32px, 1240px);
  }

  .site-header .shell {
    width: min(100% - 24px, 1240px);
  }

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

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.64rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 7px;
  }

  .language-switch a,
  .language-switch span {
    min-width: 28px;
    height: 25px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: auto;
    padding-top: 66px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-object {
    margin-top: 12px;
  }

  .signal-three {
    display: none;
  }

  .hero-index {
    grid-template-columns: 1fr;
  }

  .hero-index > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading,
  .section-heading-compact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .section-heading h2,
  .company-statement h2 {
    font-size: clamp(2.9rem, 14vw, 4.5rem);
  }

  .company-statement h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .project-card,
  .project-copy,
  .product-window {
    min-height: auto;
  }

  .project-copy {
    padding: 26px 22px 32px;
  }

  .project-meta span:nth-child(2) {
    display: none;
  }

  .project-copy h3 {
    margin-top: 50px;
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .product-window {
    aspect-ratio: 0.88;
  }

  .magazine-window {
    min-height: 522px;
    aspect-ratio: auto;
  }

  .magazine-feature {
    min-height: 270px;
    padding-inline: 22px;
  }

  .magazine-row {
    grid-template-columns: 30px 1fr;
    min-height: 67px;
    padding-inline: 20px;
  }

  .magazine-row small {
    display: none;
  }

  .map-panel {
    bottom: 20px;
    left: 20px;
  }

  .map-mode {
    top: 67px;
    right: 14px;
  }

  .farm-dashboard {
    top: 72px;
    right: 22px;
    bottom: 28px;
    left: 18px;
    box-shadow: 7px 7px 0 #b9ef57;
  }

  .farm-dashboard-head {
    padding: 22px 18px;
  }

  .farm-dashboard-head strong {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .farm-data-grid div {
    padding: 12px 9px;
  }

  .farm-data-grid small {
    display: none;
  }

  .activity-grid article {
    min-height: 320px;
    padding: 26px 22px;
  }

  .company-data div {
    padding: 22px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 54px;
  }

  .footer-main nav {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 26px;
  }

  .legal-header {
    gap: 28px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    padding: 28px 0;
    gap: 16px;
  }
}

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

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

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