/* EIDORIA Press landing page — "Mist" design, chosen 2026-09-28 */
:root {
  --ink: #1E1D1F;
  --name-grey: #3B3A3F;
  --paper: #F4F4F2;
  --white: #FFFFFF;
  --mist: #E7E6EB;
  --orange: #ED8A3A;
  --orange-text: #C26719; /* large orange words only (24px and up); 3.2:1 even on the mist band */
  --orange-small: #9C5312; /* orange text below 24px: labels and link hovers; 4.6:1 even on the mist band */
  --orange-part: #B87136;
  --muted: #6D6B70;
  --menu: #5E5C63;
  --hairline: #B9BAB7;
  --satellite: #A09EA7;
  --serif: "Newsreader", Georgia, serif;
  /* Optima LT Pro, the logotype face, is served by Adobe Fonts as "optima-lt-pro" (see index.html) */
  --optima: "optima-lt-pro", "Optima LT Pro", "Optima", "Optima nova", "Candara", "Segoe UI", sans-serif;
  --pad-x: clamp(20px, 6.67vw, 96px);
  --p: 1; /* intro pace: raise to slow the whole intro down, lower to speed it up */
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; transition: color .25s, border-color .25s; }
a:hover, a:focus-visible { color: var(--orange-small); }
h1, h2, p { margin: 0; }
button { font: inherit; }
.nowrap { white-space: nowrap; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--pad-x); box-sizing: border-box; }

.label {
  font-family: var(--optima);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-small);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 17px;
}
.pill:hover, .pill:focus-visible { border-color: var(--orange-small); }

/* ---------- 1. Intro ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 62% at 50% 42%, #FBFBFA 0%, #F1F0F2 52%, #E6E5EA 100%);
}
.intro { position: absolute; inset: 0; }

/* The art is drawn on a 1440 × 900 stage; main.js scales and centres it to fit the screen */
.stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1440px;
  height: 900px;
  margin-left: -720px;
  transform-origin: 720px 0;
}
.orbits { position: absolute; inset: 0; }
.ring {
  position: absolute;
  left: 720px;
  top: 380px;
  width: var(--d);
  height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  border: 1px solid rgba(30, 29, 31, var(--o));
  border-radius: 50%;
  box-sizing: border-box;
}
/* the orbit line stays still; only this carrier (with its satellites) turns */
.carrier { position: absolute; inset: -.5px; border-radius: 50%; }
.sat {
  position: absolute;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2);
  border-radius: 50%;
  background: var(--satellite);
}
.symbol { position: absolute; left: 586px; top: 184px; width: 285px; height: 400px; }
.symbol svg { width: 100%; height: 100%; overflow: visible; }

.lockup {
  position: absolute;
  left: 0;
  top: 632px;
  width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--optima);
  font-weight: 400;
  color: var(--name-grey);
}
.lockup .word { font-size: 58px; line-height: 1; letter-spacing: .14em; margin-right: -.14em; }
/* PRESS: 54% of EIDORIA's size, tracking 1190, no tracking after the final S */
.lockup .press { margin-top: 44px; font-size: 31px; line-height: 1; letter-spacing: 1.19em; margin-right: -1.19em; }

.menu {
  position: absolute;
  top: 34px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 40px;
  font-family: var(--optima);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.menu a { color: var(--menu); padding: 14px 0; }
.menu a:hover, .menu a:focus-visible { color: var(--orange-small); }

.scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--optima);
  font-size: 11px;
  letter-spacing: .24em;
  color: #8A8890;
  pointer-events: none;
}
.scroll span:first-child { margin-right: -.24em; }
.scroll-line { width: 1px; height: 28px; background: #C9C8CD; }

.replay {
  position: absolute;
  right: 48px;
  bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(30, 29, 31, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--menu);
  font-size: 14px;
  cursor: pointer;
}
.replay:hover, .replay:focus-visible { color: var(--ink); border-color: var(--ink); }

.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .06;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Intro timing (seconds × --p) */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinR { to { transform: rotate(-360deg); } }
@keyframes draw {
  0% { stroke-dasharray: 1 1; stroke-dashoffset: 1; stroke: #D8D7DC; opacity: 0; }
  6% { opacity: 1; }
  100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; stroke: #231F20; opacity: 1; }
}
@keyframes sweep {
  0% { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
}
@keyframes eyeIn {
  0% { opacity: 0; transform: scale(0); }
  65% { opacity: 1; transform: scale(1.14); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes halo {
  0% { opacity: 0; transform: scale(.4); }
  18% { opacity: .6; }
  100% { opacity: 0; transform: scale(3.4); }
}
@keyframes wordIn {
  0% { opacity: 0; letter-spacing: .6em; margin-right: -.6em; filter: blur(8px); }
  100% { opacity: 1; letter-spacing: .14em; margin-right: -.14em; filter: blur(0); }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.orbits { animation: fadeIn calc(3.2s * var(--p)) ease calc(.3s * var(--p)) both; }
.r1 { animation: spin 90s linear infinite; }
.r2 { animation: spinR 130s linear infinite; }
.r3 { animation: spin 170s linear infinite; }
.r4 { animation: spinR 240s linear infinite; }
/* 1. the clean circle: the perfect idea, the eidos */
.thin { animation: draw calc(4.2s * var(--p)) cubic-bezier(.45, 0, .35, 1) calc(1.8s * var(--p)) backwards; }
/* 2. the brush circle: our search for it */
.brush-draw { animation: sweep calc(5.2s * var(--p)) cubic-bezier(.55, .05, .35, 1) calc(6.4s * var(--p)) backwards; }
/* 3. the orange eye: "I have seen" */
.eye { transform-box: fill-box; transform-origin: center; animation: eyeIn calc(1.6s * var(--p)) ease-out calc(12s * var(--p)) both; }
.halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: halo calc(3.2s * var(--p)) ease-out calc(12.4s * var(--p)) both; }
.lockup .word { animation: wordIn calc(5s * var(--p)) cubic-bezier(.2, .6, .2, 1) calc(14s * var(--p)) both; }
.lockup .press { animation: rise calc(4s * var(--p)) ease calc(18.8s * var(--p)) both; }
.after { animation: fadeIn calc(2.4s * var(--p)) ease calc(22.2s * var(--p)) both; }

/* ---------- 2. The press ---------- */
.press-sec .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-content: space-between;
  min-height: 620px;
  padding-block: 120px 110px;
}
.press-sec .label { grid-column: 1 / -1; }
.press-sec h2 {
  grid-column: 1 / span 8;
  font-weight: 300;
  font-size: clamp(46px, 6.1vw, 88px);
  line-height: .98;
  letter-spacing: -.03em;
}
.press-sec h2 em, .book h2 em { font-weight: 400; color: var(--orange-text); }
/* The aside's first line lines up with the top of the headline's lowercase "a" (x-height ≈ .206 × headline size) */
.press-aside {
  grid-column: 9 / span 4;
  align-self: start;
  margin-top: calc(.206 * clamp(46px, 6.1vw, 88px) - 6px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.press-aside p { font-size: 23px; line-height: 1.45; }
.press-aside em { font-size: 26px; }

/* ---------- 3. The name ---------- */
.name { background: var(--white); }
.name .wrap { display: flex; gap: 96px; align-items: flex-start; padding-block: 110px; }
.name-story { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.name h2 { font-weight: 300; font-size: clamp(40px, 4vw, 58px); line-height: 1.04; letter-spacing: -.02em; }
.name-story p { font-size: 21px; line-height: 1.6; }

.name-art {
  position: relative;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 12px;
  container-type: inline-size;
}
/* Words from long ago (Ancient Greek, Latin, Sanskrit) above the EIDORIA row.
   Columns: form · idea / look · "I know" / "I see" · realm. The form and realm columns rest darker:
   they are the words behind eidos and -oria in the list below. */
.letters { display: flex; flex-direction: column; gap: 8px; }
.words {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 4px;
  text-align: center;
  line-height: 52px;
  color: #C4C3CA;
}
.words span:nth-child(4n+1), .words span:nth-child(4n) { color: #7E7D84; }
.w-greek { font-family: "GFS Didot", "Noto Serif", Georgia, serif; font-size: 29px; }
.w-latin { font-size: 27px; font-weight: 300; font-style: italic; }
.w-skt { font-family: "Noto Serif Devanagari", serif; font-size: 25px; font-weight: 300; }
.keyrow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; line-height: 52px; }
.letters .key { font-family: var(--optima); font-size: 44px; color: var(--ink); }

/* The words start where the alphabet's first column starts; the meanings line up with its fourth column */
.parts { display: flex; flex-direction: column; }
.part {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0 16px calc(100cqw / 14 - 12px);
  border-bottom: 1px solid transparent;
}
/* the dividers are drawn lines (not borders) so they can draw themselves in */
.part:not(.part-sum)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: #E4E3E7;
  transform-origin: left center;
}
.part-last::after { background: var(--ink); }
.part-sum { padding-top: 20px; padding-bottom: 10px; padding-left: calc(50cqw - 16px); border-bottom: 0; }
.part-word {
  flex: 0 0 calc(50cqw - 16px - (100cqw / 14 - 12px) - 20px);
  font-size: 40px;
  line-height: 1.1;
  font-style: italic;
  font-weight: 300;
  color: var(--orange-part);
}
/* EIDORIA is shown once, in ink, in the row above; in the list it is kept only for screen readers */
.part-sum .part-word {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.part-meaning { font-size: 21px; color: var(--muted); }
.part-sum .part-meaning { color: var(--ink); }
.say { padding-left: calc(50cqw - 16px); font-size: 18px; color: var(--muted); }
.say em { color: var(--ink); }

/* ---------- 4. What we make ---------- */
.make {
  background: var(--mist);
  padding: 96px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}
.make .label { margin: 0 -.16em -20px 0; }
.make-line {
  max-width: 980px;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.make-line em { font-weight: 400; }
.steps { position: relative; width: min(700px, 100%); display: flex; align-items: center; gap: 20px; }
.step { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mark { width: 110px; height: 110px; border-radius: 50%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.mark-see { background: #D3D2D8; }
.mark-know { border: 1.5px solid var(--ink); }
.mark-keep { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); }
/* a single halo when the Keep dot lands, like the eye in the intro */
.mark-keep::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--orange);
  opacity: 0;
}
.step-word { font-size: 40px; line-height: 1.2; font-style: italic; }
.step-see { color: #8E8D94; }
.step-keep { color: var(--orange-text); }
.link { flex-grow: 1; height: 1px; margin-bottom: 66px; background: rgba(30, 29, 31, .2); }

/* ---------- Section animations (main.js) ----------
   The name: the old words fade in; the "form" words darken as eidos appears, the "realm" words as -oria
   appears; then the EIDORIA row appears letter by letter and the list closes with "the realm of forms".
   What we make: See appears, an outline leaves it and becomes Know, a copy of Know becomes the Keep dot.
   Content is hidden only while it waits to play, and only when the visitor allows motion (.anim). */
.ring-copy {
  position: absolute;
  border: 1.5px solid #D3D2D8;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}
.anim .name:not(.played) .part-word,
.anim .name:not(.played) .part-meaning,
.anim .name:not(.played) .say,
.anim .name:not(.played) .words span,
.anim .name:not(.played) .letters .key { opacity: 0; }
.anim .name:not(.played) .part::after { transform: scaleX(0); }
.anim .make:not(.played) .mark-see,
.anim .make:not(.played) .mark-know,
.anim .make:not(.played) .mark-keep,
.anim .make:not(.played) .step-word { opacity: 0; }
.anim .make:not(.played) .link { transform: scaleX(0); }
.make .link { transform-origin: left center; }

/* ---------- 5. Our first book ---------- */
.book .wrap { display: grid; grid-template-columns: clamp(180px, 28vw, 340px) minmax(0, 1fr); gap: 48px clamp(32px, 5.5vw, 80px); align-items: center; padding-block: 112px; }
.book-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
/* a real book cover is the one thing on the site allowed a soft shadow (decision 2026-09-29) */
.book-cover img { display: block; width: 100%; height: auto; box-shadow: 0 22px 44px -22px rgba(30, 29, 31, .45); }
.book cite { font-style: italic; }
.book .book-facts { font-size: 18px; color: var(--muted); }
.book h2 { font-weight: 300; font-size: clamp(44px, 5.3vw, 76px); line-height: 1; letter-spacing: -.03em; }
.book p { font-size: 22px; line-height: 1.55; text-wrap: balance; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.email { font-size: 20px; font-style: italic; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid #E1E0E4; }
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 38px;
  font-size: 15px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover, footer a:focus-visible { color: var(--orange-small); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .name .wrap { flex-direction: column; gap: 56px; }
  .name-story { width: auto; max-width: 560px; }
}
@media (max-width: 900px) {
  .press-sec .wrap { min-height: 0; padding-block: 88px; }
  .press-sec h2, .press-aside { grid-column: 1 / -1; }
  .press-aside { margin-top: 0; }
}
@media (max-width: 600px) {
  .menu { gap: 0 20px; font-size: 11px; letter-spacing: .12em; }
  .replay { right: 16px; bottom: 20px; }
  .name .wrap { padding-block: 80px; }
  .name-story p, .press-aside p { font-size: 19px; }
  .words, .keyrow { line-height: 40px; }
  .w-greek { font-size: 21px; }
  .w-latin { font-size: 19px; }
  .w-skt { font-size: 18px; }
  .letters .key { font-size: 30px; }
  .part-sum { padding-left: calc(100cqw / 14 - 12px); }
  .part { flex-direction: column; gap: 4px; }
  .part-word { flex: none; font-size: 32px; }
  .part-meaning { font-size: 18px; }
  .say { padding-left: calc(100cqw / 14 - 12px); padding-top: 4px; }
  .make { padding-block: 80px; gap: 40px; }
  .step { width: 84px; gap: 12px; }
  .mark { width: 72px; height: 72px; }
  .mark-keep { width: 24px; height: 24px; }
  .step-word { font-size: 28px; }
  .link { margin-bottom: 46px; }
  .steps { gap: 10px; }
  /* phones only: too narrow for cover and text side by side, so the text goes under the cover */
  .book .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 80px; }
  .book-cover { width: min(240px, 70%); }
  .book p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbits, .r1, .r2, .r3, .r4, .thin, .brush-draw, .eye, .halo,
  .lockup .word, .lockup .press, .after { animation: none; }
}
