/* /1ax6 (24 Oct 2026, from explorations/2026-10-24-1ax6-fresh/site-5.html), in 1ax6's own system: Noto Serif Display
   for statements, Inter for explanation, labels and controls; red, near-black and soft white only; red text only at
   32px and above; small text never sits on red (text on the red card and panel is at least 24px, WCAG's large text).
   Type and spacing are fluid: each role runs from its phone size to its large-screen size, and landscape phones and
   short screens are sized by height as well. Motion lives behind .axis-js, which 1ax6.js adds; without it, or with
   reduced motion, the same page stands still. */
.axis-root { background: var(--venture-paper); color-scheme: light; }
.axis-page {
  --paper: var(--venture-paper);
  --red: var(--venture-red);
  --serif: "Noto Serif Display", Georgia, serif;
  --m: 24px;
  --head: clamp(64px, 3vw + 52px, 76px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --fs-hero: clamp(34px, 3.4vw + 16px, 80px);
  --fs-display: clamp(32px, 3vw + 14px, 72px);
  --fs-sub: clamp(20px, .8vw + 14px, 28px);
  --fs-body: clamp(16px, .25vw + 14.5px, 19px);
  --fs-monument: clamp(44px, 7vw + 8px, 144px);
  --space: clamp(88px, 8vw + 40px, 176px);
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  font-size: var(--fs-body);
  line-height: 1.6;
}
@media (min-width: 768px) { .axis-page { --m: 32px; } }
@media (min-width: 1280px) { .axis-page { --m: 5vw; } }
/* Landscape phones and short screens: sized by height as well, not given the desktop proportions. */
@media (orientation: landscape) and (max-height: 560px) {
  .axis-page { --head: 64px; --fs-hero: clamp(28px, 6svh + 8px, 44px); --fs-display: clamp(28px, 6svh + 6px, 44px); --fs-monument: clamp(40px, 11svh + 4px, 72px); --space: 72px; }
}
.axis-root { scroll-padding-top: 76px; }
.axis-page ::selection { background: var(--red); color: var(--paper); }
/* Focus rings sit outside their control, on soft white (near-black ring) or on the dark header (soft white ring). */
.axis-page :focus-visible { outline-color: var(--ink); }
.axis-page .skip-link { z-index: 40; background: var(--ink); color: var(--paper); }
.axis-page h2, .axis-page h3, .axis-page ol { margin: 0; }
.axis-page ol { padding: 0; list-style: none; }
.axis-page main:focus { outline: none; }
.axis-page h1 { animation: none; }
.axis-wrap { width: min(1296px, 100% - 2 * var(--m)); margin-inline: auto; }
.axis-note { width: min(1296px, 100% - 2 * var(--m)); margin-inline: auto; }

/* ---------- Type roles ---------- */
.axis-hero-title, .axis-display, .axis-sub, .axis-monument, .axis-card-name, .axis-card-word, .axis-card-n, .axis-stage-num, .axis-pov-lead { font-family: var(--serif); font-weight: 400; }
.axis-hero-title { font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -.02em; }
.axis-display { font-size: var(--fs-display); line-height: 1.07; letter-spacing: -.015em; }
.axis-sub { font-size: var(--fs-sub); line-height: 1.3; }
.axis-body { font-size: var(--fs-body); line-height: 1.6; max-width: 34em; }
.axis-monument { font-size: var(--fs-monument); line-height: .98; letter-spacing: -.03em; }
.axis-page h1, .axis-display, .axis-monument { text-wrap: balance; }
/* Label: Inter 500, tracked capitals. */
.axis-kicker { display: flex; gap: 12px; align-items: baseline; margin: 0 0 24px; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 1024px) { .axis-kicker { font-size: 13px; line-height: 20px; } }

/* ---------- Header ---------- */
/* Solid by default; with JS it is clear over the hero, and the wordmark appears in it only once the hero's wordmark has
   settled there. Over the red and black sections it turns near-black. */
.axis-head { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--head); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--ink); transition: background-color .4s, color .4s, border-color .4s; }
.axis-js .axis-head:not(.is-solid) { background: transparent; border-bottom-color: transparent; }
.axis-head .axis-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.axis-logo { position: relative; display: block; width: calc(var(--head) * 1.3); height: calc(var(--head) * 1.3 * 640 / 1200); min-height: 44px; }
.axis-logo img { position: absolute; inset: 0; width: 100%; height: auto; margin: auto; transition: opacity .3s; }
.axis-logo-ink { opacity: 0; }
.axis-js .axis-head:not(.is-docked) .axis-logo img { opacity: 0 !important; }
.axis-js .axis-head:not(.is-docked) .axis-logo { visibility: hidden; transition: visibility 0s .3s; }   /* and out of the Tab order until it docks */
.axis-head-right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
/* The header's Notify is the hero's button arrived, at the same size and shortened to "Notify me". The hero's rides up
   with the page until its right edge meets the header's (1ax6.js), and the two crossfade, so the label shortens in place.
   With JS the header's shows only once that one has docked, and steps aside while the closing Notify is on screen, so
   the page never shows two at once. */
.axis-js .axis-head:not(.has-notify) .axis-head-notify, .axis-js .axis-head.notify-away .axis-head-notify { opacity: 0; visibility: hidden; }
.axis-js .axis-hero .notify-button { position: relative; z-index: 30; }   /* above the header as it arrives */
.axis-js .axis-head.has-notify ~ main .axis-hero .notify-button { opacity: 0; visibility: hidden; }
.axis-head.is-ink { background: var(--ink); color: var(--paper); border-bottom-color: var(--paper); }
.axis-head.is-ink .notify-button { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.axis-head.is-ink .notify-button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.axis-head.is-ink :focus-visible { outline-color: var(--paper); }
.axis-head.is-ink .axis-logo-paper { opacity: 0; }
.axis-head.is-ink .axis-logo-ink { opacity: 1; }

/* ---------- Hero ---------- */
/* The signature, then the proposition. The wordmark is sized by width and by height, so a short laptop or a phone on
   its side still shows the proposition and the call to action. */
.axis-hero { min-height: 94svh; display: grid; place-content: center; justify-items: center; gap: clamp(18px, 2vw, 32px); padding: calc(var(--head) + 24px) var(--m) 48px; text-align: center; }
.axis-hero-mark { position: relative; z-index: 30; width: min(84vw, 44svh * 1.875, 960px); height: auto; transform-origin: 0 0; pointer-events: none; }   /* never takes a click on its way to the header */
.axis-hero-title { max-width: 14em; }
.axis-hero-note { max-width: 40ch; text-wrap: balance; }
.axis-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 4px; }

/* ---------- Sections ---------- */
.axis-section { padding-block: var(--space); }
.axis-intro { display: grid; gap: 24px; margin-bottom: clamp(40px, 4vw, 80px); }
@media (min-width: 900px) { .axis-intro { grid-template-columns: 7fr 4fr; align-items: end; gap: 64px; } }

/* ---------- The four perspectives ---------- */
/* One card per perspective, each in one of the logo board's four expressions. Every card is a size container, so its
   type scales with the card itself. The four are always the same size: any height a card does not need opens between
   its number and its name. */
.axis-cards { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; }
.axis-card { container-type: inline-size; position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 28px; padding: clamp(20px, 2.2vw, 32px); }
.axis-card > * { min-width: 0; margin: 0; }
.axis-card--1, .axis-card--2 { background: var(--paper); border: 1px solid var(--ink); }
.axis-card--3 { background: var(--red); color: var(--paper); }
.axis-card--4 { background: var(--ink); color: var(--paper); }
.axis-card-n { font-size: 24px; line-height: 1; }
.axis-card-name { font-size: clamp(24px, 4.4cqi, 30px); line-height: 1.2; margin-bottom: .15em; }
/* Each word is sized to its own card's width (about 82% of it; the short "reality." is held at 21% of the width so it
   does not tower), so short words carry as much weight as long ones. Measured natural widths: ambition. 4.14em,
   reality. 2.92em, perspective. 5.05em, around them. 5.85em. */
.axis-card-word { font-style: italic; letter-spacing: -.03em; line-height: .95; font-size: max(32px, var(--fit)); white-space: nowrap; }   /* never under 32px: its full stop is red */
.axis-card--1 { --fit: 19.8cqi; } .axis-card--2 { --fit: 21cqi; } .axis-card--3 { --fit: 16.2cqi; } .axis-card--4 { --fit: 14cqi; }
.axis-card--3 .axis-card-n, .axis-card--3 .axis-card-name { color: var(--ink); }
.axis-card--2 .axis-card-word, .axis-stop { color: var(--red); }
/* A phone: a rail of equal cards you swipe, each as tall as the tallest. */
.axis-swipe { display: none; }
@media (max-width: 699px) {
  .axis-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); scroll-padding-inline: var(--m); scrollbar-width: none; }
  .axis-cards::-webkit-scrollbar { display: none; }
  .axis-card { flex: 0 0 84%; scroll-snap-align: start; }
  .axis-swipe { display: flex; justify-content: space-between; margin: 20px 0 0; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: .12em; text-transform: uppercase; }
}
/* Wide screens: from 1280px, where every word fits a quarter of the row, all four stand in a row. */
@media (min-width: 1280px) {
  .axis-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ---------- The point of view ---------- */
.axis-pov-panel { background: var(--red); color: var(--paper); padding-block: calc(var(--space) * 1.15); }
.axis-pov-lead { max-width: 24em; margin: 0 0 28px; font-size: max(24px, var(--fs-sub)); line-height: 1.3; }
.axis-pov-panel .axis-monument { max-width: 11em; }

/* ---------- How it works ---------- */
.axis-stages { display: grid; gap: 40px; }
.axis-stages li { display: grid; gap: 12px; align-content: start; }
.axis-stage-num { font-size: calc(var(--fs-display) * 1.15); line-height: 1; color: var(--red); }
.axis-stage-rule { height: 1px; background: var(--ink); transform-origin: left; }
.axis-stages .axis-body { margin: 0; }
@media (min-width: 760px) { .axis-stages { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); } }

/* ---------- Character: the three lines together, as one statement ---------- */
.axis-character { background: var(--ink); color: var(--paper); }
.axis-character-rows { border-top: 1px solid var(--paper); }
.axis-character-rows p { margin: 0; padding-block: clamp(20px, 2.4vw, 40px); border-bottom: 1px solid var(--paper); }
.axis-character em { color: var(--red); }
/* From a tablet up each line stays on one line; the longest sets the size for all three. */
@media (min-width: 700px) { .axis-character .axis-monument { font-size: min(var(--fs-monument), (min(1296px, 100vw - 2 * var(--m))) / 12.8); white-space: nowrap; } }

/* ---------- Closing and footer ---------- */
.axis-closing .axis-wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .axis-closing .axis-wrap { grid-template-columns: 7fr 4fr; align-items: end; gap: 64px; } }
.axis-closing-side { display: grid; gap: 24px; justify-items: start; }
.axis-closing-side .axis-body { margin: 0; }
.axis-footer { padding-block: 32px; border-top: 1px solid var(--ink); }
.axis-footer .axis-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.axis-footer-mark { width: 84px; height: auto; }
.axis-house { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; line-height: 24px; }
.axis-house svg { flex: none; width: 28px; height: 28px; }
.axis-house:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Motion (with JS, and only without reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* The hero arrives once on load: the wordmark, then the proposition, then the line and the actions. */
  /* backwards, not both: once finished the animation lets go, so the scroll can move the wordmark. */
  .axis-hero-mark { animation: axis-rise 1.1s var(--ease) backwards; }
  .axis-hero-title { animation: axis-rise 1.1s var(--ease) .25s backwards; }
  .axis-hero-note, .axis-actions { animation: axis-rise 1s var(--ease) .5s backwards; }
  @keyframes axis-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  /* Lines of type rise from behind their own baseline, one line after another. */
  .axis-js .axis-lines .axis-m { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .08em .16em 0; margin: 0 -.08em -.16em 0; }
  .axis-js .axis-lines .axis-w { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--l, 0) * 90ms + var(--d, 0ms)); }
  .axis-js .axis-lines.is-in .axis-w { transform: none; }
  .axis-js .axis-fade { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s; }
  .axis-js .axis-fade.is-in { opacity: 1; transform: none; }
  /* The Notify handover is a short crossfade; the one leaving lets go of clicks only once it has faded. */
  .axis-js .axis-head-notify, .axis-js .axis-hero .notify-button { transition: background 180ms ease-out, color 180ms ease-out, opacity .25s var(--ease), visibility 0s; }
  .axis-js .axis-head:not(.has-notify) .axis-head-notify, .axis-js .axis-head.notify-away .axis-head-notify,
  .axis-js .axis-head.has-notify ~ main .axis-hero .notify-button { transition: background 180ms ease-out, color 180ms ease-out, opacity .25s var(--ease), visibility 0s .25s; }
  /* Cards rise in one after another. */
  .axis-js .axis-card { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) calc(var(--i) * 110ms), transform .9s var(--ease) calc(var(--i) * 110ms); }
  .axis-js .axis-cards.is-in .axis-card { opacity: 1; transform: none; }
  .axis-js .axis-stage-rule { transform: scaleX(0); transition: transform 1.2s var(--ease); }
  .axis-js .axis-stages.is-in .axis-stage-rule { transform: none; }
  .axis-js .axis-stages.is-in li:nth-child(2) .axis-stage-rule { transition-delay: .15s; }
  .axis-js .axis-stages.is-in li:nth-child(3) .axis-stage-rule { transition-delay: .3s; }
}
