/* Roundo — art direction layer: film grain, glass, cinematic home, motion. Loaded after app.css. */
:root { --serif: Cormorant, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif; --hh: 63px; --r: 18px; --ease: cubic-bezier(.2, .7, .1, 1); }
::selection { background: var(--ink); color: var(--bg); }
html { scrollbar-width: thin; scrollbar-color: var(--tan) transparent; }

/* film grain over everything: gives the flat cream surfaces a paper feel */
body::before { content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .055; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22160%22 height=%22160%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.9%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E"); }

h2 { font-weight: 200; letter-spacing: -.01em; }
.sec h2 { font-size: clamp(26px, 3vw, 46px); }
.logo { font-size: 29px; letter-spacing: .1em; }
.btn { border-radius: 999px; }
.btn .ic { transition: translate .3s var(--ease); }
[dir=rtl] .btn:hover .ic:last-child { translate: -4px 0; }
[dir=ltr] .btn:hover .ic:last-child { translate: 4px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .08em; font-size: 12.5px; color: var(--muted); text-transform: uppercase; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.eyebrow .ic { width: 15px; height: 15px; }
.d-side .eyebrow::before { display: none; }
.center-text { text-align: center; display: grid; justify-items: center; gap: 6px; }

#header { -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); transition: background .45s, color .45s, border-color .45s; }
.glass { background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); color: #fff; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .22); }
.modal-wrap { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tagpop { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .6); border-radius: 16px; }

/* motion: page enter + reveal on scroll (classes are added by app.js) */
#app.enter { animation: page .6s var(--ease); }
@keyframes page { from { opacity: 0; transform: translateY(10px); } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* home: the header floats over the film until you scroll */
body.home #header { position: fixed; inset: 0 0 auto 0; }
body.home:not(.scrolled) #header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
body.home:not(.scrolled) #header :is(.mainnav a, .icon-btn) { color: rgba(255, 255, 255, .88); }
body.home:not(.scrolled) #header .mainnav a:hover { color: #fff; border-color: #fff; }
body.home:not(.scrolled) #header .search { visibility: hidden; }
body.home:not(.scrolled) #header .icon-btn:hover { background: rgba(255, 255, 255, .16); }
body.home:not(.scrolled) #header .btn.ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
body.home:not(.scrolled) #header .btn.dark { background: #fff; color: var(--ink); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 700px; display: grid; overflow: hidden; isolation: isolate; color: #fff; background: #2a241c; --p: 0; --mx: 0; --my: 0; }
.hero-video { position: absolute; inset: -5%; width: 110%; height: 110%; max-width: none; object-fit: cover; z-index: -2; filter: blur(calc(var(--p) * 22px)) saturate(1.05); scale: calc(1.02 + var(--p) * .1); translate: calc(var(--mx) * -18px) calc(var(--my) * -18px); transition: translate .9s ease-out; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 16, 9, .55), rgba(22, 16, 9, .12) 38%, rgba(22, 16, 9, .62)), linear-gradient(to left, rgba(22, 16, 9, .66), transparent 68%); }
[dir=ltr] .hero-shade { background: linear-gradient(180deg, rgba(22, 16, 9, .55), rgba(22, 16, 9, .12) 38%, rgba(22, 16, 9, .62)), linear-gradient(to right, rgba(22, 16, 9, .66), transparent 68%); }
.hero-body { align-self: center; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: var(--hh) 28px 150px; display: grid; gap: 20px; justify-items: start; opacity: calc(1 - var(--p) * 1.4); translate: 0 calc(var(--p) * -50px); }
.hero-body > * { animation: rise 1.1s var(--ease) both; }
.hero-body > :nth-child(2) { animation-delay: .12s; }
.hero-body > :nth-child(3) { animation-delay: .24s; }
.hero-body > :nth-child(4) { animation-delay: .36s; }
.hero-body > :nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); filter: blur(10px); } }
.hero h1 { font-size: clamp(40px, 6.6vw, 108px); font-weight: 200; line-height: 1.2; letter-spacing: -.025em; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
[dir=ltr] .hero h1 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
.rot { display: inline-grid; vertical-align: bottom; justify-items: start; overflow: visible; transition: width .7s var(--ease); }
.rot em { grid-area: 1 / 1; white-space: nowrap; font-style: normal; color: #ffdfae; text-shadow: 0 2px 26px rgba(20, 12, 4, .6); opacity: 0; transform: translateY(.45em); filter: blur(10px); transition: opacity .7s, transform .7s var(--ease), filter .7s; }
.rot em.on { opacity: 1; transform: none; filter: none; }
[dir=ltr] .rot em { font-style: italic; }
.hero p { max-width: 54ch; font-size: clamp(15px, 1.3vw, 18px); color: rgba(255, 255, 255, .9); }
.hero-search { max-width: 580px; width: 100%; margin: 6px 0 0; padding: 7px; padding-inline-start: 20px; border-radius: 999px; }
.hero-search input { color: #fff; font-size: 15px; }
.hero-search input::placeholder { color: rgba(255, 255, 255, .72); }
.hero-search .ic { color: #fff; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn.glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hero-cta .btn.glass:hover { background: rgba(255, 255, 255, .24); }

.floats { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--p) * 1.6); }
.float { position: absolute; pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 258px; padding: 10px; border-radius: 20px; translate: calc(var(--mx) * var(--k) * 1px) calc(var(--my) * var(--k) * 1px); transition: translate .8s ease-out, background .3s; animation: bob 8s ease-in-out infinite; }
.float:hover { background: rgba(255, 255, 255, .24); }
.float .pimg { width: 68px; flex: none; border-radius: 14px; }
.float span { display: grid; min-width: 0; line-height: 1.5; }
.float b { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float small { color: rgba(255, 255, 255, .75); }
.float em { font-style: normal; font-size: 12.5px; }
.float.f0 { top: 20%; inset-inline-end: 9%; --k: 46; }
.float.f1 { top: 41%; inset-inline-end: 23%; --k: -30; animation-delay: -3s; }
.float.f2 { top: 60%; inset-inline-end: 6%; --k: 64; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.dock { position: absolute; bottom: 24px; inset-inline: 28px; max-width: calc(var(--wrap) - 56px); margin-inline: auto; border-radius: 28px; padding: 0 10px; opacity: calc(1 - var(--p) * 1.8); }
.dock .strip { padding: 14px 6px 10px; gap: 2px; }
.dock .strip a { width: 92px; color: rgba(255, 255, 255, .88); gap: 8px; }
.dock .strip a:hover { color: #fff; }
.dock .strip .pimg { width: 60px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.scroll-cue { position: absolute; bottom: 150px; inset-inline-end: 34px; width: 26px; height: 42px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue i { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* the three loops */
.loops { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(60px, 9vw, 130px) 0; overflow: hidden; }
.loops .wrap { margin-block: 0; }
.loops-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.loops-text { display: grid; gap: 22px; justify-items: start; }
.loops-text h2 { font-size: clamp(42px, 5.6vw, 92px); line-height: 1.15; }
[dir=ltr] .loops-text h2 { font-family: var(--serif); font-weight: 400; line-height: 1; }
.loops-text p { max-width: 46ch; font-size: 16px; color: var(--ink2); }
.rings { position: relative; width: min(100%, 540px); aspect-ratio: 1; justify-self: center; }
.ring { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-content: center; justify-items: center; background: rgba(185, 164, 140, .1); transition: background .5s, scale .5s var(--ease); }
.ring:hover { background: rgba(185, 164, 140, .32); scale: 1.04; z-index: 2; }
.ring b { font: 200 clamp(36px, 4.5vw, 64px)/1.1 var(--sans); }
[dir=ltr] .ring b { font-family: var(--serif); font-weight: 400; }
.ring span { color: var(--ink2); letter-spacing: .04em; }
.ring i { position: absolute; inset: -1px; border-radius: 50%; animation: spin 16s linear infinite; }
.ring i::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.ring.r1 { top: 0; left: 21%; }
.ring.r2 { bottom: 0; left: 0; }
.ring.r2 i { animation-duration: 22s; animation-direction: reverse; }
.ring.r3 { bottom: 0; right: 0; }
.ring.r3 i { animation-duration: 28s; }
.rings-core { position: absolute; left: 50%; top: 57%; translate: -50% -50%; font: italic 400 20px var(--serif); letter-spacing: .08em; color: var(--ink2); pointer-events: none; }

.marquee { overflow: hidden; direction: ltr; padding: 26px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee > div { display: flex; gap: 70px; width: max-content; animation: marq 46s linear infinite; }
.marquee span { font-size: clamp(38px, 6vw, 96px); font-weight: 100; line-height: 1.3; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--tan); }
.marquee span:nth-child(3n) { color: var(--ink); -webkit-text-stroke: 0; }
@keyframes marq { to { transform: translateX(-50%); } }

.live .sec { margin-bottom: 30px; }
.compose .scene-media { width: min(100%, calc(66vh * var(--ar))); box-shadow: 0 50px 90px -50px rgba(60, 45, 25, .55); border-radius: var(--r); }
.compose h3 { font-size: clamp(17px, 1.8vw, 24px); font-weight: 300; }
.banner { border-radius: 28px; background: linear-gradient(120deg, var(--tan-soft), #e3d5c2); }
.banner .scene-media img { border-radius: 28px; }

.ai-band { position: relative; display: grid; align-items: center; min-height: 560px; margin: 90px 28px 0; border-radius: 32px; overflow: hidden; isolation: isolate; }
.ai-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.ai-card { display: grid; gap: 16px; justify-items: start; max-width: 540px; margin: 40px clamp(20px, 5vw, 70px); padding: clamp(24px, 3vw, 44px); border-radius: 28px; background: rgba(38, 30, 20, .38); }
.ai-card h2 { font-size: clamp(26px, 3vw, 44px); }
.ai-card p { color: rgba(255, 255, 255, .88); }

.card.product, .card.brand, .card.arch, .panel, .gallery, .specs { border-radius: var(--r); }
.card.product:hover { box-shadow: 0 30px 60px -30px rgba(60, 45, 25, .45); transform: translateY(-4px); }

@media (max-width: 1100px) {
  .floats { display: none; }
  .loops-in { grid-template-columns: 1fr; }
  .rings { width: min(100%, 420px); }
}
@media (max-width: 680px) {
  .hero-body { padding-inline: 16px; padding-bottom: 170px; }
  .dock { inset-inline: 12px; bottom: 14px; }
  .scroll-cue { display: none; }
  .ai-band { margin-inline: 16px; min-height: 480px; }
  .hero-search .btn { padding-inline: 14px; }
  body.home:not(.scrolled) #header .mainnav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .hero-video { filter: none; }
}
@media print { body::before { display: none; } }
[dir=rtl] .marquee span { color: var(--tan); -webkit-text-stroke: 0; }
[dir=rtl] .marquee span:nth-child(3n) { color: var(--ink); }
