/*
  landing.css — Slice A: semantic skeleton
  Tokens, achromatic base, and responsive composition for the vestibule
  landing page (index.html). Colour is applied only through the
  --event-h/--event-s/--event-l custom properties, which are declared here
  with calm neutral fallbacks but are not yet wired to any component — the
  guilloché renderer and Cape Town solar-time layer arrive in later slices.
  This sheet is independent of styles.css, which continues to serve the
  legacy Work/Thoughts/Past pages untouched.
*/

:root {
  /* surfaces + ink */
  --surface-void: #08090B;
  --surface-raised: #101114;
  --ink: #ECEAE6;
  --ink-soft: #B9B6AE;
  --ink-muted: #7D7A72;
  /* ink-muted itself clears AA (4.5:1+) against --surface-void (footer,
     wing-page__back) but only reaches ~4.40:1 against the lighter
     --surface-raised the wing tiles sit on — below the 4.5:1 AA floor for
     normal-size body text. This token is for that one surface only. */
  --ink-muted-on-raised: #8B8880;
  --ink-faint: #4A4842;
  --hairline: rgba(236, 234, 230, 0.12);
  --hairline-soft: rgba(236, 234, 230, 0.06);

  /* type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* colour event — set by JS in a later slice; neutral warm-ember fallback
     so the page never looks broken if JS runs partially. No-JS rendering
     never references these (see .field-placeholder, which is pure ink). */
  --event-h: 18;
  --event-s: 55%;
  --event-l: 48%;

  /* motion */
  --drift-duration: 380s;
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* hero wing texture intensities -- calm idle baseline for now (matches
     CALM_BASELINE in assets/js/hero-intensity.js). A later slice samples
     that pure function on a throttled rAF tick and writes live values here;
     this sheet only needs to know the resting default. */
  --ai-strength: 0.18;
  --maths-strength: 0.18;

  /* quiet header: the header floats over the field (position: fixed, see
     below) rather than pushing it down, so the field-stage genuinely gets
     the full 88-92% share of the viewport the spec asks for. Pages whose
     .intro is not preceded by a field-stage (maths/, ai/) compensate for
     the same amount via .intro--header-offset. */
  --header-height: 52px;
}

/* ---------------------------------------------------------------------- */
/* base                                                                    */
/* ---------------------------------------------------------------------- */

.vestibule {
  box-sizing: border-box;
}
.vestibule *,
.vestibule *::before,
.vestibule *::after {
  box-sizing: inherit;
}

.vestibule {
  background: var(--surface-void);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.vestibule a {
  color: inherit;
  text-decoration: none;
}

.vestibule ::selection {
  background: hsl(var(--event-h) var(--event-s) var(--event-l) / 0.28);
  color: var(--surface-void);
}

.vestibule :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.vestibule-wrap {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------------------------------------------------------------------- */
/* quiet header                                                            */
/* ---------------------------------------------------------------------- */

.quiet-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid var(--hairline-soft);
  background: color-mix(in srgb, var(--surface-void) 82%, transparent);
  backdrop-filter: blur(10px);
}

.quiet-header__inner {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------------------------------------------------------------------- */
/* field stage                                                             */
/* ---------------------------------------------------------------------- */

.field-stage {
  position: relative;
  width: 100%;
  height: 60svh;
  overflow: hidden;
  background: var(--surface-void);
  /* Three full-height sibling regions side by side on desktop. On mobile
     .field-column is not rendered at all (display: none, below) so the
     disc is the flex container's only item and naturally fills 100%. */
  display: flex;
  align-items: stretch;
}

@media (min-width: 641px) {
  .field-stage {
    /* Low end of the spec's locked 88-92% range: the quiet header now
       floats over the field (see .quiet-header) rather than consuming
       flow height, so this share is measured against the true viewport,
       and leaves enough room below for the h1 to clear the fold fully
       at ordinary laptop/desktop heights (locked-decision viewports
       1280x800 and 1440x900). */
    height: 88svh;
  }
}

/* ---------------------------------------------------------------------- */
/* hero disc + flanking columns                                           */
/* ---------------------------------------------------------------------- */

/* Mathematics (left) and AI Engineering (right). Real, full-height,
   full-width-of-their-share links -- the same element the pointer/keyboard
   intensity states (next slice) apply to, not a decorative overlay. Not
   rendered on mobile at all: Mathematics/AI Engineering stay reachable
   there via the plain stacked .intro-links list instead. */
.field-column {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-standard);
}

.field-column:hover,
.field-column:focus-visible {
  color: var(--ink);
}

@media (min-width: 641px) {
  .field-column {
    display: flex;
    flex: 1 1 0;
  }
}

.field-column__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.field-column__label {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/*
  Mathematics texture -- a quiet chalk-dust/blackboard-grain ground: a
  faint scattered grain (layered small radial-gradient specks at different
  scales/offsets so it doesn't tile visibly) plus two faint arc fragments
  suggesting erased, half-rubbed-out handwriting. Texture only -- no
  legible symbols. Achromatic (ink/hairline tokens only, same as the rest
  of the vestibule's non-colour surfaces) and static -- no animation.
*/
.field-column__texture--chalk {
  opacity: var(--maths-strength);
  background-image:
    radial-gradient(circle at 15% 22%, var(--ink-soft) 0, transparent 1.6px),
    radial-gradient(circle at 62% 12%, var(--ink-soft) 0, transparent 1.2px),
    radial-gradient(circle at 38% 68%, var(--ink-soft) 0, transparent 1.4px),
    radial-gradient(circle at 82% 54%, var(--ink-soft) 0, transparent 1.1px),
    radial-gradient(circle at 8% 84%, var(--ink-soft) 0, transparent 1.3px),
    radial-gradient(circle at 70% 88%, var(--ink-soft) 0, transparent 1.2px),
    radial-gradient(circle at 46% 40%, var(--ink-soft) 0, transparent 1px);
  background-size:
    210px 210px, 160px 160px, 240px 240px, 190px 190px, 260px 260px, 175px 175px, 130px 130px;
  background-position:
    0 0, 55px 25px, 95px 70px, 140px 15px, 15px 110px, 70px 140px, 100px 40px;
}

.field-column__texture--chalk::before,
.field-column__texture--chalk::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

/* Two rubbed-out arc fragments -- only one edge of each circle is drawn
   (the rest transparent), then rotated, so the result reads as a stray
   curved chalk stroke rather than a ring or a letterform. */
.field-column__texture--chalk::before {
  width: 180px;
  height: 70px;
  top: 24%;
  left: -35px;
  transform: rotate(-16deg);
  border-top-color: var(--hairline);
}

.field-column__texture--chalk::after {
  width: 130px;
  height: 130px;
  bottom: 14%;
  right: -30px;
  transform: rotate(24deg);
  border-bottom-color: var(--hairline);
  border-left-color: var(--hairline);
}

/*
  AI Engineering texture -- fine, precise, achromatic panel-seam linework:
  a diagonal seam and an orthogonal grid at a much finer pitch than the
  Mathematics chalk-grid, reading as brushed machined plates rather than
  graph paper. Achromatic and static, same as the chalk texture above.
*/
.field-column__texture--panel {
  opacity: var(--ai-strength);
  background-image:
    repeating-linear-gradient(135deg, var(--hairline) 0, var(--hairline) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(45deg, var(--hairline-soft) 0, var(--hairline-soft) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(var(--hairline-soft) 0, var(--hairline-soft) 1px, transparent 1px, transparent 96px),
    repeating-linear-gradient(90deg, var(--hairline-soft) 0, var(--hairline-soft) 1px, transparent 1px, transparent 72px);
}

/* The disc -- center region, clearly the largest single element (~56% of
   the hero's width on desktop). Full-height, real link to the instrument
   shell; the same element the pointer/keyboard intensity states (next
   slice) apply to. */
.field-disc {
  position: relative;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Gentle circular vignette only: the live canvas paints its own
     soft-fading disc rim (guilloche.js base-fill gradient reaches alpha 0
     at the disc radius), so this mask is a safety net that keeps the
     placeholder svg and any canvas overdraw dissolving into the void
     rather than stopping at the box edge. `closest-side` keeps it circular
     even though the disc's own box is taller than it is wide on desktop. */
  -webkit-mask-image: radial-gradient(circle closest-side at center, #000 0%, #000 66%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at center, #000 0%, #000 66%, transparent 100%);
}

@media (min-width: 641px) {
  .field-disc {
    flex: 0 1 56%;
  }
}

/* Instrument shell (instruments/guilloche/) — the watch as an object at
   arm's length: generous but not wall-filling, with the switchers visible
   at the fold so the page reads "watch, then controls, then study". */
.field-stage--full {
  height: 62svh;
}

@media (min-width: 641px) {
  .field-stage--full {
    height: 80svh;
  }
}

.field-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.field-placeholder svg {
  width: min(72vh, 92vw);
  height: min(72vh, 92vw);
  max-width: 100%;
}

/* Slice B: live canvas, mounted by assets/js/landing.js only after the
   guilloché controller has successfully initialised. It occupies the same
   box as .field-placeholder (inside .field-disc) and is purely decorative
   to assistive tech — .field-disc itself remains the section's only real
   control for that region. */
.field-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------------------------------------------------------------------- */
/* intro                                                                   */
/* ---------------------------------------------------------------------- */

.intro {
  border-top: 1px solid var(--hairline-soft);
  /* Small, height-aware top padding: at the fold this section only ever
     needs to clear enough room for a fully-visible h1 plus a deliberate
     sliver of the lede (see .intro h1 / .intro .lede below) — generous
     vh-scaled breathing room belongs below the fold, in the bottom
     padding, not above it. */
  padding: clamp(1rem, 2.3vh, 2rem) 0 clamp(2.5rem, 6vh, 4rem);
}

/* Compensates for the fixed .quiet-header on pages where .intro is the
   first section in <main> (maths/, ai/) and therefore has no preceding
   field-stage to sit beneath — index.html and the instrument shell never
   need this since their field-stage already starts at the true viewport
   top. */
.intro--header-offset {
  margin-top: calc(var(--header-height) + 1px);
}

.intro h1 {
  font-family: var(--serif);
  font-weight: 560;
  /* Bounded by both viewport width and height: on tall/narrow layouts the
     vw term governs, same large display size as before; on the short,
     wide laptop/desktop heights the fold is tuned for (1280x800,
     1440x900), the vh term takes over so the full headline still clears
     the viewport instead of being clipped by it. */
  font-size: clamp(2.4rem, min(6vw, 5.3vh), 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-optical-sizing: auto;
}

.intro .lede {
  margin: clamp(0.65rem, 1.3vh, 1.2rem) 0 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.62;
}

/* ---------------------------------------------------------------------- */
/* intro-links — mobile-only plain stacked list                           */
/* Hidden on desktop (>=641px), where Mathematics/AI Engineering are       */
/* already always-present real destinations inside the hero itself (see   */
/* .field-column above). On mobile the hero collapses to just the disc,   */
/* so these stay reachable as ordinary links, not styled as cards.        */
/* ---------------------------------------------------------------------- */

.intro-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: clamp(2rem, 5vh, 2.8rem);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.intro-links a {
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-standard);
}

.intro-links a:hover,
.intro-links a:focus-visible {
  color: var(--ink);
}

@media (min-width: 641px) {
  .intro-links {
    display: none;
  }
}

/* ---------------------------------------------------------------------- */
/* contact row                                                             */
/* ---------------------------------------------------------------------- */

.contact-row {
  margin-top: clamp(2.6rem, 6vh, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.contact-row a {
  position: relative;
  color: var(--ink-soft);
}

.contact-row a:hover,
.contact-row a:focus-visible {
  color: var(--ink);
}

/* ---------------------------------------------------------------------- */
/* wing shells — maths/index.html, ai/index.html, instrument intro copy    */
/* Minimal honest destination pages. They reuse .intro/.lede/.quiet-header/ */
/* .vestibule-footer above rather than a parallel visual system; these few */
/* rules only style the small amount of markup that is unique to a shell.  */
/* ---------------------------------------------------------------------- */

.wing-page__mark {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
}

.wing-page__node {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--event-h) var(--event-s) var(--event-l));
  box-shadow: 0 0 9px 1px hsl(var(--event-h) var(--event-s) var(--event-l) / 0.4);
}

.wing-page__links,
.wing-page__back {
  margin: 1.8rem 0 0;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.wing-page__back {
  margin-top: 0.9rem;
  font-size: 0.84rem;
}

.wing-page__links a,
.wing-page__back a {
  color: var(--ink-soft);
}

.wing-page__links a:hover,
.wing-page__links a:focus-visible,
.wing-page__back a:hover,
.wing-page__back a:focus-visible {
  color: var(--ink);
}

.wing-page__back a {
  color: var(--ink-muted);
}

@media (min-width: 641px) {
  .wing-page__back--right {
    text-align: right;
  }
}

/* ---------------------------------------------------------------------- */
/* footer                                                                  */
/* ---------------------------------------------------------------------- */

.vestibule-footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 1.8rem 0 2.6rem;
}

.vestibule-footer .vestibule-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  /* ink-faint fails AA contrast on surface-void for real body copy;
     reserve ink-faint for decorative/aria-hidden strokes only. */
  color: var(--ink-muted);
}

.vestibule-footer a {
  color: var(--ink-muted);
}

.vestibule-footer a:hover,
.vestibule-footer a:focus-visible {
  color: var(--ink);
}

/* ---------------------------------------------------------------------- */
/* guilloché study page (instruments/guilloche/)                           */
/* ---------------------------------------------------------------------- */

/* Pattern switcher: filled with real <button>s by landing.js once a live
   controller exists; the container stays hidden/empty without JS. */
.study-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.8rem;
  padding: 0.9rem 1.5rem 0;
}

/* `display: flex` above would silently defeat the hidden attribute (its
   UA display: none loses the cascade), leaving an invisible padded box on
   the no-JS page — keep the attribute authoritative. */
.study-switcher[hidden] {
  display: none;
}

/* Second switcher row (bare plate / cased watch): quieter than the
   pattern row it sits under. */
.study-switcher--furniture {
  padding-top: 0.15rem;
}

.study-switcher--furniture .pattern-switch {
  font-size: 0.66rem;
  color: var(--ink-faint);
}

.study-switcher--furniture .pattern-switch:hover {
  color: var(--ink-muted);
}

.study-switcher--furniture .pattern-switch[aria-pressed='true'] {
  color: var(--ink-soft);
  border-bottom-color: var(--ink-muted);
}

.pattern-switch {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0.35rem 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s var(--ease-standard);
}

.pattern-switch:hover {
  color: var(--ink-soft);
}

.pattern-switch[aria-pressed='true'] {
  color: var(--ink);
  border-bottom-color: var(--ink-soft);
}

/* Study sections: same quiet voice as the intro, tighter measures. */
.study .study-section {
  margin-top: 3.2rem;
}

.study h2 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.study .study-section > p {
  max-width: 62ch;
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.study-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  margin-top: 1.8rem;
}

@media (min-width: 761px) {
  .study-figures {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.study-figure {
  margin: 0;
}

.study-figure img {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--hairline-soft);
}

.study-figure figcaption {
  max-width: 20rem;
  margin-top: 0.9rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.study-figure figcaption strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

.study-source {
  font-family: var(--mono);
  font-size: 0.78rem;
}

.study-source a {
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease-standard);
}

.study-source a:hover,
.study-source a:focus-visible {
  color: var(--ink);
}

/* ---------------------------------------------------------------------- */
/* reduced motion — no animation exists yet in Slice A, but the override   */
/* is declared now so later slices inherit a working contract.            */
/* ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .vestibule * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------- */
/* wing pages — shared editorial components                               */
/* ---------------------------------------------------------------------- */

.wing-intro {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.wing-section {
  margin-top: 3.6rem;
}

.wing-section h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.6vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wing-section__note {
  max-width: 62ch;
  margin: 0 0 1.4rem;
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.wing-entry {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--hairline-soft);
}

.wing-entry:last-child {
  border-bottom: 1px solid var(--hairline-soft);
}

.wing-entry__meta {
  padding-top: 0.12rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--ink-muted);
}

.wing-entry__body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: var(--ink);
}

.wing-entry__body p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.wing-entry__body p + p {
  margin-top: 0.55rem;
}

.wing-entry__body strong {
  color: var(--ink);
  font-weight: 500;
}

.wing-entry__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.75rem;
}

.wing-entry__links a {
  padding-bottom: 1px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline);
}

.wing-entry__links a:hover,
.wing-entry__links a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink-soft);
}

/* three capability themes */

.wing-themes {
  display: grid;
  gap: 2rem;
  margin-top: 1.8rem;
}

@media (min-width: 761px) {
  .wing-themes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

.wing-theme__num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: hsl(var(--event-h) var(--event-s) var(--event-l));
}

.wing-theme h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}

.wing-theme p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* timeline */

.wing-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2.2rem;
  border-top: 1px solid var(--hairline);
}

.wing-timeline__item {
  position: relative;
  padding: 1.4rem 0.9rem 0 0;
}

.wing-timeline__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--event-h) var(--event-s) var(--event-l));
}

.wing-timeline__year {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.wing-timeline__place {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink);
}

/* principles */

.wing-principles {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

@media (min-width: 761px) {
  .wing-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

.wing-principles p {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline-soft);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* compact conference list */

.wing-conferences {
  margin-top: 0.4rem;
  border-top: 1px solid var(--hairline-soft);
}

.wing-conferences p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.wing-conferences span {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.wing-contact {
  margin-top: 1.4rem;
}

@media (max-width: 640px) {
  .wing-section {
    margin-top: 2.8rem;
  }

  .wing-entry {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 1.25rem 0;
  }

  .wing-entry__meta {
    padding-top: 0;
  }

  .wing-timeline {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 1px solid var(--hairline-soft);
    margin-left: 3px;
    padding-left: 1.25rem;
  }

  .wing-timeline__item {
    padding: 0 0 1.15rem;
  }

  .wing-timeline__item::before {
    top: 0.35rem;
    left: -1.6rem;
  }

  .wing-conferences p {
    flex-direction: column;
    gap: 0.15rem;
  }
}
