/* ============================================
   Weave — UX Case Study
   Fonts: Gotham · Poppins · Playfair Display (editorial)
   Base: #1C0F05 · Brand: #FEA462 → #FF9040 → #FF7B3F → #FFD4A8
   ============================================ */

/* ── Gotham font-face ── */
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Thin/Gotham Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Extra Light/Gotham Extra Light.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Light/Gotham Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Book/Gotham Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Medium/Gotham Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Bold/Gotham Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Bold Italic/Gotham Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Black/Gotham Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('assets/Gotham 2/Gotham Italic/Gotham Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

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

:root {
    /* Core palette */
    --orange:       #FEA462;
    --orange-deep:  #E07830;
    --orange-mid:   #FF9040;
    --bg:           #FDF8F4;
    --bg-white:     #FFFFFF;
    --dark:         #1C0F05;
    --dark-mid:     #2e1a08;
    --text:         #1a0c04;
    --text-2:       #5c3d25;
    --text-3:       #9e7a5a;
    --border:       rgba(0,0,0,0.08);
    --border-light: rgba(255,255,255,0.1);

    /* Brand gradient */
    --c1: #FEA462;
    --c2: #FF9040;
    --c3: #FF7B3F;
    --c4: #FFD4A8;
    --grad: linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c4));

    /* Typography */
    --gotham:  'Poppins', sans-serif;
    --poppins: 'Poppins', sans-serif;
    --plf:     'Poppins', 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(--poppins); 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(--orange); 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(--poppins);
    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: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    z-index: 0;
}

.hero-image {
    background: var(--orange);
}

.hero-full-img {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
}

.hero-logo-corner {
    position: absolute;
    bottom: 48px;
    left: 56px;
    z-index: 4;
    width: 180px;
    opacity: 0.92;
    filter: brightness(0) invert(1);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 52px; left: 50%; transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
}
.hero-scroll-hint span {
    font-family: var(--poppins);
    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); }
}

/* Hero meta chips — bottom right of first fold */
.hero-meta {
    position: absolute;
    bottom: 48px;
    right: 56px;
    z-index: 4;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.hero-chip {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 110px;
}
.hchip-label {
    font-family: var(--poppins);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.hchip-val {
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    overflow: hidden;
    padding: 12px 0;
    z-index: 4;
    background: var(--orange);
}
.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: marqueeScroll 24s linear infinite;
}
.marquee-track span {
    font-family: var(--poppins);
    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: #ffffff;
    padding: 120px 0 100px;
    position: relative;
    z-index: 10;
}
.oe-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 56px;
}
.oe-statement {
    font-family: var(--poppins);
    font-size: clamp(22px, 2.6vw, 38px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(28,15,5,0.85);
    letter-spacing: -0.3px;
    margin-bottom: 60px;
}
.oe-logo-inline {
    display: inline-block;
    height: 0.85em;
    width: auto;
    vertical-align: middle;
    margin: 0 4px -4px 2px;
}
.oe-pill {
    display: inline;
    font-size: 1em;
    font-weight: 400;
    color: rgba(28,15,5,0.5);
}
.oe-fade {
    color: rgba(28,15,5,0.3);
}
.oe-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.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(--poppins);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-3);
}
.chip-val {
    font-family: var(--poppins);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.meta-chip.dark {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}
.meta-chip.dark .chip-label { color: rgba(255,255,255,0.45); }
.meta-chip.dark .chip-val   { color: rgba(255,255,255,0.9); }

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

/* ── 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(--poppins);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
}
.tl-phases {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin-bottom: 20px;
}
.tl-phase {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
}
.tl-phase-label {
    font-family: var(--poppins);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-2);
}
.tl-phase-days {
    font-family: var(--poppins);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
}
.tl-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
}
.tl-col-line {
    grid-row: 1 / -1;
    border-left: 1px dashed rgba(0,0,0,0.07);
    pointer-events: none;
}
.tl-bar-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 5px 0;
    position: relative;
    z-index: 1;
}
@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);
}
.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(--poppins);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
    margin: 0 3px;
}
.tl-bar-accent {
    background: linear-gradient(90deg, #FEA462, #FF9040, #FF7B3F, #FFD4A8);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(254,164,98,0.35);
}

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

.type-showcase {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
}
.type-showcase .type-big  { order: 1; }
.type-showcase .type-meta { order: 2; }
.type-meta { padding-bottom: 28px; }
.type-weights {
    display: flex;
    gap: 24px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 16px;
}
.type-note {
    font-family: var(--poppins);
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.35);
    max-width: 280px;
}
.type-showcase-albert {
    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;
}
.type-big-mont    { font-family: 'Gotham', 'Montserrat', sans-serif; letter-spacing: -1px; white-space: nowrap; }
.type-big-poppins { font-family: 'Poppins', sans-serif; letter-spacing: -2px; white-space: nowrap; }

.type-scale-table { margin: 0 0 72px; }
.ts-row {
    display: grid;
    grid-template-columns: 72px 1fr 100px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    color: rgba(255,255,255,0.85);
}
.ts-tag {
    font-family: var(--poppins);
    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(--poppins);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
}

/* Colors */
.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(--poppins); 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(--poppins);
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}

/* ============================================
   BENTO GRID
   ============================================ */
.bento-full-section {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
}
.bento-full-lottie {
    width: 100%;
}
.bento-full-lottie svg {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.bento-section {
    background: #ffffff !important;
    padding: 80px 140px;
    width: 100%;
}
.bento-label-row {
    margin-bottom: 28px;
}
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    grid-template-rows: 300px 300px;
    gap: 12px;
    width: 100%;
}
.bento-cell {
    background: #1a0d04;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(28, 15, 5, 0.10), 0 2px 6px rgba(28, 15, 5, 0.06);
}
.bento-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #1a0d04;
}
.bento-img1 {
    grid-column: 2;
    grid-row: 1;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-img2 {
    grid-column: 2;
    grid-row: 2;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-img1 img,
.bento-img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
.bento-lottie-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-lottie-wrap svg {
    width: 100% !important;
    height: 100% !important;
}

/* ============================================
   LOTTIE SECTION
   ============================================ */
.lottie-section {
    background: #1C0F05;
    padding: 0;
    width: 100%;
}
.lottie-inner {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lottie-label {
    display: none;
}
.lottie-player-wrap {
    width: 100%;
    aspect-ratio: 1400 / 779;
}
.lottie-player-wrap svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ============================================
   DESIGN SYSTEM — new layout
   ============================================ */
/* ============================================
   PROCESS — overlapping orbs
   ============================================ */
/* ============================================
   DESIGN PROCESS — staggered cards
   ============================================ */
.process-stagger {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
}

/* Giant background title */
.ps-bg-title {
    font-family: var(--gotham);
    font-size: clamp(72px, 12vw, 172px);
    font-weight: 900;
    color: rgba(255,255,255,0.13);
    letter-spacing: -4px;
    line-height: 1;
    padding: 80px 56px 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* Cards row */
.ps-cards {
    display: flex;
    gap: 20px;
    padding: 60px 56px 0;
    align-items: flex-start;
}

/* Individual card */
.ps-card {
    flex: 1;
    background: #181716;
    border-radius: 28px;
    padding: 36px 32px 44px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Staggered cascade offsets */
.ps-card-1 { margin-top: 0; }
.ps-card-2 { margin-top: 90px; }
.ps-card-3 { margin-top: 180px; }
.ps-card-4 { margin-top: 270px; }

/* Step badge */
.ps-step-badge {
    display: inline-block;
    background: rgba(254,164,98,0.1);
    border: 1px solid rgba(254,164,98,0.22);
    color: #FEA462;
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 100px;
    width: fit-content;
}

/* Card title */
.ps-card-title {
    font-family: var(--gotham);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

/* Bullet list */
.ps-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-bullets li {
    display: flex;
    gap: 13px;
    font-family: var(--poppins);
    font-size: 14px;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
}

.ps-bullets li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FEA462;
    flex-shrink: 0;
    margin-top: 7px;
}

/* ============================================
   DESIGN SYSTEM — new layout
   ============================================ */
.ds-header {
    background: var(--dark);
    padding: 120px 56px 64px;
    max-width: 100%;
}

/* ── Color Grid ── */
.ds-color-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 0;
}
.ds-color-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 32px;
    overflow: hidden;
}
.ds-color-name {
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.ds-color-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.ds-hex {
    font-family: var(--gotham), monospace;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.ds-rgb {
    font-family: var(--poppins);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

/* ── Type Cards ── */
.ds-type-card {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 380px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ds-type-card:last-of-type {
    min-height: 480px;
}
.ds-type-left {
    display: flex;
    align-items: flex-end;
    padding: 40px 48px;
}
.ds-type-card:last-of-type .ds-type-left {
    padding: 60px 48px;
}
.ds-type-name {
    font-size: clamp(56px, 8vw, 110px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    color: #fff;
}
.ds-type-right {
    background: #F1EFEA;
    padding: 44px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}
.ds-type-card:last-of-type .ds-type-right {
    padding: 64px 64px;
    gap: 36px;
}
.ds-weight-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: 500;
    color: rgba(28,15,5,0.45);
}
.ds-weight-track {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    margin: 0 2px;
}
.ds-weight-line {
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: rgba(28,15,5,0.18);
    border-radius: 2px;
}
.ds-weight-dot {
    position: absolute;
    width: 10px; height: 10px;
    background: var(--dark);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.ds-size-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--poppins);
    font-size: 12px;
    color: rgba(28,15,5,0.4);
    font-weight: 400;
}
.ds-charset {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(28,15,5,0.75);
    letter-spacing: 0.2px;
}

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

/* ── Full-screen phone showcase ── */
.website-showcase-section { padding-bottom: 0; }

.ws-grad-wrap {
    position: relative;
    background: linear-gradient(135deg, #FFE8C8 0%, #FFCFA0 35%, #FEA462 68%, #FF9040 100%);
    padding: 0;
}
.ws-orb-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.ws-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}
.ws-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #FEA462 0%, transparent 70%);
    top: -200px; left: -150px;
    opacity: 0.6;
}
.ws-orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #FF7B3F 0%, transparent 70%);
    top: 20%; right: -100px;
    opacity: 0.5;
}
.ws-orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #FFD4A8 0%, transparent 70%);
    bottom: -100px; left: 30%;
    opacity: 0.6;
}
.ws-orb-clip-2 {
    position: absolute;
    left: 0; right: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    height: 100vh;
}
.ws-orb-4 {
    width: 650px; height: 650px;
    background: radial-gradient(circle, #FF9040 0%, transparent 70%);
    top: -150px; right: -100px;
    opacity: 0.6;
}
.ws-orb-5 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, #FF7B3F 0%, transparent 70%);
    top: 30%; left: -80px;
    opacity: 0.45;
}
.ws-orb-6 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #FEA462 0%, transparent 70%);
    bottom: -80px; left: 35%;
    opacity: 0.55;
}

/* Sticky heading */
.ws-sticky-header {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: center;
    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(--poppins);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    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.12);
}
.ws-pills-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ws-screen-num {
    font-family: var(--poppins);
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ws-pill {
    font-family: var(--poppins);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    background: rgba(255,255,255,0.82);
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    backdrop-filter: blur(4px);
}

/* Centered phone frame */
.ws-centered-frame {
    position: relative;
    z-index: 10;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 40px 120px;
    transition: transform 0.12s linear;
    will-change: transform;
}
.ws-screen-panel + .ws-screen-panel { padding-top: 80px; }

.ws-phone-frame {
    position: relative;
    background: #0d0d0d;
    border-radius: 52px;
    border: 10px solid #1a1a1a;
    box-shadow:
        0 40px 120px rgba(0,0,0,0.45),
        0 0 0 1.5px rgba(255,255,255,0.09);
    overflow: hidden;
}
.ws-phone-notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 22px;
    background: #0d0d0d;
    border-radius: 30px;
    z-index: 4;
}
.ws-phone-screen img {
    width: 100%;
    display: block;
}
.ws-phone-home {
    position: absolute;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
    width: 88px; height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    z-index: 4;
}

/* ── Mobile scattered phones ── */
.mobile-block {
    background: var(--dark);
    padding: 100px 0 0;
}
.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 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 40px;
    margin-top: -40px;
    min-height: 580px;
    overflow: visible;
    position: relative;
}
.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;
    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;
}
.s-notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 74px; height: 22px;
    background: #0d0d0d;
    border-radius: 30px;
    z-index: 4;
}
.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;
}
.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; }

/* ============================================
   SCREENS — CoffeeMate mockup showcase
   ============================================ */
.ms-wrap {
    background: #0e0e0e;
}

.ms-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.ms-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 100px;
}

/* Flip layout — phone left, text right */
.ms-section.ms-flip .ms-inner {
    flex-direction: row-reverse;
}

/* ── Text column ── */
.ms-text {
    flex: 1;
    min-width: 0;
}

.ms-meta {
    margin-bottom: 28px;
}

.ms-tag {
    display: block;
    font-family: var(--poppins);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.28);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ms-name {
    display: block;
    font-family: var(--poppins);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}

.ms-heading {
    font-family: var(--gotham);
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 700;
    color: #fff;
    line-height: 1.07;
    letter-spacing: -2px;
    margin: 0 0 24px;
}

.ms-body {
    font-family: var(--poppins);
    font-size: 16px;
    color: rgba(255,255,255,0.4);
    line-height: 1.75;
    max-width: 460px;
}

.ms-placeholder-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    font-family: var(--poppins);
    font-size: 12px;
    font-weight: 500;
    color: #FEA462;
    background: rgba(254,164,98,0.08);
    border: 1px solid rgba(254,164,98,0.22);
    border-radius: 100px;
    padding: 9px 18px;
    letter-spacing: 0.2px;
}

/* ── Phone column ── */
.ms-device-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.ms-device {
    width: 290px;
    background: #1c1c1c;
    border-radius: 52px;
    border: 10px solid #252525;
    box-shadow:
        0 70px 140px rgba(0,0,0,0.75),
        0 24px 48px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.07),
        inset 0 1px 0 rgba(255,255,255,0.09);
    position: relative;
    overflow: hidden;
}

.ms-device img {
    width: 100%;
    display: block;
}

.ms-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #111;
    border-radius: 20px;
    z-index: 10;
}

.ms-bar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    height: 5px;
    background: rgba(255,255,255,0.22);
    border-radius: 3px;
    z-index: 10;
}

/* ── Onboarding — 3-phone row layout ── */
.ms-ob-section {
    padding: 140px 0 60px;
}

.ms-ob-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 60px;
}

.ms-ob-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 64px;
    gap: 60px;
}

.ms-ob-title-block .ms-tag { margin-bottom: 10px; }

.ms-ob-title {
    font-family: var(--gotham);
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -2.5px;
    margin: 6px 0 0;
}

.ms-ob-desc {
    font-family: var(--poppins);
    font-size: 16px;
    color: rgba(255,255,255,0.4);
    line-height: 1.75;
    max-width: 380px;
    margin-top: 12px;
    align-self: center;
}

/* 3-phone row */
.ms-ob-phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
}

.ms-ob-col {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

/* Phones */
.ms-ob-phone {
    width: 230px;
    background: #1c1c1c;
    border-radius: 48px;
    border: 10px solid #252525;
    box-shadow:
        0 40px 80px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
}

.ms-ob-phone-center {
    width: 270px;
    border-radius: 54px;
    border-color: #2a2a2a;
    box-shadow:
        0 60px 120px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.09),
        inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: 3;
    position: relative;
}

.ms-ob-phone img { width: 100%; display: block; }

/* Column-level positioning */
.ms-ob-col-l { transform: rotate(-6deg) translateY(28px); z-index: 1; }
.ms-ob-col-c { z-index: 3; margin: 0 -16px; }
.ms-ob-col-r { transform: rotate(6deg) translateY(28px); z-index: 2; }

/* Notch sizes */
.ms-notch-lg {
    width: 100px;
    height: 28px;
    top: 16px;
}

/* Placeholder screen */
.ms-ob-placeholder {
    height: 480px;
    background: linear-gradient(160deg, #2a2016 0%, #1a1208 60%, #111 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
}

.ms-ob-ph-label {
    font-family: var(--gotham);
    font-size: 13px;
    font-weight: 600;
    color: #FEA462;
    letter-spacing: 1px;
    opacity: 0.6;
}

.ms-ob-ph-sub {
    font-family: var(--poppins);
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    text-align: center;
    line-height: 1.6;
}

/* ── Home screen — raw image, no frame ── */
.ms-home-wrap {
    overflow: visible;
    padding: 40px;
    margin-left: -80px;
}

.ms-home-raw {
    width: 638px;
    display: block;
    border-radius: 20px;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.65)) drop-shadow(0 8px 24px rgba(0,0,0,0.4));
    transition: transform 1s cubic-bezier(0.34, 1.05, 0.64, 1);
    transform: perspective(1400px) rotateZ(0deg) rotateY(0deg);
}

/* Tilt on scroll */
.ms-section.tilt-in .ms-home-raw {
    transform: perspective(1400px) rotateZ(13deg) rotateY(8deg);
}

/* ── Tilt animation — phones start straight, tilt in on scroll ── */

/* Add smooth transition to all phones and raw images */
.ms-device,
.ms-home-raw,
.ms-dual-l,
.ms-dual-r {
    transition: transform 1s cubic-bezier(0.34, 1.05, 0.64, 1);
}

/* Default state: perfectly upright */
.ms-tilt-1,
.ms-tilt-2,
.ms-tilt-3,
.ms-tilt-4 {
    transform: perspective(1400px) rotateZ(0deg) rotateY(0deg);
}

/* Tilted state: added by JS IntersectionObserver when section enters view */
.ms-section.tilt-in .ms-tilt-1 {
    transform: perspective(1400px) rotateZ(-18deg) rotateY(-10deg);
}
.ms-section.tilt-in .ms-tilt-2 {
    transform: perspective(1400px) rotateZ(13deg) rotateY(8deg);
}
.ms-section.tilt-in .ms-tilt-3 {
    transform: perspective(1400px) rotateZ(-11deg) rotateY(-7deg) rotateX(3deg);
}
.ms-section.tilt-in .ms-tilt-4 {
    transform: perspective(1400px) rotateZ(17deg) rotateY(9deg) rotateX(-3deg);
}

/* Onboarding columns also animate from straight */
.ms-ob-col-l,
.ms-ob-col-r {
    transition: transform 1s cubic-bezier(0.34, 1.05, 0.64, 1);
}
.ms-ob-col-l { transform: rotate(0deg) translateY(0px); }
.ms-ob-col-r { transform: rotate(0deg) translateY(0px); }

.ms-ob-section.tilt-in .ms-ob-col-l { transform: rotate(-6deg) translateY(28px); }
.ms-ob-section.tilt-in .ms-ob-col-r { transform: rotate(6deg) translateY(28px); }

/* ── Dual-phone layout (Event + Review sections) ── */
.ms-dual-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    padding: 40px 20px;
    overflow: visible;
}

.ms-dual-l {
    width: 260px;
    margin-right: -28px;
    z-index: 1;
    transform: perspective(1400px) rotateZ(0deg) rotateY(0deg);
}

.ms-dual-r {
    width: 290px;
    z-index: 2;
    transform: perspective(1400px) rotateZ(0deg) rotateY(0deg);
}

/* Dual phone tilt states */
.ms-section.tilt-in .ms-dual-l {
    transform: perspective(1400px) rotateZ(-10deg) rotateY(-7deg) rotateX(2deg);
}

.ms-section.tilt-in .ms-dual-r {
    transform: perspective(1400px) rotateZ(8deg) rotateY(6deg) rotateX(-2deg);
}

/* ============================================
   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(--poppins);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.takeaway-card p {
    font-family: var(--poppins);
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    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(--poppins);
    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(--poppins);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .takeaway-row  { grid-template-columns: repeat(2,1fr); }
    .color-row     { grid-template-columns: repeat(2,1fr); }
    .scattered-stage { gap: 0; }
    .ms-inner { gap: 60px; padding: 0 40px; }
    .ms-device { width: 240px; }
    .ms-device-wrap { padding: 30px; }
    .ms-dual-l { width: 220px; }
    .ms-dual-r { width: 250px; }
}
@media (max-width: 900px) {
    .container { padding: 0 28px; }
    .overview-grid { grid-template-columns: 1fr; gap: 48px; }
    .type-showcase { grid-template-columns: 1fr; }
    /* screens — stack on tablet */
    .ms-section { padding: 80px 0; overflow: hidden; }
    .ms-inner,
    .ms-section.ms-flip .ms-inner {
        flex-direction: column;
        align-items: center;
        padding: 0 32px;
        gap: 40px;
    }
    .ms-device-wrap { padding: 20px 0; }
    .ms-device { width: 250px; }
    .ms-body { max-width: 100%; }
    /* gentle tilt on tablet — triggered by tilt-in class */
    .ms-section.tilt-in .ms-tilt-1 { transform: perspective(1000px) rotateZ(-6deg); }
    .ms-section.tilt-in .ms-tilt-2 { transform: perspective(1000px) rotateZ(5deg); }
    .ms-section.tilt-in .ms-tilt-3 { transform: perspective(1000px) rotateZ(-5deg); }
    .ms-section.tilt-in .ms-tilt-4 { transform: perspective(1000px) rotateZ(7deg); }
    .ms-section.tilt-in .ms-dual-l { transform: perspective(1000px) rotateZ(-5deg); }
    .ms-section.tilt-in .ms-dual-r { transform: perspective(1000px) rotateZ(5deg); }
    .ms-dual-wrap { padding: 20px 0; }
    /* process orbs responsive */
    /* process stagger responsive */
    .ps-cards { gap: 14px; padding: 48px 32px 0; }
    .ps-card-2 { margin-top: 60px; }
    .ps-card-3 { margin-top: 120px; }
    .ps-card-4 { margin-top: 180px; }
}
@media (max-width: 640px) {
    .hero-logo { width: 200px; }
    .overview, .process, .identity, .screens, .takeaways, .footer { padding: 72px 0; }
    .s-phone { width: 160px; }
    .s-phone-2, .s-phone-3 { width: 175px; }
    .takeaway-row { grid-template-columns: 1fr; }
    .ws-centered-frame { padding: 0 20px 80px; }
    /* screens — mobile tightening */
    .ms-device { width: 220px; border-radius: 40px; }
    .ms-dual-l { width: 185px; margin-right: -22px; }
    .ms-dual-r { width: 220px; }
    .ms-heading { font-size: 32px; letter-spacing: -1px; }
    .ms-section { padding: 64px 0; }
    .ms-inner { padding: 0 24px; gap: 36px; }
    /* process orbs */
    /* process stagger — stack on mobile */
    .ps-bg-title { font-size: 52px; padding: 60px 24px 0; }
    .ps-cards { flex-direction: column; padding: 40px 24px 0; }
    .ps-card-1, .ps-card-2, .ps-card-3, .ps-card-4 { margin-top: 0; }
}
