@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #1d2122;
  --ink-2: #2a3032;
  --stone: #e7e5df;
  --stone-2: #d9d6cd;
  --text: #1d2122;
  --text-2: #4f5654;
  --on-dark: #eceae3;
  --on-dark-2: #b4b7ae;
  --olive: #313d2d;
  --olive-2: #c3c9b6;
  --slate: #2a404b;
  --slate-2: #b9c6cc;
  --signal: #d4622f;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 5rem);
  --sect: clamp(5rem, 12vw, 10rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--stone);
  font-kerning: normal;
}
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
h1, h2 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }

.skip { position: absolute; left: -999px; top: 0; padding: .6rem 1rem; background: var(--signal); color: #fff; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem var(--pad);
  color: var(--on-dark);
}
.mark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 650; font-stretch: 100%; text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; }
.mark-globe { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.top-link { font-size: .95rem; text-decoration: none; padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .top-link:hover { border-color: currentColor; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--on-dark);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: 7rem var(--pad) 5rem;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(3.2rem, 9.2vw, 9.5rem);
  line-height: .9;
  font-weight: 640;
  font-stretch: 78%;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.h1-line { display: inline; }
@media (min-width: 861px) { .h1-line:nth-child(1) { display: block; } }
.hero-why { margin-top: 2rem; max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--on-dark-2); letter-spacing: .005em; }
.button {
  display: inline-block; margin-top: 2.4rem;
  padding: .95rem 1.6rem;
  background: var(--on-dark); color: var(--ink);
  text-decoration: none; font-weight: 600; letter-spacing: .01em;
  border-radius: 2px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .button:hover { background: var(--signal); color: #fff; } }

.globe-wrap { justify-self: end; width: min(100%, 36rem); aspect-ratio: 1; }
.globe { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--on-dark); stroke-width: .7; vector-effect: non-scaling-stroke; }
.globe * { vector-effect: non-scaling-stroke; }
.g-outline { stroke-width: 1.1; }
.g-axis { stroke: var(--signal); stroke-width: 1.2; }
.g-eq, .g-lat { stroke: var(--on-dark-2); opacity: .55; }
.g-mer { transform-box: view-box; transform-origin: 0 0; stroke: var(--on-dark-2); }
.g-prime { stroke: var(--on-dark); stroke-width: 1; }

/* Why */
.why { padding: var(--sect) var(--pad); max-width: 78rem; }
.why-big {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  font-weight: 560;
  font-stretch: 82%;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.why-vision { margin-top: clamp(2rem, 4vw, 3.5rem); max-width: 44ch; color: var(--text-2); font-size: 1.15rem; }

/* Branches */
.branch {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: var(--sect) var(--pad);
  color: var(--on-dark);
}
.adventure { background: var(--olive); --sub: var(--olive-2); }
.advisory { background: var(--slate); --sub: var(--slate-2); }
.branch h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: .98; font-weight: 640; font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.015em; }
.branch-for { margin-top: 1rem; color: var(--sub); font-size: 1.05rem; }
.branch-promise { margin-top: 2.4rem; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.25; font-weight: 500; max-width: 18ch; letter-spacing: -0.01em; }
.branch-head { align-self: start; position: sticky; top: 2.5rem; }

.worlds { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--on-dark) 28%, transparent); }
.worlds li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.1rem 0 1.2rem; border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 28%, transparent); }
.w-name { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1; font-weight: 560; font-stretch: 85%; letter-spacing: -0.02em; }
.w-sub { color: var(--sub); font-size: 1.02rem; }

.how { margin: clamp(3rem, 6vw, 4.5rem) 0 0; display: grid; gap: 1.6rem; }
.how div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
.how dt { font-weight: 640; font-size: 1.15rem; }
.how dd { margin: 0; color: var(--sub); }
.branch-note { margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 46ch; font-size: 1.05rem; color: var(--on-dark); padding-left: 1.2rem; border-left: 1px solid var(--signal); }

/* Philosophy: the high point */
.philosophy {
  background: var(--ink); color: var(--on-dark);
  padding: clamp(7rem, 16vw, 13rem) var(--pad);
  position: relative; overflow: hidden;
}
.philosophy::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pad) + .2rem);
  width: 1px; background: var(--signal);
  transform: scaleY(var(--line, 1)); transform-origin: top;
}
.phil-words { padding-left: clamp(1.5rem, 4vw, 3.5rem); display: grid; gap: .05em; font-size: clamp(3rem, 10.5vw, 10.5rem); line-height: .9; font-weight: 650; font-stretch: 76%; text-transform: uppercase; letter-spacing: -0.03em; }
.phil-words span { display: block; }
.phil-sub { margin-top: clamp(2.5rem, 5vw, 4rem); padding-left: clamp(1.5rem, 4vw, 3.5rem); max-width: 40ch; color: var(--on-dark-2); font-size: 1.15rem; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); padding: var(--sect) var(--pad); }
.founder h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.02; font-weight: 620; font-stretch: 80%; letter-spacing: -0.02em; max-width: 12ch; }
.founder-text { display: grid; gap: 1.3rem; max-width: 56ch; font-size: 1.12rem; line-height: 1.65; }
.founder-sign { margin-top: .8rem; color: var(--text-2); font-size: 1rem; }

/* Contact */
.contact { padding: var(--sect) var(--pad) calc(var(--sect) * 1.1); border-top: 1px solid var(--stone-2); }
.contact h2 { font-size: clamp(2.6rem, 7.5vw, 7rem); line-height: .95; font-weight: 640; font-stretch: 76%; text-transform: uppercase; letter-spacing: -0.025em; }
.contact p { margin-top: 1.6rem; color: var(--text-2); font-size: 1.15rem; }
.contact-mail { display: inline-block; margin-top: 2rem; font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 560; text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: .15rem; overflow-wrap: anywhere; transition: color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .contact-mail:hover { color: var(--signal); } }

/* Footer */
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem var(--pad); background: var(--ink); color: var(--on-dark-2); font-size: .92rem; }
.foot nav { display: flex; gap: 1.6rem; }
.foot a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--on-dark); text-decoration: underline; } }


/* Garage */
.garage { padding: var(--sect) var(--pad); }
.garage h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; font-weight: 620; font-stretch: 80%; letter-spacing: -0.02em; max-width: 16ch; }
.garage-list { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; border-top: 1px solid var(--stone-2); }
.garage-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.3rem 0; border-bottom: 1px solid var(--stone-2); }
.g-name { font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.05; font-weight: 560; font-stretch: 85%; letter-spacing: -0.015em; }
.g-year { color: var(--text-2); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.garage-note { margin-top: 2rem; color: var(--text-2); font-size: 1.15rem; max-width: 44ch; }
/* Disclosure */
.disclosure { padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad); border-top: 1px solid var(--stone-2); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.2rem clamp(2.5rem, 6vw, 7rem); }
.disclosure h2 { font-size: 1.35rem; font-weight: 620; }
.disclosure p { max-width: 52ch; font-size: 1.1rem; }
/* Advisory band */
.advisory-band { background: var(--slate); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.2rem clamp(2.5rem, 6vw, 7rem); align-items: baseline; }
.advisory-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 640; font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.01em; }
.advisory-band p { max-width: 50ch; font-size: 1.1rem; color: var(--slate-2); }
@media (max-width: 860px) { .disclosure, .advisory-band { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { background: var(--stone); padding: 8rem var(--pad) 6rem; max-width: 52rem; }
.legal-top { position: static; color: var(--text); padding: 1.4rem var(--pad); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 640; font-stretch: 78%; text-transform: uppercase; letter-spacing: -0.015em; line-height: 1; }
.legal h2 { margin-top: 2.6rem; font-size: 1.3rem; font-weight: 620; }
.legal p, .legal ul { margin-top: .9rem; max-width: 64ch; }
.legal { padding-top: 3rem; }
.todo { background: #ffe94d; padding: 0 .2em; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-content: end; padding-top: 6rem; gap: 0; }
  .globe-wrap { position: absolute; top: 5.5rem; right: -14vw; width: 64vw; opacity: .4; }
  .worlds li { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .hero-text { position: relative; }
  .hero h1 { font-size: clamp(3rem, 19vw, 6rem); }
  .h1-line { display: block; }
  .branch, .founder { grid-template-columns: 1fr; }
  .branch-head { position: static; }
  .how div { grid-template-columns: 1fr; gap: .15rem; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 3rem; }
  .w-name { font-size: 2.4rem; }
}
