/* =============================================================
   SIMPX FINANCE BLOCKS — modular minimalism
   clean grid · structural blocks · accent blue
   ============================================================= */

:root {
  --white: #FFFFFF;
  --white-2: #FAFAFA;
  --white-3: #F2F2F2;
  --gray-1: #E5E5E5;
  --gray-2: #D6D6D6;
  --gray-3: #B5B5B5;
  --gray-4: #707070;
  --gray-5: #4A4A4A;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --blue: #2D5BFF;
  --blue-2: #1A3DC4;
  --blue-light: #E8EEFF;
  --blue-tint: #F4F6FF;
  --green: #00B872;
  --line: #E5E5E5;
  --line-2: #D6D6D6;

  --font-sans: "Inter", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Inter", "Geist", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 400;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   LOADING — block assembly
   ============================================================ */
.boot {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.boot.hide { opacity: 0; visibility: hidden; }
.boot__blocks {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  grid-template-rows: repeat(3, 32px);
  gap: 4px;
}
.boot__blocks span {
  background: var(--ink);
  animation: bootb 1.6s ease-in-out infinite;
}
.boot__blocks span:nth-child(1) { animation-delay: 0s; }
.boot__blocks span:nth-child(2) { animation-delay: 0.08s; }
.boot__blocks span:nth-child(3) { animation-delay: 0.16s; }
.boot__blocks span:nth-child(4) { animation-delay: 0.24s; background: var(--blue); }
.boot__blocks span:nth-child(5) { animation-delay: 0.32s; background: var(--blue); }
.boot__blocks span:nth-child(6) { animation-delay: 0.4s; }
.boot__blocks span:nth-child(7) { animation-delay: 0.48s; }
.boot__blocks span:nth-child(8) { animation-delay: 0.56s; background: var(--blue); }
.boot__blocks span:nth-child(9) { animation-delay: 0.64s; }
@keyframes bootb {
  0%, 100% { opacity: 0.2; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
.boot__brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.boot__brand i { font-style: normal; color: var(--blue); }
.boot__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gray-4);
  text-transform: uppercase;
}

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 20px 36px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
.hdr.is-stuck {
  padding: 14px 36px;
  border-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand__icon {
  width: 36px; height: 36px;
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 5px;
}
.brand__icon span {
  background: var(--white);
}
.brand__icon span:nth-child(2),
.brand__icon span:nth-child(4),
.brand__icon span:nth-child(6) { background: var(--blue); }
.brand__icon span:nth-child(8) { background: var(--blue); }
.brand b { font-weight: 700; }
.brand i { font-style: normal; color: var(--blue); }
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gray-4);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 400;
}

.nav-main {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-main a {
  padding: 8px 16px;
  color: var(--gray-5);
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 4px;
}
.nav-main a:hover { color: var(--ink); background: var(--white-3); }
.nav-main a.is-on { color: var(--white); background: var(--ink); }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-pill:hover { background: var(--blue-2); transform: translateY(-1px); }
.cta-pill .arr { font-size: 14px; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  position: relative;
  background: transparent;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-on span:nth-child(2) { opacity: 0; }
.burger.is-on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--white);
  z-index: 8500;
  padding: 30px 36px;
  transform: translateY(-110%);
  transition: transform 0.4s ease;
  border-top: 1px solid var(--line);
}
.drawer.is-on { transform: translateY(0); }
.drawer a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================================
   LAYOUT
   ============================================================ */
main { position: relative; z-index: 1; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 36px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 36px; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.bar-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9100;
  pointer-events: none;
}
.bar-top__b {
  height: 100%;
  background: var(--blue);
  width: 0;
  transition: width 0.1s linear;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  position: relative;
}
.hero__top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gray-4);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero__top::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--blue);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  max-width: 14ch;
}
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero__sub p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--gray-5);
  max-width: 56ch;
  font-weight: 400;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid;
  transition: all 0.2s ease;
}
.btn--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ink:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn .arr { font-size: 14px; }

/* ============================================================
   BLOCK GRID (constructor pieces)
   ============================================================ */
.block-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.blk {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 4px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.blk:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 8px 20px -10px rgba(10, 10, 10, 0.18); }
.blk__id {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray-4);
}
.blk__pre {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
.blk h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}
.blk h3 em { font-style: normal; color: var(--blue); }
.blk p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-5);
  max-width: 50ch;
}
.blk__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-4);
  text-transform: uppercase;
}
.blk__foot a { color: var(--blue); }
.blk__foot a::after { content: " →"; }

.blk--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.blk--ink h3 { color: var(--white); }
.blk--ink h3 em { color: var(--blue); }
.blk--ink p { color: rgba(255,255,255,0.7); }
.blk--ink .blk__id { color: var(--gray-3); }
.blk--ink .blk__foot { color: var(--gray-3); border-color: rgba(255,255,255,0.12); }
.blk--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.blk--blue h3 { color: var(--white); }
.blk--blue p { color: rgba(255,255,255,0.92); }
.blk--blue .blk__id, .blk--blue .blk__pre, .blk--blue .blk__foot { color: rgba(255,255,255,0.85); }
.blk--tint { background: var(--blue-tint); border-color: var(--blue-light); }

.b-12 { grid-column: span 12; }
.b-8 { grid-column: span 8; }
.b-7 { grid-column: span 7; }
.b-6 { grid-column: span 6; }
.b-5 { grid-column: span 5; }
.b-4 { grid-column: span 4; }
.b-3 { grid-column: span 3; }

/* ============================================================
   CONNECTORS (SVG lines decoration)
   ============================================================ */
.connector-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin: 60px 0;
}
.connector-row .blk-mini {
  position: relative;
  z-index: 1;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  border-radius: 4px;
}
.connector-row .blk-mini__n {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
}
.connector-row .blk-mini h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.connector-row .blk-mini p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-5);
  line-height: 1.5;
}
.connector-row::before, .connector-row::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  background: var(--blue);
  z-index: 0;
}
.connector-row::before { left: 25%; right: 75%; width: 12.5%; }
.connector-row::after { left: 62.5%; width: 12.5%; }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.sec {
  padding: 110px 0;
  position: relative;
}
.sec--tight { padding: 70px 0; }
.sec--gray { background: var(--white-2); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--ink .sec__h h2 { color: var(--white); }
.sec--ink .sec__h h2 em { color: var(--blue); }
.sec--ink .sec__h p { color: rgba(255,255,255,0.65); }

.sec__h {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.sec__h .pre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sec__h .pre::before { content: "■"; }
.sec__h h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
}
.sec__h h2 em { font-style: normal; color: var(--blue); }
.sec__h p {
  margin: 0;
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--gray-5);
  max-width: 56ch;
}
.sec__h .more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.sec__h .more::after { content: " →"; }
.sec--ink .sec__h { border-color: rgba(255,255,255,0.12); }

/* ============================================================
   STAT ROW
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}
.stat-cell {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }
.stat-cell__lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gray-4);
  text-transform: uppercase;
}
.stat-cell__val {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 12px 0 6px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-cell__val .small { font-size: 0.45em; color: var(--gray-4); font-weight: 500; }
.stat-cell__val em { font-style: normal; color: var(--blue); }
.stat-cell__sub {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--gray-5);
}

/* ============================================================
   TABLE
   ============================================================ */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--white);
  border: 1px solid var(--line);
}
.tbl th, .tbl td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tbl th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-4);
  background: var(--white-2);
  font-weight: 500;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl td:first-child { font-weight: 600; color: var(--ink); font-family: var(--font-display); letter-spacing: -0.01em; font-size: 15.5px; }
.tbl .yes { color: var(--green); font-weight: 600; }
.tbl .no { color: var(--gray-3); }

/* ============================================================
   ACCORDION
   ============================================================ */
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__h {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 60px 1fr 36px;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s ease;
}
.acc__h:hover { color: var(--blue); }
.acc__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.acc__plus {
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  justify-self: end;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s ease;
}
.acc__plus::before, .acc__plus::after {
  content: ""; position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: background 0.25s ease;
}
.acc__plus::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.acc__plus::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.acc__i.is-open .acc__plus { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.acc__i.is-open .acc__plus::before, .acc__i.is-open .acc__plus::after { background: var(--white); }
.acc__b { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.acc__bi {
  padding: 0 0 28px 84px;
  color: var(--gray-5);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 70ch;
}
.acc__i.is-open .acc__b { max-height: 600px; }

/* ============================================================
   STEP LINE (progress)
   ============================================================ */
.step-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
}
.step-line__c {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.25s ease;
}
.step-line__c:last-child { border-right: none; }
.step-line__c:hover { background: var(--white-2); }
.step-line__c .n {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}
.step-line__c.is-done .n { background: var(--ink); color: var(--white); }
.step-line__c.is-active .n { background: var(--blue); border-color: var(--blue); color: var(--white); }
.step-line__c h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.step-line__c p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-5);
  line-height: 1.55;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.prog {
  display: grid;
  gap: 18px;
}
.prog__r {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: 20px;
}
.prog__r .lbl { font-size: 14.5px; color: var(--gray-5); }
.prog__r .val { font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-align: right; font-weight: 500; }
.prog__bar {
  height: 6px;
  background: var(--white-3);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.prog__bar::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--blue);
  width: var(--w, 50%);
  border-radius: 6px;
}

/* ============================================================
   SKILLS MAP (grid with connectors)
   ============================================================ */
.skills-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.skill-node {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 22px;
  border-radius: 4px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.skill-node:hover { border-color: var(--blue); transform: translateY(-3px); }
.skill-node .lvl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.skill-node h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.skill-node p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gray-5);
}
.skill-node--core { background: var(--blue); color: var(--white); border-color: var(--blue); }
.skill-node--core h4 { color: var(--white); }
.skill-node--core p { color: rgba(255,255,255,0.85); }
.skill-node--core .lvl { color: rgba(255,255,255,0.7); }
.skill-node--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.skill-node--ink h4 { color: var(--white); }
.skill-node--ink p { color: rgba(255,255,255,0.7); }
.skill-node--ink .lvl { color: var(--blue); }

/* ============================================================
   CAROUSEL (horizontal cards)
   ============================================================ */
.h-roll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 24px;
  scrollbar-width: thin;
}
.h-roll::-webkit-scrollbar { height: 4px; }
.h-roll::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
.h-roll__c {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease;
}
.h-roll__c:hover { border-color: var(--ink); }
.h-roll__c .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
}
.h-roll__c h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.h-roll__c p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-5);
}
.h-roll__c .meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-4);
  text-transform: uppercase;
}

/* ============================================================
   PAGE BANNER (other pages)
   ============================================================ */
.page-banner {
  padding: 160px 0 50px;
  border-bottom: 1px solid var(--line);
}
.page-banner__pre {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: inline-block;
}
.page-banner__pre::before { content: "■ "; }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  max-width: 14ch;
}
.page-banner h1 em { font-style: normal; color: var(--blue); }
.page-banner__row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
.page-banner__row p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--gray-5);
  max-width: 60ch;
}
.page-banner__meta {
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
  text-align: right;
}
.page-banner__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

/* ============================================================
   QUOTE — minimal
   ============================================================ */
.quote-block {
  padding: 60px;
  background: var(--white-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}
.quote-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 80px;
  background: var(--blue);
}
.quote-block p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 28ch;
}
.quote-block p em { font-style: normal; color: var(--blue); }
.quote-block cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-style: normal;
}

/* ============================================================
   FORM
   ============================================================ */
.form-block {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.form-block__r { display: grid; gap: 6px; }
.form-block label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-4);
}
.form-block input, .form-block textarea {
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  border-radius: 4px;
  transition: border-color 0.25s ease;
}
.form-block input:focus, .form-block textarea:focus { outline: none; border-color: var(--blue); }
.form-block textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   MAP
   ============================================================ */
.map-block {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-height: 480px;
}
.map-block iframe {
  width: 100%; height: 100%; min-height: 480px;
  border: 0;
  filter: grayscale(0.3) contrast(1.02);
}

/* ============================================================
   TOUCH CARDS
   ============================================================ */
.touch-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 50px;
}
.touch-c {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease;
}
.touch-c:hover { border-color: var(--blue); }
.touch-c .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
}
.touch-c p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.touch-c .meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  color: var(--gray-5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0 36px;
  position: relative;
  z-index: 1;
}
.footer__sig {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0 0 60px;
  max-width: 18ch;
}
.footer__sig em { color: var(--blue); font-style: normal; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer__brand .name em { font-style: normal; color: var(--blue); }
.footer__brand p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 40ch;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--blue); }

.footer__b {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.soc-pill { display: flex; gap: 10px; }
.soc-pill a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.soc-pill a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.soc-pill svg { width: 15px; height: 15px; fill: currentColor; }

/* ============================================================
   COOKIE
   ============================================================ */
.cookie {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 20px 24px;
  z-index: 8000;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-radius: 4px;
  transform: translateY(180%);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 0 14px 30px -10px rgba(10, 10, 10, 0.12);
}
.cookie.is-on { transform: translateY(0); }
.cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--gray-5); }
.cookie p b { color: var(--blue); font-weight: 600; }
.cookie__ok {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.totop {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 5000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  font-size: 18px;
}
.totop.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { background: var(--blue); }

/* ============================================================
   REVEAL
   ============================================================ */
.r {
  opacity: 1;
  transform: translateY(28px);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}
.r.in { transform: translateY(0); }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1100px) {
  .hdr { padding: 14px 22px; }
  .hdr.is-stuck { padding: 12px 22px; }
  .nav-main { display: none; }
  .cta-pill { display: none; }
  .burger { display: block; }
  .wrap, .wrap-narrow { padding: 0 22px; }
  .hero { padding: 130px 0 70px; }
  .hero__sub { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .sec { padding: 70px 0; }
  .sec__h { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .b-8, .b-7, .b-6, .b-5 { grid-column: span 12; }
  .b-4, .b-3 { grid-column: span 6; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .step-line { grid-template-columns: 1fr 1fr; }
  .step-line__c { border-bottom: 1px solid var(--line); }
  .step-line__c:nth-child(2n) { border-right: none; }
  .skills-map { grid-template-columns: repeat(2, 1fr); }
  .connector-row { grid-template-columns: 1fr; gap: 14px; }
  .connector-row::before, .connector-row::after { display: none; }
  .page-banner__row { grid-template-columns: 1fr; gap: 28px; }
  .page-banner__meta { text-align: left; }
  .touch-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .prog__r { grid-template-columns: 140px 1fr 50px; }
}
@media (max-width: 680px) {
  .b-4, .b-3 { grid-column: span 12; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stat-cell:last-child { border-bottom: none; }
  .step-line { grid-template-columns: 1fr; }
  .step-line__c { border-right: none !important; }
  .skills-map { grid-template-columns: 1fr; }
  .h-roll__c { flex: 0 0 280px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__b { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .soc-pill { justify-self: center; }
  .cookie { left: 14px; right: 14px; bottom: 14px; max-width: none; grid-template-columns: 1fr; gap: 14px; }
  .totop { right: 14px; bottom: 70px; }
  .quote-block { padding: 32px; }
  .prog__r { grid-template-columns: 1fr; gap: 6px; }
  .prog__r .val { text-align: left; }
}
