/* ==========================================================================
   One Culture Foundation - homepage
   Neutral modernism for the institution; two distinct atmospheres for its
   worlds, held on one grid, one label voice and one CTA construction.
   ========================================================================== */

:root, :host {   /* :host when the page runs inside the Wix custom element */
  /* OCF - almost monochrome */
  --ivory: #F3F0E8;
  --ink: #0B0B0B;
  --ink-2: #5E5A52;            /* 6:1 on ivory */
  --rule: rgba(11, 11, 11, .14);
  --black: #000;

  /* World Culture Salon - stone, sand, bronze, warm light */
  --wcs-stone: #E8DFCF;
  --wcs-umber: #2A2119;
  --wcs-text: #4A3F33;         /* 7.7:1 on stone */
  --wcs-bronze: #6E5232;       /* 5.4:1 on stone */

  /* Human Futures Lab - black, silver, cool white */
  --hfl-black: #050505;
  --hfl-white: #EEF1F4;
  --hfl-text: #A3A7AD;         /* 8:1 on black */
  --hfl-label: #8C9096;        /* 6:1 on black */

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --serif-wcs: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --sans-hfl: "Space Grotesk", "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1680px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .26 0 0 0 0 .19 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, .ocf-root {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* when embedded in Wix the page lives in a shadow root under <ocf-home> */
:host { display: block; }
.ocf-root { position: relative; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; font-weight: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }   /* jump targets (#main, #worlds) are not controls */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.br-wide { display: none; }
@media (min-width: 600px) { .br-wide { display: inline; } }

/* the small institutional voice, shared by every layer of the page */
.site-nav a,
.menu-toggle,
.skip-link,
.hero__eyebrow,
.hero__descriptor,
.hero__explore,
.portal__label,
.portal__cta,
.door__index,
.door__cta,
.site-footer__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

.arrow { display: inline-block; transition: transform .6s var(--ease); }

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
}
.site-header__mark { position: relative; z-index: 30; flex: none; }
.site-header__mark img { width: 40px; height: 40px; }

.site-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.site-nav a { position: relative; display: inline-block; padding: 10px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav__donate { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--rule); }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 30;
  margin: -12px -12px -12px 0;
  padding: 16px 12px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 899px) {
  /* without the menu script (no JS, or main.js failed): the nav simply wraps
     under the mark, in the flow, so it can never sit on top of the hero */
  :is(html, .ocf-root):not(.js) .site-header { position: relative; flex-wrap: wrap; align-items: flex-start; }
  :is(html, .ocf-root):not(.js) .site-nav ul { flex-wrap: wrap; gap: 0 20px; }
  :is(html, .ocf-root):not(.js) .site-nav__donate { padding-left: 0; border: 0; }
  :is(html, .ocf-root):not(.js) .hero { padding-top: 32px; }

  /* with JS: a quiet word that opens a full-height index, in the same small-caps voice */
  .js .menu-toggle { display: inline-block; }
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 96px var(--gutter) 32px;
    background: var(--ivory);
    visibility: hidden;
    opacity: 0;
    transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .js.menu-open .site-nav { visibility: visible; opacity: 1; transition: opacity .35s ease; }
  /* embedded in Wix, an ancestor may be transformed, which breaks position:fixed;
     the overlay then hangs from the top of the page, and opening scrolls there */
  .embedded.js .site-nav { position: absolute; top: 0; bottom: auto; height: 100vh; height: 100svh; }
  .framed.js .site-nav { height: 640px; }
  .js.menu-open body { overflow: hidden; }
  .js .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 0;
    margin-block: auto;             /* centred when it fits, top-aligned when it does not */
    margin-inline: -8px;
    padding: 8px;                   /* room for focus outlines (5px offset + 1px) inside the scroller */
    overflow-y: auto;               /* short or zoomed screens can still reach every link, */
    overscroll-behavior: contain;   /* and the list never scrolls up under the mark */
  }
  .js .site-nav a { padding: 14px 0; font-size: 15px; letter-spacing: .22em; }
  .js .site-nav a::after { bottom: 10px; }
  .js .site-nav__donate { margin-top: 20px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--rule); }
}

/* ---------- 1 · hero: the field ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 112px var(--gutter) 104px;
}
.hero::before {               /* paper, not screen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--grain);
  opacity: .22;
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Wix's editor and preview show custom elements in an iframe that grows to fit its
   content, so vh there would grow with the frame itself, without end. In a frame,
   size the hero from the width instead. (The live site renders in the page: vh is fine.) */
.framed .hero { min-height: clamp(620px, 62vw, 900px); }
.framed .hero__mark-wrap { width: clamp(128px, 20vw, 280px); }
.hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  pointer-events: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__mark-wrap {
  position: relative;
  width: clamp(128px, min(28vh, 40vw), 320px);
  aspect-ratio: 1;
}
.hero__mark { position: relative; width: 100%; height: 100%; }
.hero__static-field {
  position: absolute;
  top: 50%; left: 50%;
  width: 300%;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.field .hero__static-field { display: none; }   /* the live field is running instead */
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.4vh, 24px);
  margin-top: clamp(36px, 6vh, 64px);
}
.hero__eyebrow { letter-spacing: .26em; }
.hero__question {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.1rem + 3vw, 4.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.hero__descriptor {
  margin-top: clamp(20px, 3vh, 32px);
  color: var(--ink-2);
  text-wrap: balance;
}
.hero__explore {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  transform: translateX(-50%);
}
.hero__explore:hover .arrow,
.hero__explore:focus-visible .arrow { transform: translateY(3px); }

/* ---------- 2 · two worlds ---------- */

.worlds { display: grid; grid-template-columns: 1fr 1fr; }

.portal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: clamp(660px, 94vh, 1040px);
  padding: max(28px, var(--gutter)) var(--gutter);   /* same left edge as the header */
  container-type: inline-size;   /* titles scale with the panel, so they never collide with the art */
}
.portal__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 1.6s var(--ease);
}
.portal:hover .portal__media { transform: scale(1.02); }

.portal__label { display: flex; align-items: baseline; gap: 18px; }
.portal__index { letter-spacing: .12em; }
.portal__body { display: grid; justify-items: start; max-width: 34rem; }
.portal__title {
  font-size: clamp(2.75rem, 10.4cqi, 5.75rem);
  line-height: .92;
  text-transform: uppercase;
}
.portal__title span { display: block; }
.portal__line {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem);
  line-height: 1.25;
}
.portal__desc { max-width: 36ch; margin-top: 14px; font-size: 15px; line-height: 1.6; }
.portal__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 10px 0;
}
.portal__cta::before {        /* the rule that extends - shared with the doors */
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width .6s var(--ease);
}
.portal__cta::after {         /* the whole panel is the door */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.portal:hover .portal__cta::before,
.portal__cta:focus-visible::before { width: 56px; }
.portal:hover .arrow,
.portal__cta:focus-visible .arrow { transform: translateX(5px); }
.portal__cta:focus-visible { outline: 0; }
.portal:has(.portal__cta:focus-visible) { outline: 1px solid currentColor; outline-offset: -14px; }

/* World Culture Salon - cultural memory */
.portal--wcs { background: var(--wcs-stone); color: var(--wcs-umber); }
.portal--wcs .portal__label { color: var(--wcs-bronze); }
.portal--wcs .portal__title {
  font-family: var(--serif-wcs);
  font-size: clamp(2.5rem, 9.4cqi, 5.3rem);   /* inscriptional caps run wide */
  font-weight: 500;
  letter-spacing: .05em;
}
.portal--wcs .portal__line { font-family: var(--serif-wcs); font-style: italic; font-weight: 400; }
.portal--wcs .portal__desc { color: var(--wcs-text); }

.wcs-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 92% -5%, rgba(255, 247, 232, .85), rgba(255, 247, 232, 0) 62%),
    repeating-linear-gradient(180deg, rgba(110, 82, 50, 0) 0 71px, rgba(110, 82, 50, .06) 71px 72px),   /* stone courses */
    linear-gradient(172deg, #EEE6D7 0%, #E6DCCA 60%, #DED2BD 100%);
}
.wcs-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .6;
  mix-blend-mode: multiply;
}
.wcs-architecture { position: absolute; top: 12%; right: 8%; width: min(32%, 340px); aspect-ratio: 9 / 16; }
.wcs-niche,
.wcs-arch { position: absolute; border-radius: 9999px 9999px 0 0; }
.wcs-niche {
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(255, 249, 236, 0) 34%, rgba(255, 249, 236, .36) 54%, rgba(255, 249, 236, 0) 78%),   /* diffuse, as on stone */
    linear-gradient(90deg, rgba(96, 72, 44, .30) 0%, rgba(96, 72, 44, .06) 34%, rgba(96, 72, 44, 0) 60%, rgba(96, 72, 44, .10) 100%),
    linear-gradient(180deg, #CDBB9C 0%, #DCCDB2 45%, #E9DDC7 100%);
  box-shadow: inset 0 18px 36px rgba(84, 62, 36, .25);
}
.wcs-niche::after {           /* sunlight falling on the floor of the niche */
  content: "";
  position: absolute;
  right: -10%; bottom: 0; left: 8%;
  height: 18%;
  background: radial-gradient(60% 100% at 60% 100%, rgba(255, 246, 226, .75), rgba(255, 246, 226, 0) 70%);
}
.wcs-arch {                   /* the moulding */
  inset: -16px -16px 0 -16px;
  border: 1px solid rgba(110, 82, 50, .35);
  border-bottom: 0;
}
.wcs-plinth {                 /* the ground the niche stands on - runs off to the right, clear of the type */
  position: absolute;
  top: 100%; right: -100vw; left: -19%;
  height: 1px;
  background: rgba(110, 82, 50, .22);
}

/* Human Futures Lab - human possibility */
.portal--hfl { background: var(--hfl-black); color: var(--hfl-white); }
.portal--hfl .portal__label { color: var(--hfl-label); }
.portal--hfl .portal__title {
  font-family: var(--sans-hfl);
  font-weight: 500;
  letter-spacing: -.025em;
}
.portal--hfl .portal__line { font-family: var(--sans-hfl); font-weight: 400; letter-spacing: -.01em; }
.portal--hfl .portal__desc { color: var(--hfl-text); }

.hfl-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 68% 36%, rgba(201, 205, 210, .09), rgba(201, 205, 210, 0) 70%),
    radial-gradient(circle at 1px 1px, rgba(201, 205, 210, .16) 1px, transparent 1.5px) 0 0 / 24px 24px,
    var(--hfl-black);
}
.hfl-architecture { position: absolute; top: 12%; right: 6%; width: min(44%, 460px); aspect-ratio: 600 / 640; }
.hfl-object { width: 100%; height: 100%; }
.hfl-frame {                  /* corner registration marks */
  --c: rgba(201, 205, 210, .5);
  position: absolute;
  inset: -3%;
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1px,
    linear-gradient(var(--c), var(--c)) left top / 1px 16px,
    linear-gradient(var(--c), var(--c)) right top / 16px 1px,
    linear-gradient(var(--c), var(--c)) right top / 1px 16px,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1px,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 16px,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1px,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 16px;
  background-repeat: no-repeat;
}

/* Stacked: phones, and tablets held upright. The art gets its own band at the top
   of each panel and the copy always starts below it - the height is reserved in the
   flow, so nothing can overlap at any size. */
@media (max-width: 899px), (orientation: portrait) and (max-width: 1100px) {
  .worlds { grid-template-columns: 1fr; }
  .portal {
    --art-top: 76px;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    padding-top: calc(var(--art-top) + var(--art-h) + 44px);
    padding-bottom: 56px;
  }
  .portal--wcs { --art-w: min(54vw, 260px, 40vh); --art-h: calc(var(--art-w) * 1.6); }
  .portal--hfl { --art-w: min(64vw, 360px, 66vh); --art-h: calc(var(--art-w) * 16 / 15); }
  .portal__label { position: absolute; top: max(28px, var(--gutter)); right: var(--gutter); left: var(--gutter); }
  .wcs-architecture,
  .hfl-architecture {
    top: var(--art-top); right: auto; left: 50%;
    width: var(--art-w);
    height: var(--art-h);
    transform: translateX(-50%);
  }
  .wcs-plinth { left: -100vw; }
}

/* ---------- 3 + 4 · doors ---------- */

.doors { padding-top: clamp(64px, 9vw, 140px); }
.door { position: relative; border-top: 1px solid var(--rule); }
.door:last-child { border-bottom: 1px solid var(--rule); }
.door::after {                /* a line that draws itself on hover */
  content: "";
  position: absolute;
  right: 0; bottom: -1px; left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease);
}
.door:hover::after,
.door:has(.door__cta:focus-visible)::after { transform: scaleX(1); }

.door__inner {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1.15fr) minmax(0, 1fr) 11.5rem;   /* fixed CTA column keeps rows aligned */
  align-items: end;
  column-gap: clamp(16px, 3vw, 56px);
  max-width: calc(var(--max) + 2 * var(--gutter));   /* same content box as the footer */
  margin: 0 auto;
  padding: clamp(40px, 6vw, 96px) var(--gutter);
}
.door__index { align-self: start; padding-top: .6em; color: var(--ink-2); letter-spacing: .12em; }
.door__title {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 1.5rem + 6vw, 8.5rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.03em;
  transition: transform .9s var(--ease);
}
.door:hover .door__title { transform: translateX(10px); }
.door__desc {
  max-width: 26ch;
  padding-bottom: .35em;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(1.1rem, .95rem + .4vw, 1.4rem);
  line-height: 1.35;
  text-wrap: pretty;
}
.door__cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  padding: 10px 0;
  white-space: nowrap;
}
.door__cta::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width .6s var(--ease);
}
.door__cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.door:hover .door__cta::before,
.door__cta:focus-visible::before { width: 56px; }
.door:hover .arrow,
.door__cta:focus-visible .arrow { transform: translateX(5px); }

@media (max-width: 899px) {
  .door__inner { grid-template-columns: 1fr; row-gap: 14px; }
  .door__index { padding-top: 0; }
  .door__desc { padding-bottom: 0; }
  .door__cta { justify-self: start; margin-top: 10px; }
}

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

.site-footer {
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(56px, 7vw, 104px) var(--gutter) 28px;
  background: var(--black);
  color: #E9E6DE;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer__brand { display: flex; align-items: center; gap: 24px; }
.site-footer__mark { width: 64px; height: 64px; filter: invert(1); }   /* reverse: white disc, black type */
.site-footer__name { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); font-weight: 300; line-height: 1.2; }
.site-footer__places { margin-top: 6px; color: #9C998F; font-size: 14px; text-wrap: pretty; }
.site-footer__label { margin-bottom: 14px; color: #9C998F; }
.site-footer__col ul { display: grid; gap: 6px; }
.site-footer__col a { position: relative; font-size: 15px; }
.site-footer__col a::after {
  content: "";
  position: absolute;
  right: 0; bottom: -2px; left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.site-footer__col a:hover::after,
.site-footer__col a:focus-visible::after { transform: scaleX(1); }
/* align with the labelled column: exactly one label line (11px x 1.4) plus its margin */
.site-footer__col:first-of-type { padding-top: calc(11px * 1.4 + 14px); }
.site-footer__legal {
  max-width: var(--max);
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #9C998F;
  font-size: 12px;
  text-wrap: pretty;
}

@media (max-width: 899px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col ul { gap: 0; }
  .site-footer__col a { display: inline-block; padding-block: 12px; }   /* 44px touch targets */
  .site-footer__col a::after { bottom: 8px; }
  .site-footer__label { margin-bottom: 2px; }
  .site-footer__col:first-of-type { padding-top: calc(11px * 1.4 + 2px); }
}
@media (max-width: 479px) {
  /* one column, so the label never wraps against a fixed offset */
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__col:first-of-type { padding-top: 0; }
}

/* ---------- motion: GATHER · DRIFT · REVEAL · ENTER ---------- */

@keyframes ocf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ocf-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* the disc accretes from its centre as the particles land; the type then surfaces on black.
   A plain black disc sits under the logo for this - the supplied logo file itself is untouched. */
@keyframes ocf-accrete {
  0%   { opacity: 0; transform: scale(.08); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* staged entrance, timed to the particles landing (see ocf-field.js) */
.motion .site-header       { animation: ocf-fade 1s ease .3s both; }
.motion .hero__mark-wrap::before {
  content: "";
  position: absolute;
  inset: .5px;
  border-radius: 50%;
  background: #000;
  animation: ocf-accrete 1s cubic-bezier(.45, 0, .2, 1) .6s both;
}
/* starts only once the disc is whole, so no half-opaque edge ever shows */
.motion .hero__mark        { animation: ocf-fade .8s ease 1.6s both; }
.motion .hero__eyebrow     { animation: ocf-reveal 1s var(--ease) 1.2s both; }
.motion .hero__question    { animation: ocf-reveal 1.1s var(--ease) 1.35s both; }
.motion .hero__descriptor  { animation: ocf-reveal 1s var(--ease) 1.6s both; }
.motion .hero__explore     { animation: ocf-fade 1s ease 2s both; }
/* the first scroll, key or touch ends the intro */
.intro-skip .site-header,
.intro-skip .hero__mark-wrap::before,
.intro-skip .hero__mark,
.intro-skip .hero__eyebrow,
.intro-skip .hero__question,
.intro-skip .hero__descriptor,
.intro-skip .hero__explore { animation: none; }

/* sections enter as they arrive; hidden state needs main.js to be running */
.motion.reveal-ready [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.motion.reveal-ready [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
.motion.reveal-ready .portal--hfl { transition-delay: .12s; }
/* keyboard focus never lands on something still fading in */
.motion.reveal-ready [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }

/* landscape phones: the whole brand moment fits on one screen */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 76px var(--gutter) 60px; }
  .hero__mark-wrap { width: clamp(72px, 24vh, 128px); }
  .hero__title { margin-top: 18px; gap: 10px; }
  .hero__question { font-size: clamp(1.5rem, 1rem + 2.4vw, 2.25rem); }
  .hero__descriptor { margin-top: 12px; }
  .hero__explore { bottom: 10px; }
}

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero { min-height: 0; }
  .hero__field, .hero__explore, .skip-link, .menu-toggle { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .portal:hover .portal__media,
  .door:hover .door__title { transform: none; }
}
