:root {
  --enso-gold: #fabf1d;
  --enso-ink: #090909;
  --enso-red: #fd3b3b;
  --enso-body: "Montserrat", Arial, sans-serif;
  --enso-editorial: "Bodoni 72", "Bodoni MT", Didot, Georgia, serif;
}

html {
  background: var(--enso-gold);
  color: var(--enso-ink);
  color-scheme: light;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--enso-gold);
  color: var(--enso-ink);
  font-family: var(--enso-body);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.enso-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--enso-gold);
}

.site-rail,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-inline: clamp(1.25rem, 4.1vw, 4.5rem);
  font-size: clamp(0.58rem, 0.7vw, 0.68rem);
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.site-rail { padding-top: clamp(1.5rem, 3.1vw, 2.8rem); }
.rail-status { text-align: right; }
.site-footer { padding-block: 1.45rem clamp(1.35rem, 2.5vw, 2.3rem); }
.site-footer span:last-child { text-align: right; }

.partner-band {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(0.63rem, 1.26vw, 1.05rem) clamp(1rem, 4vw, 4rem);
  background: #ffffff;
}
.partner-band img {
  display: block;
  width: min(70%, 812px);
  height: auto;
  object-fit: contain;
}

.holding-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.1rem, 5.1vh, 4.5rem);
  padding-top: clamp(1.25rem, 3.1vh, 2.25rem);
}

.hero {
  width: 100%;
  text-align: center;
}

.logo-stage {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.logo-window {
  flex: 0 0 auto;
  width: min(135vw, 1400px);
  aspect-ratio: 3.4 / 1;
  overflow: hidden;
  transform-origin: center;
  animation: logo-arrive 1.2s cubic-bezier(.2,.7,.2,1) both;
}

.logo-artwork {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-line {
  margin: clamp(0.5rem, 1.4vw, 1.25rem) 1.25rem 0;
  font-family: var(--enso-editorial);
  font-size: clamp(1.85rem, 3.5vw, 3.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.hero-support {
  max-width: 42rem;
  margin: 1.05rem auto 0;
  padding-inline: 1.5rem;
  font-size: clamp(0.83rem, 1.05vw, 1rem);
  font-weight: 450;
  line-height: 1.65;
}

.thoughts-section { width: 100%; }
.thoughts-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4.1vw, 4.5rem) 0.8rem;
}
.thoughts-topline h2 {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}
.motion-control {
  border: 0;
  background: transparent;
  color: var(--enso-ink);
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.motion-control:focus-visible {
  outline: 2px solid var(--enso-ink);
  outline-offset: 5px;
}
.motion-control:disabled { cursor: default; opacity: .72; }

.thought-window {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(9,9,9,.38);
}
.thought-track {
  display: flex;
  width: max-content;
  animation: thought-drift 72s linear infinite;
  will-change: transform;
}
.thought-window:hover .thought-track,
.thought-window[data-paused="true"] .thought-track { animation-play-state: paused; }
.thought-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  list-style: none;
  padding: 1.38rem clamp(2rem, 4vw, 4.5rem) 1.42rem clamp(1.25rem, 4.1vw, 4.5rem);
  margin: 0;
}
.thought {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  white-space: nowrap;
  font-family: var(--enso-editorial);
  font-size: clamp(1.22rem, 1.85vw, 1.9rem);
  line-height: 1.25;
}
.thought-mark { color: var(--enso-red); }
.thought-divider {
  width: 2.4rem;
  height: 1px;
  margin-left: clamp(2rem, 4vw, 4.5rem);
  background: rgba(9,9,9,.5);
}

.enso-error {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}
.enso-error a, .enso-error button { color: var(--enso-ink); }

@keyframes logo-arrive {
  from { opacity: .72; transform: translateY(18px) scale(.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes thought-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .site-rail, .site-footer { letter-spacing: .12em; }
  .site-rail { padding-top: 1.4rem; }
  .holding-main { gap: 2.8rem; padding-block: 2rem; }
  .logo-window { width: 142vw; aspect-ratio: 3.35 / 1; }
  .hero-line { max-width: 17rem; margin-inline: auto; font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .hero-support { max-width: 21rem; margin-top: .9rem; }
  .thoughts-topline { padding-bottom: .7rem; }
  .thought-group { padding-block: 1.15rem; }
  .site-footer { align-items: flex-end; }
}

/* With JavaScript disabled, keep every thought available without automatic motion. */
html:not(.motion-ready) .thought-track { animation: none; }
html:not(.motion-ready) .thought-window { overflow-x: auto; }
html:not(.motion-ready) .thought-group[aria-hidden="true"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .logo-window, .thought-track { animation: none !important; }
  .thought-window { overflow-x: auto; }
  .thought-group[aria-hidden="true"] { display: none; }
}
