/* hectapix.pl - single page. Brand colour "las" #006633, font Jost.
   Motif: the pixel - square cells with a 1:4 gap, as in the wheat mark and the yield map. */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #006633;
  --green-dark: #004d26;
  --green-deep: #00331a;
  --tint: #e8f2ea;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --ink: #121512;
  --ink-2: #1b201c;
  --muted: #6a675f;
  --line: rgba(18, 21, 18, .14);
  --line-light: rgba(255, 255, 255, .22);
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --font: "Jost", "Century Gothic", "Avenir Next", Futura, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.02em; }
strong, b { font-weight: 500; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-size: clamp(2.4rem, 5.3vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 300;
  margin-bottom: .32em;
  max-width: 14em;
}
.display strong { font-weight: 500; }
@media (min-width: 700px) { .display strong { display: block; } }
.display .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.display .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.display.is-in .w > span { transform: none; }
.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: .55em;
}
.h2 strong { font-weight: 500; }

.kicker {
  display: flex; align-items: center; gap: .7em;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--green); margin-bottom: 1.4em;
}
.kicker--light { color: rgba(255, 255, 255, .86); }
.px { width: 10px; height: 10px; display: inline-block; }
.kicker .px { background: var(--green); box-shadow: 13px 0 0 var(--green), 13px -13px 0 rgba(0, 102, 51, .35); margin-right: 13px; }
.kicker--light .px { background: #fff; box-shadow: 13px 0 0 #fff, 13px -13px 0 rgba(255, 255, 255, .35); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.4em; text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s;
}
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--tint); }
.btn--line-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--green); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn::after { content: ""; width: 7px; height: 7px; background: currentColor; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s, transform .35s var(--ease);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.top__logo { display: block; position: relative; width: 150px; height: 42px; }
.top__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .15s; }
.logo-dark { opacity: 0; }
.top__nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.top__nav a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; letter-spacing: .01em; position: relative; padding: 6px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__nav .top__cta { border: 1.5px solid rgba(255, 255, 255, .7); padding: 8px 16px; }
.top__nav .top__cta::after { display: none; }
.top__menu { display: none; }
.top__nav .top__lang {
  font-size: .78rem; letter-spacing: .1em; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .45); margin-left: -6px;
}
.top__nav .top__lang::after { display: none; }
.top__nav .top__lang:hover { background: rgba(255, 255, 255, .15); }
.top.is-solid .top__nav .top__lang { border-color: var(--line); }
.top.is-solid .top__nav .top__lang:hover { background: var(--tint); }

.top__in { transition: height .2s var(--ease), margin .2s var(--ease), background .15s, box-shadow .2s, border-color .15s; border: 1px solid transparent; }
.top.is-solid .top__in {
  height: 60px; margin-top: 10px; width: calc(100% - 2 * var(--gut)); max-width: calc(var(--wrap) + 48px); padding: 0 22px;
  background: rgba(244, 242, 236, .86); border-color: var(--line); box-shadow: 0 10px 30px rgba(18, 21, 18, .08);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.top.is-solid .logo-light { opacity: 0; }
.top.is-solid .logo-dark { opacity: 1; }
.top.is-solid .top__nav a { color: var(--ink); }
.top.is-solid .top__nav .top__cta { border-color: var(--green); color: var(--green); }
.top.is-solid .top__nav .top__cta:hover { background: var(--green); color: #fff; }

@media (max-width: 860px) {
  .top__menu {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 0; cursor: pointer;
  }
  .top__menu i { display: block; width: 22px; height: 3px; background: #fff; transition: transform .3s var(--ease), opacity .2s, background .3s; }
  .top.is-solid .top__menu i, .top.is-open .top__menu i { background: var(--ink); }
  .top.is-open .top__menu i:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .top.is-open .top__menu i:nth-child(3) { opacity: 0; }
  .top.is-open .top__menu i:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }
  .top__nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--gut) 24px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .top.is-open { background: var(--paper); }
  .top.is-open .logo-light { opacity: 0; }
  .top.is-open .logo-dark { opacity: 1; }
  .top.is-open .top__nav { opacity: 1; transform: none; visibility: visible; }
  .top__nav a, .top.is-solid .top__nav a { color: var(--ink); font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top__nav a::after { display: none; }
  .top__nav .top__cta { border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--green); }
  .top__nav .top__lang { border: 0; margin: 0; padding: 14px 0; font-size: 1rem; letter-spacing: .08em; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--green-deep);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; overflow: hidden; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 72% 52%; animation: drift 32s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__note { position: absolute; left: var(--gut); bottom: 16px; margin: 0; font-size: .72rem; letter-spacing: .05em; color: rgba(255, 255, 255, .62); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(4, 18, 10, .55) 0%, rgba(4, 18, 10, .2) 30%, rgba(4, 18, 10, 0) 50%),
    linear-gradient(90deg, rgba(4, 18, 10, .78) 0%, rgba(4, 18, 10, .5) 30%, rgba(4, 18, 10, 0) 58%),
    linear-gradient(180deg, rgba(4, 18, 10, .45) 0%, rgba(4, 18, 10, 0) 18%);
}
.hero__content { padding-bottom: clamp(72px, 12vh, 140px); padding-top: 120px; }
.hero__lead { max-width: 34em; font-size: clamp(1.05rem, 1.2vw + .6rem, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .9); margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.readout {
  position: absolute; right: var(--gut); bottom: clamp(72px, 12vh, 140px);
  width: 220px; padding: 14px 16px 12px; background: rgba(250, 252, 248, .94); color: var(--ink);
  font-feature-settings: "tnum" 1; box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  border-left: 6px solid var(--green);
}
.readout__row { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; letter-spacing: .14em; font-weight: 500; color: var(--muted); }
.readout__chip { background: #6fcf70; color: #0b2a12; padding: 2px 8px; letter-spacing: .08em; }
.readout__num { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 6px; }
.readout__num b { font-size: 3.1rem; line-height: 1; font-weight: 400; color: #1d8f3c; letter-spacing: -.02em; transition: color .4s; }
.readout__num small { font-size: .8rem; color: var(--muted); }
.readout__bar { position: relative; display: grid; grid-template-columns: 60fr 25fr 35fr; height: 6px; gap: 2px; margin-bottom: 10px; }
.readout__bar i:nth-child(1) { background: #d9472b; }
.readout__bar i:nth-child(2) { background: #f0a43a; }
.readout__bar i:nth-child(3) { background: #3fae4f; }
.readout__bar em { position: absolute; top: -7px; width: 0; height: 0; border: 5px solid transparent; border-top-color: var(--ink); transform: translateX(-5px); left: 90%; transition: left .6s var(--ease); }
.readout__foot { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.hero__cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 4px; padding: 10px; }
.hero__cue i { width: 6px; height: 6px; background: #fff; opacity: .2; animation: cue 1.8s infinite; }
.hero__cue i:nth-child(2) { animation-delay: .2s; }
.hero__cue i:nth-child(3) { animation-delay: .4s; }
@keyframes cue { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }

@media (max-width: 860px) {
  .readout { display: none; }
}
@media (max-aspect-ratio: 4/5) {
  /* phones: the combine is in the lower part of the tall crop - text goes up */
  .hero { justify-content: flex-start; }
  .hero__content { padding-top: 110px; padding-bottom: 40px; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 18, 10, .78) 0%, rgba(4, 18, 10, .55) 38%, rgba(4, 18, 10, 0) 62%),
      linear-gradient(0deg, rgba(4, 18, 10, .35) 0%, rgba(4, 18, 10, 0) 25%);
  }
  .hero__actions { position: absolute; left: var(--gut); right: var(--gut); bottom: 64px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__cue { bottom: 14px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(84px, 12vw, 160px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #f2f3ef; }
.section--green { background: var(--green); color: #fff; }
.section--tint { background: var(--tint); }
.section--ink .h2 strong { color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.copy p { color: #3a3d38; max-width: 33em; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

.legend { list-style: none; padding: 0; margin: 2em 0 0; display: flex; gap: 22px; font-size: .9rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; background: var(--c); box-shadow: 18px 0 0 var(--c); margin-right: 18px; opacity: .95; }

/* map */
.mapbox { margin: 0; position: relative; }
.mapbox__canvas { width: 100%; aspect-ratio: 5 / 4; background: var(--paper-2); }
.mapbox__ui { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); }
.seg button { border: 0; background: transparent; padding: .6em 1.1em; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mapbox__again { border: 0; background: none; padding: .6em 0; font-size: .9rem; font-weight: 500; color: var(--green); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.mapbox__again::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.mapbox figcaption { margin-top: 10px; font-size: .8rem; color: var(--muted); }

/* product */
.intro2 { max-width: 46em; margin-bottom: clamp(36px, 5vw, 64px); }
.intro2__lead { color: rgba(242, 243, 239, .78); font-size: 1.08em; }
.product { display: grid; gap: clamp(20px, 3vw, 32px); }
.shot { margin: 0; }
.shot__frame { position: relative; overflow: hidden; background: #222; }
.shot__frame img { width: 100%; height: auto; }
.hs {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  background: var(--green); color: #fff; border: 2px solid #fff; font-weight: 500; font-size: .95rem; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: background .2s, color .2s, transform .25s var(--ease);
}
.hs::before { content: ""; position: absolute; inset: -9px; border: 2px solid rgba(255, 255, 255, .8); opacity: 0; }
.hs.is-on { background: #fff; color: var(--green); transform: translate(-50%, -50%) scale(1.12); }
.hs.is-on::before { animation: ping 1.6s var(--ease) infinite; }
.hs:hover { transform: translate(-50%, -50%) scale(1.12); }
@keyframes ping { 0% { opacity: .9; inset: -4px; } 100% { opacity: 0; inset: -18px; } }
@media (max-width: 600px) { .hs { width: 30px; height: 30px; font-size: .82rem; } }


.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-light);
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.card:hover, .card.is-on { border-color: rgba(111, 207, 112, .7); }
.card.is-on { background: #1f2620; }
.c1 { grid-column: span 4; }
.c2 { grid-column: span 2; }
.c3, .c4, .c5 { grid-column: span 2; }
.c6 { grid-column: span 6; flex-direction: row; }
.c6 .viz { flex: 1 1 60%; min-height: 150px; }
.c6 .card__body { flex: 1 1 40%; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .c1, .c6 { grid-column: span 2; }
  .c2, .c3, .c4, .c5 { grid-column: span 1; }
  .c6 { flex-direction: column; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .c1, .c2, .c3, .c4, .c5, .c6 { grid-column: span 1; }
}
.card__body { padding: 18px 22px 22px; }
.card__n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px;
  border: 1.5px solid rgba(255, 255, 255, .45); font-weight: 500; font-size: .85rem; transition: background .25s, border-color .25s;
}
.card.is-on .card__n { background: var(--green); border-color: var(--green); }
.card h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; margin-bottom: .45em; }
.card p { margin: 0; color: rgba(242, 243, 239, .7); font-size: .94rem; line-height: 1.5; }

/* mini visualisations - terminal-like tiles */
.viz {
  position: relative; min-height: 170px; margin: 10px 10px 0; background: #f6f8f4; color: #121512; overflow: hidden;
  font-feature-settings: "tnum" 1;
}
.chip { position: absolute; top: 12px; right: 12px; background: #6fcf70; color: #0b2a12; font-size: .66rem; font-weight: 500; letter-spacing: .08em; padding: 2px 8px; transition: background .3s; }
.chip.is-pause { background: #c9ccc6; }
/* 1 yield */
.viz-yield { padding: 14px 18px; }
.vy__row { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.vy__row .chip { position: static; }
.vy__num { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1.05; color: #1d8f3c; letter-spacing: -.02em; transition: color .4s; }
.vy__bar { position: relative; display: grid; grid-template-columns: 60fr 25fr 35fr; gap: 3px; height: 8px; margin: 8px 0 12px; }
.vy__bar i:nth-child(1) { background: #d9472b; } .vy__bar i:nth-child(2) { background: #f0a43a; } .vy__bar i:nth-child(3) { background: #3fae4f; }
.vy__bar em { position: absolute; top: -9px; border: 6px solid transparent; border-top-color: #121512; transform: translateX(-6px); left: 88%; transition: left .6s var(--ease); }
.vy__foot { display: flex; align-items: baseline; justify-content: space-between; font-size: .66rem; letter-spacing: .12em; color: var(--muted); }
.vy__foot b { font-size: 1.5rem; font-weight: 400; color: #121512; letter-spacing: 0; }
/* 2 header up / down */
.viz-header { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 16px 18px; }
.vh__gauge { position: relative; background: #e3e6e0; border: 1px solid #c9ccc6; }
.vh__gauge i { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: #2f9e44; transition: height .9s var(--ease), background .4s; }
.vh__gauge em { position: absolute; left: -4px; right: -4px; bottom: 55%; height: 2px; background: #121512; }
.viz-header.is-up .vh__gauge i { height: 82%; background: #d9472b; }
.vh__scene { position: relative; }
.vh__ground { position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; background: repeating-linear-gradient(90deg, #b7a77d 0 10px, transparent 10px 13px); }
.vh__header {
  position: absolute; left: 8%; right: 8%; bottom: 22px; height: 26px; background: #e8b923; border: 2px solid #5c4a12;
  transition: transform .9s var(--ease);
  background-image: repeating-linear-gradient(90deg, transparent 0 18%, rgba(92, 74, 18, .55) 18% 20%);
}
.viz-header.is-up .vh__header { transform: translateY(-62px); }
/* 3 tank */
.viz-tank { display: flex; align-items: flex-end; gap: 22px; padding: 16px 20px; }
.vt__tank { position: relative; width: 74px; height: 128px; border: 2px solid #121512; background: #fff; }
.vt__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: #3fae4f; }
.vt__tank i { position: absolute; left: -8px; right: -8px; height: 2px; background: #121512; }
.vt__tank .t75 { bottom: 75%; } .vt__tank .t90 { bottom: 90%; }
.vt__nums { display: grid; gap: 2px; }
.vt__nums b { font-size: 2.6rem; font-weight: 400; line-height: 1; }
.vt__nums small { font-size: .9rem; color: var(--muted); margin-left: 2px; }
.vt__nums span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.vt__pct { display: flex; align-items: baseline; gap: 2px; }
/* 4 unloads */
.viz-unload { display: grid; align-content: center; justify-items: start; padding: 16px 20px; }
.vu__label { font-size: .68rem; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.vu__num { font-size: 4.2rem; font-weight: 400; line-height: 1; transition: transform .3s var(--ease); }
.vu__num.bump { transform: scale(1.12); }
.vu__dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 10px; max-width: 160px; }
.vu__dots i { width: 10px; height: 10px; background: #1d8f3c; }
/* 5 calibration */
.viz-calib { padding: 14px 16px; }
.vc__steps { display: flex; gap: 4px; }
.vc__steps span { flex: 1; text-align: center; font-size: .62rem; font-weight: 500; letter-spacing: .08em; padding: 4px 0; background: #e3e6e0; color: #8a8c86; transition: background .3s, color .3s; }
.vc__steps span.on { background: #f0c43a; color: #121512; }
.vc__steps span.done { background: #006633; color: #fff; }
.vc__ticket {
  position: relative; margin: 14px auto 0; width: 78%; padding: 10px 14px 14px; background: #fff; border: 1px dashed #b9bcb5;
  display: grid; transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.viz-calib.t-in .vc__ticket { transform: none; opacity: 1; }
.vc__ticket small { font-size: .6rem; letter-spacing: .16em; color: var(--muted); }
.vc__ticket span { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.vc__ticket b { font-size: 1.6rem; font-weight: 500; }
.vc__ok { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; background: #006633; transform: scale(0); transition: transform .4s var(--ease); }
.vc__ok::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.viz-calib.ok .vc__ok { transform: none; }
/* 6 mini map */
.viz-map { background: #ebe8df; }
.viz-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.status { display: flex; gap: 16px; align-items: flex-start; margin-top: clamp(40px, 5vw, 64px); padding: 22px 24px; border: 1px solid var(--line-light); max-width: 46em; }
.status p { margin: 0; color: rgba(242, 243, 239, .8); }
.status strong { color: #fff; }
.status__dot { flex: none; width: 12px; height: 12px; margin-top: .45em; background: #f0c43a; animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.partner { max-width: 46em; margin: 18px 0 0; padding-left: 24px; border-left: 3px solid var(--green); color: rgba(242, 243, 239, .72); font-size: .95rem; }
.partner strong { color: #fff; }
.partner a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.partner a:hover { text-decoration-color: #fff; }

.compat { max-width: 52em; margin: clamp(28px, 4vw, 44px) 0 0; color: rgba(242, 243, 239, .8); }
.compat strong { color: #fff; font-weight: 500; }

/* OEM / cooperation */
.oem__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.oem__copy p { color: #3a3d38; max-width: 34em; margin-bottom: 1.6em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid rgba(0, 102, 51, .14); }
.steps__n { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.3rem; font-weight: 500; }
.steps h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: 0; align-self: end; }
.steps p { margin: .2em 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .oem__grid { grid-template-columns: 1fr; } }

/* season mosaic */
.intro3 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.intro3 .kicker, .intro3 .h2 { grid-column: 1; }
.intro3 p:last-child { grid-column: 2; grid-row: 2; color: var(--muted); margin-bottom: .9em; }
@media (max-width: 760px) { .intro3 { grid-template-columns: 1fr; } .intro3 p:last-child { grid-column: 1; grid-row: auto; } }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 10px; }
.m { position: relative; margin: 0; overflow: hidden; background: var(--paper-2); }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.m:hover img { transform: scale(1.04); }
.m figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--green); color: #fff; font-size: .78rem; font-weight: 500;
  letter-spacing: .02em; padding: 6px 12px;
}
.m1 { grid-column: 1 / 5; grid-row: 1 / 3; }
.m2 { grid-column: 5 / 7; grid-row: 1 / 4; }
.m3 { grid-column: 1 / 3; grid-row: 3 / 6; }
.m4 { grid-column: 3 / 5; grid-row: 3 / 4; }
.m5 { grid-column: 3 / 5; grid-row: 4 / 6; }
.m6 { grid-column: 5 / 7; grid-row: 4 / 6; }
.m2 img, .m6 img { object-position: 60% 40%; }
.m3 img { object-position: 62% 50%; }
.m5 img { object-position: 50% 30%; }
.m4 img { object-position: 50% 52%; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .m1 { grid-column: 1 / 3; grid-row: auto / span 2; }
  .m2 { grid-column: 1 / 2; grid-row: auto / span 3; }
  .m3 { grid-column: 2 / 3; grid-row: auto / span 2; }
  .m4 { grid-column: 2 / 3; grid-row: auto / span 1; }
  .m5 { grid-column: 1 / 2; grid-row: auto / span 2; }
  .m6 { grid-column: 2 / 3; grid-row: auto / span 2; }
}

/* about */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy photo" "name photo"; gap: clamp(36px, 5vw, 72px); align-items: start; }
.about__copy { grid-area: copy; }
.about__copy p { color: rgba(255, 255, 255, .86); max-width: 32em; }
.about__motto { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; color: #fff !important; margin-top: 1.2em; }
.about__photo { grid-area: photo; margin: 0; position: relative; }
.about__photo img { width: 100%; height: auto; }
.about__photo figcaption { font-size: .8rem; color: rgba(255, 255, 255, .7); margin-top: 10px; }
.name { grid-area: name; display: flex; gap: 28px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-light); }
.name__mark { flex: none; display: grid; grid-template-columns: repeat(5, 9px); grid-auto-rows: 9px; gap: 2.25px; }
.name__mark span { width: 9px; height: 9px; background: #fff; transform: scale(0); transition: transform .35s var(--ease); }
.name__mark span.e { background: transparent; }
.name__mark.is-on span { transform: none; }
.name h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: .35em; letter-spacing: 0; }
.name p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .98rem; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "name"; }
}

/* contact */
.contact { overflow: hidden; }
.contact .wrap { position: relative; }
.contact__mark {
  position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: repeat(5, 30px); grid-auto-rows: 30px; gap: 7.5px; pointer-events: none;
}
.contact__mark span { width: 30px; height: 30px; background: var(--tint); transform: scale(0); transition: transform .45s var(--ease); }
.contact__mark span:nth-child(odd) { background: #d4e8d9; }
.contact__mark span.e { background: transparent; }
.contact__mark.is-on span { transform: none; }
@media (max-width: 900px) { .contact__mark { display: none; } }
.contact__lead { max-width: 32em; color: #3a3d38; }
.contact__mail { margin: 1.4em 0 1.6em; }
.contact__mail a {
  font-size: clamp(1.9rem, 5.4vw, 4.4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; text-decoration: none;
  color: var(--green); background: linear-gradient(var(--green), var(--green)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--ease);
  word-break: break-word;
}
.contact__mail a:hover { background-size: 100% 3px; }
.contact__mail span { font-weight: 500; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-block; padding: .65em 1.1em; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; transition: background .2s, color .2s; }
.social a:hover { background: var(--ink); color: #fff; }

/* lightbox */
.m { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 56px 16px;
  background: rgba(10, 13, 10, .92); opacity: 0; transition: opacity .3s; backdrop-filter: blur(6px);
}
.lb.is-open { opacity: 1; }
.lb figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lb figcaption { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.lb button {
  position: absolute; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .3);
  color: #fff; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}
.lb button:hover { background: var(--green); border-color: var(--green); }
.lb .lb__close { top: 14px; right: 14px; }
.lb .lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 48px 0 40px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot img { width: 130px; height: auto; }
.foot p { margin: 0; font-size: .9rem; }
.foot__small { font-size: .8rem !important; color: rgba(255, 255, 255, .5); }
.foot__legal { flex-basis: 100%; font-size: .74rem !important; line-height: 1.5; color: rgba(255, 255, 255, .42); max-width: 70em; }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.pxr { position: relative; }
.pxr > canvas.pxr__veil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.intro {
  position: fixed; inset: 0; z-index: 200; width: 100vw; height: 100vh; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- company home: pillars, devices, hero mark ---------- */
.lead-dark { color: #3a3d38; font-size: 1.08em; max-width: 36em; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--paper); padding: clamp(28px, 3.4vw, 44px); transition: background .3s; }
.pillar:hover { background: #fff; }
.pillar__icon { width: 42px; height: 42px; color: var(--green); margin-bottom: 28px; }
.pillar h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: .5em; }
.pillar p { margin: 0; color: #4a4d47; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.devices { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(16px, 2vw, 24px); }
.device { display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative; }
.device--main { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s; }
.device--main:hover { border-color: rgba(111, 207, 112, .55); }
.device__img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.device__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.device--main:hover .device__img img { transform: scale(1.04); }
.device__tag { position: absolute; left: 16px; top: 16px; background: #6fcf70; color: #0b2a12; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; }
.device__body { padding: clamp(22px, 2.6vw, 34px); }
.device h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; margin-bottom: .4em; }
.device p { color: rgba(242, 243, 239, .74); margin: 0 0 1.2em; max-width: 36em; }
.device__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: #fff; }
.device__more::after { content: ""; width: 8px; height: 8px; background: #6fcf70; transition: transform .3s var(--ease); }
.device:hover .device__more::after { transform: translateX(6px); }
.device--slot { justify-content: flex-end; padding: clamp(24px, 2.6vw, 34px); border: 1.5px dashed rgba(255, 255, 255, .28); transition: border-color .3s, background .3s; min-height: 320px; }
.device--slot:hover { border-color: #6fcf70; background: rgba(255, 255, 255, .03); }
.device__plus { position: absolute; top: clamp(24px, 2.6vw, 34px); left: clamp(24px, 2.6vw, 34px); width: 46px; height: 46px; }
.device__plus::before, .device__plus::after { content: ""; position: absolute; background: #6fcf70; }
.device__plus::before { left: 19px; top: 0; width: 8px; height: 46px; }
.device__plus::after { top: 19px; left: 0; width: 46px; height: 8px; }
.device__kicker { font-size: .72rem !important; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 243, 239, .55) !important; margin-bottom: .6em !important; }
@media (max-width: 900px) { .devices { grid-template-columns: 1fr; } .device--slot { min-height: 0; padding-top: 110px; } }

.hero__mark {
  position: absolute; right: calc(var(--gut) + 4vw); top: 50%; transform: translateY(-46%);
  display: grid; grid-template-columns: repeat(5, clamp(18px, 2.6vw, 38px)); grid-auto-rows: clamp(18px, 2.6vw, 38px);
  gap: clamp(4px, .65vw, 9.5px); pointer-events: none;
}
.hero__mark span { background: rgba(255, 255, 255, .9); transform: scale(0); transition: transform .5s var(--ease); }
.hero__mark span:nth-child(3n) { background: rgba(111, 207, 112, .9); }
.hero__mark span.e { background: transparent; }
.hero__mark.is-on span { transform: none; }
@media (max-width: 1100px) { .hero__mark { display: none; } }

/* ---------- device page ---------- */
.crumb { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: rgba(255, 255, 255, .78); margin-bottom: 1.4em; }
.crumb a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.crumb a:hover { border-color: #fff; }
.top__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.next { padding: clamp(64px, 9vw, 120px) 0; }
.next__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.next__lead { color: rgba(255, 255, 255, .86); max-width: 34em; margin: 0; }
.next__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* home hero: photo + precision pixel layer (revealed by main.js heroPixels) */
.hero__media > picture { position: absolute; inset: 0; display: block; }
.js .hero__px { opacity: 0; }

/* four pillars; note under the cooperation steps */
.pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.steps .steps__note { display: block; background: none; border: 0; padding: 8px 2px 0; color: #3a3d38; font-size: .95rem; }
.steps .steps__note::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--green); margin-right: 10px; vertical-align: middle; }
