/* Variant 4 only. No dependency on, or changes to, the publishable site. */
:root {
  --navy: #071b34;
  --deep: #041226;
  --gold: #d4af37;
  --gold-light: #f3d36b;
  --white: #ffffff;
  --paper: #f5f6f8;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.header { position: relative; z-index: 5; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 14px; align-items: center; }
.brand-mark, .scene-mark { display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--deep); font-weight: bold; letter-spacing: .04em; }
.brand-mark { width: 54px; height: 54px; font-size: 20px; }
.brand-copy { display: grid; gap: 5px; }
.brand-name { font-size: 22px; font-weight: bold; }
.brand-subtitle { color: var(--gold-light); font-size: 13px; }
nav { display: flex; gap: 24px; font-size: 15px; }
.motion-toggle { background: none; color: var(--gold-light); border: 1px solid rgba(212,175,55,.4); border-radius: 20px; padding: 9px 14px; font-size: 12px; cursor: pointer; }
.sequence { position: relative; background: var(--deep); }
.stage { position: relative; overflow: clip; background: var(--navy); }
.scene-content { position: relative; z-index: 2; }
.intro-copy { padding: 64px 0 84px; max-width: 900px; }
.eyebrow { color: var(--gold-light); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 25px; }
h1 { font-weight: normal; line-height: .98; letter-spacing: -.055em; margin: 0; }
.title-brand { display: block; font-size: 28px; letter-spacing: -.02em; margin-bottom: 26px; }
.title-line { display: block; font-size: clamp(70px,8.8vw,124px); }
.gold-text { color: var(--gold-light); }
.lead { font-size: clamp(21px,1.9vw,26px); line-height: 1.5; max-width: 680px; margin: 30px 0 16px; }
.summary { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; max-width: 620px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.button { display: inline-flex; background: var(--gold); color: var(--deep); font-size: 16px; font-weight: bold; padding: 18px 25px; border-radius: 16px; }
.text-link { display: inline-block; color: var(--gold-light); border-bottom: 1px solid var(--gold); padding: 10px 0; font-weight: bold; }
.ambient { position: absolute; inset: 0; background: var(--deep); opacity: var(--depth,.2); pointer-events: none; }
.visual-position { position: absolute; width: min(60vw,820px); aspect-ratio: 1; right: -8%; top: 50px; z-index: 1; opacity: .65; pointer-events: none; transform: translate3d(var(--gx,0px),var(--gy,0px),0) scale(var(--gs,1)); }
.visual-pointer, .orbit-drift { width: 100%; height: 100%; }
.visual-pointer { transform: translate3d(var(--px,0px),var(--py,0px),0); transition: transform .7s ease-out; }
.universe { width: 100%; height: 100%; transform: rotate(var(--rotation,0deg)); }
.gold, .bright, .faint { fill: none; stroke: var(--gold); stroke-width: 1; }
.bright { stroke: var(--gold-light); stroke-width: 1.5; }
.faint { opacity: .28; }
.spark { fill: var(--gold-light); }
.far-layer, .mid-layer, .near-layer { transform-origin: 350px 350px; }
.mid-layer { transform: rotate(var(--layer-turn,0deg)); }
.scene-mark { position: absolute; width: 68px; height: 68px; left: calc(50% - 34px); top: calc(50% - 34px); font-size: 24px; }
.bridge { position: absolute; inset: 0; pointer-events: none; opacity: var(--bridge-opacity,0); }
.bridge span { position: absolute; width: 140%; height: 1px; top: 50%; left: -20%; background: var(--gold); transform: rotate(var(--bridge-turn,-30deg)) scaleX(var(--bridge-scale,.2)); }
.bridge span + span { top: 65%; opacity: .35; }
.story-panel { position: relative; padding: 60px 0; max-width: 1100px; }
.story-panel h2 { margin: 0; color: var(--gold-light); font-size: clamp(36px,8.2vw,118px); line-height: 1.05; font-weight: normal; letter-spacing: -.04em; }
.story-panel p:last-child { font-size: 24px; line-height: 1.6; max-width: 680px; }
.scene-status { display: none; }

/* JS enhancement: native scroll drives a single sticky stage. */
.enhanced .sequence { height: 440svh; }
.enhanced .stage { position: sticky; top: 0; height: 100svh; min-height: 670px; }
.enhanced .scene-content { height: 100%; }
.enhanced .intro-copy { position: absolute; top: 6%; left: 0; padding: 0; width: 100%; transform-origin: left top; transform: translate3d(0,var(--intro-y,0px),0) scale(var(--intro-scale,1)); opacity: var(--intro-opacity,1); }
.enhanced .story-panel { position: absolute; left: 0; top: 32%; padding: 0; width: 100%; opacity: var(--panel-opacity,0); transform: translate3d(var(--panel-x,0px),var(--panel-y,70px),0); pointer-events: none; }
.enhanced .scene-status { position: absolute; bottom: 24px; left: max(24px,calc((100% - 1180px)/2)); right: max(24px,calc((100% - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; letter-spacing: .07em; color: var(--gold-light); }
.progress-track { flex: 1; height: 1px; background: rgba(212,175,55,.2); }
.progress-track > span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--progress,0)); }
.enhanced .orbit-drift { animation: drift 18s ease-in-out infinite alternate; }
.enhanced .far-layer { animation: far-drift 26s ease-in-out infinite alternate; }
.paused .orbit-drift, .paused .far-layer { animation-play-state: paused; }
.opening .scene-mark { animation: mark-arrival 2.6s both; }
.opening .far-layer { animation: unfold 2.6s both; }
.opening .mid-layer { animation: unfold 2.6s .1s both; }
.opening .near-layer { animation: unfold 2.6s .2s both; }
.opening .title-brand { animation: text-settle 2.6s both; }
.opening .title-line { animation: text-settle 2.6s .12s both; }
.opening .lead, .opening .summary, .opening .actions { animation: text-settle 2.6s .2s both; }
@keyframes mark-arrival { 0% { transform: scale(.7); opacity: .4; } 25% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes unfold { 0% { transform: scale(.15) rotate(-30deg); opacity: 0; } 30% { opacity: .6; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
/* Text and actions retain full opacity from the first frame. */
@keyframes text-settle { 0% { transform: translateY(16px); } 100% { transform: translateY(0); } }
@keyframes drift { from { transform: translateY(-7px) rotate(-3deg); } to { transform: translateY(7px) rotate(3deg); } }
@keyframes far-drift { from { transform: rotate(0); } to { transform: rotate(6deg); } }

.reading { padding: 108px 0; }
.reading h2, .catalogue-jump h2 { font-size: clamp(40px,5.4vw,74px); font-weight: normal; line-height: 1.08; letter-spacing: -.04em; margin: 0 0 54px; }
.reading h3 { font-weight: normal; font-size: 30px; margin: 0 0 20px; }
.reading p { font-size: 20px; line-height: 1.65; }
.light-section { background: var(--paper); color: var(--navy); }
.light-section .eyebrow { color: var(--navy); }
.light-section .text-link { color: var(--navy); }
.direction-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; padding: 36px 0; border-top: 1px solid rgba(7,27,52,.15); }
.direction-row p { margin: 0; }
.cooperation-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; }
.cooperation-layout > div:last-child { padding-top: 64px; }
.cooperation-layout h3:not(:first-child) { margin-top: 48px; }
.catalogue-jump { background: var(--gold); color: var(--deep); padding: 60px 0; }
.catalogue-jump .wrap { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.catalogue-jump h2 { font-size: clamp(32px,3.7vw,52px); margin: 0; }
.catalogue-jump .text-link { color: var(--deep); border-color: var(--deep); white-space: nowrap; }
.contact { background: var(--deep); }
.contact .email-note { font-size: 14px; color: rgba(255,255,255,.65); max-width: 600px; }
.footer { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 24px; font-size: 13px; }

@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px; }
  .visual-position { right: -22%; width: 85vw; opacity: .4; }
  .title-line { font-size: clamp(70px,10vw,105px); }
  .cooperation-layout, .direction-row { gap: 32px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 16px; }
  .brand-mark { width: 46px; height: 46px; font-size: 18px; }
  .brand-name { font-size: 20px; }
  .brand-subtitle { font-size: 11px; }
  nav { gap: 20px; font-size: 13px; }
  .motion-toggle { padding: 7px 10px; font-size: 11px; }
  .intro-copy { padding: 42px 0 60px; }
  .title-brand { font-size: 23px; margin-bottom: 26px; }
  .title-line { font-size: clamp(41px,11.3vw,76px); line-height: 1.08; }
  .lead { font-size: 21px; margin-top: 25px; }
  .summary { font-size: 15px; }
  .actions { gap: 12px 22px; }
  .button { padding: 17px 22px; }
  .visual-position { width: 125vw; right: -58%; top: 10%; opacity: .27; }
  .scene-mark { width: 54px; height: 54px; left: calc(50% - 27px); top: calc(50% - 27px); font-size: 18px; }
  .enhanced .sequence { height: 360svh; }
  .enhanced .stage { min-height: 690px; }
  .enhanced .intro-copy { top: 6%; }
  .enhanced .story-panel { top: 31%; }
  .story-panel h2 { font-size: clamp(30px,8.8vw,62px); }
  .story-panel p:last-child { font-size: 21px; }
  .enhanced .scene-status { left: 16px; right: 16px; bottom: 20px; flex-wrap: wrap; gap: 14px; font-size: 9px; }
  .scene-status > span:first-child { width: 100%; }
  .scene-status > span:last-child { max-width: 135px; }
  .enhanced .far-layer { animation: none; }
  .reading { padding: 68px 0; }
  .reading h2 { font-size: 42px; margin-bottom: 38px; }
  .reading h3 { font-size: 27px; }
  .reading p { font-size: 18px; }
  .direction-row, .cooperation-layout { grid-template-columns: 1fr; gap: 20px; }
  .cooperation-layout > div:last-child { padding-top: 0; }
  .catalogue-jump .wrap, .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .intro-copy .eyebrow { margin-bottom: 18px; }
  .title-brand { margin-bottom: 20px; }
  .lead { font-size: 19px; line-height: 1.45; margin-top: 20px; }
  .summary { font-size: 14px; line-height: 1.5; }
  .actions { margin-top: 20px; gap: 8px 20px; }
  .button { padding: 15px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .visual-position, .visual-pointer, .universe { transform: none !important; }
}
