:root {
  --paper: #F3EFE4;
  --paper-2: #E9E3D3;
  --ink: #10140F;
  --ink-2: #545B52;
  --rule: rgba(16, 20, 15, .14);
  --green: #1E6A47;
  --green-soft: rgba(30, 106, 71, .1);
  --rosette: 30, 106, 71;
  --band: #0F2A1D;
  --band-ink: #EFEADF;
  --band-ink-2: rgba(239, 234, 223, .62);
  --band-rule: rgba(239, 234, 223, .16);
  --shadow: 0 30px 60px -28px rgba(16, 30, 20, .35), 0 8px 18px -10px rgba(16, 30, 20, .18);
  --serif: "Gloock", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --wrap: min(1180px, calc(100% - 32px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E120F;
    --paper-2: #161C17;
    --ink: #ECE7DA;
    --ink-2: #A1A99E;
    --rule: rgba(236, 231, 218, .13);
    --green: #63C795;
    --green-soft: rgba(99, 199, 149, .12);
    --rosette: 99, 199, 149;
    --band: #11241A;
    --shadow: 0 30px 60px -28px rgba(0, 0, 0, .7), 0 8px 18px -10px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::before { mix-blend-mode: screen; opacity: .035; } }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--green); color: var(--paper); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.label {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: 500 15px/1.1 var(--sans);
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.pill-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-solid:hover { background: var(--green); border-color: var(--green); color: var(--paper); }
.pill-lg { padding: 15px 26px 16px; font-size: 16px; }

/* nav */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-seal { display: inline-flex; transition: transform .5s var(--ease); }
.brand-seal svg { width: 30px; height: 30px; }
.brand:hover .brand-seal { transform: translateY(-2px); }
.brand-word { font: 400 20px/1 var(--serif); letter-spacing: .005em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none; font: 500 14.5px/1 var(--sans); color: var(--ink-2);
  padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--green-soft); }
.nav-cta { padding: 10px 16px 11px; font-size: 14.5px; }

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 96px;
}
.rosette { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .rosette { -webkit-mask-image: linear-gradient(90deg, transparent 28%, #000 60%); mask-image: linear-gradient(90deg, transparent 28%, #000 60%); }
.hero-inner { position: relative; width: var(--wrap); margin: 0 auto; }
.now-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 8px 14px 8px 12px; border: 1px solid var(--rule); border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--paper) 80%, transparent); transition: border-color .25s, transform .25s var(--ease); }
.now-pill:hover { border-color: var(--green); transform: translateY(-1px); }
.now-pill .dot { width: 7px; height: 7px; }
.hero-title {
  font: 400 clamp(54px, 9.4vw, 138px)/.96 var(--serif);
  letter-spacing: -.012em;
  margin-bottom: 34px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word { display: inline-block; position: relative; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) .word { transition-delay: .12s; }
.hero-title .line:nth-child(3) .word { transition-delay: .24s; }
.loaded .hero-title .word { transform: none; }
.hero-title .accent { color: var(--green); font-style: normal; }
.squiggle { position: absolute; left: 0; right: 0; bottom: -.02em; width: 100%; height: .16em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--green); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loaded .squiggle path { animation: draw 1.4s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { max-width: 33em; font-size: clamp(17px, 1.55vw, 20px); color: var(--ink-2); margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ticker */
.ticker { border-block: 1px solid var(--rule); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-right: 44px; display: inline-flex; align-items: center; gap: 14px; }
.ticker span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* sections */
.section { width: var(--wrap); margin: 0 auto; padding: clamp(84px, 11vw, 150px) 0 0; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.section-head .label:first-child { color: var(--green); }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* now */
.now-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.now-title { font: 400 clamp(72px, 10vw, 148px)/.88 var(--serif); letter-spacing: -.02em; margin-bottom: 18px; }
.now-lead { font: 500 clamp(20px, 2vw, 25px)/1.3 var(--sans); margin-bottom: 18px; }
.now-copy > p:not(.now-lead) { color: var(--ink-2); margin-bottom: 14px; }
.facts { list-style: none; padding: 0; margin: 26px 0 30px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font: 400 13px/1.4 var(--mono); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(var(--rosette), .5); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(var(--rosette), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--rosette), 0); } }
.now-links, .row-links { display: flex; flex-wrap: wrap; gap: 10px; }
.now-shot { display: block; perspective: 1400px; }
.now-shot img {
  border-radius: 14px; box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(3deg) rotateZ(.6deg);
  transition: transform .9s var(--ease);
}
.now-shot:hover img { transform: none; }

/* ledger */
.ledger-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.ledger-head h2 { font: 400 clamp(38px, 5.2vw, 70px)/1 var(--serif); letter-spacing: -.01em; max-width: 12em; }
.ledger-head p { color: var(--ink-2); max-width: 24em; }
.rows { border-bottom: 1px solid var(--rule); }
.row { border-top: 1px solid var(--rule); }
.row summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px minmax(170px, 1.05fr) 2fr 190px 30px;
  align-items: center; gap: 18px;
  padding: 22px 0;
}
.row summary::-webkit-details-marker { display: none; }
.row-no { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; color: var(--ink-2); }
.row-name { font: 400 clamp(25px, 2.4vw, 32px)/1.05 var(--serif); transition: transform .4s var(--ease), color .3s; }
.row-line { color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.row-where { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-align: right; }
.row-mark { position: relative; width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 50%; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.row-mark::before, .row-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.row-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.row summary:hover .row-name { transform: translateX(8px); color: var(--green); }
.row summary:hover .row-mark { border-color: var(--ink); }
.row[open] .row-mark { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.row[open] .row-mark::before, .row[open] .row-mark::after { background: var(--paper); }
.row[open] .row-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.row[open] .row-name { color: var(--green); }
.row-body { overflow: hidden; }
.row-inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); padding: 6px 0 40px 82px; align-items: start; }
.row-shot img { border-radius: 12px; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.row-shot:hover img { transform: translateY(-4px); }
.row-copy p { font-size: 17px; margin-bottom: 18px; }
.row-copy .row-built { font-size: 15px; color: var(--ink-2); display: grid; gap: 6px; margin-bottom: 24px; }
.row-built span { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.peek {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 300px; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 10px; box-shadow: var(--shadow);
  pointer-events: none; opacity: 0;
  transform: translate3d(-200px, -200px, 0) scale(.88) rotate(-3deg);
  transition: opacity .25s var(--ease);
}
.peek.on { opacity: 1; }

/* how */
.how-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); }
.how-list li { border-top: 1px solid var(--rule); padding: 30px 0 40px; display: grid; grid-template-columns: 72px 1fr; column-gap: 12px; align-content: start; }
.how-no { grid-row: span 2; font: 400 64px/.9 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--green); }
.how-list h3 { font: 600 21px/1.25 var(--sans); margin-bottom: 10px; }
.how-list p { color: var(--ink-2); }

/* about */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-title { font: 400 clamp(44px, 6vw, 84px)/.98 var(--serif); letter-spacing: -.015em; }
.about-copy > p { color: var(--ink-2); margin-bottom: 14px; max-width: 36em; }
.about-facts { margin: 30px 0 0; }
.about-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule); }
.about-facts div:last-child { border-bottom: 1px solid var(--rule); }
.about-facts dt { font: 500 11px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.about-facts dd { margin: 0; }

/* footer */
.foot {
  position: relative; overflow: hidden;
  margin-top: clamp(96px, 12vw, 170px);
  background: var(--band); color: var(--band-ink);
  padding: clamp(80px, 10vw, 130px) max(16px, calc((100% - 1180px) / 2)) 28px;
}
.foot .rosette-foot { opacity: .8; }
.foot > *:not(canvas) { position: relative; }
.foot .label { color: var(--band-ink-2); }
.foot-title { font: 400 clamp(44px, 7vw, 104px)/.98 var(--serif); letter-spacing: -.015em; margin: 22px 0 34px; }
.foot-mail {
  display: inline-block; font: 500 clamp(20px, 2.8vw, 32px)/1.2 var(--sans); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 6px; transition: background-size .5s var(--ease), color .3s;
}
.foot-mail:hover { color: #9BE3BD; background-size: 0 1px; background-position: 100% 100%; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; margin: 76px 0 64px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols .label { margin-bottom: 6px; }
.foot-cols a { text-decoration: none; color: var(--band-ink); width: fit-content; transition: color .2s, transform .3s var(--ease); }
.foot-cols a:hover { color: #9BE3BD; transform: translateX(4px); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--band-rule); padding-top: 22px; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink-2); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .now-grid, .about-grid { grid-template-columns: 1fr; }
  .now-shot img { transform: none; }
  .how-list { grid-template-columns: 1fr; }
  .ledger-head { flex-direction: column; align-items: start; gap: 14px; }
  .row summary { grid-template-columns: 64px 1fr 30px; grid-template-areas: "no name mark" "no line mark" "no where mark"; row-gap: 6px; }
  .row-no { grid-area: no; align-self: start; padding-top: 8px; }
  .row-name { grid-area: name; }
  .row-line { grid-area: line; }
  .row-where { grid-area: where; text-align: left; }
  .row-mark { grid-area: mark; }
  .row-inner { grid-template-columns: 1fr; padding-left: 82px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 110px 0 84px; align-items: end; }
  .hero .rosette { -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 62%); mask-image: linear-gradient(180deg, #000 30%, transparent 62%); }
  .now-pill { margin-bottom: 22px; }
  .pill-lg { padding: 13px 20px 14px; font-size: 15px; }
  .row summary { grid-template-columns: 1fr 30px; grid-template-areas: "no mark" "name mark" "line line" "where where"; }
  .row-no { padding-top: 0; }
  .row-inner { padding-left: 0; }
  .how-list li { grid-template-columns: 52px 1fr; }
  .how-no { font-size: 48px; }
  .about-facts div { grid-template-columns: 1fr; gap: 4px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; }
  .nav { padding-left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .word { transform: none; }
  .squiggle path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
