@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,300;1,400;1,500&family=Jost:wght@300;400&display=swap');

/* =========================================================
   Adamar — EGO Highway X3 "Coming soon"
   All selectors are scoped to .cs-root
   ========================================================= */

.cs-root {
  --cs-char: #1B1D1F;
  --cs-deep: #0E0F10;
  --cs-ink: #ECE8DF;
  --cs-dim: #B9B5AB;
  --cs-brass: #C9963D;
  --cs-brass-hi: #E0AC55;
  --cs-ease: cubic-bezier(.45, .05, .25, 1);
  --cs-serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --cs-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  position: relative;
  background: var(--cs-char);
  color: var(--cs-ink);
  font-family: var(--cs-sans);
  font-weight: 300;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.cs-root *, .cs-root *::before, .cs-root *::after { box-sizing: border-box; }
.cs-root img { display: block; max-width: none; }
.cs-root a { color: inherit; }

/* ---------- shared type ---------- */
.cs-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font: 400 11px/1 var(--cs-sans);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--cs-brass-hi);
}
.cs-eyebrow--center { justify-content: center; }
.cs-rule {
  display: inline-block; width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cs-brass));
}
.cs-textlink {
  position: relative; display: inline-block;
  font: 400 11px/1 var(--cs-sans);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--cs-dim); text-decoration: none;
  padding: 6px 0;
  transition: color 1s var(--cs-ease);
}
.cs-textlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .5;
  transform: scaleX(.35); transform-origin: left;
  transition: transform 1.2s var(--cs-ease), opacity 1.2s var(--cs-ease);
}
.cs-textlink:hover, .cs-textlink:focus-visible { color: var(--cs-ink); }
.cs-textlink:hover::after, .cs-textlink:focus-visible::after { transform: scaleX(1); opacity: .8; }

/* =========================================================
   HERO
   ========================================================= */
.cs-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  padding: 64px clamp(24px, 5vw, 80px) 110px;
  background:
    radial-gradient(ellipse 60% 70% at 66% 48%, rgba(14, 22, 52, .55), transparent 70%),
    linear-gradient(180deg, var(--cs-deep) 0%, var(--cs-char) 100%);
  isolation: isolate;
}
@supports (min-height: 100svh) {
  .cs-hero { min-height: calc(100svh - 72px); }
}

.cs-hero-atmos {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 38% 26% at 64% 84%, rgba(150, 32, 22, .16), transparent 70%);
  opacity: 0;
  animation: cs-fade-in 3.2s var(--cs-ease) 1.2s forwards;
}

/* stage (bike) */
.cs-hero-stage {
  position: absolute;
  top: 50%; left: 29vw;
  width: 70vw; max-width: 1400px;
  transform: translateY(-52%);
  perspective: 1400px;
  z-index: 0;
}
.cs-hero-tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.cs-hero-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  isolation: isolate;
  /* three soft masks intersected: side fades, top/floor fades, rounded corners — no photo rectangle */
  --cs-mask-x: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  --cs-mask-y: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.6) 6%, #000 16%, #000 70%, rgba(0,0,0,.45) 84%, transparent 97%);
  --cs-mask-r: radial-gradient(ellipse 72% 78% at 52% 48%, #000 55%, transparent 100%);
  -webkit-mask-image: var(--cs-mask-x), var(--cs-mask-y), var(--cs-mask-r);
          mask-image: var(--cs-mask-x), var(--cs-mask-y), var(--cs-mask-r);
  -webkit-mask-composite: source-in, source-in;
          mask-composite: intersect;
  opacity: 0;
  animation: cs-emerge 2.8s var(--cs-ease) .15s forwards;
}
.cs-hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
  transform-origin: 55% 60%;
  animation: cs-breathe 10s var(--cs-ease) .15s forwards;
}
/* soft light sweep — overlay blend only lifts the lit bodywork, not the dark studio */
.cs-hero-sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(104deg,
      transparent 38%,
      rgba(255, 236, 214, .10) 45%,
      rgba(255, 240, 225, .42) 50%,
      rgba(255, 236, 214, .10) 55%,
      transparent 62%) no-repeat;
  background-size: 300% 100%;
  background-position: 120% 0;
  mix-blend-mode: overlay;
  animation: cs-sweep 14s var(--cs-ease) 1.1s infinite;
}

/* floor light streak */
.cs-hero-floor {
  position: absolute; left: 6%; right: 6%; top: 88%;
  height: 1px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  opacity: 0;
  animation: cs-fade-in 2.4s var(--cs-ease) 2s forwards;
}
.cs-hero-floor span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
      transparent 0%, transparent 40%,
      rgba(236, 232, 223, .0) 42%, rgba(236, 232, 223, .55) 50%, rgba(224, 172, 85, .35) 53%,
      transparent 60%, transparent 100%) no-repeat;
  background-size: 250% 100%;
  background-position: 110% 0;
  animation: cs-streak 9s var(--cs-ease) 2.4s infinite;
}
.cs-hero-floor::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(236, 232, 223, .08), transparent);
  filter: blur(2px);
}

/* copy */
.cs-hero-copy {
  position: relative; z-index: 2;
  width: min(430px, 34vw);
}
.cs-title {
  margin: 0 0 26px;
  font-family: var(--cs-serif);
  font-style: italic; font-weight: 300;
  font-size: clamp(56px, 6.4vw, 104px);
  line-height: .94;
  letter-spacing: -.01em;
  color: var(--cs-ink);
}
.cs-line { display: block; overflow: hidden; padding: 0 .08em .08em 0; margin-bottom: -.08em; }
.cs-line > span {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  animation: cs-line-up 1.9s var(--cs-ease) var(--cs-d, 0s) forwards;
}
.cs-line:last-child > span { font-size: 1.28em; }

.cs-lede {
  margin: 0 0 34px;
  max-width: 34ch;
  font: 300 16px/1.75 var(--cs-sans);
  color: var(--cs-dim);
}

.cs-fade {
  opacity: 0; transform: translateY(14px);
  animation: cs-rise 1.8s var(--cs-ease) var(--cs-d, 0s) forwards;
}

/* honest "in development" line */
.cs-status {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px; row-gap: 14px;
  align-items: baseline;
  margin: 0 0 40px;
  max-width: 340px;
}
.cs-status-label, .cs-status-text {
  font: 400 10px/1 var(--cs-sans);
  letter-spacing: .3em; text-transform: uppercase;
}
.cs-status-label { grid-column: 1; grid-row: 1; color: var(--cs-dim); opacity: .7; }
.cs-status-text { grid-column: 2; grid-row: 1; color: var(--cs-ink); }
.cs-status-track {
  grid-column: 1 / -1; grid-row: 2;
  position: relative; height: 1px; overflow: hidden;
  background: rgba(236, 232, 223, .14);
}
.cs-status-track span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 35%, var(--cs-brass) 48%, var(--cs-brass-hi) 50%, transparent 65%, transparent 100%) no-repeat;
  background-size: 260% 100%;
  background-position: 100% 0;
  animation: cs-status 6.5s var(--cs-ease) 2.4s infinite;
}

.cs-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.cs-cta {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px;
  font: 400 11px/1 var(--cs-sans);
  letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; color: var(--cs-ink);
  border: 1px solid rgba(201, 150, 61, .55);
  overflow: hidden;
  transition: border-color 1.2s var(--cs-ease), color 1.2s var(--cs-ease);
}
.cs-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(201, 150, 61, .16), rgba(201, 150, 61, .05));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--cs-ease);
}
.cs-cta:hover, .cs-cta:focus-visible { border-color: var(--cs-brass-hi); }
.cs-cta:hover::before, .cs-cta:focus-visible::before { transform: scaleX(1); }

.cs-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transform: translateX(-50%);
  text-decoration: none;
  opacity: 0;
  animation: cs-fade-in 2s var(--cs-ease) 2.8s forwards;
}
.cs-scroll-text {
  font: 400 9px/1 var(--cs-sans); letter-spacing: .36em; text-transform: uppercase;
  color: var(--cs-dim); padding-left: .36em;
}
.cs-scroll-line {
  position: relative; width: 1px; height: 46px; overflow: hidden;
  background: rgba(236, 232, 223, .12);
}
.cs-scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--cs-brass-hi), transparent);
  transform: translateY(-100%);
  animation: cs-drip 3.6s var(--cs-ease) 3.2s infinite;
}

/* =========================================================
   THREE REASONS
   ========================================================= */
.cs-reasons {
  position: relative;
  padding: clamp(96px, 13vw, 180px) clamp(24px, 5vw, 80px) clamp(80px, 10vw, 140px);
  max-width: 1320px; margin: 0 auto;
}
.cs-kicker {
  margin: 0 0 clamp(48px, 6vw, 80px);
  text-align: center;
  font: 400 11px/1 var(--cs-sans); letter-spacing: .36em; text-transform: uppercase;
  color: var(--cs-brass-hi);
}
.cs-reasons-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
.cs-reason { position: relative; padding-top: 34px; }
.cs-reason-line {
  position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--cs-brass), rgba(201, 150, 61, .1) 70%, transparent);
  transform-origin: left;
}
.cs-reason-title {
  margin: 0 0 16px;
  font-family: var(--cs-serif); font-style: italic; font-weight: 300;
  font-size: clamp(38px, 3.6vw, 56px); line-height: 1.02;
  color: var(--cs-ink);
}
.cs-reason-text {
  margin: 0; max-width: 30ch;
  font: 300 15px/1.75 var(--cs-sans); color: var(--cs-dim);
}

/* =========================================================
   GALLERY
   ========================================================= */
.cs-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 clamp(20px, 2.4vw, 36px);
  padding: 0 clamp(24px, 5vw, 80px) clamp(96px, 12vw, 170px);
  max-width: 1440px; margin: 0 auto;
}
.cs-shot { margin: 0; }
.cs-shot--a { grid-column: 1 / span 7; grid-row: 1; }
.cs-shot--b { grid-column: 6 / span 7; margin-top: clamp(-130px, -8vw, -40px); grid-row: 2; position: relative; z-index: 1; }
.cs-quote { grid-column: 9 / span 4; grid-row: 1; align-self: center; }

.cs-wipe {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--cs-deep);
}
.cs-wipe::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 15, 16, .35), transparent 30%, transparent 70%, rgba(27, 29, 31, .55)),
    radial-gradient(ellipse at center, transparent 55%, rgba(14, 15, 16, .55));
}
.cs-wipe img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.cs-caption {
  display: flex; align-items: center; gap: 16px;
  margin-top: 20px;
  font: 400 10px/1 var(--cs-sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--cs-dim);
}
.cs-caption-num {
  color: var(--cs-brass-hi);
  padding-right: 16px; border-right: 1px solid rgba(201, 150, 61, .4);
}
.cs-quote {
  margin: 0; padding: 0 0 0 clamp(0px, 2vw, 30px);
  font-family: var(--cs-serif); font-style: italic; font-weight: 300;
  font-size: clamp(30px, 3vw, 46px); line-height: 1.15;
  color: var(--cs-ink);
}
.cs-gallery .cs-shot--b .cs-caption { justify-content: flex-end; }

/* =========================================================
   NOTIFY
   ========================================================= */
.cs-notify {
  position: relative;
  padding: 0 clamp(20px, 5vw, 80px) clamp(100px, 12vw, 170px);
}
.cs-panel {
  position: relative;
  max-width: 760px; margin: 0 auto;
  padding: 1px;
  overflow: hidden;
  background: rgba(201, 150, 61, .22);
  box-shadow: 0 0 60px rgba(201, 150, 61, .06), 0 40px 90px rgba(0, 0, 0, .35);
}
.cs-panel-glow {
  position: absolute; left: 50%; top: 50%;
  width: 180%; aspect-ratio: 1;
  background: conic-gradient(from 0deg,
      transparent 0deg, transparent 250deg,
      rgba(201, 150, 61, .35) 300deg, rgba(240, 196, 120, .95) 330deg, rgba(201, 150, 61, .35) 345deg,
      transparent 360deg);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: cs-orbit 16s linear infinite;
}
.cs-panel-inner {
  position: relative;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 150, 61, .07), transparent 70%),
    linear-gradient(180deg, #17191b, var(--cs-deep));
}
.cs-panel-title {
  margin: 0 0 18px;
  font-family: var(--cs-serif); font-style: italic; font-weight: 300;
  font-size: clamp(42px, 5vw, 70px); line-height: 1;
  color: var(--cs-ink);
}
.cs-panel-text {
  margin: 0 auto 42px; max-width: 44ch;
  font: 300 15px/1.75 var(--cs-sans); color: var(--cs-dim);
}

.cs-root .notify-form {
  display: flex; align-items: flex-end; gap: 22px;
  max-width: 520px; margin: 0 auto;
}
.cs-field { flex: 1; display: block; text-align: left; }
.cs-field-label {
  display: block; margin-bottom: 10px;
  font: 400 10px/1 var(--cs-sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--cs-dim); opacity: .75;
}
.cs-root .notify-form input[type="email"] {
  width: 100%;
  padding: 12px 0 13px;
  border: 0; border-bottom: 1px solid rgba(236, 232, 223, .22);
  border-radius: 0;
  background: transparent;
  color: var(--cs-ink);
  font: 300 17px/1.2 var(--cs-sans);
  letter-spacing: .02em;
  outline: none;
  transition: border-color 1s var(--cs-ease);
}
.cs-root .notify-form input[type="email"]:focus { border-bottom-color: var(--cs-brass-hi); }
.cs-submit {
  flex: none;
  padding: 16px 28px;
  border: 1px solid rgba(201, 150, 61, .6);
  background: transparent;
  color: var(--cs-ink);
  font: 400 11px/1 var(--cs-sans); letter-spacing: .3em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color 1.2s var(--cs-ease), border-color 1.2s var(--cs-ease);
}
.cs-submit:hover, .cs-submit:focus-visible { background-color: rgba(201, 150, 61, .14); border-color: var(--cs-brass-hi); outline: none; }
.cs-root .notify-note {
  min-height: 1.6em;
  margin: 20px 0 30px;
  font: 300 14px/1.6 var(--cs-sans); color: var(--cs-brass-hi);
}
.cs-textlink--center { margin-top: 4px; }

/* =========================================================
   SCROLL REVEALS (only when JS is running)
   ========================================================= */
.cs-js [data-cs-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 2s var(--cs-ease) var(--cs-d, 0s), transform 2.2s var(--cs-ease) var(--cs-d, 0s);
}
.cs-js [data-cs-reveal].cs-in { opacity: 1; transform: none; }
.cs-js .cs-reason .cs-reason-line { transform: scaleX(0); transition: transform 2.4s var(--cs-ease) calc(var(--cs-d, 0s) + .2s); }
.cs-js .cs-reason.cs-in .cs-reason-line { transform: scaleX(1); }

.cs-js .cs-wipe {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2.4s var(--cs-ease);
}
.cs-js .cs-shot--b .cs-wipe { clip-path: inset(0 0 0 100%); }
.cs-js .cs-wipe img { transform: scale(1.12); transition: transform 3.2s var(--cs-ease); }
.cs-js .cs-shot.cs-in .cs-wipe { clip-path: inset(0 0 0 0); }
.cs-js .cs-shot.cs-in .cs-wipe img { transform: scale(1.02); }
.cs-js .cs-shot .cs-caption { --cs-d: .9s; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes cs-fade-in { to { opacity: 1; } }
@keyframes cs-rise { to { opacity: 1; transform: none; } }
@keyframes cs-line-up { 0% { opacity: 0; transform: translateY(105%); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes cs-emerge { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes cs-breathe { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes cs-sweep {
  0%   { background-position: 120% 0; }
  32%  { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}
@keyframes cs-streak {
  0%   { background-position: 110% 0; }
  60%  { background-position: -10% 0; }
  100% { background-position: -10% 0; }
}
@keyframes cs-status {
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}
@keyframes cs-drip { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(100%); } }
@keyframes cs-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) and (min-width: 800px) {
  .cs-hero-stage { left: 30vw; width: 72vw; }
  .cs-hero-copy { width: min(400px, 38vw); }
}

@media (max-width: 799px) {
  .cs-hero {
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 28px 22px 110px;
    background:
      radial-gradient(ellipse 90% 34% at 50% 22%, rgba(14, 22, 52, .6), transparent 75%),
      linear-gradient(180deg, var(--cs-deep) 0%, var(--cs-char) 100%);
  }
  .cs-hero-atmos { background: radial-gradient(ellipse 70% 14% at 50% 36%, rgba(150, 32, 22, .18), transparent 70%); }
  .cs-hero-stage {
    position: relative; top: auto; left: auto;
    width: calc(100% + 60px); margin: 0 -30px 8px;
    transform: none;
  }
  .cs-hero-photo {
    --cs-mask-x: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    --cs-mask-y: linear-gradient(180deg, transparent 0%, #000 12%, #000 72%, rgba(0,0,0,.45) 86%, transparent 100%);
  }
  .cs-hero-copy { width: 100%; }
  .cs-eyebrow { margin-bottom: 18px; }
  .cs-title { font-size: clamp(50px, 15vw, 72px); margin-bottom: 20px; }
  .cs-lede { font-size: 15px; margin-bottom: 28px; }
  .cs-status { margin-bottom: 30px; }
  .cs-hero-actions { gap: 22px 28px; }
  .cs-scroll { bottom: 22px; }

  .cs-reasons-row { grid-template-columns: 1fr; gap: 52px; }

  .cs-gallery { display: flex; flex-direction: column; gap: 56px; padding-left: 0; padding-right: 0; }
  .cs-shot--a { margin-right: 22px; }
  .cs-shot--b { margin: 0 0 0 22px; }
  .cs-caption { padding: 0 22px; }
  .cs-shot--a .cs-caption { padding-right: 0; }
  .cs-shot--b .cs-caption { padding-left: 0; }
  .cs-quote { order: 2; padding: 0 22px; font-size: 32px; }
  .cs-shot--b { order: 3; }

  .cs-root .notify-form { flex-direction: column; align-items: stretch; gap: 26px; }
  .cs-submit { width: 100%; }
}

/* =========================================================
   REDUCED MOTION — everything visible, nothing moves
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .cs-root *, .cs-root *::before, .cs-root *::after {
    animation: none !important;
    transition: none !important;
  }
  .cs-hero-atmos, .cs-hero-photo, .cs-hero-floor, .cs-scroll, .cs-fade,
  .cs-line > span { opacity: 1 !important; transform: none !important; }
  .cs-scroll { transform: translateX(-50%) !important; }
  .cs-hero-sweep, .cs-panel-glow { display: none; }
  .cs-js [data-cs-reveal] { opacity: 1; transform: none; }
  .cs-js .cs-reason .cs-reason-line { transform: none; }
  .cs-js .cs-wipe { clip-path: none; }
  .cs-js .cs-wipe img { transform: scale(1.02); }
  .cs-hero-img { transform: scale(1.02); }
  .cs-status-track span { background: var(--cs-brass); opacity: .5; }
}
