/* ============================================
   GliaCircle — UX Case Study
   Fonts: Playfair Display · Albert Sans · DM Sans
   Base: #1F4C34 · Brand: #91C6FF→#A29AFF→#E66BFF→#FFA29B
   ============================================ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    /* Core palette */
    --green:        #1F4C34;
    --green-deep:   #162d22;
    --green-mid:    #2d6b4a;
    --bg:           #F7F5F0;
    --bg-white:     #FFFFFF;
    --text:         #0c1a10;
    --text-2:       #3d4f43;
    --text-3:       #7a8c7e;
    --border:       rgba(0,0,0,0.08);
    --border-light: rgba(255,255,255,0.1);

    /* Brand gradient */
    --c1: #91C6FF;
    --c2: #A29AFF;
    --c3: #E66BFF;
    --c4: #FFA29B;
    --grad: linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c4));

    /* Typography */
    --plf: 'Playfair Display', Georgia, serif;
    --albert: 'Albert Sans', sans-serif;
    --dm: 'DM Sans', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);

    --container: 1200px;
    --radius: 16px;
    --radius-sm: 10px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--dm); background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; }
img  { max-width:100%; height:auto; display:block; }
a    { color: inherit; text-decoration: none; }
::selection { background: var(--c2); color: #fff; }

/* ── Scroll progress ── */
.scroll-bar {
    position: fixed; top:0; left:0;
    height: 2px; width:0%;
    background: var(--grad);
    z-index: 9999;
    transition: width .1s linear;
}

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 56px;
}

/* ── Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ── Section label ── */
.section-label-tag {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-3);
    display: block;
    margin-bottom: 20px;
}
.section-label-tag.light { color: rgba(255,255,255,0.45); }

/* ── Section Playfair heading ── */
.section-title-plf {
    font-family: var(--plf);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: 0;
}
.section-title-plf.light { color: #fff; }

.section-header { margin-bottom: 64px; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    z-index: 0;
    background: #0a1c12;
}

/* Video — full cover */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Subtle overlay for text legibility */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.08) 50%,
        rgba(0,0,0,0.4)  100%
    );
    z-index: 1;
}

/* Logo + tagline — bottom left */
.hero-inner {
    position: absolute;
    bottom: 106px;
    left: 52px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-logo {
    width: 220px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0,0,0,0.3));
}
.hero-sub {
    font-family: var(--dm);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.2px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 52px; right: 56px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.4);
}
.hero-scroll-hint span {
    font-family: var(--albert);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: .4; transform: scaleY(1); }
    50%      { opacity: 1;  transform: scaleY(1.2); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    overflow: hidden;
    padding: 12px 0;
    z-index: 4;
    background: #FFA29B;
}
.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
}
.marquee-track span {
    font-family: var(--albert);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    flex-shrink: 0;
}
.marquee-track .dot {
    color: rgba(255,255,255,0.6);
    -webkit-text-fill-color: rgba(255,255,255,0.6);
    font-size: 16px;
    line-height: 1;
    align-self: center;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================
   OVERVIEW
   ============================================ */
.overview {
    background: var(--bg-white);
    padding: 120px 0 100px;
    position: relative;
    z-index: 10;
    border-radius: 0;
    margin-top: 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.editorial-label {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 28px;
    display: block;
}

.overview-headline {
    font-family: var(--plf);
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -2px;
    color: var(--text);
}
.overview-headline em {
    font-style: italic;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-right {
    padding-top: 44px;
}
.overview-right p {
    font-family: var(--dm);
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-2);
    margin-bottom: 20px;
}
.overview-right p:last-of-type { margin-bottom: 36px; }

.meta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.meta-chip {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.chip-label {
    font-family: var(--albert);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-3);
}
.chip-val {
    font-family: var(--dm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   CHALLENGES (bento grid)
   ============================================ */
.challenges {
    background: var(--bg);
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
}

.bento-large { grid-row: span 1; }

.bento-num {
    font-family: var(--plf);
    font-size: 52px;
    font-weight: 700;
    color: rgba(0,0,0,0.06);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    display: block;
}
.bento-card h3 {
    font-family: var(--dm);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.bento-card p {
    font-family: var(--dm);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-2);
}

/* ============================================
   OFFERING (dark)
   ============================================ */
.offering {
    background: var(--green);
    padding: 120px 0;
    position: relative;
    z-index: 10;
}
.offering-sub {
    font-family: var(--dm);
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    margin-top: -40px;
    margin-bottom: 64px;
    max-width: 500px;
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.offering-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
}

.offering-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}
.offering-card h3 {
    font-family: var(--dm);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.offering-card p {
    font-family: var(--dm);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    position: relative;
    z-index: 1;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    background: var(--bg);
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.process-card {
    padding: 44px 32px;
    border-right: 1px solid var(--border);
    position: relative;
}
.process-card:last-child { border-right: none; }

.process-num {
    font-family: var(--plf);
    font-size: 48px;
    font-weight: 700;
    color: rgba(0,0,0,0.05);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.process-line {
    width: 32px; height: 2px;
    background: var(--grad);
    border-radius: 2px;
    margin-bottom: 24px;
}

.process-card h3 {
    font-family: var(--dm);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.process-card p {
    font-family: var(--dm);
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
}

/* ============================================
   TIMELINE / GANTT
   ============================================ */
.timeline-wrap {
    margin-top: 64px;
    background: #fff;
    border-radius: 20px;
    padding: 48px 48px 56px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.tl-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
}
.tl-title {
    font-family: var(--plf);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.tl-dates {
    font-family: var(--albert);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.02em;
}

/* Phase row */
.tl-phases {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    margin-bottom: 20px;
}
.tl-phase {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
}
.tl-phase-label {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-2);
}
.tl-phase-days {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.5px;
}

/* Grid + bars */
.tl-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 0;
    position: relative;
}

/* Dashed column lines */
.tl-col-line {
    grid-row: 1 / -1;
    border-left: 1px dashed rgba(0,0,0,0.07);
    pointer-events: none;
}

/* Each row of bars */
.tl-bar-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 5px 0;
    position: relative;
    z-index: 1;
}

/* Stagger appear animation */
@keyframes tl-appear {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tl-anim {
    opacity: 0;
}
.timeline-wrap.tl-visible .tl-anim {
    animation: tl-appear 0.5s cubic-bezier(0,0,0.2,1) both;
    animation-delay: var(--tl-delay, 0ms);
}

/* Individual bar pill */
.tl-bar {
    height: 40px;
    background: rgba(0,0,0,0.05);
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: var(--albert);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
    cursor: default;
    margin: 0 3px;
}

/* Accent bar — brand gradient */
.tl-bar-accent {
    background: linear-gradient(90deg, #91C6FF, #A29AFF, #E66BFF, #FFA29B);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(162,154,255,0.3);
}

/* ============================================
   BRAND IDENTITY (dark)
   ============================================ */
.identity {
    background: var(--green);
    padding: 120px 0 60px;
    position: relative;
    z-index: 10;
}

.type-showcase {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    align-items: center;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
}
/* Font name first (col 1), meta second (col 2) */
.type-showcase .type-big   { order: 1; }
.type-showcase .type-meta  { order: 2; }

.type-meta { padding-bottom: 28px; }
.type-weights {
    font-family: var(--dm);
    display: flex;
    gap: 24px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 16px;
}
.type-note {
    font-family: var(--dm);
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.35);
    max-width: 280px;
}
.type-showcase-albert {
    margin-top: 0;
    border-top: none;
    padding-bottom: 56px;
}

.type-big {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -2px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0;
}
.type-big-plf   { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(36px, 5.5vw, 72px); white-space: nowrap; }
.type-big-albert { font-family: 'Albert Sans', sans-serif; letter-spacing: -2px; white-space: nowrap; }

.type-scale-table { margin: 0 0 72px; }
.ts-row {
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--dm);
    color: rgba(255,255,255,0.85);
}
.ts-tag {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.ts-size {
    text-align: right;
    font-family: var(--albert);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
}

.color-section { padding-top: 16px; }
.color-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.color-swatch-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
}
.csw { height: 100px; width: 100%; }
.csw-info {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.csw-info strong { font-family: var(--dm); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); }
.csw-info code   { font-size: 11px; color: rgba(255,255,255,0.35); font-family: monospace; }

.gradient-bar-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}
.gradient-bar {
    flex: 1; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--grad);
}
.gradient-bar-wrap span {
    font-family: var(--dm);
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}

/* ============================================
   SCREENS
   ============================================ */
.screens {
    background: var(--bg);
    padding: 0 0 0;
    position: relative;
    z-index: 10;
}

.screen-block { padding: 0 0 80px; }
.screen-block-alt { background: var(--bg-white); padding: 80px 0; }

.screen-info-bar {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 36px;
}
.screen-tag-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.screen-num {
    font-family: var(--plf);
    font-size: 14px;
    font-weight: 700;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.screen-tag-wrap h3 {
    font-family: var(--dm);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}
.screen-pills {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}
.screen-pills li {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--text-3);
}

/* Browser frame */
.browser-frame-wrap { padding: 0 56px; }
.browser-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
    background: #fff;
}
.browser-chrome {
    background: #F0EEE9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.b-dots { display:flex; gap:6px; }
.b-dots span {
    width:10px; height:10px; border-radius:50%; background:#d1d0d8;
}
.b-dots span:nth-child(1) { background:#FF5F57; }
.b-dots span:nth-child(2) { background:#FEBC2E; }
.b-dots span:nth-child(3) { background:#28C840; }
.b-url {
    font-size: 11px;
    font-family: monospace;
    color: #999;
    background: rgba(0,0,0,0.06);
    padding: 4px 14px;
    border-radius: 6px;
}
.browser-screen {
    position: relative;
    max-height: 640px;
    overflow: hidden;
}
.browser-img { width:100%; display:block; }
.browser-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.95));
    pointer-events: none;
}

/* ============================================
   FULL-WEBSITE SHOWCASE (Screen 01) — centred, gradient bg
   ============================================ */
.website-showcase-section {
    padding-bottom: 0;
}
.ws-grad-wrap {
    position: relative;
    background: linear-gradient(135deg, #b8deff 0%, #c4b8ff 35%, #f0a0ff 68%, #ffc8c2 100%);
    /* NO overflow:hidden here — it breaks position:sticky on children */
    padding: 0 0 0;
}
/* Clip orbs without affecting sticky */
.ws-orb-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Parallax orbs */
.ws-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
    z-index: 0;
}
.ws-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #91C6FF 0%, transparent 70%);
    top: -200px; left: -150px;
    opacity: 0.7;
}
.ws-orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #E66BFF 0%, transparent 70%);
    top: 20%; right: -100px;
    opacity: 0.6;
}
.ws-orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #FFA29B 0%, transparent 70%);
    bottom: -100px; left: 30%;
    opacity: 0.65;
}

/* Warm orbs for post-login section */
.ws-orb-clip-2 {
    position: absolute;
    left: 0; right: 0;
    /* positioned relative to post-login header — JS sets top via data */
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    height: 100vh; /* matches sticky header height */
}
.ws-orb-4 {
    width: 650px; height: 650px;
    background: radial-gradient(circle, #FFA29B 0%, transparent 70%);
    top: -150px; right: -100px;
    opacity: 0.65;
}
.ws-orb-5 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, #E66BFF 0%, transparent 70%);
    top: 30%; left: -80px;
    opacity: 0.5;
}
.ws-orb-6 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #ffc8c2 0%, transparent 70%);
    bottom: -80px; left: 35%;
    opacity: 0.6;
}
.ws-watermark {
    position: absolute;
    bottom: -20px; left: 0; right: 0;
    text-align: center;
    font-family: var(--albert);
    font-weight: 900;
    font-size: clamp(80px, 14vw, 220px);
    letter-spacing: -6px;
    line-height: 0.85;
    color: rgba(255,255,255,0.18);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
}
/* Sticky heading inside gradient section */
.ws-sticky-header {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: center;
    /* Full viewport height — heading fills the screen before frame appears */
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.15s ease;
}
.ws-section-label {
    display: block;
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.ws-heading {
    font-family: var(--plf);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 32px;
    text-shadow: 0 4px 40px rgba(0,0,0,0.15);
}
.ws-pills-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ws-screen-num {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,0.9);
    color: var(--green);
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: 0;
    flex-shrink: 0;
}
.ws-pill {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(255,255,255,0.82);
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    backdrop-filter: blur(4px);
}

.ws-centered-frame {
    position: relative;
    z-index: 10;
    max-width: 1080px;
    margin: 0 auto;
    transition: transform 0.12s linear;
    will-change: transform;
    padding: 0 40px 120px;
}
/* Gap between the two panels */
.ws-screen-panel + .ws-screen-panel {
    padding-top: 80px;
}
.ws-page-fade { position: relative; }
.ws-page-fade .browser-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.95));
    pointer-events: none;
}
.ws-desktop-frame {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}
.ws-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #f4f4f4;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.ws-chrome .b-dots { display:flex;gap:6px; }
.ws-chrome .b-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #ddd;
}
.ws-chrome .b-dots span:first-child { background: #ff6058; }
.ws-chrome .b-dots span:nth-child(2) { background: #ffbd2d; }
.ws-chrome .b-dots span:last-child  { background: #27c840; }
.ws-url {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 6px;
    padding: 4px 14px;
    font-family: var(--albert);
    font-size: 12px;
    color: var(--text-2);
    letter-spacing: 0.01em;
}
.ws-page img {
    width: 100%;
    height: auto;
    display: block;
}
.ws-page iframe {
    width: 100%;
    height: 820px;
    display: block;
    border: none;
}

/* Partner showcase grid */
.partner-showcase-block {
    background: var(--bg);
    padding: 80px 0 60px;
}
.partner-showcase-block .screen-info-bar { margin-bottom: 36px; }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.partner-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    background: #fff;
    line-height: 0;
}
.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile — scattered phones */
.mobile-block {
    background: var(--green);
    padding: 100px 0 0;
    margin-top: 0;
}

/* Centered heading */
.mob-header {
    text-align: center;
    padding: 0 40px 48px;
}
.mob-header .section-label-tag { display: inline-block; margin-bottom: 16px; }
.mob-heading {
    font-size: clamp(52px, 7vw, 96px) !important;
    margin-bottom: 0 !important;
    line-height: 1.1;
}

/* Scattered stage — overlaps heading */
.scattered-stage {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 40px;
    margin-top: -40px;  /* phones overlap heading by 40px */
    min-height: 580px;
    overflow: visible;
    position: relative;
}

/* Phone card */
.s-phone {
    width: 215px;
    flex-shrink: 0;
    background: #0d0d0d;
    border-radius: 44px;
    border: 9px solid #1c1c1c;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 40px 80px rgba(0,0,0,0.55),
        0 10px 24px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    margin: 0 6px;
    /* start hidden for JS stagger animation */
    opacity: 0;
    translate: 0 50px;
}
.s-phone.phone-in {
    animation: phoneSlideIn 0.75s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes phoneSlideIn {
    from { opacity: 0; translate: 0 50px; }
    to   { opacity: 1; translate: 0 0;    }
}

.s-phone img {
    width: 100%;
    display: block;
    aspect-ratio: 9/19.5;
    object-fit: cover;
    object-position: top;
}

/* Dynamic island */
.s-notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 74px; height: 22px;
    background: #0d0d0d;
    border-radius: 30px;
    z-index: 4;
}

/* Home bar */
.s-home {
    position: absolute;
    bottom: 9px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    z-index: 4;
}

/* Subtle individual tilts — natural, not scattered */
.s-phone-1 { transform: rotate(-5deg) translateY(30px);  z-index: 2; }
.s-phone-2 { transform: rotate(-1.5deg) translateY(8px); z-index: 4; width: 230px; }
.s-phone-3 { transform: rotate(1.5deg) translateY(8px);  z-index: 4; width: 230px; }
.s-phone-4 { transform: rotate(5deg) translateY(30px);   z-index: 2; }

/* ============================================
   TAKEAWAYS
   ============================================ */
.takeaways {
    background: var(--bg-white);
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.takeaway-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.takeaway-card {
    padding: 40px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.tcard-icon { display:block; font-size:26px; margin-bottom:20px; }
.takeaway-card h3 {
    font-family: var(--dm);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.takeaway-card p {
    font-family: var(--dm);
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green);
    padding: 80px 0;
    position: relative;
    z-index: 10;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}
.footer-contact-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-contact-label {
    font-family: var(--albert);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.footer-contact-value {
    font-family: var(--albert);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .offering-grid { grid-template-columns: repeat(2,1fr); }
    .takeaway-row  { grid-template-columns: repeat(2,1fr); }
    .scattered-stage { gap: 0; }
    .color-row     { grid-template-columns: repeat(2,1fr); }
    .partner-grid  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
    .container { padding: 0 28px; }
    .overview-grid { grid-template-columns: 1fr; gap: 48px; }
    .bento-grid    { grid-template-columns: 1fr; }
    .process-row   { grid-template-columns: repeat(2,1fr); }
    .type-showcase { grid-template-columns: 1fr; }
    .browser-frame-wrap { padding: 0 28px; }
}
@media (max-width: 640px) {
    .hero-logo { width: 240px; }
    .overview, .challenges, .offering,
    .process, .identity, .screens,
    .takeaways, .footer { padding: 72px 0; }
    .process-row { grid-template-columns: 1fr; }
    .s-phone { width: 160px; }
    .s-phone-2, .s-phone-3 { width: 175px; }
    .offering-grid { grid-template-columns: 1fr; }
    .takeaway-row  { grid-template-columns: 1fr; }
    .partner-grid  { grid-template-columns: 1fr; }
}
