/* PeanutProject.world — first design proposal (Nov 2026)
   One stylesheet. No framework. Tokens first. */

:root {
  --paper: #F3EEE5;
  --paper-2: #E9E2D5;
  --paper-3: #DDD4C4;
  --ink: #231F20;
  --ink-soft: #5D554F;
  --ink-faint: #8C837B;
  --line: rgba(35, 31, 32, .14);
  --vermilion: #DB3A2A;   /* official Peanut red (from the vector master) */
  --night: #1D1B1A;
  --night-2: #2A2725;
  --on-night: #F3EEE5;
  --on-night-soft: #B9B0A6;

  --font: "Avenir Next", "Avenir", "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --w-light: 300;
  --w-reg: 400;
  --w-med: 500;
  --w-demi: 600;

  --track: .14em;
  --track-wide: .28em;

  --wrap: 76rem;
  --text: 38rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(5rem, 12vw, 10rem);
  --header-h: 4.25rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--w-reg);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--vermilion); }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--w-reg); line-height: 1.15; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.text { max-width: var(--text); }
.center { text-align: center; margin-inline: auto; }

/* ——— Type roles ——— */
.eyebrow {
  font-size: .75rem; font-weight: var(--w-demi); letter-spacing: var(--track-wide);
  text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow .num { color: var(--vermilion); margin-right: .9em; }
.h-section {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem); letter-spacing: var(--track);
  text-transform: uppercase; font-weight: var(--w-reg);
}
.h-sub { font-size: .95rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: var(--w-demi); }
.lead { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.45; font-weight: var(--w-light); }
.statement {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.3; font-weight: var(--w-light);
  letter-spacing: -.005em;
}
.question { font-style: italic; font-weight: var(--w-light); font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.caps { text-transform: uppercase; letter-spacing: var(--track); }
.inf { color: var(--vermilion); font-weight: var(--w-light); padding-inline: .15em; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; line-height: 1.55; }
.red { color: var(--vermilion); }

/* ——— Header ——— */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: rgba(243, 238, 229, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { height: 1.9rem; width: auto; }
.brand span { font-size: .78rem; letter-spacing: .12em; font-weight: var(--w-demi); text-transform: uppercase; }
.brand span b { font-weight: var(--w-light); text-transform: none; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav a { font-size: .74rem; letter-spacing: .16em; font-weight: var(--w-demi); text-transform: uppercase; text-decoration: none; padding-block: .4rem; position: relative; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--vermilion); }
.lang { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; letter-spacing: .14em; font-weight: var(--w-demi); }
.lang button { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: .3rem .1rem; color: var(--ink-faint); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang span { color: var(--ink-faint); }
.menu-btn { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; font: inherit; font-size: .72rem; letter-spacing: .16em; font-weight: var(--w-demi); text-transform: uppercase; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 1.5rem var(--gutter) 2.5rem; gap: 1.5rem; box-shadow: 0 1px 0 var(--line);
    transform: translateY(-.5rem); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 1.1rem; }
  .nav a { font-size: .95rem; }
  .brand span { display: none; }
}

/* ——— Sections ——— */
.section { padding-block: var(--space); position: relative; }
.section--tight { padding-block: calc(var(--space) * .6); }
.section--paper2 { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .eyebrow, .section--night .muted { color: var(--on-night-soft); }
.section--night a:hover { color: #FF6A4D; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.2rem; display: block; }

/* ——— HERO: SEED [YOU] ——— */
.hero {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; position: relative; overflow: hidden;
  /* one soft light: the Bacalar sunrise, not decoration */
  background: radial-gradient(ellipse 70% 55% at 50% 42%, #F8E6D4 0%, rgba(243, 238, 229, 0) 70%), var(--paper);
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-seed { width: min(56vw, 300px); height: clamp(13rem, 36vh, 22rem); position: relative; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.hero-seed svg { width: 100%; height: 100%; overflow: visible; }
.hero h1 { font-size: clamp(3.1rem, 11vw, 8.5rem); font-weight: var(--w-light); letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.hero h1 .br { font-weight: 200; color: var(--ink-faint); }
.hero .you-are { margin-top: 1.4rem; font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: var(--w-reg); letter-spacing: .02em; }
.hero .invite { margin-top: .5rem; font-size: clamp(.92rem, 1.6vw, 1.05rem); color: var(--ink-soft); letter-spacing: .03em; }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); width: 1px; height: 3rem; background: linear-gradient(var(--ink-faint), transparent); }

/* rings — the seed's resonance; the same mark becomes the Wave */
.rings use { fill: none; stroke: var(--vermilion); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; }
.rings .seed-solid { fill: var(--vermilion); stroke: none; opacity: 1; }
.motion .rings use.ring { animation: emanate 10s var(--ease) infinite; }
.motion .rings use.ring:nth-of-type(2) { animation-delay: 2.5s; }
.motion .rings use.ring:nth-of-type(3) { animation-delay: 5s; }
.motion .rings use.ring:nth-of-type(4) { animation-delay: 7.5s; }
@keyframes emanate {
  0% { transform: scale(1); opacity: 0; }
  10% { opacity: .55; }
  100% { transform: scale(2.7); opacity: 0; }
}
/* fixed rings: cards, and the hero when motion is off */
.rings.fixed use.ring, html:not(.motion) .rings use.ring { opacity: .45; }
.rings.fixed use.ring:nth-of-type(2), html:not(.motion) .rings use.ring:nth-of-type(2) { transform: scale(1.45); opacity: .32; }
.rings.fixed use.ring:nth-of-type(3), html:not(.motion) .rings use.ring:nth-of-type(3) { transform: scale(2); opacity: .2; }
.rings.fixed use.ring:nth-of-type(4), html:not(.motion) .rings use.ring:nth-of-type(4) { transform: scale(2.65); opacity: .1; }
.motion .rings.fixed use.ring { animation: none; }
html:not(.motion) .hero .rings use.ring { opacity: .3; }
html:not(.motion) .hero .rings use.ring:nth-of-type(n+3) { opacity: .12; }
html:not(.motion) .hero .rings use.ring:nth-of-type(4) { display: none; }
.nw { white-space: nowrap; }
.more[href^="http"]::after { content: "↗"; }

/* ——— Asset placeholders: always visibly marked ——— */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(-45deg, var(--paper-2) 0 12px, #E4DCCD 12px 13px);
  border: 1px dashed rgba(35, 31, 32, .35); color: var(--ink-soft); padding: 1.5rem; min-height: 12rem;
}
.ph-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: var(--w-demi); max-width: 24rem; line-height: 1.6; }
.ph-label strong { display: block; color: var(--vermilion); margin-bottom: .4rem; }
.section--night .ph { background: repeating-linear-gradient(-45deg, var(--night-2) 0 12px, #34302D 12px 13px); border-color: rgba(243, 238, 229, .3); color: var(--on-night-soft); }
.asset-tag {
  position: absolute; z-index: 2; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: var(--w-demi);
  border: 1px dashed rgba(35, 31, 32, .35); padding: .35rem .6rem; color: var(--ink-soft); background: rgba(243, 238, 229, .7);
}
.hero .asset-tag { right: var(--gutter); bottom: 1.4rem; }

/* ——— Three concepts ——— */
.cycle-intro { margin-bottom: clamp(3rem, 7vw, 5rem); }
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.concept { text-decoration: none; display: flex; flex-direction: column; gap: 1.3rem; }
.concept:hover { color: inherit; }
.concept-img { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--paper-2); }
.concept-img > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.concept-img img { object-fit: contain; transition: transform 1.2s var(--ease); }
.concept:hover .concept-img img, .concept:hover .concept-img svg { transform: scale(1.03); }
.concept-img svg { transition: transform 1.2s var(--ease); }
.concept-img--night { background: var(--night); }
.concept-body .eyebrow { display: block; margin-bottom: .55rem; }
.concept h3 { font-size: 1.35rem; letter-spacing: var(--track); text-transform: uppercase; margin-bottom: .3rem; }
.concept .sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: var(--w-demi); margin-bottom: 1rem; }
.concept p { margin-bottom: .5rem; }
.more { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: var(--w-demi); display: inline-flex; gap: .6rem; align-items: center; margin-top: .4rem; text-decoration: none; }
.more::after { content: "→"; transition: transform .3s var(--ease); letter-spacing: 0; }
a.more:hover::after, .concept:hover .more::after { transform: translateX(4px); }
.concept:hover .more { color: var(--vermilion); }

.concept-img > .womb-composite, .page-visual > .womb-composite { position: absolute; inset: auto; left: 7%; top: 50%; width: 86%; height: auto; transform: translateY(-50%); aspect-ratio: 616 / 512; }
.womb-composite img.womb { position: static; width: 100%; height: auto; }
.womb-composite .seed-at { position: absolute; width: 6%; left: 51.9%; top: 25.2%; height: auto; }

.cycle { margin-top: clamp(4rem, 9vw, 7rem); text-align: center; }
.cycle svg { width: min(100%, 44rem); margin: 0 auto 1.6rem; overflow: visible; }
.cycle .loop { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .35; vector-effect: non-scaling-stroke; }
.cycle .node { fill: var(--paper); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cycle .traveller { fill: var(--vermilion); }
.cycle text { font-family: var(--font); font-size: 13px; letter-spacing: .2em; font-weight: 600; fill: var(--ink); }
.cycle .traveller.moving { display: none; }
.motion .cycle .traveller.moving { display: inline; offset-path: var(--loop); animation: travel 14s linear infinite; }
.motion .cycle .traveller.still { display: none; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.cycle-line { font-size: clamp(1rem, 2.4vw, 1.35rem); letter-spacing: .22em; font-weight: var(--w-reg); }

/* ——— Connect · Align · Manifest ——— */
.cam { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: 1rem; }
.cam-item svg { height: 9rem; width: 100%; margin-bottom: 1.6rem; overflow: visible; }
.cam-item h3 { font-size: 1.15rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .8rem; font-weight: var(--w-med); }
.cam-item p { color: var(--ink-soft); font-size: 1rem; }
.cam-dots { color: var(--vermilion); }
.cam svg .s { fill: var(--ink); }
.cam svg .s.r { fill: var(--vermilion); }
.cam svg .ln { stroke: var(--ink); stroke-width: 1; opacity: .3; vector-effect: non-scaling-stroke; }
.cam svg .rg { fill: none; stroke: var(--vermilion); stroke-width: 1; vector-effect: non-scaling-stroke; }
.align-s { transform-box: fill-box; transform-origin: center; transition: transform 1.6s var(--ease); }
.motion .cam:not(.in) .align-s { transform: rotate(var(--a)); }
.cam-note { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: var(--ink-soft); }
.cam-note p { margin: 0; }

/* ——— Shared vision ——— */
.vision-q { font-size: clamp(2rem, 5.4vw, 4rem); font-weight: var(--w-light); line-height: 1.12; letter-spacing: -.01em; max-width: 18ch; margin: 0 auto 3rem; text-align: center; }
.aspirations { list-style: none; padding: 0; margin: 2.5rem auto 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 0; max-width: 46rem; }
.aspirations li { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: var(--w-light); }
.aspirations li:not(:last-child)::after { content: "·"; color: var(--vermilion); padding-inline: .7em; }
.quote { margin: 3.5rem auto 0; max-width: 34rem; text-align: center; }
.quote p { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; font-weight: var(--w-light); margin: 0; }
.quote::before { content: ""; display: block; width: 12px; height: 28px; margin: 0 auto 1.6rem; background: var(--vermilion); border-radius: 6px; }

/* ——— Agenda teaser ——— */
.agenda-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.big-year { font-size: clamp(5rem, 16vw, 12rem); font-weight: 200; line-height: .85; letter-spacing: -.02em; }
.big-year small { display: block; font-size: .78rem; letter-spacing: var(--track-wide); font-weight: var(--w-demi); text-transform: uppercase; margin-bottom: 1.4rem; color: var(--ink-soft); }
.principle-names { list-style: none; padding: 0; margin: 2rem 0 2.4rem; columns: 2; column-gap: 2rem; }
.principle-names li { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: var(--w-demi); padding: .35rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.principle-names li span { color: var(--vermilion); display: inline-block; width: 2.2em; font-weight: var(--w-reg); }
.un-note { font-size: .8rem; color: var(--ink-soft); margin-top: 1.6rem; max-width: 30rem; }

/* ——— ART NODO teaser ——— */
.nodo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.nodo-img { aspect-ratio: 1; overflow: hidden; background: var(--night-2); }
.nodo-img img { width: 100%; height: 100%; object-fit: cover; }
.relation { display: flex; align-items: center; gap: .9rem; font-size: clamp(.8rem, 1.6vw, .95rem); letter-spacing: .2em; font-weight: var(--w-demi); text-transform: uppercase; margin: 2.2rem 0; flex-wrap: wrap; }
.relation img { height: 1.5rem; width: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 1.6rem; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font: inherit; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--w-demi);
  padding: 1.05rem 1.7rem; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid { background: var(--vermilion); border-color: var(--vermilion); color: #fff; }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.section--night .btn:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn .ext { letter-spacing: 0; }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: transparent; color: inherit; border-color: currentColor; }

/* ——— The Peanut in the World ——— */
.world-head { text-align: center; margin-bottom: 3rem; }
.world-head .tagline { font-style: italic; font-weight: var(--w-light); font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-top: .8rem; color: var(--ink-soft); }
.world-copy { max-width: 34rem; margin: 0 auto; text-align: center; }
.world-copy p { margin-bottom: .55em; }
.world-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 2.8rem 0 0; }

.receive { margin: 3rem auto 0; max-width: 56rem; display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 4vw, 3rem); background: var(--paper); padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--line); }
.receive[hidden] { display: none; }
.receive-preview { aspect-ratio: 3 / 4; background: #fff; display: grid; place-items: center; border: 1px solid var(--line); position: relative; }
.receive-preview svg { height: 62%; width: auto; }
.receive h3 { font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--w-demi); margin-bottom: .8rem; }
.formats { list-style: none; margin: 1.4rem 0; padding: 0; border-top: 1px solid var(--line); }
.formats li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; align-items: center; }
.formats li span:last-child { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: var(--w-demi); }
.pending.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%,100% { background: transparent; } 30% { background: rgba(234,57,24,.1); } }
.pending { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); border-left: 2px solid var(--vermilion); padding-left: .9rem; }

.share { margin-top: clamp(4rem, 9vw, 6rem); display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.share ol { padding-left: 1.2rem; margin: 1rem 0 1.4rem; }
.share li { margin-bottom: .5rem; }
.handle { font-weight: var(--w-demi); }
.feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.feed-tile { aspect-ratio: 4 / 5; }
.feed-tile.ph { min-height: 0; padding: .8rem; }
.feed-tile .ph-label { font-size: .58rem; letter-spacing: .14em; }
.feed-tile a { display: block; width: 100%; height: 100%; }
.feed-tile img { width: 100%; height: 100%; object-fit: cover; }
.feed-fallback { grid-column: 1 / -1; padding: 2.5rem 1.5rem; text-align: center; border: 1px solid var(--line); }
.feed-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .8rem; color: var(--ink-soft); flex-wrap: wrap; }

/* ——— Inner pages ——— */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: var(--w-light); letter-spacing: .06em; text-transform: uppercase; margin: 1rem 0 .7rem; line-height: 1; }
.page-hero .sub { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--w-demi); color: var(--ink-soft); }
.page-hero .lead { margin-top: 2rem; }
.page-visual { aspect-ratio: 1; position: relative; background: var(--paper-2); overflow: hidden; }
.page-visual > img, .page-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.page-visual--night { background: var(--night); }
.page-visual .asset-tag { left: 1rem; bottom: 1rem; }

.prose { max-width: var(--text); }
.prose h2 { font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--w-demi); margin: 0 0 1.4rem; }
.prose h2 .num { color: var(--vermilion); margin-right: .8em; font-weight: var(--w-reg); }
.block { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }
.block-grid { display: grid; grid-template-columns: 14rem 1fr; gap: clamp(1.5rem, 5vw, 5rem); }
.block-grid > .prose { max-width: var(--text); }
.pull { padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.pull p { margin: 0 auto; max-width: 30ch; }

.list-flow { list-style: none; padding: 0; margin: 1.6rem 0; }
.list-flow li { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; display: flex; gap: 1rem; align-items: baseline; }
.list-flow li::before { content: ""; width: 6px; height: 13px; border-radius: 3px; background: var(--vermilion); flex: none; transform: translateY(1px); }

.propagation { list-style: none; padding: 0; margin: 2rem 0; }
.propagation li { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: var(--w-light); padding: .5rem 0; }
.propagation li:nth-child(2) { padding-left: 8%; }
.propagation li:nth-child(3) { padding-left: 16%; }
.propagation li:nth-child(4) { padding-left: 24%; }

.essence { text-align: center; }
.essence p { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: var(--w-light); line-height: 1.5; margin: 0; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.gallery .ph { min-height: 15rem; }
.gallery .tall { grid-row: span 2; min-height: 31rem; }

.next {
  display: block; text-decoration: none; padding-block: clamp(4rem, 10vw, 7rem); border-top: 1px solid var(--line); text-align: center;
}
.next:hover { color: inherit; }
.next .eyebrow { display: block; margin-bottom: 1.4rem; }
.next .bridge { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: var(--w-light); max-width: 32ch; margin: 0 auto 1.6rem; }
.next .to { font-size: clamp(2rem, 6vw, 4rem); font-weight: var(--w-light); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .8em; }
.next .to::after { content: "→"; font-size: .5em; color: var(--vermilion); transition: transform .4s var(--ease); letter-spacing: 0; }
.next:hover .to::after { transform: translateX(8px); }

/* Agenda page */
.translation-note { font-size: .78rem; color: var(--ink-soft); border: 1px dashed rgba(35, 31, 32, .35); padding: .8rem 1rem; margin-top: 2rem; max-width: 38rem; }
.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 2rem; }
.principle { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle summary { list-style: none; cursor: pointer; padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; min-height: 8.5rem; position: relative; }
.principle summary::-webkit-details-marker { display: none; }
.principle summary .n { font-size: .8rem; color: var(--vermilion); letter-spacing: .1em; }
.principle summary .t { font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; font-weight: var(--w-demi); }
.principle summary::after { content: "+"; position: absolute; right: 1.2rem; top: 1.2rem; font-weight: var(--w-light); font-size: 1.3rem; line-height: 1; color: var(--ink-faint); transition: transform .3s var(--ease); }
.principle[open] summary::after { transform: rotate(45deg); color: var(--vermilion); }
.principle summary:hover { background: rgba(255, 255, 255, .35); }
.principle .d { padding: 0 1.4rem 1.6rem; margin: -.4rem 0 0; color: var(--ink-soft); font-size: .98rem; }
.principle--last { background: var(--paper-2); }
.tools { display: flex; gap: 1.5rem; margin-top: 1.2rem; }
.textbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: var(--w-demi); color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }
.textbtn:hover { color: var(--vermilion); }
.qs p { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: var(--w-light); font-style: italic; margin-bottom: .4em; }

/* ART NODO page */
.nodes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nodes li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 1.2rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: var(--w-demi); display: flex; flex-direction: column; gap: .9rem; min-height: 7.5rem; }
.nodes li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vermilion); }
.nodes li small { font-size: .68rem; letter-spacing: .1em; text-transform: none; font-weight: var(--w-reg); color: var(--ink-soft); margin-top: auto; }
.nodes li.here { background: var(--ink); color: var(--paper); }
.nodes li.here small { color: var(--on-night-soft); }
.reciprocal { text-align: center; }
.reciprocal .line { font-size: clamp(.85rem, 2.2vw, 1.3rem); letter-spacing: .22em; font-weight: var(--w-reg); text-transform: uppercase; }
.reciprocal img { width: min(70%, 22rem); margin: 2.5rem auto; }
.reciprocal .motion-inf { transform-origin: center; }

/* Usage page */
.pending-block { border: 1px dashed rgba(35, 31, 32, .35); padding: 1.6rem; margin-bottom: 1.6rem; }

/* ——— Footer ——— */
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(4rem, 9vw, 6rem) 0 2.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #FF6A4D; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(243, 238, 229, .14); }
.foot-brand { display: flex; gap: 1rem; align-items: flex-start; }
.foot-brand svg { height: 2.6rem; width: auto; flex: none; }
.foot-name { font-size: 1.15rem; letter-spacing: .04em; margin-bottom: .6rem; }
.foot-tag { color: var(--on-night-soft); font-size: .95rem; max-width: 24rem; }
.foot-rel { margin-top: 1.4rem; font-size: .74rem; letter-spacing: .2em; font-weight: var(--w-demi); }
.foot-col h2 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-night-soft); font-weight: var(--w-demi); margin-bottom: 1.1rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .88rem; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .76rem; color: var(--on-night-soft); }
.foot-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer .lang button { color: var(--on-night-soft); }
.site-footer .lang button[aria-pressed="true"] { color: var(--on-night); }

/* ——— Language notice ——— */
.lang-notice { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); font-size: .82rem; padding: .85rem 1.1rem; max-width: min(92vw, 34rem); display: flex; gap: 1rem; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.lang-notice[hidden] { display: none; }
.lang-notice button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: .2rem; }

/* ——— Reveal (only when JS + motion are on) ——— */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal.d1 { transition-delay: .12s; }
.motion .reveal.d2 { transition-delay: .24s; }

/* ——— SPA (artifact preview) ——— */
[data-page][hidden] { display: none !important; }

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .concepts { grid-template-columns: 1fr; gap: 3.5rem; }
  .concept { display: grid; grid-template-columns: 40% 1fr; gap: 1.4rem; align-items: center; }
  .concept-img { aspect-ratio: 4 / 5; }
  .cam { grid-template-columns: 1fr; gap: 3rem; }
  .cam-item { display: grid; grid-template-columns: 7rem 1fr; gap: 1.4rem; align-items: start; }
  .cam-item svg { height: 7rem; margin: 0; }
  .cam-note { grid-template-columns: 1fr; }
  .agenda-grid, .nodo-grid, .page-hero-grid, .share { grid-template-columns: 1fr; }
  .page-visual { max-width: 30rem; }
  .block-grid { grid-template-columns: 1fr; gap: 1rem; }
  .receive { grid-template-columns: 1fr; }
  .receive-preview { max-width: 12rem; }
  .feed { grid-template-columns: repeat(3, 1fr); }
  .nodes { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .tall { grid-column: 1 / -1; grid-row: auto; min-height: 18rem; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .feed-tile:nth-child(n+5) { display: none; }
  .cycle-line { letter-spacing: .12em; font-size: .95rem; }
  .hero-seed { height: clamp(11rem, 30vh, 16rem); }
  .concept { grid-template-columns: 1fr; }
  .concept-img { aspect-ratio: 5 / 4; }
  .feed { grid-template-columns: repeat(2, 1fr); }
  .principle-names { columns: 1; }
  .propagation li:nth-child(n) { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ——— v2: SEED [YOU] photographic hero ——— */
.hero--photo { background: #2B2421; color: #fff; place-items: end center; padding-bottom: clamp(3.5rem, 10vh, 6.5rem); }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 58%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 16, 13, .72) 0%, rgba(22, 16, 13, .25) 38%, rgba(22, 16, 13, 0) 60%); }
.sun { opacity: 0; }
.sun-0 { opacity: 1; }
.motion .sun-1, .motion .sun-2, .motion .sun-3 { animation: sunfade 32s ease-in-out infinite backwards; }
.motion .sun-1 { animation-delay: 6.4s; }
.motion .sun-2 { animation-delay: 14.4s; }
.motion .sun-3 { animation-delay: 22.4s; }
@keyframes sunfade { 0% { opacity: 0; } 5% { opacity: 1; } 27% { opacity: 1; } 32% { opacity: 0; } 100% { opacity: 0; } }
.hero--photo h1 { color: #fff; font-weight: 200; }
.hero--photo h1 .br { color: rgba(255, 255, 255, .55); }
.hero--photo .invite { color: rgba(255, 255, 255, .82); }
.hero--photo .scroll-cue { background: linear-gradient(rgba(255, 255, 255, .7), transparent); bottom: 1.2rem; height: 2.2rem; }
body:not(.inner) .site-header:not(.is-solid) { color: #fff; }
body:not(.inner) .site-header:not(.is-solid) .lang button { color: rgba(255, 255, 255, .6); }
body:not(.inner) .site-header:not(.is-solid) .lang button[aria-pressed="true"] { color: #fff; }
body:not(.inner) .site-header:not(.is-solid) .nav a:hover { color: #fff; opacity: .75; }
.nav.is-open { color: var(--ink); }
.nav.is-open .lang button { color: var(--ink-faint) !important; }
.nav.is-open .lang button[aria-pressed="true"] { color: var(--ink) !important; }

/* photos inside galleries */
.photo { margin: 0; position: relative; overflow: hidden; min-height: 15rem; background: var(--night); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--paper { background: #fff; }
.gallery .photo.tall { grid-row: span 2; min-height: 31rem; }

/* the original pyramid */
.pyramid { margin: 0; background: #000; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); text-align: center; }
.pyramid img { width: min(100%, 34rem); margin: 0 auto; }
.pyramid figcaption, .wide-fig figcaption { margin-top: 1.6rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: var(--w-demi); color: #B9B0A6; }
.wide-fig { margin: 0; }
.wide-fig img { width: 100%; height: auto; }
.wide-fig figcaption { color: var(--ink-soft); }
.nodo-logo { margin: 1.2rem 0 1rem; }
.nodo-logo img { width: min(100%, 22rem); height: auto; margin-left: -.6rem; }
@media (max-width: 900px) { .gallery .photo.tall { grid-column: 1 / -1; grid-row: auto; min-height: 18rem; } }
.hero--photo { padding-bottom: clamp(2.2rem, 5.5vh, 4rem); }
.hero--photo h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
.hero--photo .you-are { margin-top: 1rem; }
.hero--photo .scroll-cue { display: none; }
.nodo-img, .page-visual--map { aspect-ratio: 1600 / 970; }
.page-visual--map > img { object-fit: cover; }
.photo .stand-in { left: .6rem; bottom: .6rem; font-size: .55rem; background: rgba(243, 238, 229, .88); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pair .photo { aspect-ratio: 3 / 4; min-height: 0; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

/* ——— v4: Master Copy V2 ——— */
.opening .lead { margin-bottom: .4em; }
.opening .vision-q { font-size: clamp(1.6rem, 4vw, 2.8rem); max-width: 22ch; }
.concept h3 { margin-bottom: .35rem; }
.foot-invite { padding: 2rem 0 0; color: var(--on-night-soft); font-style: italic; font-weight: var(--w-light); }
.foot-bottom { font-size: .72rem; }

/* six invitations row on the homepage */
.inv-row { list-style: none; padding: 0; margin: 3rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.8rem, 3vw, 2.6rem); }
.inv-row a { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-decoration: none; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: var(--w-demi); padding: .6rem; }
.inv-row svg { height: 3.4rem; width: auto; overflow: visible; }
.inv-row use { fill: transparent; stroke: var(--ink); stroke-width: 2.5px; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.inv-row a:hover use, .inv-row a:focus-visible use { fill: var(--vermilion); stroke: var(--vermilion); }

/* download panel */
.receive { display: block; max-width: 68rem; }
.receive-intro { max-width: 38rem; margin: 0 auto 2.6rem; text-align: center; color: var(--ink-soft); }
.two-ways { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); }
.way h3 { font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--w-demi); margin-bottom: 1rem; }
.way-verbs { font-size: 1.15rem; font-weight: var(--w-light); line-height: 1.5; }
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.design-prev { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: .9rem; }
.design-prev img { height: 70%; width: auto; }
.design-prev.ph-mini { background: repeating-linear-gradient(-45deg, var(--paper-2) 0 12px, #E4DCCD 12px 13px); border-style: dashed; padding: .8rem; text-align: center; }
.design-prev.ph-mini .ph-label { font-size: .58rem; }
.design h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: var(--w-demi); margin: 0 0 .3rem; }
.design .small { margin-bottom: .6rem; }
.fmts { display: flex; gap: .9rem; margin: 0; }
.receive-foot { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.share { margin-top: clamp(4rem, 8vw, 6rem); }

/* Object · Concept · Frequency */
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.4rem; }
.dim svg { height: 10rem; width: 100%; margin-bottom: 1.4rem; overflow: visible; }
.dim h3 { font-size: 1rem; letter-spacing: .24em; text-transform: uppercase; font-weight: var(--w-med); margin-bottom: .8rem; }
.dim p { color: var(--ink-soft); font-size: .98rem; }
.qualities { text-align: center; font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: var(--w-light); line-height: 1.45; max-width: 30ch; margin: 0 auto; }

/* ——— PLAY THE PEANUT: the orbit ——— */
@property --turn { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.play-stage { padding-top: 0; }
.orbit-wrap { container-type: inline-size; width: min(100%, 36rem); margin: 0 auto; }
.orbit { position: relative; aspect-ratio: 1; --turn: 0deg; transition: --turn 1.4s var(--ease); }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-ring circle { fill: none; stroke: var(--ink); stroke-width: .18; stroke-dasharray: .6 1.4; opacity: .55; }
.motion .orbit-ring { animation: slowturn 120s linear infinite; }
@keyframes slowturn { to { transform: rotate(360deg); } }
.orbit-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44%; text-align: center; }
.orbit-center p { font-size: clamp(1rem, 4.2cqw, 1.5rem); font-weight: var(--w-light); font-style: italic; line-height: 1.3; margin: 0 0 .9rem; }
.orb { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none;
  transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--turn))) translateX(40cqw) rotate(calc(-1 * (var(--a) + var(--turn)))); }
.orb svg { height: clamp(2.2rem, 11cqw, 3.8rem); width: auto; overflow: visible; }
.orb use { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5px; transition: fill .5s var(--ease), stroke .5s var(--ease); }
.orb span { font-size: clamp(.58rem, 2.3cqw, .78rem); letter-spacing: .22em; text-transform: uppercase; font-weight: var(--w-demi); background: var(--paper); padding: 0 .3em; }
.orb:hover use { fill: var(--ink); }
.orb[aria-selected="true"] use { fill: var(--vermilion); stroke: var(--vermilion); }
.orb[aria-selected="true"] span { color: var(--vermilion); }
.invs { margin-top: clamp(2.5rem, 6vw, 4rem); }
.inv { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.inv:focus { outline: none; }
.inv-img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.inv-img img { width: 100%; height: 100%; object-fit: cover; }
.inv h3 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: var(--w-light); letter-spacing: .1em; text-transform: uppercase; margin: .6rem 0 .8rem; }
.inv-q { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: var(--w-light); font-style: italic; margin-bottom: 1.4rem; }
.inv-poss { color: var(--ink-soft); }
.inv-poss span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--w-demi); color: var(--ink); margin-bottom: .3rem; }
.inv-trans { margin-top: 1.6rem; padding-left: 1.2rem; border-left: 2px solid var(--vermilion); font-weight: var(--w-light); }
.js-play .inv { border-top: 0; padding-top: 0; }
.js-play .inv[hidden] { display: none; }
.motion .js-play .inv:not([hidden]) { animation: rise .8s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .two-ways { grid-template-columns: 1fr; }
  .dims { grid-template-columns: 1fr; }
  .dim { display: grid; grid-template-columns: 6rem 1fr; gap: 1.2rem; align-items: start; }
  .dim svg { height: 7rem; margin: 0; grid-row: span 2; }
  .inv { grid-template-columns: 1fr; }
  .inv-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .designs { grid-template-columns: 1fr 1fr; }
}
.designs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.design-prev img { height: 66%; width: auto; max-width: 70%; object-fit: contain; }
@media (max-width: 560px) { .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section--paper2 .concept-img:not(.concept-img--night) { background: var(--paper); }
.inv-row use, .orb use { vector-effect: non-scaling-stroke; stroke-width: 1.6px; }
.dim svg { overflow: hidden; }
.dim .rings use.ring:nth-of-type(n+3) { display: none; }
