/* ============================================================
   Acre Atlas — site stylesheet
   Built on OCIS tokens; Montserrat (body) + Oswald (display)
============================================================ */

:root {
  --paper: #1a1918;
  --paper-2: #22201e;
  --paper-3: #2a2825;
  --ink: rgba(255, 252, 242, 0.92);
  --ink-soft: rgba(255, 252, 242, 0.65);
  --ink-faint: rgba(255, 252, 242, 0.35);
  --accent: #EB5E28;
  --accent-hover: #d4521f;
  --accent-soft: rgba(235, 94, 40, 0.14);
  --accent-line: rgba(235, 94, 40, 0.45);

  --ft-display: 'Oswald', 'Montserrat', sans-serif;
  --ft-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --ft-mono: 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { margin: 0; padding: 0; }
body {
  margin: 0;
  padding-top: 73px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ft-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* -------- Type ---------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ft-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FFFCF2;
  margin: 0;
  line-height: 1.05;
}
h1 { font-size: 64px; font-weight: 600; letter-spacing: 0.005em; }
h2 { font-size: 42px; font-weight: 500; }
h3 { font-size: 26px; font-weight: 500; letter-spacing: 0.02em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }

p { margin: 0 0 14px; color: var(--ink-soft); }
p.lead { font-size: 18px; color: var(--ink); line-height: 1.55; }
p.sm { font-size: 13px; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--ft-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,252,242,0.5);
  font-weight: 600;
}

/* -------- Buttons ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ft-body);
  font-size: 13px; font-weight: 600;
  padding: 12px 22px; border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 150ms ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #1a1918; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(255,252,242,0.22); }
.btn-ghost:hover { background: rgba(255,252,242,0.04); border-color: rgba(255,252,242,0.4); }
.btn-link {
  font-family: var(--ft-body); font-size: 12px; font-weight: 600;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  display: inline-block;
}
.btn-link:hover { border-bottom-color: var(--accent); }

/* -------- Layout -------------------------------------------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; border-top: 1px solid rgba(255,252,242,0.08); }
.section.tight { padding: 72px 0; }
.section.first { border-top: none; }

.section-hd { max-width: 1040px; margin-bottom: 56px; }
.section-hd .kicker { display: block; margin-bottom: 18px; }
.section-hd h2 { max-width: 880px; margin-bottom: 24px; }
.section-hd p { max-width: 720px; margin: 0; font-size: 16px; color: var(--ink-soft); }

/* "Why now" — heading on top, body below in two columns */
.why-now { max-width: 1040px; }
.why-now .kicker { display: block; margin-bottom: 18px; }
.why-now h2 { max-width: 880px; margin-bottom: 36px; }
.why-now-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,252,242,0.08);
}
.why-now-body p { margin: 0; }
.why-now-body p.lead { font-size: 17px; color: var(--ink); }
@media (max-width: 880px) {
  .why-now-body { grid-template-columns: 1fr; gap: 18px; }
}

/* -------- Site header --------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 50;
  background: rgba(26, 25, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,252,242,0.08);
}
.site-header .inner {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 32px; max-width: 1240px; margin: 0 auto;
}
.site-header .logo { display: flex; align-items: center; gap: 12px; }
.site-header .logo img { height: 36px; width: auto; }
.site-header .logo .wm {
  font-family: var(--ft-display); font-size: 18px; font-weight: 500;
  color: #FFFCF2; letter-spacing: 0.04em; text-transform: uppercase;
}
.site-header nav { display: flex; gap: 4px; margin-left: 16px; }
.site-header nav a {
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  color: var(--ink-soft); letter-spacing: 0.03em;
}
.site-header nav a:hover { color: var(--ink); background: rgba(255,252,242,0.04); }
.site-header nav a.on { color: var(--ink); background: rgba(255,252,242,0.06); }
.site-header .sp { flex: 1; }

/* -------- Footer ------------------------------------------- */
.site-footer {
  background: #131211;
  border-top: 1px solid rgba(255,252,242,0.08);
  padding: 64px 0 28px;
  margin-top: 80px;
}
.site-footer .grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 0.6fr;
  gap: 36px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,252,242,0.06);
}
.site-footer .brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.site-footer .brand .logo img { height: 30px; }
.site-footer .brand .logo .wm {
  font-family: var(--ft-display); font-size: 16px; color: #FFFCF2;
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500;
}
.site-footer .brand p { color: var(--ink-soft); font-size: 13px; max-width: 280px; }
.site-footer h5 {
  font-family: var(--ft-body); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.18em; color: rgba(255,252,242,0.5); font-weight: 700;
  margin: 0 0 16px;
}
.site-footer a {
  display: block; font-size: 13px; color: var(--ink-soft);
  padding: 5px 0;
}
.site-footer a:hover { color: var(--ink); }
.site-footer .social a {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,252,242,0.15); border-radius: 6px;
  color: var(--ink-soft);
}
.site-footer .social a:hover { border-color: var(--accent); color: var(--accent); }
.site-footer .legal {
  padding-top: 24px; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,252,242,0.4); letter-spacing: 0.04em;
}
.site-footer .legal a { display: inline; padding: 0; margin-left: 18px; }

/* O6 hero — giant bleeding "O6" mark on the right */
.o6-hero { padding: 120px 0 96px; min-height: 560px; }
.o6-hero .wrap { position: relative; z-index: 3; max-width: 720px; margin-left: max(32px, calc((100% - 1240px) / 2 + 32px)); padding: 0; }
.o6-mark {
  position: absolute;
  top: 50%; left: 58%;
  transform: translateY(-50%);
  font-family: var(--ft-display);
  font-weight: 700;
  font-size: clamp(480px, 64vw, 880px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  user-select: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,252,242,0.18);
  text-shadow: 0 0 0 transparent;
}
.o6-mark .o {
  background-image:
    radial-gradient(ellipse at 35% 35%, rgba(255,252,242,0.20), rgba(255,252,242,0.04) 60%),
    linear-gradient(135deg, rgba(255,252,242,0.14) 0%, rgba(255,252,242,0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.o6-mark .six {
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(235,94,40,0.85), rgba(235,94,40,0.30) 65%),
    linear-gradient(135deg, rgba(235,94,40,0.65), rgba(235,94,40,0.22));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(235,94,40,0.55);
}
@media (max-width: 980px) {
  .o6-mark { font-size: clamp(280px, 90vw, 480px); left: 30%; opacity: 0.45; }
}

/* -------- Hero block ---------------------------------------- */
.hero { padding: 96px 0 80px; }
.hero h1 { max-width: 1000px; }
.hero .sub { max-width: 720px; font-size: 19px; color: var(--ink-soft); margin: 26px 0 0; line-height: 1.5; }
.hero-split .sub { max-width: 560px; font-size: 17px; color: var(--ink-soft); margin: 44px 0 0; line-height: 1.65; }
.hero .ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-split .ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .eyebrow { margin-bottom: 22px; }

/* hero with split content + visual */
.hero-split { padding: 96px 0 80px; }
.hero-split .row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-split .visual { height: 440px; }

/* -------- Map / visual placeholder -------------------------- */
.map {
  position: relative;
  background: linear-gradient(rgba(235,94,40,0.02), rgba(235,94,40,0.02)), var(--paper-3);
  border: 1px solid rgba(255,252,242,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.map::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,252,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,252,242,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.map .pin {
  position: absolute; width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent); transform: rotate(-45deg);
  border: 2px solid var(--paper);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.map .plot {
  position: absolute; border: 1px solid var(--accent-line);
  background: rgba(235, 94, 40, 0.12); border-radius: 3px;
}
/* GeoSight hero headline — mixed weight + emphasis */
.gs-h1 {
  font-size: 60px;
  margin-top: 22px;
  line-height: 1.12;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.gs-h1 em {
  font-style: italic;
  font-weight: 300;
  color: #FFFCF2;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  font-family: 'Oswald', serif;
}
.gs-h1 .accent-mark {
  position: relative;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
}
.gs-h1 .accent-mark::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; bottom: -5px;
  height: 3px;
  background: var(--accent);
  opacity: 0.55;
  transform: skewX(-8deg);
}
@media (max-width: 980px) {
  .gs-h1 { font-size: 40px; }
}

.map .scribble { position: absolute; pointer-events: none; opacity: 0.55; }
.map .plot.scored { background: rgba(235, 94, 40, 0.22); border-color: var(--accent); box-shadow: 0 0 0 2px rgba(235,94,40,0.18); }
.map .parcel-card {
  position: absolute; right: 16px; bottom: 16px;
  background: var(--paper-2); border: 1px solid rgba(255,252,242,0.12);
  border-radius: 8px; padding: 14px 16px; min-width: 220px;
  font-family: var(--ft-body); font-size: 12px;
  backdrop-filter: blur(8px);
}
.map .parcel-card .pc-row { display: flex; justify-content: space-between; padding: 4px 0; gap: 12px; }
.map .parcel-card .pc-l { color: rgba(255,252,242,0.5); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; font-weight: 600; }
.map .parcel-card .pc-v { color: #FFFCF2; font-family: var(--ft-mono); }
.map .parcel-card .pc-v.ok { color: #5fb88a; }
.map .parcel-card .pc-v.warn { color: #d99c4a; }
.map .parcel-card .pc-v.score { color: var(--accent); font-family: var(--ft-display); font-size: 16px; font-weight: 600; }

/* -------- Card grids ---------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.quad { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
.card.dash-card { flex-direction: row; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.dash-card-body { flex: 2; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.dash-card-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px 20px 20px 0; }
.dash-card-visual svg { width: 100%; max-width: 150px; height: auto; overflow: visible; }

.card {
  border: 1px solid rgba(255,252,242,0.08);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card .icon-tile {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  color: var(--accent); font-family: var(--ft-display);
  font-weight: 600; font-size: 18px;
  margin-bottom: 4px;
}
.card .icon-tile.num { background: rgba(255,252,242,0.04); border-color: rgba(255,252,242,0.15); color: #FFFCF2; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* product card (home) */
.prod-card {
  border: 1px solid rgba(255,252,242,0.1);
  background: linear-gradient(180deg, rgba(255,252,242,0.025), rgba(255,252,242,0.01));
  border-radius: 14px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}
.prod-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.prod-card .tag {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 700;
}
.prod-card h3 { font-size: 30px; line-height: 1.1; max-width: 380px; }
.prod-card p { color: var(--ink-soft); font-size: 15px; max-width: 460px; }
.prod-card .more { margin-top: 8px; }

/* -------- Stats strip --------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,252,242,0.1);
  border-bottom: 1px solid rgba(255,252,242,0.1);
}
.stats .stat { padding: 32px 24px; border-right: 1px solid rgba(255,252,242,0.1); }
.stats .stat:last-child { border-right: none; }
.stats .n {
  font-family: var(--ft-display); font-size: 44px; font-weight: 600;
  color: var(--accent); line-height: 1; letter-spacing: 0.02em;
}
.stats .l {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-soft); font-weight: 600; margin-top: 12px;
}

/* -------- Comparison block ---------------------------------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.compare .col {
  padding: 32px 28px; border-right: 1px solid rgba(255,252,242,0.1);
}
.compare .col:last-child { border-right: none; }
.compare .col .vs {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.compare .col h4 {
  font-family: var(--ft-display); font-size: 19px; font-weight: 500;
  letter-spacing: 0.03em; margin-bottom: 12px; line-height: 1.2;
}
.compare .col p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* -------- Numbered list (steps / dimensions) ---------------- */
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.dims .dim {
  padding: 28px;
  border-right: 1px solid rgba(255,252,242,0.08);
  border-bottom: 1px solid rgba(255,252,242,0.08);
}
.dims .dim:nth-child(3n) { border-right: none; }
.dims .dim:nth-last-child(-n+3) { border-bottom: none; }
.dims .dim .n {
  font-family: var(--ft-display); font-size: 26px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.02em;
}
.dims .dim h4 {
  font-family: var(--ft-display); font-size: 18px; font-weight: 500;
  margin: 12px 0 8px; letter-spacing: 0.03em;
}
.dims .dim p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* -------- Feature list (O6 features) ------------------------ */
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.feat-list .item {
  padding: 24px 28px;
  border-top: 1px solid rgba(255,252,242,0.08);
}
.feat-list .item:nth-child(even) { border-left: 1px solid rgba(255,252,242,0.08); }
.feat-list .item:nth-child(-n+2) { border-top: 1px solid rgba(255,252,242,0.08); }
.feat-list .item h4 {
  font-family: var(--ft-display); font-size: 18px; font-weight: 500;
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.feat-list .item p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* -------- Aha / scenario block ------------------------------ */
.scenario {
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 40px 44px;
}
.scenario .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 700; margin-bottom: 16px;
}
.scenario h3 { font-size: 28px; margin-bottom: 18px; }
.scenario p { font-size: 16px; color: var(--ink); line-height: 1.6; }

/* -------- Inline quote -------------------------------------- */
.callout {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  font-family: var(--ft-display);
  font-size: 26px; font-weight: 400;
  color: #FFFCF2; line-height: 1.35;
  letter-spacing: 0.005em;
  text-transform: none;
}

/* -------- OCIS block ---------------------------------------- */
.ocis-block {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center;
}
.ocis-file {
  background: var(--paper-2);
  border: 1px solid rgba(255,252,242,0.1);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--ft-mono);
  font-size: 12px;
  line-height: 1.6;
}
.ocis-file .head {
  background: rgba(0,0,0,0.25); padding: 10px 16px;
  border-bottom: 1px solid rgba(255,252,242,0.1);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ft-body); font-size: 12px; font-weight: 500;
  color: var(--ink-soft); letter-spacing: 0.04em;
}
.ocis-file .head .tag {
  font-size: 10px; padding: 2px 8px; border-radius: 3px;
  background: var(--accent-soft); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
}
.ocis-file .body { padding: 18px 20px; color: var(--ink-soft); }
.ocis-file .body .row { padding: 3px 0; display: flex; gap: 8px; }
.ocis-file .body .ix { color: rgba(255,252,242,0.3); width: 20px; text-align: right; }
.ocis-file .body .br { color: var(--accent); }
.ocis-file .body .key { color: #c2b8a5; }
.ocis-file .body .val { color: #FFFCF2; }
.ocis-file .body .com { color: rgba(255,252,242,0.3); }

/* -------- Team grid ---------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  border: 1px solid rgba(255,252,242,0.08);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 32px;
}
.team-card .av {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  font-family: var(--ft-display); font-size: 26px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.team-card h4 {
  font-family: var(--ft-display); font-size: 22px; font-weight: 500;
  letter-spacing: 0.02em; margin-bottom: 4px; text-transform: none;
}
.team-card .role {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.team-card p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* -------- Steps (numbered horizontal) ----------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps .step { padding: 28px; border-right: 1px solid rgba(255,252,242,0.08); }
.steps .step:last-child { border-right: none; }
.steps .step .n {
  font-family: var(--ft-display); font-size: 36px; font-weight: 600;
  color: var(--accent); line-height: 1; letter-spacing: 0.02em;
}
.steps .step h4 {
  font-family: var(--ft-display); font-size: 18px; font-weight: 500;
  margin: 14px 0 10px; letter-spacing: 0.04em;
}
.steps .step p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* -------- Big CTA ------------------------------------------ */
.cta {
  text-align: center; padding: 88px 32px;
  border-top: 1px solid rgba(255,252,242,0.08);
}
.cta h2 { max-width: 780px; margin: 0 auto 18px; }
.cta p { max-width: 580px; margin: 0 auto 32px; color: var(--ink-soft); font-size: 17px; }
.cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------- Form --------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(255,252,242,0.5); font-weight: 700;
  margin-bottom: 8px;
}
.field label .opt { color: rgba(255,252,242,0.3); font-weight: 500; margin-left: 6px; letter-spacing: 0.08em; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px;
  background: rgba(255,252,242,0.04);
  border: 1px solid rgba(255,252,242,0.12);
  border-radius: 6px;
  padding: 0 14px;
  font-family: var(--ft-body); font-size: 14px;
  color: var(--ink);
  transition: border-color 150ms;
}
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(235,94,40,0.05);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23a89e88' stroke-width='1.5' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-side {
  border: 1px solid rgba(255,252,242,0.08);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 32px;
}
.contact-side h4 { margin-bottom: 12px; text-transform: none; letter-spacing: 0.02em; font-size: 20px; }
.contact-side p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.contact-side .email {
  display: inline-block; margin-top: 8px;
  font-family: var(--ft-mono); font-size: 14px; color: var(--accent);
}
.contact-side + .contact-side { margin-top: 16px; }

/* -------- Geographies --------------------------------------- */
.geo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,252,242,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.geo-grid .geo {
  padding: 28px;
  border-right: 1px solid rgba(255,252,242,0.08);
  background: var(--paper-2);
}
.geo-grid .geo:last-child { border-right: none; }
.geo-grid .geo .n {
  font-family: var(--ft-display); font-size: 22px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px;
}
.geo-grid .geo p { font-size: 12px; color: var(--ink-soft); margin: 0; }

/* -------- Misc --------------------------------------------- */
.divider { height: 1px; background: rgba(255,252,242,0.08); }
.note-tiny {
  font-size: 12px; color: rgba(255,252,242,0.4);
  letter-spacing: 0.02em; line-height: 1.55;
  border-top: 1px solid rgba(255,252,242,0.08);
  padding-top: 20px; margin-top: 48px;
}

/* -------- "See it in action" product carousel ----------------------- */
.demo-section { padding-bottom: 48px; }

.demo-viewer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Left: vertical thumbnail strip */
.demo-thumbs {
  width: 118px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 72vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 2px 2px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,252,242,0.12) transparent;
}
.demo-thumbs::-webkit-scrollbar { width: 3px; }
.demo-thumbs::-webkit-scrollbar-track { background: transparent; }
.demo-thumbs::-webkit-scrollbar-thumb { background: rgba(255,252,242,0.12); border-radius: 2px; }

.demo-thumb {
  width: 100%;
  aspect-ratio: 14/9;
  flex-shrink: 0;
  border: 2px solid rgba(255,252,242,0.08);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper-3);
  padding: 0;
  transition: border-color 140ms ease, opacity 140ms ease;
  opacity: 0.38;
}
.demo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.demo-thumb:hover {
  opacity: 0.78;
  border-color: rgba(255,252,242,0.22);
}
.demo-thumb.active {
  border-color: var(--accent);
  border-width: 2px;
  opacity: 1;
}

/* Right: floating large screen */
.demo-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 14/9;
  background: var(--paper-2);
  border: 1px solid rgba(255,252,242,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 72px rgba(0,0,0,0.65),
    0  6px 20px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,252,242,0.06);
}

/* Slides */
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Prev/next arrows — appear on stage hover */
.slide-prev, .slide-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(26,25,24,0.72);
  border: 1px solid rgba(255,252,242,0.14);
  cursor: pointer; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, opacity 180ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
}
.demo-stage:hover .slide-prev,
.demo-stage:hover .slide-next,
.slide-prev:focus-visible,
.slide-next:focus-visible { opacity: 1; }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }
.slide-prev:hover, .slide-next:hover {
  background: rgba(26,25,24,0.95);
  border-color: rgba(255,252,242,0.34);
  color: var(--ink);
}

/* Counter chip */
.slide-counter {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  font-family: var(--ft-mono); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.07em;
  user-select: none; pointer-events: none;
  background: rgba(26,25,24,0.7);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,252,242,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Autoplay progress bar */
.slide-progress {
  position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 9;
  pointer-events: none; opacity: 0;
  transition: width 0s linear;
}
.demo-stage.is-playing .slide-progress { opacity: 1; }

/* -------- GeoSight hero — full-bleed map background --------- */
.gs-hero-mapbg { position: relative; overflow: hidden; }

/* Leaflet map fills the entire hero section */
.gs-hero-mapbg #gs-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Left-to-right gradient: opaque dark on left for text, clears to map on right */
.gs-mapgrad {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(26,25,24,0.97) 0%,
    rgba(26,25,24,0.90) 28%,
    rgba(26,25,24,0.52) 58%,
    rgba(26,25,24,0.08) 100%
  );
}

/* Right column: strip the old map-box styling, keep position:relative for overlays */
.gs-hero-mapbg .map {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.gs-hero-mapbg .map::before { display: none; }

/* -------- Responsive --------------------------------------- */
@media (max-width: 980px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .section, .hero, .hero-split { padding: 64px 0; }
  .hero-split .row, .ocis-block, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-split .visual { height: 320px; }
  .card-grid, .card-grid.two, .card-grid.four, .card-grid.quad,
  .compare, .dims, .feat-list, .steps,
  .team-grid, .stats, .geo-grid {
    grid-template-columns: 1fr;
  }
  .compare .col, .dims .dim, .feat-list .item, .steps .step, .stats .stat, .geo-grid .geo {
    border-right: none !important; border-bottom: 1px solid rgba(255,252,242,0.08);
  }
  .feat-list .item:nth-child(even) { border-left: none; }
  .site-header .inner { gap: 16px; flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .section-hd h2 { font-size: 28px; }

  /* Gallery: thumbnails below stage, 5-per-row grid, no scroll */
  .demo-viewer { flex-direction: column; gap: 10px; }
  .demo-thumbs {
    width: 100%;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    overflow: visible;
    padding: 0;
  }
  .demo-stage { aspect-ratio: 14/9; }
}
