/* ==========================================================
   Wealth Forward Path — Japandi minimal (direction 9)
   Washi paper, sumi ink, indigo night, rust hanko accents.
   Hairline rules, quiet whitespace, asymmetric layouts.
   ========================================================== */
:root {
  --washi: #f4f1ea;
  --paper: #faf8f3;
  --paper-2: #ece7dc;
  --sumi: #1d1d1b;
  --ink-2: #4a4843;
  --muted: #7d786d;
  --line: rgba(29, 29, 27, .14);
  --line-2: rgba(29, 29, 27, .28);
  --indigo: #2f3e55;
  --indigo-d: #1f2a3d;
  --indigo-soft: #d9dfe8;
  --rust: #b4492f;
  --rust-d: #8f3a25;
  --rust-soft: #efd9cf;
  --bamboo: #8a9a6b;
  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--washi);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--sumi);
  background: var(--washi);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

::selection {
  background: var(--indigo-soft);
  color: var(--indigo-d);
}

:focus-visible {
  outline: 1.5px solid var(--rust);
  outline-offset: 4px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.container {
  width: min(1140px, 100% - 56px);
  margin-inline: auto;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .01em;
  margin: 0;
  color: var(--sumi);
}

.display {
  font-weight: 800;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.12;
  letter-spacing: .005em;
}

.h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.22;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 540px;
  margin: 26px 0 0;
}

.accent {
  color: var(--rust);
}

.hl {
  position: relative;
  white-space: nowrap;
}

.hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .32em;
  background: var(--rust-soft);
  z-index: -1;
}

.hl.mint::after {
  background: var(--indigo-soft);
}

.hl.pink::after {
  background: var(--rust-soft);
}

.bg-ink .hl::after {
  background: rgba(180, 73, 47, .55);
}

/* Kicker: a small label with a hairline lead */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 26px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--rust);
}

.kicker i {
  color: var(--rust);
  font-size: .8rem;
}

.kicker.dark {
  color: var(--indigo-soft);
}

.kicker.dark::before {
  background: var(--rust-soft);
}

.kicker.dark i {
  color: var(--rust-soft);
}

/* Buttons: square-ish, hairline, quiet hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 2px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.btn i {
  font-size: .85em;
  transition: transform .35s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--sumi);
  color: var(--paper);
}

.btn-blue:hover {
  background: var(--indigo);
}

.btn-yellow {
  background: var(--rust);
  color: var(--paper);
}

.btn-yellow:hover {
  background: var(--rust-d);
}

.btn-white,
.btn-outline {
  background: transparent;
  color: var(--sumi);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn-white:hover,
.btn-outline:hover {
  box-shadow: inset 0 0 0 1px var(--sumi);
  background: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--sumi);
}

.btn[disabled] {
  opacity: .45;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  align-items: center;
}

/* ---------- Top bar & nav ---------- */
.topbar {
  font-size: .78rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  letter-spacing: .02em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--rust);
}

.topbar-r {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar i {
  color: var(--rust);
  margin-right: 8px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rust);
  position: relative;
  box-shadow: inset 0 0 0 5px var(--washi);
  outline: 1px solid var(--rust);
  outline-offset: 0;
  transition: transform .5s var(--ease);
}

.brand-mark i {
  font-size: 1rem;
  color: var(--paper);
  text-align: center;
  margin-left: 10px;
}

.brand:hover .brand-mark {
  transform: rotate(90deg);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink-2);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--rust);
  transition: right .4s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sumi);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 12px 24px;
  font-size: .86rem;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 2px;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}

.drawer.open {
  visibility: visible;
}

.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 27, .4);
  opacity: 0;
  transition: opacity .4s;
}

.drawer.open .drawer-bg {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 88vw);
  background: var(--washi);
  padding: 26px 26px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
}

.drawer.open .drawer-panel {
  transform: none;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 2px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
}

.drawer-link span.n {
  font-family: var(--body);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--rust);
}

.drawer-link i {
  margin-left: auto;
  color: var(--muted);
}

.drawer .btn {
  margin-top: 26px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -180px;
  top: -140px;
  background: var(--rust-soft);
  opacity: .55;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 30px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0;
}

.hero-stats {
  display: flex;
  margin-top: 56px;
  border-top: 1px solid var(--line-2);
}

.hero-stat {
  flex: 1;
  padding: 24px 22px 0 0;
}

.hero-stat+.hero-stat {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--indigo);
}

.hero-stat span {
  display: block;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--ink-2);
  letter-spacing: .02em;
}

.hero-visual {
  position: relative;
  padding: 30px 30px 60px 0;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover .hero-photo img {
  transform: scale(1.06);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(29, 29, 27, .25));
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: -22px;
  bottom: 6px;
  width: 46%;
  height: 46%;
  border: 1px solid var(--rust);
  border-radius: 2px;
  z-index: 0;
}

.float-card {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 24px 50px -36px rgba(29, 29, 27, .45);
}

.float-card.fc1 {
  top: 48px;
  left: -36px;
  width: 230px;
}

.float-card.fc2 {
  bottom: 60px;
  right: -10px;
  width: 240px;
  background: var(--indigo);
  border-color: var(--indigo);
}

.float-card .lbl {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.float-card.fc2 .lbl {
  color: var(--indigo-soft);
}

.float-card .val {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 6px;
  color: var(--sumi);
}

.float-card.fc2 .val {
  color: var(--paper);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-top: 16px;
}

.bars span {
  flex: 1;
  background: var(--indigo-soft);
  border-radius: 1px;
  transform-origin: bottom;
}

.bars span:last-child {
  background: var(--rust);
}

.avatars {
  display: flex;
  margin-top: 16px;
}

.avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid var(--indigo);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  background: var(--indigo-soft);
  color: var(--indigo-d);
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(2) {
  background: var(--rust-soft);
}

.avatars span:nth-child(3) {
  background: var(--paper);
}

.sticker {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sumi);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  transform: rotate(0deg);
}

.sticker i {
  color: var(--rust-soft);
}

.spark {
  position: absolute;
  z-index: 3;
  font-size: 1rem;
  color: var(--rust);
}

.spark.s1 {
  top: 44%;
  left: -10px;
}

.spark.s2 {
  bottom: 22%;
  right: 26px;
  color: var(--indigo);
}

/* Ticker */
.ticker {
  margin-top: 96px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 34px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  border-right: 1px solid var(--line);
}

.ticker-track span:nth-child(even) {
  color: var(--indigo);
}

.ticker-track i {
  color: var(--rust);
  font-size: .7rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 128px 0;
  position: relative;
}

.section-tight {
  padding: 88px 0;
}

.bg-white {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bg-paper2 {
  background: var(--paper-2);
}

.bg-ink {
  background: var(--indigo);
  color: var(--paper);
}

.bg-ink .lead {
  color: rgba(250, 248, 243, .78);
}

.bg-ink .h2,
.bg-ink h2,
.bg-ink h3 {
  color: var(--paper);
}

.bg-ink .hl {
  color: var(--paper);
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.section-head {
  margin-bottom: 72px;
}

.section-head.center {
  margin-inline: auto;
  max-width: 780px;
}

.section-head .lead {
  max-width: 580px;
}

.section-head.center .lead {
  margin-inline: auto;
}

/* ---------- Service tiles (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 36px 34px 34px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}

.tile:hover {
  background: #fff;
}

.tile.w3 {
  grid-column: span 3;
}

.tile.w2 {
  grid-column: span 2;
}

.tile.w6 {
  grid-column: span 6;
}

.tile>* {
  position: relative;
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 42px;
}

.tile-ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--indigo);
  transition: background .4s, color .4s, border-color .4s;
}

.tile:hover .tile-ico {
  background: var(--indigo);
  color: var(--paper);
  border-color: var(--indigo);
}

.tile-num {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: .08em;
}

.tile h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.tile p {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: .95rem;
}

.tile-go {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--sumi);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.tile-go::after {
  content: "→";
  transition: transform .35s var(--ease);
}

.tile:hover .tile-go::after {
  transform: translateX(6px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.tag {
  font-size: .72rem;
  letter-spacing: .04em;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  border-radius: 2px;
}

/* Division & route lists (services page) */
.division {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  padding: 64px 0;
  border-top: 1px solid var(--line-2);
}

.division:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.division-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.division-head p {
  color: var(--ink-2);
  margin: 0 0 22px;
}

.division-head .btn {
  margin-top: 6px;
}

.routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.route {
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* align-items: flex-start; */
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}

.route:hover {
  padding-left: 10px;
}

.route-ic {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: var(--rust);
  font-size: .95rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.route h4 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.route p {
  margin: 0;
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.6;
}

.route-go {
  margin-left: auto;
  color: var(--muted);
  align-self: center;
  transition: transform .35s var(--ease), color .35s;
}

.route:hover .route-go {
  color: var(--rust);
  transform: translateX(4px);
}

/* Service library filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filters button,
.seg {
  padding: 10px 20px;
  border-radius: 2px;
  font-size: .84rem;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
  transition: background .3s, color .3s, box-shadow .3s;
}

.filters button:hover,
.seg:hover {
  box-shadow: inset 0 0 0 1px var(--sumi);
  color: var(--sumi);
}

.filters button.active,
.seg.active {
  background: var(--sumi);
  color: var(--paper);
  box-shadow: none;
}

/* ---------- Process / steps (moss-band equivalent) ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.step {
  padding: 40px 36px;
  border-top: 1px solid rgba(250, 248, 243, .22);
  position: relative;
}

.step:nth-child(odd) {
  border-right: 1px solid rgba(250, 248, 243, .14);
}

.step-no {
  display: inline-block;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rust-soft);
  margin-bottom: 26px;
}

.step h3 {
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 10px;
}

.step p {
  margin: 0;
  color: rgba(250, 248, 243, .78);
  font-size: .95rem;
}

/* Stats (dark / light) */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.stat {
  padding: 48px 28px;
  text-align: left;
}

.stat+.stat {
  border-left: 1px solid var(--line);
}

.stat .val {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--indigo);
}

.stat .lbl {
  display: block;
  margin-top: 12px;
  font-size: .86rem;
  color: var(--ink-2);
  letter-spacing: .02em;
}

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.split.flip> :first-child {
  order: 2;
}

.side-info {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.checks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.check {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  /* background: var(--indigo); */
  color: var(--paper);
  font-size: .65rem;
  margin-top: 3px;
}

.collage {
  position: relative;
  min-height: 520px;
}

.collage img {
  position: absolute;
  border-radius: 2px;
  box-shadow: 0 30px 60px -40px rgba(29, 29, 27, .5);
}

.note {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--rust);
  font-size: .9rem;
  color: var(--ink-2);
  max-width: 260px;
}

.p-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 2px;
}

.p-badge {
  display: inline-flex;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 14px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
}

.value {
  padding: 36px 30px 36px 0;
}

.value+.value {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.value h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.value p {
  margin: 0;
  color: var(--ink-2);
  font-size: .95rem;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 2px;
}

.p-card .h2 {
  margin-bottom: 4px;
}

/* CTA block */
.cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 760px;
  margin: 0 auto;
}

.cta .lead {
  margin-inline: auto;
}

.cta .btn-row {
  justify-content: center;
}

.cta::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rust);
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
}

/* Chart card */
.chart-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: 2px;
}

.chart-card .seg {
  margin-right: 6px;
}

.chart-card svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 18px;
}

.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart-baseline {
  stroke: var(--line-2);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  opacity: 1;
}

.chart-point {
  fill: var(--rust);
  stroke: var(--paper);
  stroke-width: 2;
}

.chart-label,
.chart-top {
  font-family: var(--body);
  font-size: 11px;
  fill: var(--muted);
}

.c-main {
  color: var(--indigo);
}

.c-note {
  color: var(--ink-2);
}

.c-small {
  font-size: .8rem;
  color: var(--muted);
}

.legend {
  display: flex;
  gap: 22px;
  font-size: .8rem;
  color: var(--ink-2);
  margin-top: 6px;
  flex-wrap: wrap;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend span::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--indigo);
}

.legend span:last-child::before {
  background: var(--muted);
}

.delta {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}

/* ---------- Forms ---------- */
/* ==============================
   CONTACT FORM
============================== */

.form-card {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 48px;
  border-radius: 2px;
}

.form-card h2 {
  margin-bottom: 10px;
  color: var(--ink);
}

.form-card>p {
  margin-bottom: 28px;
  color: var(--mute);
  font-size: .92rem;
}

.form-card>p em {
  color: var(--rust);
  font-style: normal;
}

/* Form grid */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
}

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

/* Fields */

.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.field label,
.field .lbl {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field label em {
  color: var(--rust);
  font-style: normal;
}

/* Inputs */

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--mute);
  opacity: .75;
}

.field select {
  cursor: pointer;
}

.field select:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Focus states */

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--indigo);
}

/* Field validation */

.field .err {
  display: none;
  margin-top: 0;
  color: var(--rust);
  font-size: .78rem;
  line-height: 1.45;
}

.field.invalid .err {
  display: block;
}

.field.invalid label {
  color: var(--rust);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-bottom-color: var(--rust);
}

.field.invalid input:focus,
.field.invalid select:focus,
.field.invalid textarea:focus {
  border-bottom-color: var(--rust);
}

/* Form status messages */

.form-msg {
  display: none;
  margin-top: 22px;
  padding: 14px 18px;
  font-size: .92rem;
  line-height: 1.55;
  border-left: 3px solid var(--indigo);
  background: var(--indigo-soft);
  color: var(--indigo-d);
}

.form-msg.show {
  display: block;
}

.form-msg.err {
  border-left-color: var(--rust);
  background: var(--rust-soft);
  color: var(--rust-d);
}

/* Submit button */

.form-card .btn-row {
  margin-top: 34px;
}

.form-card>button[type="submit"] {
  margin-top: 30px;
  min-width: 220px;
}

.form-card .btn {
  min-width: 220px;
}

/* Responsive layout */

@media (max-width: 700px) {
  .form-card {
    padding: 30px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .form-card .btn,
  .form-card>button[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .form-card {
    padding: 24px 17px;
  }

  .field label,
  .field .lbl {
    font-size: .7rem;
  }
}
/* Consent checkbox */

.consent-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.consent-field .check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  color: var(--ink-2);
  cursor: pointer;
}

.consent-field .check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--indigo);
  cursor: pointer;
}

.consent-field.invalid .check {
  color: var(--rust);
}

.consent-field.invalid .check input[type="checkbox"] {
  outline: 1px solid var(--rust);
  outline-offset: 2px;
}

.consent-field .err {
  margin-left: 27px;
}

/* Newsletter / subscribe tiles */
.nl-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line);
}

.nl-tile {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nl-tile .tile-num {
  margin-bottom: 14px;
  display: block;
}

.nl-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.nl-tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: .92rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 900px;
}

.page-hero .lead {
  max-width: 620px;
}

.page-blob {
  position: absolute;
  right: -140px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--indigo-soft);
  opacity: .6;
  z-index: -1;
}

.crumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.crumbs a:hover {
  color: var(--rust);
}

.crumbs i {
  font-size: .6rem;
}

/* ---------- Legal pages ---------- */
.legal-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  padding: 80px 0 120px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 120px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}

.legal-toc a {
  display: block;
  padding: 9px 0;
  font-size: .86rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.legal-toc a:hover {
  color: var(--rust);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 56px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}

.legal-meta>* {
  flex: 1;
  min-width: 180px;
  padding: 20px 22px 20px 0;
  font-size: .92rem;
  color: var(--ink-2);
}

.legal-meta>*+* {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.legal-meta b,
.legal-meta strong {
  display: block;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 6px;
}

.legal-body {
  max-width: 720px;
}

.legal-body section,
.legal-body>div {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.legal-body p,
.legal-body li {
  color: var(--ink-2);
  font-size: .98rem;
}

.legal-body ul {
  padding-left: 20px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--sumi);
  color: #d6d1c4;
  padding: 96px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}

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

.footer p {
  color: #a9a496;
  font-size: .92rem;
  margin: 22px 0 0;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--body);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust-soft);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 12px;
}

.footer li a {
  color: #cfc9ba;
  font-size: .92rem;
  transition: color .3s;
}

.footer li a:hover {
  color: var(--paper);
}

.footer-bottom {
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid rgba(250, 248, 243, .12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .8rem;
  color: #8f8a7d;
}

.footer-bottom a:hover {
  color: var(--paper);
}

/* ---------- Floating UI ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sumi);
  color: var(--paper);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease);
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--rust);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 90;
  background: var(--sumi);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 2px;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal on scroll */
.reveal,
.rev {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in,
.rev.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links {
    gap: 22px;
  }

  .hero-grid {
    gap: 48px;
  }

  .bento .tile.w3 {
    grid-column: span 3;
  }

  .division {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 960px) {

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .split.flip> :first-child {
    order: 0;
  }

  .hero-visual {
    padding: 20px 20px 50px 0;
    max-width: 560px;
  }

  .float-card.fc1 {
    left: -10px;
  }

  .float-card.fc2 {
    right: -6px;
  }

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

  .bento .tile.w3,
  .bento .tile.w2,
  .bento .tile.w6 {
    grid-column: span 1;
  }

  .bento .tile.w6 {
    grid-column: span 2;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

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

  .value,
  .value+.value {
    padding: 28px 0;
    border-left: 0;
  }

  .value+.value {
    border-top: 1px solid var(--line);
  }

  .legal-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-toc {
    position: static;
  }

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

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1140px, 100% - 36px);
  }

  .topbar-r {
    display: none;
  }

  .topbar .container {
    justify-content: center;
  }

  .nav-in {
    height: 72px;
  }

  .display {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero {
    padding-top: 56px;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 40%;
    padding-bottom: 22px;
  }

  .hero-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stat:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .hero-stat:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .ticker {
    margin-top: 64px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .bento,
  .nl-tiles,
  .routes,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .bento .tile.w6 {
    grid-column: span 1;
  }

  .tile {
    min-height: auto;
    padding: 30px 24px;
  }

  .step:nth-child(odd) {
    border-right: 0;
  }

  .division {
    padding: 44px 0;
  }

  .form-card {
    padding: 28px 22px;
  }

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

  .collage {
    min-height: 420px;
  }

  .float-card {
    width: 190px !important;
    padding: 16px;
  }

  .float-card .val {
    font-size: 1.5rem;
  }

  .float-card.fc1 {
    top: 24px;
    left: -6px;
  }

  .float-card.fc2 {
    bottom: 42px;
    right: 0;
  }

  .sticker {
    font-size: .7rem;
  }

  .spark.s1 {
    display: none;
  }

  .legal-meta>* {
    min-width: 100%;
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .btn-row .btn {
    flex: 1 1 auto;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .page-blob {
    width: 300px;
    height: 300px;
    right: -120px;
  }

  .cta {
    padding: 72px 0;
  }

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

  .stat {
    padding: 32px 18px;
  }

  .chart-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .rev {
    opacity: 1;
    transform: none;
  }
}