*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.booting body { visibility: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(980px 520px at 100% -10%, rgba(232, 80, 16, 0.16), transparent 55%),
    radial-gradient(820px 480px at -12% 8%, rgba(56, 120, 184, 0.22), transparent 52%),
    #0b1218;
  color: #e7eef3;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-lock { overflow: hidden; }

img { max-width: 100%; display: block; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-optical-sizing: auto;
}

button, input { font: inherit; }

:focus-visible {
  outline: 2px solid #e85010;
  outline-offset: 3px;
}

::selection {
  background: #e85010;
  color: #1a120c;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: #1a120c;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 76px;
  padding: 0 18px 0 22px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-stuck {
  background: rgba(11, 18, 24, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .brand { margin-right: auto; }

.site-header .brand,
.site-header .lang,
.nav-toggle { position: relative; z-index: 2; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.brand img { width: 44px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-on { color: #fff; }

.nav a.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 99px;
  background: #e85010;
}

.lang {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 16, 0.35);
}

.lang button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang button.is-on {
  background: #e85010;
  color: #1a120c;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 132px 36px 72px 28px;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(52px, 6.6vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero h1 .line { display: block; }

.hero h1 .line:last-child { line-height: 1.05; }

.hero h1 em { color: #e85010; font-style: italic; padding-right: 0.08em; }

.hero .lede { margin: 18px 0 28px; }

.lede {
  max-width: 46ch;
  color: #c5d2da;
  font-size: 18px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: #e85010;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-sub {
  margin-top: 14px;
  color: #9aafbb;
  font-size: 16px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #e85010;
  color: #1a120c;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); background: #ff6a28; }

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.hero-media { position: relative; min-height: 100%; overflow: hidden; }

.hero-slides { position: absolute; inset: 0; z-index: 0; }

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
}

.hero-slides img.is-on { opacity: 1; }

html.motion .hero-slides img {
  transform: scale(1.08);
  transition:
    opacity 1.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.45s cubic-bezier(0.4, 0, 0.2, 1);
}

html.motion .hero-slides img.is-on { transform: scale(1); }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0b1218 0%, rgba(11, 18, 24, 0.28) 20%, rgba(11, 18, 24, 0) 46%),
    linear-gradient(180deg, rgba(11, 18, 24, 0.4), transparent 18%, transparent 70%, rgba(11, 18, 24, 0.78));
}

.caustics {
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 26%),
    radial-gradient(circle at 70% 40%, rgba(130, 200, 255, 0.22), transparent 24%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.12), transparent 22%);
  mix-blend-mode: screen;
}

#bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.chip {
  position: absolute;
  z-index: 4;
  left: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(10, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.chip b { display: block; font-size: 16px; }
.chip span { color: #c5d2da; font-size: 13px; }

.depth-rail {
  display: none;
  position: fixed;
  z-index: 30;
  left: 18px;
  top: 50%;
  width: 78px;
  height: 180px;
  transform: translateY(-50%);
}

.depth-rail-track { position: relative; height: 100%; }

.depth-rail-track::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.depth-rail-bob {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

.depth-rail-bob i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e85010;
  box-shadow: 0 0 0 4px rgba(232, 80, 16, 0.18);
}

.depth-rail-read {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(8, 12, 16, 0.82);
  color: #fff;
  font-size: 12px;
  font-style: normal;
}

.deck {
  background: #e6dcc8;
  color: #1b242d;
  padding: 84px 0 92px;
}

.deck h2,
.deck h3 { color: #172028; }

.deck .lede { color: #4a5964; }

.section-head { max-width: 640px; margin-bottom: 28px; }

.section-head h2,
.ruler h2,
.tool-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-head h2 { margin: 8px 0 12px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.tile {
  --x: 70%;
  --y: 0px;
  position: relative;
  overflow: hidden;
  grid-column: span 6;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 24px;
  background: #14202b;
  color: #e8eef2;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tile-air { grid-column: span 7; grid-row: span 2; min-height: 440px; }
.tile-horizon,
.tile-alt { grid-column: span 5; }

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--x) var(--y), rgba(232, 80, 16, 0.22), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.tile > * { position: relative; z-index: 1; }

.tile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #93a6b2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.go {
  margin-left: auto;
  color: #e85010;
  letter-spacing: 0.12em;
  transition: transform 0.3s ease;
}

.tile h3 {
  margin-top: auto;
  color: #f7fbfc;
  font-size: clamp(28px, 2vw, 36px);
  letter-spacing: -0.03em;
}

.tile p {
  margin-top: 8px;
  color: #b7c5ce;
  font-size: 15.5px;
  line-height: 1.45;
}

.sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.sheet div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.sheet b {
  display: block;
  margin: 6px 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  font-weight: 620;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sheet span,
.sheet small {
  color: #93a6b2;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.air-view {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 12px;
  margin-top: 16px;
  min-height: 220px;
}

.air-view-form,
.air-view-read {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.air-view-form {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.air-view-mix { display: flex; flex-wrap: wrap; gap: 8px; }

.air-view-mix b,
.air-view-mix span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d5e0e6;
  font-size: 13px;
  font-weight: 600;
}

.air-view-mix b { background: #e85010; color: #1a120c; }

.air-view-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.air-view-grid div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0e1720;
}

.air-view-grid span,
.air-view-read > span,
.air-view-read > small {
  display: block;
  color: #93a6b2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.air-view-grid b {
  display: block;
  margin-top: 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.03em;
}

.air-view-grid small,
.air-view-read em small {
  margin-left: 4px;
  color: #93a6b2;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.air-view-read {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px;
  text-align: center;
}

.air-view-dial { position: relative; width: 148px; height: 148px; }

.air-view-dial svg { display: block; width: 100%; height: 100%; }

.air-view-dial strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
}

.air-view-read em {
  margin-top: 8px;
  color: #3cba86;
  font-style: normal;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 560;
  line-height: 1;
}

.ead-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  min-height: 210px;
}

.ead-view-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  min-height: 0;
}

.ead-view .air-view-grid { margin-top: 0; height: 100%; }

.ead-view .air-view-dial { width: 116px; height: 116px; }

.ead-view .air-view-dial strong { font-size: 34px; }

.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }

.pills span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d5e0e6;
  font-size: 13px;
}

.pills .hot { color: #ffb088; background: rgba(232, 80, 16, 0.16); }

.alt-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  min-height: 180px;
}

.alt-view-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  min-height: 0;
}

.alt-view .air-view-grid { margin-top: 0; height: 100%; }

.alt-view .air-view-grid b { font-size: 22px; }

.alt-view .air-view-grid span { letter-spacing: 0.06em; }

.alt-view .air-view-dial { width: 96px; height: 96px; }

.alt-view .air-view-dial strong { font-size: 26px; }


.banner {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 28px;
  border-radius: 28px;
  background: #e85010;
  color: #1a120c;
}

.banner img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.banner p {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.banner em { font-style: italic; }

.banner > * { position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.steps article span {
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 40px;
  color: #e85010;
}

.steps h3 { margin: 6px 0 8px; font-size: 28px; }
.steps p { color: #4a5964; }

.ruler { padding: 92px 0 100px; }

.ruler h2 { max-width: 12em; margin-top: 8px; }

.depth-slider {
  width: 100%;
  height: 28px;
  margin: 28px 0 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: grab;
}

.depth-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e85010 var(--p, 75%), rgba(255, 255, 255, 0.16) var(--p, 75%));
}

.depth-slider::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 3px solid #e85010;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  appearance: none;
  -webkit-appearance: none;
}

.depth-slider::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #e85010 var(--p, 75%), rgba(255, 255, 255, 0.16) var(--p, 75%));
}

.depth-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #e85010;
  border-radius: 50%;
  background: #fff;
}

.ticks {
  display: flex;
  justify-content: space-between;
  color: #93a6b2;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ruler-read {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.ruler-read div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ruler-read b {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 620;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ruler-read small {
  color: #93a6b2;
  font-size: 15px;
}

.ruler-read b.is-warn { color: #e85010; }
.ruler-read b.is-hot { color: #ff5d5d; }
.ruler-read span { flex-basis: 100%; color: #93a6b2; font-size: 14px; }

.ruler-note { margin-top: 18px; color: #93a6b2; font-size: 14px; }

.atlas { padding: 28px 0 88px; }

.atlas h2 { max-width: 14em; margin-top: 8px; }

.atlas-lede { max-width: 40em; margin-top: 10px; color: #4a5964; }

.map-search { margin-top: 22px; }

.map-search input {
  width: min(420px, 100%);
  padding: 14px 16px;
  border: 1px solid rgba(11, 18, 24, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #1a120c;
  font: inherit;
}

.map-search p { margin-top: 8px; color: #6f828e; font-size: 13px; }

.atlas-body {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 16px;
  margin-top: 14px;
}

#map {
  height: 560px;
  border-radius: 24px;
  isolation: isolate;
  background: #d7e2ea;
}

.map-list {
  max-height: 560px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.map-list button {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #1a120c;
  text-align: left;
  cursor: pointer;
}

.map-list button.is-on { background: #1a120c; color: #fff; }

.map-list strong { display: block; font-size: 16px; }

.map-list span { color: #6f828e; font-size: 13px; }

.map-list button.is-on span { color: #c5d0d6; }

.map-list .empty { padding: 16px; color: #6f828e; }

.pin {
  display: block;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e85010;
  box-shadow: 0 2px 8px rgba(11, 18, 24, 0.35);
}

.pin.is-on { background: #1a120c; transform: scale(1.25); }

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large { background: rgba(232, 80, 16, 0.28); }

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: #e85010;
  color: #1a120c;
  font-family: Outfit, "Segoe UI", sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 16px;
  font-family: Outfit, "Segoe UI", sans-serif;
}

.pin-card h3 { margin: 0 0 4px; font-family: Fraunces, Georgia, serif; font-size: 22px; }

.pin-card p { margin: 6px 0; color: #243038; font-size: 14px; line-height: 1.4; }

.pin-card b { display: block; color: #6f828e; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.pin-go {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e85010;
  color: #1a120c;
  font-weight: 600;
  text-decoration: none;
}

.atlas-note { max-width: 46em; margin-top: 14px; color: #6f828e; font-size: 13px; line-height: 1.5; }

.tool-hero { padding: 128px 0 12px; }
.tool-hero h1 { max-width: 14em; margin: 8px 0 14px; }

.back {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
  color: #9aafbb;
  text-decoration: none;
}

.back:hover { color: #fff; }

.page-pad { padding-bottom: 72px; }

.bench {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.cluster { position: sticky; top: 96px; }

.panel-kicker {
  margin: 0 0 14px;
  color: #93a6b2;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-kicker.step { margin-top: 22px; }

.field.wide { grid-column: 1 / -1; }

.legs { display: grid; gap: 8px; }

.leg {
  display: grid;
  grid-template-columns: 72px 1fr 1fr 1.15fr;
  gap: 8px;
  align-items: center;
}

.leg > span:first-child {
  color: #e85010;
  font-size: 13px;
  font-weight: 600;
}

.leg.head span {
  color: #93a6b2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mixes,
.seg,
.levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mixes button,
.seg button,
.levels button {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #d5dee5;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.mixes button.is-on,
.seg button.is-on,
.levels button.is-on {
  border-color: #e85010;
  background: #e85010;
  color: #1a120c;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field[hidden] { display: none !important; }

.field > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: #93a6b2;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.control { position: relative; display: block; }

.control i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #8ea0ad;
  font-size: 14px;
  font-style: normal;
  pointer-events: none;
  transform: translateY(-50%);
}

input[type="number"] {
  width: 100%;
  padding: 14px 58px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0c141c;
  color: #fff;
  font: 500 18px/1 Outfit, "Segoe UI", sans-serif;
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input[type="number"]:focus {
  border-color: #e85010;
  box-shadow: 0 0 0 4px rgba(232, 80, 16, 0.15);
}

.dial {
  position: relative;
  width: min(230px, 100%);
  margin: 4px auto 12px;
  aspect-ratio: 1;
}

.dial svg { display: block; width: 100%; height: 100%; }

.ring-track,
.ring-value { fill: none; stroke-width: 8; }

.ring-track { stroke: rgba(255, 255, 255, 0.08); }

.ring-value {
  stroke: var(--dial, #3cba86);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), stroke 0.35s ease;
}

.dial-read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 36px;
  text-align: center;
}

.dial-read strong {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 620;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.dial-read span {
  display: block;
  margin-top: 6px;
  color: #93a6b2;
  font-size: 13px;
}

.status {
  min-height: 1.4em;
  color: var(--dial, #d5dee5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
}

.aside {
  margin-top: 8px;
  color: #b7c5ce;
  text-align: center;
}

.cluster.is-ok { --dial: #3cba86; }
.cluster.is-warn { --dial: #e85010; }
.cluster.is-hot { --dial: #ff5d5d; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
}

.stats div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.stats dt {
  color: #93a6b2;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats dd {
  margin: 4px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 6px 0 12px;
}

.col {
  display: flex;
  align-items: end;
  height: 120px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.col span {
  display: block;
  width: 100%;
  height: 30%;
  background: linear-gradient(#69a4de, #1d5f9e);
  transition: height 0.45s ease;
}

.compare div:last-child .col span { background: linear-gradient(#ff7a3c, #c2410c); }

.compare b {
  display: block;
  margin-top: 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  text-align: center;
}

.compare small {
  display: block;
  color: #93a6b2;
  font-size: 12px;
  text-align: center;
}

.totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.totals div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.totals span {
  display: block;
  color: #93a6b2;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.totals b {
  display: block;
  margin-top: 4px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.ladder,
.ladder-key { margin: 0; padding: 0; list-style: none; }

.ladder { display: grid; gap: 4px; }

.ladder-key,
.ladder li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px 52px;
  gap: 8px;
  align-items: center;
}

.ladder-key {
  margin: 18px 0 8px;
  color: #93a6b2;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ladder li {
  padding: 5px 8px;
  border-radius: 10px;
  cursor: pointer;
}

.ladder li.is-hit { background: rgba(232, 80, 16, 0.14); }

.ladder em {
  color: #d5dee5;
  font-size: 13px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 99px;
}

.track .daily { background: rgba(56, 120, 184, 0.75); }
.track .single { background: #e85010; }

.key-note { margin-top: 14px; color: #93a6b2; font-size: 13px; }

.swatch {
  display: inline-block;
  width: 18px;
  height: 8px;
  margin: 0 6px 0 10px;
  border-radius: 99px;
  vertical-align: middle;
}

.swatch.single { margin-left: 0; background: #e85010; }
.swatch.daily { background: rgba(56, 120, 184, 0.85); }

.rates {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 132px;
  margin-top: 18px;
}

.rates button {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #93a6b2;
  font-size: 11px;
  cursor: pointer;
}

.rates i {
  display: block;
  width: 100%;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: rgba(56, 120, 184, 0.55);
}

.rates button.is-on { color: #fff; }
.rates button.is-on i { background: #e85010; }

.story {
  margin: 18px 0 0;
  padding: 22px 26px;
  border-radius: 24px;
  background: #e6dcc8;
  color: #1a120c;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.45;
}

.glossary { margin-top: 36px; }

.glossary h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
}

.terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.terms div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.terms dt {
  color: #e85010;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terms dd {
  margin: 6px 0 0;
  color: #d5dee5;
  font-size: 15px;
  line-height: 1.45;
}

.caution {
  max-width: 70ch;
  margin: 16px 0 0;
  color: #93a6b2;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  padding: 42px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #080d11;
}

.foot {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 1.25fr;
  gap: 28px;
}

.foot p { margin-top: 10px; color: #9aafbb; }

.foot-links { display: grid; gap: 8px; align-content: start; }

.foot-links a { color: #d5dee5; text-decoration: none; }
.foot-links a:hover { color: #fff; }

.fine { margin: 0; color: #8ea0ad; font-size: 13px; line-height: 1.55; }

.copy { color: #6f828e; font-size: 13px; }

.ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #d5dee5;
  font-weight: 600;
  text-decoration: none;
}

.ig:hover { color: #fff; }

.ig svg {
  display: block;
  width: 20px;
  height: 20px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-sizing: content-box;
}

.ig:hover svg { color: #fff; background: #e85010; }

html.motion .hero h1 .line { overflow: hidden; }

html.motion .hero h1 .line:last-child {
  padding-bottom: 0.28em;
  margin-bottom: -0.06em;
}

html.motion .hero h1 .line > span {
  display: block;
  animation: risein 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

html.motion .hero h1 .line:nth-child(2) > span { animation-delay: 0.08s; }
html.motion .hero h1 .line:nth-child(3) > span { animation-delay: 0.16s; }

html.motion [data-rise] {
  opacity: 0;
  transform: translateY(22px);
}

html.motion [data-rise].in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

html.motion .chip { animation: bob 5.5s ease-in-out infinite; }
html.motion .caustics { animation: caust 16s ease-in-out infinite alternate; }

html.motion .banner.in::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shine 1.1s ease forwards;
  pointer-events: none;
}

html.motion.is-swapping main { animation: langfade 0.45s ease; }

.tick { animation: tick 0.4s ease; }

@keyframes risein {
  from { transform: translateY(120%); }
  to { transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes caust { to { transform: translate3d(5%, -3%, 0) scale(1.08); } }

@keyframes shine { to { transform: translateX(120%); } }

@keyframes langfade {
  from { opacity: 0.4; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes tick {
  from { opacity: 0.2; filter: blur(3px); transform: translateY(8px); }
  to { opacity: 1; filter: none; transform: none; }
}

@media (hover: hover) and (pointer: fine) {
  .tile { transition: transform 0.35s ease, border-color 0.35s ease; }
  .tile:hover { transform: translateY(-6px); border-color: rgba(232, 80, 16, 0.45); }
  .tile:hover::before { opacity: 1; }
  .tile:hover .go { transform: translateX(4px); }
}

@media (min-width: 1280px) {
  .hero-copy { padding-left: max(108px, calc((100vw - 1120px) / 2)); }
}

@media (min-width: 1360px) {
  .depth-rail { display: block; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 110px 28px 48px;
    overflow: auto;
    background: #0b1218;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    font-family: Fraunces, Georgia, serif;
    font-size: 36px;
    color: #fff;
    white-space: normal;
  }

  .nav a.is-on { color: #e85010; }
  .nav a.is-on::after { display: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 112px 20px 32px; }
  .hero-media { min-height: 74vw; }
  .terms { grid-template-columns: 1fr; }
  .hero-media::after {
    background: linear-gradient(180deg, #0b1218, transparent 16%, transparent 70%, #0b1218);
  }
}

@media (max-width: 800px) {
  .bench { grid-template-columns: 1fr; }
  .cluster { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile,
  .tile-horizon,
  .tile-air,
  .tile-alt {
    grid-column: span 1;
    grid-row: auto;
    min-height: 220px;
  }
  .tile-air { grid-column: span 2; }
  .steps,
  .foot,
  .atlas-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-air { grid-column: auto; }
  .air-view { grid-template-columns: 1fr; min-height: 0; }
  .air-view-read { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 10px 16px; text-align: left; }
  .air-view-dial { width: 84px; height: 84px; }
  .air-view-dial strong { font-size: 36px; }
  .banner { flex-direction: column; align-items: flex-start; }
  .fields,
  .ruler-read { grid-template-columns: 1fr 1fr; }
  .totals { grid-template-columns: 1fr 1fr; }
  .sheet b { font-size: 28px; }
  .hero h1 { font-size: clamp(46px, 14vw, 72px); }
  .leg { grid-template-columns: 1fr 1fr; }
  .leg > span:first-child { grid-column: 1 / -1; }
  .leg.head { display: none; }
  .ead-view-body,
  .alt-view-body { grid-template-columns: 1fr; }
  #map,
  .map-list { height: 420px; max-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
