:root {
  color-scheme: dark;
  --bg: #101013;
  --panel: #17171d;
  --text: #bb72d2;
  --blue: #469bd2;
  --gold: #ffb829;
  --muted: #ebe6ee;
  --line: #34313a;
  --accent: #bb72d2;
  --gradient: linear-gradient(100deg,#007daf 0%,#3b79ba 25%,#bb72d2 48%,#db8b96 65%,#f6ac46 80%,#ffb829 100%);
  --heading: Outfit, Poppins, sans-serif;
  --body: Poppins, sans-serif;
  --radius: 15px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.7 var(--body); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.01; letter-spacing: -.045em; }
h1 { font-size: clamp(52px, 6.55vw, 105px); }
h2 { font-size: clamp(40px, 5.3vw, 76px); }
h3 { font-size: 40px; }
p { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; transform: translateY(-200%); background: var(--bg); padding: 8px 16px; }
.skip:focus { transform: none; }
.wrap { width: min(1280px, calc(100% - 100px)); margin-inline: auto; }
.header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 182px; height: auto; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); font-size: 13px; }
nav a:hover, footer a:hover { color: var(--accent); }
.menu { display: none; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 10px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.button span { font-size: 16px; }
.primary { background: var(--gradient); color: #08060a; }
.primary:hover { filter: brightness(1.12); }
.outline { border-color: #514a5b; }
.outline:hover { border-color: var(--accent); background: #231d2d; }
.gradient { color: var(--accent); background: var(--gradient); background-clip: text; -webkit-text-fill-color: transparent; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; min-height: 600px; margin-block: 24px;
  padding: clamp(22px, 3vw, 44px);
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(105deg, #24405b, #45365d 35%, #53354e 70%, #59432f) border-box; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { width: 22px; height: 2px; background: var(--gradient); }
.intro { max-width: 500px; margin-top: 25px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero-visual { isolation: isolate; position: relative; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; gap: 8px; padding: 16px 8px 30px; }
.hero-visual::before { content: ''; position: absolute; z-index: -1; inset: 0 2% 23px; border: 1px solid #302934; border-radius: 46% 42% 37% 44% / 40% 42% 34% 45%; transform: rotate(-10deg); }
.hero-visual figcaption { position: absolute; bottom: 0; right: 0; color: var(--muted); font-size: 10px; letter-spacing: .09em; }
.hero-phone, .phone { position: relative; aspect-ratio: 9/16; overflow: hidden; background: #23212a; border: 3px solid #25212b; outline: 1px solid #615569; border-radius: clamp(13px, 2vw, 29px); }
.hero-phone img, .phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone::after, .phone::after { content: ''; position: absolute; top: 6px; left: 50%; width: 29%; height: 8px; border-radius: 9px; background: #17161a; transform: translateX(-50%); }
.hero-phone.first { transform: translate(8%, 4%) rotate(-11deg); }
.hero-phone.second { z-index: 1; transform: translateY(-5%); }
.hero-phone.third { transform: translate(-8%, 4%) rotate(11deg); }
.proof { overflow: hidden; margin-top: clamp(36px, 4vw, 54px); border-block: 1px solid var(--line); background: #141319; }
.proof-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr; padding-block: 24px; }
.proof-grid > div { padding: 6px 30px; border-left: 1px solid var(--line); }
.proof-grid > div:first-child { border: 0; padding-left: 0; }
.proof strong { display: inline-block; font: 400 clamp(42px, 5vw, 64px)/1 var(--heading); letter-spacing: -.04em; }
.proof p { margin-top: 8px; font-size: 13px; }
.cert { display: flex; align-items: center; gap: 16px; }
.cert img { object-fit: contain; }
.cert p { margin-top: 0; }
.cert b { color: var(--text); font-weight: 600; }
.section { padding-block: clamp(60px, 8.7vw, 118px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading > p { max-width: 290px; }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 3vw, 44px); }
.showcase-grid figcaption { margin-top: 14px; font-size: 13px; }
.phone { border-width: 5px; }
.agency { background: var(--panel); border-block: 1px solid var(--line); }
.agency-grid { display: grid; grid-template-columns: 1.16fr 1fr; gap: clamp(30px, 7vw, 104px); align-items: center; }
.reel { display: grid; place-items: center; position: relative; aspect-ratio: 9/16; width: min(100%, 290px); justify-self: center; overflow: hidden; background: #0e0e12; border: 1px solid var(--line); border-radius: var(--radius); }
.reel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-label { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; background: #23202b; border-radius: 6px; padding: 5px 10px; font-size: 11px; }
.reel-label span { color: var(--accent); font-size: 17px; }
.agency-copy > p:not(.eyebrow) { margin-block: 20px 24px; }
.agency-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr)); max-width: 383px; margin-top: 0; }
.agency-actions .button { min-height: 44px; padding: 7px 9px; gap: 10px; font-size: 12px; }
.explore { padding-block: clamp(52px, 7.5vw, 96px); }
.path-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.path-grid article { display: flex; flex-direction: column; padding: 22px 22px 23px; border-left: 1px solid var(--line); scroll-margin-top: 24px; }
.path-grid article:first-child { padding-left: 0; border-left: 0; }
.path-grid article:target { background: var(--panel); box-shadow: inset 0 3px var(--accent); }
.path-grid h3 { display: flex; align-items: center; height: 44px; }
.path-grid .eyebrow { margin-bottom: 13px; }
.path-grid article p:not(.eyebrow) { margin-block: 13px 18px; font-size: 13px; }
.path-grid article a { margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 600; }
.path-grid article a:hover { text-decoration: underline; text-underline-offset: 5px; }
.product-logo { width: min(100%, 170px); max-height: 42px; object-fit: contain; object-position: left center; }
footer { border-top: 1px solid var(--line); background: #0d0d10; }
.footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 20px 36px; padding-block: 33px; }
.footer-nav { flex-wrap: wrap; justify-content: flex-end; }
.footer-links { grid-row: 2; grid-column: 2; justify-content: flex-end; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; font-size: 13px; }
.footer-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 52px); }
.footer-logos a { display: grid; place-items: end center; min-height: 44px; }
.footer-logos img { width: 100%; max-width: 190px; height: auto; }
/* Align the ELLEVATE lettering at the row bottom, allowing its subtitle below. */
.footer-logos a:nth-child(2) img { transform: translateY(34.7%); }
.footer small { grid-row: 2; grid-column: 1; color: var(--accent); }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 480px; }
  .nav-kit { padding-inline: 12px; gap: 8px; }
  .logo img { width: 148px; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .path-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 66px; gap: 12px; }
  .nav-kit { display: none; }
  .menu { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 4px 10px; color: var(--text); background: none; border: 1px solid var(--line); border-radius: 6px; font: 500 12px var(--body); }
  #site-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 14px 18px 20px; background: var(--panel); border-bottom: 1px solid var(--line); }
  .menu[aria-expanded="true"] + #site-nav { display: grid; gap: 0; }
  nav a { padding: 12px 6px; }
  h1 { font-size: clamp(38px, 10.2vw, 76px); }
  .hero { grid-template-columns: 1fr; padding: 34px 18px 24px; gap: 32px; }
  .hero-visual { width: min(100%, 505px); margin-inline: auto; }
  .desktop-break { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding-block: 18px; }
  .proof-grid > div { padding-inline: 14px 0; }
  .proof-grid > .cert { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; padding: 14px 0 0; }
  .cert img { width: 88px; height: 88px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .agency-grid { grid-template-columns: 1fr; }
  .agency-copy { grid-row: 1; }
  .path-grid article { padding: 18px 12px 19px; }
  .path-grid .eyebrow { letter-spacing: .09em; font-size: 10px; }
  .path-grid h3 { font-size: clamp(23px, 6.8vw, 34px); }
  .footer { grid-template-columns: 1fr; }
  .footer-nav, .footer-links { justify-content: flex-start; }
  .footer-links, .footer small { grid-row: auto; grid-column: auto; }
}
@media (forced-colors: active) {
  .gradient { background: none; -webkit-text-fill-color: currentColor; }
}
.button span, .path-grid article a span, .reel-label span, .menu span { font-family: Arial, sans-serif; }


.hero h1, #showcase-title, .agency h2, .explore h2 { color: #f8f6fa; }
.hero-title-lead { display: block; }
.hero-title-follow { display: inline-block; max-width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  #hero-title > :is(.hero-title-lead, .hero-title-follow) {
    animation: hero-title-tilt 780ms cubic-bezier(.18,.76,.25,1) both;
    transform-origin: left center;
  }
  #hero-title > .hero-title-lead { animation-delay: 100ms; }
  #hero-title > .hero-title-follow { animation-delay: 1100ms; }
  #hero-title + .intro {
    animation: hero-intro-slide 720ms cubic-bezier(.18,.76,.25,1) 1600ms both;
  }
}

@keyframes hero-title-tilt {
  from { opacity: 0; transform: perspective(850px) translateY(16px) rotateX(24deg) rotateY(-18deg) rotateZ(-3deg); }
  65% { opacity: 1; }
  to { opacity: 1; transform: none; }
}

@keyframes hero-intro-slide {
  from { opacity: 0; transform: translateX(clamp(28px, 6vw, 88px)); }
  to { opacity: 1; transform: translateX(0); }
}

.path-grid h3 { color: var(--accent); }
.path-grid h3.audience-title { color: #719bd8; }
.showcase { padding-top: clamp(36px, 5vw, 68px); padding-bottom: clamp(32px, 4.5vw, 62px); }
.agency { padding-top: clamp(34px, 5vw, 68px); }
.phone video, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0e0e12; }
.phone::after { pointer-events: none; }
.hero-visual figcaption { color: var(--accent); }
.showcase-grid figcaption, .footer-links { color: var(--blue); }
.policy h1 { margin-block: 28px 16px; }
.brand-strip { padding-block: 26px; border-bottom: 1px solid var(--line); }
.brand-strip .eyebrow { font-family: var(--body); }
.brand-viewport { overflow: hidden; }
.brand-track { display: flex; width: max-content; }
.brand-logos { display: flex; align-items: center; justify-content: space-around; min-width: min(1280px, calc(100vw - 36px)); gap: 24px; margin: 0; padding: 0 24px; list-style: none; }
.brand-logos img { width: 140px; height: 64px; object-fit: contain; }
.brand-toggle { display: none; margin: 0 0 10px auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--bg); font: 500 12px var(--body); cursor: pointer; }
.scrolling .brand-toggle { display: block; }
.scrolling .brand-track { animation: brand-scroll 24s linear infinite; }
.scrolling.paused .brand-track, .scrolling .brand-viewport:hover .brand-track { animation-play-state: paused; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .scrolling .brand-track { animation: none; width: auto; }
  .brand-logos { flex-wrap: wrap; min-width: 0; }
  .brand-logos[aria-hidden], .scrolling .brand-toggle { display: none; }
}

#site-nav a { color: #719bd8; }
.footer-nav a { color: var(--muted); }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy, .hero-visual { animation: enter 650ms ease-out both; }
  .hero-visual { animation-delay: 110ms; }
  .button, .phone { transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, filter 220ms ease; }
  .button:hover, .showcase-grid figure:hover .phone { transform: translateY(-3px); }
  .reveal-ready {
    opacity: 0;
    transform: translateY(clamp(30px, 5vw, 64px));
    transition: opacity 720ms ease, transform 820ms cubic-bezier(.2,.75,.25,1);
  }
  .reveal-ready.in-view:nth-child(2) { transition-delay: 80ms; }
  .reveal-ready.in-view:nth-child(3) { transition-delay: 150ms; }
  .reveal-ready.in-view:nth-child(4) { transition-delay: 210ms; }
  .reveal-ready:focus-within, .reveal-ready:has(:target) { transition: none; }
  .reveal-ready.in-view, .reveal-ready:focus-within, .reveal-ready:target, .reveal-ready:has(:target) { opacity: 1; transform: none; }
}
@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.detail-page { padding-block: clamp(38px, 6vw, 84px); }
.detail-hero, .detail-close { padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.detail-hero h1, .detail-section h2 { color: #f8f6fa; }
.detail-section { padding-block: clamp(40px, 6vw, 78px); }
.detail-section h2 { margin-bottom: 26px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.detail-grid article { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.8vw, 32px); }
.detail-grid h3 { font-size: clamp(25px, 3vw, 38px); margin-bottom: 12px; }
.detail-close p { margin-bottom: 14px; }
.detail-close .detail-note { margin: 14px 0 0; font-size: 13px; }
#site-nav a[aria-current="page"], .footer-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-hero .button { white-space: normal; }
}

.brand-contact h2 { color: #f8f6fa; margin-bottom: 14px; }
.brand-contact form { max-width: 760px; }
.brand-contact label { display: grid; gap: 5px; }
.brand-contact label span { display: inline; font-size: 12px; }
.brand-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 23px 0 18px; }
.brand-message { grid-column: 1 / -1; }
.brand-contact input, .brand-contact textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--muted); font: inherit; }
.brand-contact textarea { resize: vertical; }
.brand-contact button { font-family: var(--body); cursor: pointer; }
.brand-contact .detail-note a { text-decoration: underline; overflow-wrap: anywhere; }
.brand-closing-line { margin: clamp(30px, 5vw, 64px) 0 0; text-align: center; font: 400 clamp(20px, 3vw, 36px)/1.1 var(--heading); }
@media (max-width: 760px) {
  .brand-form-grid { grid-template-columns: minmax(0, 1fr); }
}

.split-detail-hero, .creators-academy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.split-detail-hero {
  border-color: transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(105deg, #24405b, #45365d 35%, #53354e 70%, #59432f) border-box;
}
.detail-hero-heading h1 { font-size: clamp(37px, 5.8vw, 92px); }
.detail-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-hero-actions .button { padding-inline: 10px; gap: 8px; white-space: normal; text-align: center; }
.creators-academy { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.creators-academy h2 { color: #f8f6fa; font-size: clamp(26px, 3.3vw, 48px); margin-bottom: 14px; }
.creators-academy img { width: min(100%, 280px); height: auto; justify-self: end; }
@media (max-width: 760px) {
  .split-detail-hero, .creators-academy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .detail-hero-actions { grid-template-columns: minmax(0, 1fr); }
}


.loop-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(6px, 1.3vw, 18px); }
.brand-carousel { margin-top: var(--brand-carousel-gap); }
.carousel-viewport { overflow: hidden; }
.loop-carousel button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--text); font-size: 18px; cursor: pointer; }
.loop-carousel button:hover { border-color: var(--accent); }
.carousel-track { display: flex; width: max-content; gap: 10px; padding: 0; margin: 0; list-style: none; }
#brand-logo-track li { flex: 0 0 clamp(97.5px, 10.5vw, 150px); display: grid; place-items: center; height: clamp(97.5px, 10.5vw, 150px); padding: 8px; border: 1px dashed var(--line); border-radius: 50%; background: var(--panel); color: var(--muted); text-align: center; font-size: 11px; }
#brand-logo-track li:has(> img) { padding: 0; overflow: hidden; }
#brand-logo-track img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }

.detail-page:has(.brand-carousel) { --brand-carousel-gap: clamp(24px, 3vw, 42px); }
.brands-work { padding-top: var(--brand-carousel-gap); }
.brands-work h2 { text-align: right; }
.brands-work .detail-grid h3 { text-align: center; font-size: clamp(20px, 2.25vw, 30px); }
.brands-work .detail-grid p { text-align: center; }
@media (min-width: 761px) {
  .brands-work .detail-grid { row-gap: 0; }
  .brands-work .detail-grid article { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .brands-work .detail-grid h3 { align-self: center; }
}

.creator-carousel { margin-bottom: clamp(28px, 5vw, 68px); }
.creator-carousel .carousel-viewport { padding-block: 2px; }
#creator-phone-track { gap: clamp(12px, 2vw, 24px); }
#creator-phone-track .phone { flex: 0 0 clamp(120px, 14vw, 190px); }

.about-story { align-items: start; }
.about-story h1 { color: #719bd8; font-size: clamp(36px, 5.5vw, 80px); }
.about-story-copy p + p { margin-top: 16px; }

.founder-portrait { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px 18px; margin: clamp(24px, 5vw, 68px) 0 0 clamp(0px, 2vw, 30px); }
.founder-portrait img { width: 144px; height: 144px; object-fit: cover; object-position: center 30%; border-radius: 50%; }
.founder-portrait figcaption { padding-bottom: 12px; color: var(--accent); font-size: 12px; line-height: 1.5; }
.founder-portrait strong { display: block; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .detail-hero, .policy { animation: enter 650ms ease-out both; }
  .about-story-copy { animation: enter 650ms 100ms ease-out both; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  @supports (animation-timeline: view()) {
    .showcase-grid .phone, .detail-grid h3, .founder-portrait img {
      animation-name: scroll-settle;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}

@keyframes scroll-settle {
  from { rotate: -2deg; translate: 0 8px; }
  to { rotate: 0deg; translate: 0; }
}

.hero-brand-logo {
  display: block;
  grid-column: 1 / -1;
  justify-self: end;
  align-self: end;
  width: clamp(105px, 12vw, 165px);
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: phone-arrival 850ms cubic-bezier(.18,.74,.24,1) backwards; }
  .hero-phone.first { --phone-entry-angle: -12deg; animation-delay: 175ms; }
  .hero-phone.second { --phone-entry-angle: 7deg; animation-delay: 255ms; }
  .hero-phone.third { --phone-entry-angle: 12deg; animation-delay: 335ms; }

  .showcase-grid figure.reveal-ready:not(.in-view, :focus-within, :target, :has(:target)) {
    transform: perspective(900px) translate(14px, 42px) rotateY(-10deg);
    clip-path: inset(0 8% 0 0);
  }
  .showcase-grid figure.reveal-ready {
    clip-path: inset(-12px);
    transition: opacity 720ms ease, transform 850ms cubic-bezier(.2,.75,.25,1),
      clip-path 820ms cubic-bezier(.2,.75,.25,1);
  }
  .showcase-grid figure.reveal-ready:focus-within, .showcase-grid figure.reveal-ready:has(:target) { transition: none; }

  :is(#brands, .brands-work article, .brand-carousel).reveal-ready:not(.in-view, :focus-within, :target, :has(:target)) {
    transform: translate(-14px, 46px);
  }
  :is(#ellevate, .creators-academy).reveal-ready:not(.in-view, :focus-within, :target, :has(:target)) {
    transform: perspective(900px) translateY(38px) rotateX(18deg);
  }
  #ellemmo.reveal-ready:not(.in-view, :focus-within, :target, :has(:target)) {
    transform: perspective(900px) translate(12px, 36px) rotateY(-18deg);
  }
  .path-grid article:target { opacity: 1; transform: none; transition: none; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  @supports (animation-timeline: scroll()) {
    .hero-visual {
      animation: enter 650ms 110ms ease-out both, hero-parallax 1ms linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0px 680px;
    }
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .hero-phone { transition: rotate 340ms ease, scale 340ms ease; }
  .hero-phone:hover { rotate: y -10deg; scale: 1.035; }
  .showcase-grid figure .phone { transition: transform 340ms ease; }
  .showcase-grid figure:hover .phone { transform: perspective(750px) translateY(-6px) rotateX(4deg) rotateY(-5deg); }

  .path-grid article, .detail-grid article { transition: translate 300ms ease; }
  .path-grid article.reveal-ready, .detail-grid article.reveal-ready {
    transition: opacity 720ms ease, transform 820ms cubic-bezier(.2,.75,.25,1), translate 300ms ease;
  }
  .path-grid article.in-view:hover, .detail-grid article.in-view:hover { translate: 0 -5px; }
}

@keyframes phone-arrival {
  from { opacity: 0; translate: 0 20px; rotate: y var(--phone-entry-angle); }
  to { opacity: 1; translate: 0; rotate: y 0deg; }
}

@keyframes hero-parallax {
  from { translate: 0; }
  to { translate: 0 32px; }
}
