  :root {
    --bone:   #E7E0D0;
    --bone-2: #DAD1BE;
    --sheet:  #EFE9DC;
    --ink:    #1B1915;
    --ink-soft: #3A362E;
    --sub:    rgba(27,25,21,0.62);
    --room:   #221609;
    --accent: #b0562f;
    --accent-2: #c96140;
    --rule:   rgba(27,25,21,0.28);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bone);
    color: var(--ink);
    font-family: 'Space Mono', monospace;
    font-size: 14px; line-height: 1.65;
  }
  h1, h2, .stat-v {
    font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%;
    text-transform: uppercase; line-height: 1;
  }
  .wrap { max-width: 980px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

  /* ---- top bar ---- */
  .top {
    background: var(--room); color: var(--bone);
    padding: 14px 0;
  }
  .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { width: 30px; height: auto; filter: brightness(4.2) saturate(0.25); }
  .brand b { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }
  .top .tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(231,224,208,0.55); }

  /* ---- hero ---- */
  .hero { padding: clamp(36px, 6vw, 64px) 0 clamp(26px, 4vw, 40px); }
  .kicker {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
  }
  h1 { font-size: clamp(40px, 7vw, 74px); margin-bottom: 18px; }
  .lede { max-width: 640px; color: var(--ink-soft); }

  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 0; }
  .stat {
    background: var(--sheet); border: 1px solid rgba(27,25,21,0.14);
    border-top: 3px solid var(--accent); border-radius: 5px; padding: 16px 16px 14px;
  }
  .stat-v { font-size: clamp(20px, 2.6vw, 27px); display: block; }
  .stat-l { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); display: block; margin-top: 7px; line-height: 1.45; }

  /* ---- sections ---- */
  section { margin: clamp(28px, 4vw, 44px) 0; }
  .sheet {
    background: var(--sheet); border: 1px solid rgba(27,25,21,0.14);
    border-top: 4px solid var(--accent); border-radius: 6px;
    padding: clamp(24px, 4vw, 40px);
  }
  .sec-kicker { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  h2 { font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 16px; }
  .note { font-size: 11.5px; color: var(--sub); margin-top: 16px; max-width: 760px; }
  .em { color: var(--ink); font-weight: 700; }

  /* offer rows */
  .rows { margin-top: 6px; }
  .row {
    display: grid; grid-template-columns: 240px 1fr; gap: 6px 34px;
    padding: 13px 0; border-bottom: 1px dashed var(--rule);
  }
  .row:last-child { border-bottom: 0; }
  .row dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); padding-top: 2px; }
  .row dd { color: var(--ink); }
  .row dd b { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%; font-size: 19px; }

  /* roi table */
  .tbl-wrap { overflow-x: auto; margin-top: 8px; }
  table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
  th, td { padding: 10px 14px; text-align: right; white-space: nowrap; }
  th:first-child, td:first-child { text-align: left; padding-left: 0; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sub); }
  thead th { border-bottom: 2px solid var(--ink); }
  thead .col-h { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%; font-size: 15px; text-transform: uppercase; color: var(--ink); display: block; }
  thead .col-s { font-size: 10px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; display: block; margin-top: 3px; }
  tbody td { border-top: 1px dashed var(--rule); font-weight: 700; }
  tbody tr.gap td { border-top: 2px solid rgba(27,25,21,0.55); }
  td.hi, th.hi { background: rgba(176,86,47,0.10); }
  td.hi { color: var(--ink); }

  /* chart */
  .chart-box { margin-top: 10px; }
  .chart {
    display: flex; align-items: flex-end; gap: clamp(5px, 1.4vw, 14px);
    height: 200px; padding: 0 2px; position: relative;
    border-bottom: 2px solid var(--ink); 
  }
  .be {
    position: absolute; left: 0; right: 0; bottom: 111px;
    border-top: 2px dashed var(--accent);
  }
  .be span {
    position: absolute; right: 0; top: -18px;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
    background: var(--sheet); padding-left: 8px;
  }
  .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
  .col i {
    display: block; width: 100%; max-width: 46px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    border-radius: 3px 3px 0 0;
  }
  .col .v { font-size: 9.5px; color: var(--sub); margin-bottom: 5px; }
  .xlab { display: flex; gap: clamp(5px, 1.4vw, 14px); margin-top: 7px; }
  .xlab span { flex: 1; text-align: center; font-size: 10px; color: var(--sub); }

  /* exit cards + generic cards */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
  .card {
    background: var(--bone); border: 1px solid rgba(27,25,21,0.16);
    border-radius: 5px; padding: 18px;
  }
  .card h3 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  .card .big { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%; font-size: 26px; display: block; margin-bottom: 6px; }
  .card p { font-size: 12px; color: var(--ink-soft); }

  .cards.two { grid-template-columns: 1fr 1fr; }
  .card ul.facts li { font-size: 12.5px; border-bottom: 0; padding: 6px 0 6px 20px; }
  .card ul.facts li::before { top: 13px; }

  /* asset / location */
  .split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(18px, 3vw, 34px); align-items: start; }
  .frame {
    background: var(--bone-2); border: 1px solid rgba(27,25,21,0.2); border-radius: 4px;
    padding: 10px;
  }
  .frame img { width: 100%; height: auto; display: block; border-radius: 2px; }
  .frame + .frame { margin-top: 14px; }
  ul.facts { list-style: none; margin-top: 4px; }
  ul.facts li { padding: 9px 0 9px 20px; border-bottom: 1px dashed var(--rule); position: relative; font-size: 13px; }
  ul.facts li:last-child { border-bottom: 0; }
  ul.facts li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; background: var(--accent); }

  .mini-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
  .mini { background: var(--bone); border: 1px solid rgba(27,25,21,0.16); border-radius: 5px; padding: 12px; }
  .mini b { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%; font-size: 19px; display: block; }
  .mini span { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); line-height: 1.4; display: block; margin-top: 5px; }

  /* steps + footer */
  .steps { counter-reset: s; margin-top: 8px; }
  .step { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--rule); align-items: baseline; }
  .step:last-child { border-bottom: 0; }
  .step::before {
    counter-increment: s; content: "0" counter(s);
    font-family: 'Archivo', sans-serif; font-weight: 800; color: var(--accent); font-size: 19px;
  }
  footer { background: var(--room); color: rgba(231,224,208,0.6); margin-top: clamp(34px, 5vw, 56px); padding: 26px 0 34px; font-size: 11px; }
  footer .wrap { display: flex; flex-direction: column; gap: 6px; }


  .guide-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; color: var(--ink-soft); }
  .btn-link {
    display: inline-block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; font-weight: 700;
    border: 1px solid rgba(27,25,21,0.4); border-radius: 4px; padding: 8px 14px;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
    background: var(--bone);
  }
  .btn-link:hover { background: var(--accent); border-color: var(--accent); color: var(--bone); }

  /* gallery */
  .plate { background: var(--bone-2); border: 1px solid rgba(27,25,21,0.2); border-radius: 4px; padding: 10px; margin-top: 8px; }
  .plate img { width: 100%; height: auto; display: block; border-radius: 2px; }
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
  .gallery figure {
    background: var(--bone-2); border: 1px solid rgba(27,25,21,0.2); border-radius: 4px; padding: 8px;
  }
  .gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 2px; }
  .gallery figure.wide { grid-column: span 2; display: flex; }
  .gallery figure.wide img { aspect-ratio: auto; height: 100%; min-height: 0; }

  /* ---- gate ---- */
  .gate {
    position: fixed; inset: 0; z-index: 200;
    background: radial-gradient(120% 90% at 50% 0%, #32220F 0%, var(--room) 55%, #170E06 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
    transition: opacity 500ms ease, visibility 500ms ease;
  }
  .gate.up { opacity: 0; visibility: hidden; }
  .gate::before {
    content: ""; position: absolute; inset: 0;
    background: url("polymath_icon.png") clamp(18px, 3vw, 40px) clamp(16px, 3vh, 36px) / min(52vh, 88vw, 440px) no-repeat;
    opacity: 0.10; pointer-events: none;
  }
  .gate-box { position: relative; width: min(360px, 84vw); text-align: center; color: var(--bone); }
  .gate-kicker { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(231,224,208,0.45); }
  .gate-label { margin: 24px 0 18px; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%; font-size: 25px; letter-spacing: 0.06em; text-transform: uppercase; }
  .gate form { display: flex; align-items: center; gap: 10px; }
  .gate input {
    flex: 1; min-width: 0; background: transparent; border: 0;
    border-bottom: 1px solid rgba(214,178,118,0.4); padding: 10px 2px;
    font-family: 'Space Mono', monospace; font-size: 15px; letter-spacing: 0.28em;
    color: var(--bone); caret-color: var(--accent-2); outline: none;
  }
  .gate input:focus { border-bottom-color: var(--accent-2); }
  .gate input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #241A0E inset; -webkit-text-fill-color: var(--bone); }
  .gate button {
    background: transparent; color: var(--bone); border: 1px solid rgba(231,224,208,0.4);
    border-radius: 50%; width: 40px; height: 40px; font-size: 17px; cursor: pointer;
  }
  .gate button:hover { border-color: var(--bone); }
  .gate-err { margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); opacity: 0; }
  .gate-err.on { opacity: 1; }

  @media (max-width: 760px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .cards, .cards.two { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .mini-stats { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: 1fr 1fr; gap: 9px; }
    .gallery figure.wide { grid-column: 1 / -1; }
    .gallery figure.wide img { aspect-ratio: 16 / 10; height: auto; }
    .row { grid-template-columns: 1fr; gap: 3px; }
    .col:nth-child(even) .v { visibility: hidden; }
  }

  /* ---- top tabs ---- */
  .tabs { display: flex; gap: 8px; }
  .tabs a {
    font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--bone); text-decoration: none;
    border: 1px solid rgba(231,224,208,0.4); border-radius: 4px; padding: 7px 12px;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  }
  .tabs a:hover { border-color: var(--bone); }
  .tabs a.active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  @media (max-width: 760px) {
    .top .tag { display: none; }
    .top .wrap { flex-wrap: wrap; }
  }

  /* ---- founder quote ---- */
  .fquote {
    border-left: 3px solid var(--accent);
    padding: 6px 0 6px 20px; margin: 14px 0 4px;
    font-size: 14.5px; line-height: 1.75; color: var(--ink-soft);
  }
  .fquote .em { color: var(--ink); }
  .fsig { margin-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sub); }

  /* ---- experience photo strip ---- */
  .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 18px; }
  .strip figure { background: var(--bone-2); border: 1px solid rgba(27,25,21,0.2); border-radius: 4px; padding: 7px; }
  .strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 2px; }
  .strip figcaption { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); margin-top: 7px; line-height: 1.4; }
  @media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; gap: 9px; } }

  /* portrait crop for the founder photo */
  .frame img.portrait { aspect-ratio: 4 / 5; object-fit: cover; }

  /* founder photo matches the height of the steps column: the image is taken
     out of normal flow so the text column decides the row height */
  @media (min-width: 761px) {
    .split.match { align-items: stretch; }
    .split.match .frame { position: relative; height: 100%; padding: 0; }
    .split.match .frame img.portrait {
      position: absolute; inset: 10px;
      width: calc(100% - 20px); height: calc(100% - 20px);
      aspect-ratio: auto; object-fit: cover; object-position: 50% 38%;
    }
  }

  /* sub-heading inside a sheet */
  .sub-h {
    font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 78%;
    text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em;
    color: var(--accent); margin: 26px 0 12px;
    padding-bottom: 7px; border-bottom: 1px solid rgba(27,25,21,0.18);
  }

  /* ---- observation carousel (from the main investor site) ---- */
  .obs-sheet .doc-frame {
    margin: 14px 0 0; padding: clamp(20px, 4vw, 40px);
    background: var(--bone-2); border: 1px solid rgba(27,25,21,0.16); border-radius: 4px;
    background-image:
      linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)),
      linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent));
    background-repeat: no-repeat;
    background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px;
    background-position: 10px 10px, 10px 10px, calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) calc(100% - 10px);
  }
  .carousel-frame { display: block; position: relative; overflow: hidden; padding-bottom: 46px !important; }
  .carousel {
    position: relative; width: 100%;
    height: clamp(360px, 42vw, 520px);
    display: flex; align-items: center; justify-content: center;
  }
  .car-slide {
    position: absolute; width: 38%; cursor: pointer;
    transition: transform 480ms cubic-bezier(0.22,0.61,0.36,1), opacity 480ms cubic-bezier(0.22,0.61,0.36,1);
    will-change: transform;
  }
  .car-slide img {
    display: block; width: 100%; height: auto;
    border: 1px solid rgba(27,25,21,0.14); box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  }
  .car-slide.is-center { transform: translateX(0) scale(1);       z-index: 3; opacity: 1; }
  .car-slide.is-left   { transform: translateX(-84%) scale(0.66); z-index: 2; opacity: 0.5; }
  .car-slide.is-right  { transform: translateX(84%) scale(0.66);  z-index: 2; opacity: 0.5; }
  .car-slide.is-hidden { transform: scale(0.5);                   z-index: 1; opacity: 0; pointer-events: none; }
  .car-slide.is-left:hover, .car-slide.is-right:hover { opacity: 0.75; }
  .car-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Mono', monospace; font-size: 18px;
    color: var(--ink); background: var(--bone);
    border: 1px solid rgba(27,25,21,0.3); cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  }
  .car-btn:hover { background: var(--accent); color: var(--bone); border-color: var(--accent); }
  .car-prev { left: clamp(6px, 2vw, 20px); }
  .car-next { right: clamp(6px, 2vw, 20px); }
  .car-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
  .car-dot {
    width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
    background: rgba(27,25,21,0.22); border: none;
    transition: background 180ms ease, transform 180ms ease;
  }
  .car-dot.is-on { background: var(--accent); transform: scale(1.3); }
  .obs-note #obs-plate { color: var(--accent); font-weight: 700; }
  @media (max-width: 760px) { .car-slide { width: 56%; } .carousel { height: clamp(320px, 88vw, 460px); } }
