/* Entry page (master build instruction 2.0, Part III §5; founder design of 26 Oct). Self-contained: no navigation, no JavaScript. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }

:root { --deep: #020A1C; --deep-2: #061433; --warm: #F7F5F0; --soft: #C9CCD6; --muted: #9AA0AE; --gold: #E2B65C; --gold-hi: #FBE3A1; --gold-lo: #B98530; --cyan: #67E8F9; }
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
.entry-body { background: var(--deep); color: var(--warm); font-family: "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.entry { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 72fr) minmax(0, 28fr); align-items: center; padding: 56px 0 96px; overflow: hidden; isolation: isolate;
  background: radial-gradient(55% 65% at 34% 48%, rgba(14, 40, 96, 0.55), transparent 72%), linear-gradient(180deg, #010714 0%, var(--deep) 55%, #050E26 100%); }

/* fine drafting grid on the left, fading towards the centre */
.entry::before { content: ""; position: absolute; inset: 0 40% 0 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(103, 232, 249, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 232, 249, 0.07) 1px, transparent 1px);
  background-size: 44px 44px; background-position: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 75%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 75%); }
.entry-field { position: absolute; left: 0; top: 0; width: 62%; height: 100%; z-index: -1; pointer-events: none; }

/* architectural scene on the right */
.entry-scene { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%); mask-image: linear-gradient(90deg, transparent 0%, #000 16%); }
.entry-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* content block, centred in the left field */
.entry-core { position: relative; grid-column: 1; justify-self: center; display: grid; justify-items: center; text-align: center; width: min(820px, 92%); }
.entry-swirl { position: absolute; z-index: -1; left: 50%; top: 59%; width: 172%; height: auto; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.entry-logo { margin: 0; line-height: 0; }
.entry-logo img { display: block; width: clamp(240px, 28vw, 520px); height: auto; }
.entry-tagline { margin: clamp(18px, 2vw, 34px) 0 0; padding-left: 0.24em; font-weight: 400; font-size: clamp(0.75rem, 0.35rem + 0.78vw, 1.25rem); letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); }
.entry-rule { display: block; width: clamp(56px, 5.2vw, 88px); height: 1px; margin: clamp(18px, 2vw, 30px) 0; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }
.entry-headline { margin: 0; font-weight: 500; font-size: clamp(2.375rem, 0.9rem + 3.9vw, 5.5rem); line-height: 1.12; letter-spacing: -0.02em; color: #FFFFFF; text-wrap: balance; }
.entry-headline em { display: inline-block; padding-right: 0.06em; font-style: italic; font-weight: 500;
  background: linear-gradient(180deg, var(--gold-hi) 8%, var(--gold) 52%, var(--gold-lo) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(240, 186, 84, 0.35)); }
.entry-sub { margin: clamp(24px, 3vw, 48px) 0 0; padding-left: 0.2em; font-weight: 500; font-size: clamp(0.75rem, 0.42rem + 0.72vw, 1.2rem); line-height: 1.6; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm); }
.entry-sub span { color: var(--gold); }
.entry-tagline, .entry-sub, .entry-headline { text-shadow: 0 0 14px rgba(2, 10, 28, 0.95), 0 0 3px rgba(2, 10, 28, 0.9); }
.entry-headline em { text-shadow: none; }
.entry-cta { margin-top: clamp(28px, 3vw, 48px); display: inline-flex; align-items: center; gap: 18px; min-height: 56px; padding: 16px 38px; border: 1px solid var(--gold); border-radius: 2px;
  background: rgba(2, 10, 28, 0.55); color: var(--gold); text-decoration: none; font-weight: 500; font-size: clamp(0.8125rem, 0.6rem + 0.36vw, 1.0625rem); letter-spacing: 0.14em;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.entry-cta svg { flex: none; transition: transform 0.25s; }
.entry-cta:hover { background: var(--gold); color: var(--deep); box-shadow: 0 0 32px rgba(226, 182, 92, 0.35); }
.entry-cta:hover svg { transform: translateX(4px); }
.entry-cta:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.entry-legal { position: absolute; left: 0; bottom: 24px; margin: 0; padding: 0 clamp(20px, 3vw, 48px); font-size: 0.75rem; line-height: 1.5; color: var(--muted); }

@media (min-width: 901px) and (max-width: 1279px) { .entry-sub span { display: block; } }

/* motion: light travels along the rings; content is readable from the first frame */
@media (prefers-reduced-motion: no-preference) {
  .sw-flow ellipse { animation: sw-run 14s linear infinite; }
  .sw-flow ellipse + ellipse { animation: sw-run-2 19s linear infinite reverse; }
  .entry-core > :not(.entry-swirl) { animation: entry-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .entry-tagline { animation-delay: 0.06s; } .entry-rule { animation-delay: 0.12s; } .entry-headline { animation-delay: 0.16s; } .entry-sub { animation-delay: 0.22s; } .entry-cta { animation-delay: 0.28s; }
}
@keyframes sw-run { to { stroke-dashoffset: -2780; } }
@keyframes sw-run-2 { from { stroke-dashoffset: 600; } to { stroke-dashoffset: -1900; } }
@keyframes entry-rise { from { opacity: 0.35; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* tablet and phone: the scene becomes a horizon band above the message */
@media (max-width: 900px) {
  .entry { grid-template-columns: minmax(0, 1fr); align-items: start; padding: calc(38svh + 8px) 0 88px; min-height: 100svh;
    background: radial-gradient(90% 40% at 50% 62%, rgba(14, 40, 96, 0.5), transparent 75%), var(--deep); }
  .entry::before { inset: 30svh 0 0 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, rgba(0, 0, 0, 0.4) 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, rgba(0, 0, 0, 0.4) 70%, transparent); }
  .entry-field { display: none; }
  .entry-scene { left: 0; width: 100%; bottom: auto; height: 46svh; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .entry-scene img { object-position: 70% 58%; }
  .entry-core { width: min(560px, calc(100% - 40px)); }
  .entry-swirl { top: 61%; width: 190%; }
  .entry-logo img { width: min(300px, 74vw); }
  .entry-headline { font-size: clamp(2.125rem, 1.2rem + 4.4vw, 3.5rem); }
  .entry-legal { right: 0; text-align: center; padding: 0 20px; }
}
@media (max-width: 420px) {
  .entry-tagline { letter-spacing: 0.16em; padding-left: 0.16em; }
  .entry-sub { letter-spacing: 0.14em; padding-left: 0.14em; }
  .entry-cta { padding: 16px 26px; gap: 14px; letter-spacing: 0.12em; }
  .entry-legal { font-size: 0.6875rem; }
}

/* Founder artwork is the page on every screen: a wide version for landscape desktop, a tall version for phones and tablets. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.entry { display: block; min-height: 0; height: 100vh; height: 100svh; padding: 0; background: #24150B; }
.entry::before { content: none; }
.entry-art { position: relative; height: 100%; overflow: hidden; }
.entry-art__stage picture, .entry-art__stage img { display: block; width: 100%; height: 100%; }
.entry-art__cta { position: absolute; border-radius: 2px; transition: background-color 0.25s, box-shadow 0.25s; }
.entry-art__cta:hover { background: rgba(226, 182, 92, 0.14); box-shadow: 0 0 32px rgba(226, 182, 92, 0.35); }
.entry-art__cta:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* landscape desktop: wide artwork; click target over its button (92-661 x 696-784 of 1672 x 941) */
@media (min-width: 901px) and (min-aspect-ratio: 5/4) {
  .entry { background: var(--deep); }
  .entry-art__stage { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: max(100vw, calc(100svh * 1672 / 941)); aspect-ratio: 1672 / 941; }
  .entry-art__cta { left: 5.5%; top: 74.0%; width: 34.0%; height: 9.4%; }
}

/* phones and tablets: tall artwork; click target over its button (107-834 x 1490-1595 of 941 x 1672) */
@media not all and (min-width: 901px) and (min-aspect-ratio: 5/4) {
  .entry-art__stage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 941 / 1672; width: max(100vw, calc(100svh * 941 / 1672)); }
  .entry-art__cta { left: 11.4%; top: 89.1%; width: 77.3%; height: 6.3%; }
}
/* tablets in portrait: show the whole artwork instead of cropping the top and bottom */
@media not all and (min-width: 901px) and (min-aspect-ratio: 5/4) and (min-aspect-ratio: 5/8) {
  .entry-art__stage { width: auto; height: 100svh; }
}
