/*
Theme Name:   Synthetic Child
Theme URI:    https://synthetic.us
Description:  Synthetic Productions child theme for Hello Elementor parent.
Author:       Sharoze Iftikhar
Template:     hello-elementor
Version:      0.1.3
Text Domain:  synthetic-child
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* === Synthetic Brand System === */
.synth-widget {
--bg: #060911;
--bg2: #0c1121;
--panel: rgba(14, 22, 44, 0.6);
--border: rgba(255, 255, 255, 0.07);
--text: #f0f2fc;
--muted: rgba(255, 255, 255, 0.55);
--teal: #149EA1;
--purple: #924AB8;
--grad: linear-gradient(135deg, #149EA1, #924AB8);
--charcoal: #4A4A4A;
--grey-noir: #252525;
--max: 1200px;
--r: 16px;
width: 100vw;
max-width: 100vw;
margin-left: calc(50% - 50vw);
font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.75;
overflow-x: clip;
position: relative;
}

.synth-widget * {
box-sizing: border-box;
margin: 0;
padding: 0;
}

.synth-widget a {
text-decoration: none;
color: inherit;
}

.synth-widget ul {
list-style: none;
}

.synth-widget img {
display: block;
max-width: 100%;
}

/* ─── Accessibility ────────────────────────────────────────────── */
.synth-widget .s-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;
}

.synth-widget *:focus-visible {
outline: 2px solid var(--teal);
outline-offset: 3px;
border-radius: 4px;
}

/* ─── Shared Utilities ─────────────────────────────────────────── */
.synth-widget .s-wrap {
max-width: var(--max);
margin: 0 auto;
padding: 0 40px;
}

.synth-widget .s-label {
display: inline-block;
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
background: var(--grad);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 18px;
}

.synth-widget .s-center {
text-align: center;
}

.synth-widget .s-heading {
font-size: clamp(2rem, 4vw, 3.4rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.1;
color: var(--text);
margin-bottom: 20px;
}

.synth-widget .s-sub {
font-size: 1rem;
font-weight: 300;
color: var(--muted);
line-height: 1.8;
max-width: 580px;
margin-left: auto;
margin-right: auto;
}

.synth-widget .s-center .s-sub {
margin: 0 auto;
}

/* Scroll reveal */
.synth-widget .s-rev {
opacity: 0;
transform: translateY(32px);
transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.synth-widget .s-rev.s-vis {
opacity: 1;
transform: translateY(0);
}

/* Stagger helpers */
.synth-widget .s-d1 {
transition-delay: .1s;
}

.synth-widget .s-d2 {
transition-delay: .2s;
}

.synth-widget .s-d3 {
transition-delay: .3s;
}

.synth-widget .s-d4 {
transition-delay: .4s;
}

.synth-widget .s-d5 {
transition-delay: .5s;
}

/* ─── Buttons ──────────────────────────────────────────────────── */
.synth-widget .s-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 32px;
border-radius: 40px;
font-family: inherit;
font-size: 0.85rem;
font-weight: 600;
letter-spacing: 0.04em;
cursor: pointer;
transition: transform .25s ease, box-shadow .25s ease, opacity .25s;
text-decoration: none;
border: none;
}

.synth-widget .s-btn:hover {
transform: translateY(-3px);
}

.synth-widget .s-btn-fill {
background: var(--grad);
color: #fff;
box-shadow: 0 4px 24px rgba(20, 158, 161, 0.25);
}

.synth-widget .s-btn-fill:hover {
box-shadow: 0 8px 32px rgba(20, 158, 161, 0.4);
}

.synth-widget .s-btn-ghost {
background: transparent;
color: var(--text);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.synth-widget .s-btn-ghost:hover {
border-color: rgba(255, 255, 255, 0.5);
background: rgba(255, 255, 255, 0.05);
}

/* ─── HERO ─────────────────────────────────────────────────────── */

/* Tubes cursor canvas — scoped to hero only */
.synth-widget .s-hero-tubes-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}

/* Ensure hero children sit above the canvas */
.synth-widget .s-hero>*:not(.s-hero-tubes-canvas):not(.s-scroll-hint):not(.s-hero-blobs) {
position: relative;
z-index: 1;
}

.synth-widget .s-hero {
position: relative;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
overflow: hidden;
background: linear-gradient(135deg, #080b14 0%, #151a30 45%, #16213e 100%);
scroll-margin-top: 90px;
padding: 120px 40px 80px;
}

/* Subtle glow orbs */
.synth-widget .s-hero::before,
.synth-widget .s-hero::after {
content: '';
position: absolute;
border-radius: 50%;
pointer-events: none;
}

.synth-widget .s-hero::before {
width: 700px;
height: 700px;
top: -10%;
left: -5%;
background: radial-gradient(circle, rgba(20, 158, 161, 0.064) 0%, transparent 70%);
}

.synth-widget .s-hero::after {
width: 700px;
height: 700px;
bottom: -10%;
right: -5%;
background: radial-gradient(circle, rgba(146, 74, 184, 0.064) 0%, transparent 70%);
}

.synth-widget .s-hero-blobs {
position: absolute;
inset: 0;
overflow: hidden;
pointer-events: none;
z-index: 1;
}

.synth-widget .s-hero-blob {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.3;
transform: translate3d(0, 0, 0);
will-change: transform, opacity;
}

.synth-widget .s-hero-blob--teal {
width: min(45vw, 560px);
height: min(45vw, 560px);
left: -8vw;
top: 10vh;
background: radial-gradient(circle, rgba(20, 158, 161, 0.59) 0%, rgba(20, 158, 161, 0.086) 52%, transparent 72%);
animation: s-blob-teal 20s ease-in-out infinite alternate;
}

.synth-widget .s-hero-blob--purple {
width: min(42vw, 540px);
height: min(42vw, 540px);
right: -7vw;
top: 8vh;
background: radial-gradient(circle, rgba(146, 74, 184, 0.56) 0%, rgba(146, 74, 184, 0.086) 52%, transparent 72%);
animation: s-blob-purple 23s ease-in-out infinite alternate;
}

.synth-widget .s-hero-blob--mix {
width: min(50vw, 620px);
height: min(50vw, 620px);
left: 50%;
bottom: -28vh;
transform: translateX(-50%);
background: radial-gradient(circle, rgba(20, 158, 161, 0.34) 0%, rgba(146, 74, 184, 0.26) 42%, rgba(6, 9, 17, 0.11) 62%, transparent 76%);
animation: s-blob-mix 26s ease-in-out infinite alternate;
}

@keyframes s-blob-teal {
0% {
transform: translate3d(0, 0, 0) scale(1);
opacity: 0.26;
}

50% {
transform: translate3d(4vw, -2vh, 0) scale(1.06);
opacity: 0.33;
}

100% {
transform: translate3d(9vw, 3vh, 0) scale(0.97);
opacity: 0.24;
}
}

@keyframes s-blob-purple {
0% {
transform: translate3d(0, 0, 0) scale(1);
opacity: 0.21;
}

50% {
transform: translate3d(-6vw, 2vh, 0) scale(1.08);
opacity: 0.3;
}

100% {
transform: translate3d(-10vw, -2vh, 0) scale(0.96);
opacity: 0.21;
}
}

@keyframes s-blob-mix {
0% {
transform: translateX(-50%) translateY(0) scale(1);
opacity: 0.2;
}

50% {
transform: translateX(-52%) translateY(-3vh) scale(1.05);
opacity: 0.26;
}

100% {
transform: translateX(-48%) translateY(2vh) scale(0.95);
opacity: 0.18;
}
}

.synth-widget .s-hero-logo {
width: 100%;
max-width: 520px;
height: auto;
margin-bottom: 44px;
opacity: 0;
transform: translateY(24px) scale(0.96);
animation: s-hero-logo-in 1.2s cubic-bezier(.22, 1, .36, 1) .2s forwards,
s-float 5s ease-in-out 1.8s infinite;
}

@keyframes s-hero-logo-in {
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

@keyframes s-float {

0%,
100% {
transform: translateY(0);
}

50% {
transform: translateY(-7px);
}
}

.synth-widget .s-hero-tag {
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 4px;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.42);
margin-bottom: 20px;
opacity: 0;
animation: s-fade-up .8s ease 1.4s forwards;
}

.synth-widget .s-hero-desc {
font-size: 1rem;
font-weight: 300;
color: var(--muted);
max-width: 540px;
line-height: 1.8;
margin-bottom: 40px;
opacity: 0;
animation: s-fade-up .8s ease 1.6s forwards;
}

.synth-widget .s-hero-btns {
display: flex;
gap: 16px;
flex-wrap: wrap;
justify-content: center;
opacity: 0;
animation: s-fade-up .8s ease 1.8s forwards;
}

.synth-widget .s-scroll-hint {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
opacity: 0;
animation: s-fade-up-center .8s ease 2.1s forwards;
}

.synth-widget .s-scroll-hint span {
font-size: 0.6rem;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.3);
}

.synth-widget .s-scroll-line {
width: 1px;
height: 40px;
background: linear-gradient(to bottom, rgba(20, 158, 161, 0.6), transparent);
animation: s-pulse-line 2s ease-in-out 2.5s infinite;
}

@keyframes s-fade-up {
from {
opacity: 0;
transform: translateY(14px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes s-fade-up-center {
from {
opacity: 0;
transform: translate(-50%, 14px);
}

to {
opacity: 1;
transform: translate(-50%, 0);
}
}

@keyframes s-pulse-line {

0%,
100% {
opacity: 0.4;
transform: scaleY(1);
}

50% {
opacity: 1;
transform: scaleY(1.15);
}
}

/* ─── SVG Logo Animation Classes ──────────────────────────────── */
.synth-widget .syn-icon-gradient {
opacity: 0;
animation: s-ico .8s cubic-bezier(.22, 1, .36, 1) .5s forwards;
}

.synth-widget .syn-icon-part {
opacity: 0;
animation: s-ico .8s cubic-bezier(.22, 1, .36, 1) .6s forwards;
}

.synth-widget .syn-icon-part-3 {
opacity: 0;
animation: s-ico .8s cubic-bezier(.22, 1, .36, 1) .8s forwards;
}

.synth-widget .syn-icon-lockup {
transform-box: fill-box;
transform-origin: center;
animation: s-logo-shape-breathe 9s ease-in-out 2.2s infinite;
}

.synth-widget .syn-letter {
opacity: 0;
fill: #fff;
}

.synth-widget .syn-letter-1 {
animation: s-lt .5s ease .82s forwards;
}

.synth-widget .syn-letter-2 {
animation: s-lt .5s ease .87s forwards;
}

.synth-widget .syn-letter-3 {
animation: s-lt .5s ease .92s forwards;
}

.synth-widget .syn-letter-4 {
animation: s-lt .5s ease .97s forwards;
}

.synth-widget .syn-letter-5 {
animation: s-lt .5s ease 1.02s forwards;
}

.synth-widget .syn-letter-6 {
animation: s-lt .5s ease 1.07s forwards;
}

.synth-widget .syn-letter-7 {
animation: s-lt .5s ease 1.12s forwards;
}

.synth-widget .syn-letter-8 {
animation: s-lt .5s ease 1.17s forwards;
}

.synth-widget .syn-letter-9 {
animation: s-lt .5s ease 1.22s forwards;
}

.synth-widget .syn-icon-teal {
fill: #fff;
}

.synth-widget .syn-icon-gray {
fill: url(#syn-icon-gradient);
}

.synth-widget .syn-icon-purple {
fill: #fff;
}

.synth-widget #syn-icon-gradient stop:first-child,
.synth-widget #si-intro-grad stop:first-child,
.synth-widget #s-bg-grad stop:first-child,
#s-bg-grad stop:first-child {
animation: s-grad-teal-shift 7s ease-in-out infinite;
}

.synth-widget #syn-icon-gradient stop:last-child,
.synth-widget #si-intro-grad stop:last-child,
.synth-widget #s-bg-grad stop:last-child,
#s-bg-grad stop:last-child {
animation: s-grad-purple-shift 7s ease-in-out infinite;
}

@keyframes s-ico {
from {
opacity: 0;
transform: scale(.5);
}

to {
opacity: 1;
transform: scale(1);
}
}

@keyframes s-lt {
from {
opacity: 0;
transform: translateY(14px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes s-logo-shape-breathe {

0%,
100% {
transform: translateY(0) rotate(0deg) scale(1);
}

35% {
transform: translateY(-2px) rotate(-0.7deg) scale(1.01);
}

70% {
transform: translateY(1px) rotate(0.45deg) scale(0.995);
}
}

@keyframes s-grad-teal-shift {

0%,
100% {
stop-color: #149da1;
}

50% {
stop-color: #2ec6c9;
}
}

@keyframes s-grad-purple-shift {

0%,
100% {
stop-color: #8349b7;
}

50% {
stop-color: #ac66d3;
}
}

/* ─── ORIGIN STORY ─────────────────────────────────────────────── */
.synth-widget .s-story {
padding: 120px 40px;
scroll-margin-top: 90px;
background: var(--bg);
}

.synth-widget .s-story-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
max-width: var(--max);
margin: 0 auto;
align-items: start;
}

.synth-widget .s-story-text {}

.synth-widget .s-story-heading {
font-size: clamp(2.2rem, 4.5vw, 3.8rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--text);
margin-bottom: 28px;
}

.synth-widget .s-story-body {
font-size: 0.98rem;
font-weight: 300;
color: var(--muted);
line-height: 1.85;
margin-bottom: 32px;
}

.synth-widget .s-story-rule {
width: 56px;
height: 2px;
background: var(--grad);
border: none;
margin-bottom: 32px;
}

.synth-widget .s-story-body2 {
font-size: 0.95rem;
font-weight: 300;
color: rgba(255, 255, 255, 0.45);
line-height: 1.85;
}

/* Etymology Card */
.synth-widget .s-etym-card {
background: linear-gradient(135deg, #12182e, #1a2240);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 44px 40px;
position: relative;
overflow: hidden;
}

.synth-widget .s-etym-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: var(--grad);
}

.synth-widget .s-etym-word {
font-size: clamp(2rem, 3.5vw, 3rem);
font-weight: 800;
letter-spacing: -0.02em;
background: var(--grad);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 6px;
display: block;
}

.synth-widget .s-etym-pron {
font-size: 0.88rem;
font-weight: 300;
font-style: italic;
color: var(--muted);
margin-bottom: 20px;
display: block;
}

.synth-widget .s-etym-def {
font-size: 0.92rem;
font-weight: 400;
color: rgba(255, 255, 255, 0.65);
line-height: 1.75;
margin-bottom: 28px;
padding-bottom: 28px;
border-bottom: 1px solid var(--border);
}

.synth-widget .s-etym-quote {
font-size: 1.05rem;
font-weight: 600;
color: var(--text);
font-style: italic;
margin-bottom: 16px;
line-height: 1.5;
}

.synth-widget .s-etym-source {
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.06em;
color: rgba(255, 255, 255, 0.3);
text-transform: uppercase;
}

/* ─── ROTATING GALLERY ──────────────────────────────────────────── */
.synth-widget .s-gallery {
padding: 120px 40px;
scroll-margin-top: 90px;
background:
radial-gradient(circle at 18% 20%, rgba(20, 158, 161, 0.13), transparent 48%),
radial-gradient(circle at 82% 80%, rgba(146, 74, 184, 0.16), transparent 52%),
linear-gradient(180deg, #0b1020 0%, #080c18 100%);
overflow: hidden;
position: relative;
isolation: isolate;
z-index: 520;
}

.synth-widget .s-gallery-shell {
max-width: var(--max);
margin: 0 auto;
}

.synth-widget .s-gallery-header {
margin: 0 auto 64px;
max-width: 650px;
text-align: center;
}

.synth-widget .s-gallery-scene,
.synth-widget .s-gallery-a3d {
display: grid;
}

.synth-widget .s-gallery-scene {
width: min(100%, 920px);
min-height: 470px;
margin: 0 auto;
overflow: hidden;
perspective: 35em;
position: relative;
mask: linear-gradient(90deg, #0000, #000 18% 82%, #0000);
-webkit-mask: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
}

.synth-widget .s-gallery-a3d {
place-self: center;
transform-style: preserve-3d;
animation: s-gallery-ry 72s linear infinite;
position: relative;
z-index: 1;
}

@keyframes s-gallery-ry {
to {
transform: rotateY(1turn);
}
}

.synth-widget .s-gallery-card {
--w: clamp(9.5rem, 23vw, 17.5em);
--ba: calc(1turn / var(--n));
grid-area: 1 / 1;
width: var(--w);
aspect-ratio: 7 / 10;
object-fit: cover;
background: linear-gradient(140deg, rgba(20, 158, 161, 0.35), rgba(146, 74, 184, 0.35));
border-radius: 1.1em;
border: 1px solid rgba(255, 255, 255, 0.24);
box-shadow: 0 24px 42px rgba(0, 0, 0, 0.45);
backface-visibility: hidden;
transform: rotateY(calc(var(--i) * var(--ba))) translateZ(calc(-1.12 * (.5 * var(--w) + .5em) / tan(.5 * var(--ba))));
}

.synth-widget .s-gallery-scene:hover .s-gallery-a3d,
.synth-widget .s-gallery-scene:focus-within .s-gallery-a3d {
animation-play-state: paused;
}

/* ─── HEGELIAN DIALECTIC ───────────────────────────────────────── */
.synth-widget .s-hegel {
padding: 120px 40px;
scroll-margin-top: 90px;
background: var(--bg2);
}

.synth-widget .s-hegel-header {
max-width: var(--max);
margin: 0 auto 72px;
text-align: center;
}

.synth-widget .s-hegel-desc {
font-size: 0.98rem;
font-weight: 300;
color: var(--muted);
max-width: 520px;
margin: 0 auto;
line-height: 1.8;
}

.synth-widget .s-dial-grid {
display: flex;
align-items: stretch;
gap: 0;
max-width: var(--max);
margin: 0 auto;
}

.synth-widget .s-dial-card {
flex: 1;
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 40px 36px;
backdrop-filter: blur(12px);
transition: transform .3s ease, box-shadow .3s ease;
}

.synth-widget .s-dial-card:hover {
transform: translateY(-4px);
}

.synth-widget .s-dial-card--synth {
border-color: rgba(20, 158, 161, 0.35);
box-shadow: 0 0 40px rgba(20, 158, 161, 0.1), 0 0 80px rgba(146, 74, 184, 0.06);
position: relative;
}

.synth-widget .s-dial-card--synth::before {
content: '';
position: absolute;
inset: -1px;
border-radius: calc(var(--r) + 1px);
background: linear-gradient(135deg, rgba(20, 158, 161, 0.4), rgba(146, 74, 184, 0.4));
z-index: -1;
}

.synth-widget .s-dial-arrow {
display: flex;
align-items: center;
padding: 0 20px;
flex-shrink: 0;
}

.synth-widget .s-dial-arrow svg {
width: 32px;
height: 32px;
opacity: 0.35;
}

.synth-widget .s-dial-label {
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
background: var(--grad);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 10px;
display: block;
}

.synth-widget .s-dial-title {
font-size: 1.35rem;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--text);
margin-bottom: 14px;
}

.synth-widget .s-dial-body {
font-size: 0.88rem;
font-weight: 300;
color: var(--muted);
line-height: 1.8;
margin-bottom: 24px;
}

.synth-widget .s-dial-pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.synth-widget .s-pill {
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.04em;
padding: 5px 14px;
border-radius: 20px;
border: 1px solid rgba(20, 158, 161, 0.35);
color: rgba(20, 158, 161, 0.85);
background: rgba(20, 158, 161, 0.07);
}

/* ─── FIVE VERTICALS ───────────────────────────────────────────── */
.synth-widget .s-verticals {
padding: 120px 40px;
scroll-margin-top: 90px;
background: var(--bg);
}

.synth-widget .s-vert-header {
max-width: var(--max);
margin: 0 auto 72px;
text-align: center;
}

.synth-widget .s-vert-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 20px;
max-width: var(--max);
margin: 0 auto;
}

.synth-widget .s-vert-card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 36px 28px;
backdrop-filter: blur(12px);
position: relative;
overflow: hidden;
transition: transform .3s ease, border-color .3s, box-shadow .3s;
}

.synth-widget .s-vert-card::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: var(--grad);
opacity: 0;
transition: opacity .3s;
}

.synth-widget .s-vert-card:hover {
transform: translateY(-4px);
border-color: rgba(20, 158, 161, 0.25);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.synth-widget .s-vert-card:hover::after {
opacity: 1;
}

.synth-widget .s-vert-icon {
width: 44px;
height: 44px;
margin-bottom: 24px;
color: var(--teal);
}

.synth-widget .s-vert-icon svg {
width: 100%;
height: 100%;
}

.synth-widget .s-vert-name {
font-size: 1.05rem;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--text);
margin-bottom: 10px;
}

.synth-widget .s-vert-desc {
font-size: 0.82rem;
font-weight: 300;
color: var(--muted);
line-height: 1.75;
margin-bottom: 20px;
}

.synth-widget .s-vert-list {
display: flex;
flex-direction: column;
gap: 6px;
}

.synth-widget .s-vert-list li {
font-size: 0.75rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.38);
padding-left: 14px;
position: relative;
}

.synth-widget .s-vert-list li::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--teal);
opacity: 0.5;
}

/* ─── SCROLL REEL ──────────────────────────────────────────────── */
/* ─── SCROLL REEL (Motion-based) ───────────────────────────────── */
.synth-widget .s-scroll-reel {
padding: 0;
scroll-margin-top: 0;
background: #000;
}

.synth-widget .s-scroll-reel .s-scroll-reel-header {
min-height: 100vh;
display: grid;
align-content: center;
max-width: calc(100% - (2 * 2rem));
padding-left: 48px;
text-align: left;
}

.synth-widget .s-scroll-reel .s-reel-section-first {
min-height: 240vh;
}

.synth-widget .s-scroll-reel .s-reel-content {
min-height: 100vh;
width: 100vw;
display: flex;
place-items: center;
align-content: center;
position: sticky;
top: 0;
overflow: hidden;
}

.synth-widget .s-scroll-reel .s-reel-section-last {
min-height: 100vh;
display: grid;
place-items: center;
}

/* Grid Layout - 5 columns x 3 rows */
.synth-widget .s-scroll-reel .s-reel-grid {
--reel-offset: 0;
--reel-container-width: 1600px;
--reel-gap: clamp(10px, 7.35vw, 80px);

width: var(--reel-container-width);
max-width: calc(100% - (2 * 2rem));
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(3, auto);
gap: var(--reel-gap);
margin: 0 auto;
align-content: center;
position: absolute;
top: 50%;
left: 50%;
translate: -50% -50%;
}

/* Layers using subgrid */
.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer {
display: grid;
grid-column: 1 / -1;
grid-row: 1 / -1;
grid-template-columns: subgrid;
grid-template-rows: subgrid;
}

/* Layer 1: Outer edges */
.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(1) div:nth-of-type(odd) {
grid-column: 1;
}

.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(1) div:nth-of-type(even) {
grid-column: -2;
}

/* Layer 2: Inner columns */
.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(2) div:nth-of-type(odd) {
grid-column: calc(2 + var(--reel-offset));
}

.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(2) div:nth-of-type(even) {
grid-column: calc(-3 - var(--reel-offset));
}

/* Layer 3: Center column top and bottom */
.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(3) div:first-of-type {
grid-column: calc(3 + var(--reel-offset));
grid-row: 1;
}

.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(3) div:last-of-type {
grid-column: calc(3 + var(--reel-offset));
grid-row: -1;
}

.synth-widget .s-scroll-reel .s-reel-grid img {
width: 100%;
aspect-ratio: 4 / 5;
object-fit: cover;
border-radius: 1rem;
}

.synth-widget .s-scroll-reel .s-reel-scaler {
position: relative;
grid-area: 2 / calc(3 + var(--reel-offset));
z-index: 2;
width: 100%;
height: 100%;
}

.synth-widget .s-scroll-reel .s-reel-scaler img {
position: absolute;
top: 50%;
left: 50%;
translate: -50% -50%;
object-fit: cover;
border-radius: 1rem;
width: 100%;
height: 100%;
}

/* Mobile: collapse to 3 columns */
@media (max-width: 600px) {
.synth-widget .s-scroll-reel .s-reel-grid {
grid-template-columns: repeat(3, 1fr);
--reel-offset: -1;
}

.synth-widget .s-scroll-reel .s-reel-grid>.s-reel-layer:nth-of-type(1) {
display: none;
}
}

/* ─── WHY SYNTHETIC ────────────────────────────────────────────── */
.synth-widget .s-why {
padding: 120px 40px;
scroll-margin-top: 90px;
background: var(--bg2);
}

.synth-widget .s-why-header {
max-width: var(--max);
margin: 0 auto 72px;
text-align: center;
}

.synth-widget .s-why-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
max-width: var(--max);
margin: 0 auto;
}

.synth-widget .s-why-card {
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 40px 32px;
backdrop-filter: blur(12px);
transition: transform .3s, box-shadow .3s;
}

.synth-widget .s-why-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.synth-widget .s-why-num {
display: block;
font-size: 3rem;
font-weight: 800;
letter-spacing: -0.04em;
background: var(--grad);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 20px;
line-height: 1;
}

.synth-widget .s-why-title {
font-size: 1rem;
font-weight: 700;
color: var(--text);
margin-bottom: 12px;
letter-spacing: -0.01em;
}

.synth-widget .s-why-body {
font-size: 0.85rem;
font-weight: 300;
color: var(--muted);
line-height: 1.8;
}

/* ─── CONTACT ──────────────────────────────────────────────────── */
.synth-widget .s-contact {
padding: 140px 40px;
scroll-margin-top: 90px;
background: var(--bg);
text-align: center;
position: relative;
overflow: hidden;
}

.synth-widget .s-contact::before {
content: '';
position: absolute;
width: 600px;
height: 600px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: radial-gradient(circle, rgba(20, 158, 161, 0.05) 0%, transparent 65%);
pointer-events: none;
}

.synth-widget .s-contact-inner {
max-width: 600px;
margin: 0 auto;
position: relative;
}

.synth-widget .s-contact-heading {
font-size: clamp(2.2rem, 4.5vw, 3.6rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
color: var(--text);
margin-bottom: 20px;
}

.synth-widget .s-contact-body {
font-size: 1rem;
font-weight: 300;
color: var(--muted);
line-height: 1.8;
margin-bottom: 44px;
}

.synth-widget .s-contact-btns {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 52px;
}

.synth-widget .s-socials {
display: flex;
gap: 28px;
justify-content: center;
align-items: center;
}

.synth-widget .s-socials a {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.3);
transition: color .2s;
}

.synth-widget .s-socials a:hover {
color: var(--teal);
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.s-footer {
padding: 32px 40px;
border-top: 1px solid rgba(255, 255, 255, 0.04);
text-align: center;
}

.s-footer p {
font-size: 0.75rem;
font-weight: 400;
color: rgba(255, 255, 255, 0.2);
letter-spacing: 0.04em;
}

/* ─── BREATHING BACKGROUND ICON ──────────────────────────────── */
.s-bg-breath {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 55vw;
height: 55vw;
max-width: 600px;
max-height: 600px;
z-index: 500;
pointer-events: none;
animation: s-bg-breathe 20s ease-in-out infinite;
will-change: transform;
}

.s-bg-icon {
width: 100%;
height: 100%;
display: block;
opacity: 0.08;
filter: blur(0px);
animation: s-bg-resolve 10s ease-out forwards,
s-bg-icon-pulse 20s ease-in-out 10s infinite;
}

/* Cinematic blur-to-sharp resolve — ends crisp */
@keyframes s-bg-resolve {
0% {
filter: blur(20px);
opacity: 0.02;
}

20% {
filter: blur(14px);
opacity: 0.04;
}

40% {
filter: blur(8px);
opacity: 0.07;
}

60% {
filter: blur(4px);
opacity: 0.10;
}

80% {
filter: blur(1px);
opacity: 0.12;
}

100% {
filter: blur(0px);
opacity: 0.14;
}
}

/* Gentle pulse after resolve — stays sharp, just breathes opacity */
@keyframes s-bg-icon-pulse {
0% {
opacity: 0.12;
filter: blur(0px);
}

50% {
opacity: 0.18;
filter: blur(0px);
}

100% {
opacity: 0.12;
filter: blur(0px);
}
}

/* Breathing — visible scale + subtle rotation, no drift */
@keyframes s-bg-breathe {
0% {
transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

25% {
transform: translate(-50%, -50%) scale(1.06) rotate(0.5deg);
}

50% {
transform: translate(-50%, -50%) scale(0.97) rotate(0deg);
}

75% {
transform: translate(-50%, -50%) scale(1.04) rotate(-0.5deg);
}

100% {
transform: translate(-50%, -50%) scale(1) rotate(0deg);
}
}

/* ─── INTRO SPLASH ─────────────────────────────────────────────── */

/* Scroll-lock during intro */
.synth-widget.s-intro-active {
overflow: hidden;
height: 100vh;
}

/* Pause all hero animations while intro plays */
.synth-widget.s-intro-active .s-hero-logo,
.synth-widget.s-intro-active .s-hero-tag,
.synth-widget.s-intro-active .s-hero-desc,
.synth-widget.s-intro-active .s-hero-btns,
.synth-widget.s-intro-active .s-scroll-hint,
.synth-widget.s-intro-active .syn-letter,
.synth-widget.s-intro-active .syn-icon-gradient,
.synth-widget.s-intro-active .syn-icon-part,
.synth-widget.s-intro-active .syn-icon-part-3,
.synth-widget.s-intro-active .syn-icon-lockup {
animation-play-state: paused !important;
opacity: 0 !important;
}

/* Overlay */
.synth-widget .s-intro {
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: all;
}

/* Two half-panels */
.synth-widget .s-intro-left,
.synth-widget .s-intro-right {
position: absolute;
top: 0;
bottom: 0;
width: 50%;
background: #060911;
will-change: transform;
transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
}

.synth-widget .s-intro-left {
left: 0;
}

.synth-widget .s-intro-right {
right: 0;
}

.synth-widget .s-intro.s-intro--split .s-intro-left {
transform: translateX(-100%);
}

.synth-widget .s-intro.s-intro--split .s-intro-right {
transform: translateX(100%);
}

/* Gradient line at split seam */
.synth-widget .s-intro-split-line {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
transform: translateX(-50%);
background: linear-gradient(to bottom, #149EA1, #924AB8);
opacity: 0;
z-index: 2;
pointer-events: none;
transition: opacity 0.1s ease;
}

.synth-widget .s-intro.s-intro--split .s-intro-split-line {
opacity: 1;
animation: s-intro-line 1s ease 0.05s forwards;
}

@keyframes s-intro-line {
0% {
opacity: 1;
}

100% {
opacity: 0;
}
}

/* Centered logo lockup */
.synth-widget .s-intro-logo {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
gap: 20px;
z-index: 3;
will-change: transform, opacity;
transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1),
opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.synth-widget .s-intro-logo.s-intro--shrink {
transform: translate(-50%, -50%) scale(0.06);
opacity: 0;
}

/* Icon-only SVG */
.synth-widget .s-intro-icon {
height: 120px;
width: auto;
flex-shrink: 0;
opacity: 0;
transform: scale(0.5);
will-change: transform, opacity, filter;
filter: drop-shadow(0 0 40px rgba(20, 158, 161, 0.15)) drop-shadow(0 0 80px rgba(146, 74, 184, 0.08));
}

@keyframes s-intro-icon-in {
to {
opacity: 1;
transform: scale(1);
}
}

@keyframes s-intro-glow-pulse {

0%,
100% {
filter: drop-shadow(0 0 40px rgba(20, 158, 161, 0.12)) drop-shadow(0 0 80px rgba(146, 74, 184, 0.06));
}

50% {
filter: drop-shadow(0 0 100px rgba(20, 158, 161, 0.35)) drop-shadow(0 0 200px rgba(146, 74, 184, 0.22));
}
}

/* Icon fill classes (separate IDs from hero to avoid conflict) */
.synth-widget .s-intro-icon .si-teal {
fill: #fff;
}

.synth-widget .s-intro-icon .si-gray {
fill: url(#si-intro-grad);
}

.synth-widget .s-intro-icon .si-purple {
fill: #fff;
}

/* Letter-by-letter wordmark */
.synth-widget .s-intro-wordmark {
display: flex;
align-items: center;
}

.synth-widget .s-intro-lt {
font-family: 'Montserrat', sans-serif;
font-size: 48px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #fff;
opacity: 0;
transform: translateX(-8px);
display: inline-block;
will-change: transform, opacity;
}

.synth-widget .s-intro-lt.s-intro--lt-in {
animation: s-intro-lt-in 300ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes s-intro-lt-in {
to {
opacity: 1;
transform: translateX(0);
}
}

/* Done — remove from render tree */
.synth-widget .s-intro.s-intro--done {
display: none;
}

/* Responsive scaling */
@media (max-width: 800px) {
.synth-widget .s-intro-icon {
height: 80px;
}

.synth-widget .s-intro-lt {
font-size: 32px;
}

.synth-widget .s-intro-logo {
gap: 14px;
}
}

@media (max-width: 560px) {
.synth-widget .s-intro-icon {
height: 60px;
}

.synth-widget .s-intro-lt {
font-size: 24px;
}

.synth-widget .s-intro-logo {
gap: 12px;
}
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1060px) {
.synth-widget .s-vert-grid {
grid-template-columns: repeat(3, 1fr);
}

.synth-widget .s-why-grid {
grid-template-columns: repeat(2, 1fr);
}

.synth-widget .s-dial-grid {
flex-direction: column;
}

.synth-widget .s-dial-arrow {
transform: rotate(90deg);
padding: 10px 0;
justify-content: center;
}
}

@media (max-width: 800px) {
.synth-widget .s-story-grid {
grid-template-columns: 1fr;
gap: 48px;
}

.synth-widget .s-vert-grid {
grid-template-columns: repeat(2, 1fr);
}

/* scroll reel responsive stubs (handled inline above) */

.synth-widget .s-gallery-scene {
min-height: 390px;
perspective: 28em;
}

.synth-widget .s-wrap {
padding: 0 24px;
}

.synth-widget .s-story,
.synth-widget .s-gallery,
.synth-widget .s-hegel,
.synth-widget .s-scroll-reel,
.synth-widget .s-verticals,
.synth-widget .s-why,
.synth-widget .s-contact {
padding-left: 24px;
padding-right: 24px;
}

.s-nav-inner {
padding: 0 24px;
}
}

@media (max-width: 560px) {
.synth-widget .s-vert-grid {
grid-template-columns: 1fr;
}

.synth-widget .s-why-grid {
grid-template-columns: 1fr;
}

/* reel responsive handled by inline media query in reel CSS */

.synth-widget .s-gallery-header {
margin-bottom: 40px;
}

.synth-widget .s-gallery-scene {
min-height: 320px;
perspective: 22em;
}

.synth-widget .s-hero-btns {
flex-direction: column;
align-items: center;
}

.synth-widget .s-contact-btns {
flex-direction: column;
align-items: center;
}

.s-nav-links {
gap: 18px;
}

.synth-widget .s-hero {
padding: 100px 24px 120px;
}

.synth-widget .s-story,
.synth-widget .s-gallery,
.synth-widget .s-hegel,
.synth-widget .s-scroll-reel,
.synth-widget .s-verticals,
.synth-widget .s-why,
.synth-widget .s-contact {
padding: 80px 24px;
}
}

/* ─── Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

.synth-widget .s-rev,
.synth-widget .s-hero-logo,
.synth-widget .s-hero-tag,
.synth-widget .s-hero-desc,
.synth-widget .s-hero-btns,
.synth-widget .syn-letter,
.synth-widget .syn-icon-gradient,
.synth-widget .syn-icon-part,
.synth-widget .syn-icon-part-3 {
opacity: 1 !important;
transform: none !important;
animation: none !important;
transition: none !important;
}

.synth-widget .s-scroll-hint {
opacity: 1 !important;
animation: none !important;
transition: none !important;
}

.synth-widget .s-hero-logo {
animation: none !important;
}

.synth-widget .s-scroll-line {
animation: none !important;
}

/* Intro: skip entirely */
.synth-widget .s-intro {
display: none !important;
}

.s-nav {
opacity: 1 !important;
transition: none !important;
}

/* Ambient background: reduce motion */
.synth-widget .s-hero-blob {
animation: none !important;
opacity: 0.14 !important;
}

.s-bg-breath {
animation: none !important;
}

.s-bg-icon {
animation: none !important;
opacity: 0.12 !important;
filter: blur(0px) !important;
}

.synth-widget .s-reel-layer {
opacity: 1 !important;
transform: none !important;
}

.synth-widget .s-reel-scaler img {
width: 100% !important;
height: 100% !important;
border-radius: 1rem !important;
translate: -50% -50% !important;
}

.synth-widget .syn-icon-lockup {
animation: none !important;
}

.synth-widget #syn-icon-gradient stop,
.synth-widget #si-intro-grad stop,
.synth-widget #s-bg-grad stop,
#s-bg-grad stop {
animation: none !important;
}

.synth-widget .s-gallery-a3d {
animation-duration: 128s !important;
}
}
/* ─── NAV BASE ─────────────────────────────────────────────────── */
.s-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(6, 9, 17, 0.78);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.s-nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 68px;
max-width: 1200px;
margin: 0 auto;
padding: 0 40px;
}

.s-nav-brand {
font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #f0f2fc;
text-decoration: none;
}

/* ─── DESKTOP LINKS ────────────────────────────────────────────── */
.s-nav-links {
display: flex;
gap: 36px;
align-items: center;
}

.s-nav-links a {
font-size: 0.78rem;
font-weight: 500;
letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.55);
transition: color 0.2s;
text-decoration: none;
}

.s-nav-links a:hover {
color: #f0f2fc;
}

/* ─── SERVICES DROPDOWN ─────────────────────────────────────────── */
.s-nav-dropdown {
position: relative;
}

.s-nav-dropdown-trigger {
display: flex;
align-items: center;
gap: 5px;
font-size: 0.78rem;
font-weight: 500;
letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.55);
background: none;
border: none;
cursor: pointer;
padding: 0;
transition: color 0.2s;
font-family: inherit;
}

.s-nav-dropdown-trigger:hover,
.s-nav-dropdown:hover .s-nav-dropdown-trigger {
color: #f0f2fc;
}

.s-nav-dropdown-trigger svg {
width: 10px;
height: 10px;
transition: transform 0.2s ease;
opacity: 0.5;
}

.s-nav-dropdown:hover .s-nav-dropdown-trigger svg {
transform: rotate(180deg);
opacity: 1;
}

.s-nav-dropdown-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
min-width: 180px;
background: rgba(8, 12, 24, 0.96);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
padding: 14px 6px 6px;
opacity: 0;
pointer-events: none;
transform: translateX(-50%) translateY(-6px);
transition: opacity 0.2s ease, transform 0.2s ease;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.s-nav-dropdown:hover .s-nav-dropdown-menu {
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}

.s-nav-dropdown-menu a {
display: block;
padding: 9px 16px;
font-size: 0.76rem;
font-weight: 500;
letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.55);
text-decoration: none;
border-radius: 6px;
transition: color 0.2s, background 0.2s;
white-space: nowrap;
}

.s-nav-dropdown-menu a:hover {
color: #f0f2fc;
background: rgba(255, 255, 255, 0.05);
}

/* Gradient accent on hover - teal for first item */
.s-nav-dropdown-menu a:first-child:hover {
color: #149EA1;
}

/* ─── HAMBURGER TOGGLE ─────────────────────────────────────────── */
.s-nav-toggle {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 8px;
z-index: 1001;
}

.s-nav-bar {
display: block;
width: 22px;
height: 2px;
background: #f0f2fc;
border-radius: 1px;
transition: transform 0.3s ease, opacity 0.3s ease;
}

/* X animation when open */
.s-nav--open .s-nav-bar:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}

.s-nav--open .s-nav-bar:nth-child(2) {
opacity: 0;
}

.s-nav--open .s-nav-bar:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE DRAWER ────────────────────────────────────────────── */
.s-nav-drawer {
display: none;
}

/* ─── MOBILE BREAKPOINT ≤ 800px ────────────────────────────────── */
@media (max-width: 800px) {
.s-nav-links {
display: none !important;
}

.s-nav-toggle {
display: flex;
}

.s-nav-inner {
padding: 0 24px;
}

.s-nav-drawer {
display: block;
position: fixed;
top: 68px;
left: 0;
width: 100%;
z-index: 999;
background: rgba(6, 9, 17, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease;
}

.s-nav--open .s-nav-drawer {
max-height: 600px;
}

.s-nav-drawer a {
display: block;
padding: 16px 40px;
font-size: 0.88rem;
font-weight: 500;
letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.55);
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
transition: color 0.2s, background 0.2s;
text-decoration: none;
}

.s-nav-drawer a:hover,
.s-nav-drawer a:focus {
color: #f0f2fc;
background: rgba(255, 255, 255, 0.03);
}
}

/* ─── SMALL MOBILE ≤ 560px ─────────────────────────────────────── */
@media (max-width: 560px) {
.s-nav-drawer a {
padding: 16px 24px;
}
}

/* ─── REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
.s-nav-bar {
transition: none !important;
}

.s-nav-drawer {
transition: none !important;
}
}

.s-nav-drawer-sub {
  padding-left: 56px;
  font-size: 0.78rem;
  opacity: 0.7;
}
