@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100vh; }
  img, video { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; border: none; background: none; font: inherit; }
  ul, ol { list-style: none; }
  input, textarea, select { font: inherit; }
  iframe { border: 0; }
}

@layer tokens {
  :root {
    --clr-bg: #0d0f14;
    --clr-surface: #13161e;
    --clr-surface-2: #1a1e28;
    --clr-surface-3: #222737;
    --clr-border: rgba(255,255,255,0.08);
    --clr-border-strong: rgba(255,255,255,0.14);
    --clr-text: #e8eaf0;
    --clr-text-muted: #8b90a0;
    --clr-text-faint: #555b6e;
    --clr-accent: #5b8dee;
    --clr-accent-hover: #7aa3f5;
    --clr-accent-dim: rgba(91,141,238,0.12);
    --clr-accent-glow: rgba(91,141,238,0.25);
    --clr-highlight: #c8f542;
    --clr-highlight-dim: rgba(200,245,66,0.1);
    --clr-white: #f4f6ff;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.7), 0 8px 24px rgba(0,0,0,0.5);
    --shadow-accent: 0 4px 20px rgba(91,141,238,0.35), 0 2px 8px rgba(91,141,238,0.2);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --nav-h: 72px;
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
    --transition-slow: 0.45s cubic-bezier(0.4,0,0.2,1);
  }
}

@layer layout {
  .canvas {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
  }

  .canvas-section {
    padding: var(--space-3xl) clamp(1rem, 5vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
  }

  .canvas-section + .canvas-section {
    padding-top: var(--space-2xl);
  }
}

@layer components {

  /* ===================== TYPOGRAPHY ===================== */
  h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.15;
    color: var(--clr-white);
  }

  .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: var(--space-sm);
    font-family: 'Inter', sans-serif;
  }

  .section-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--clr-white);
  }

  .section-intro {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    max-width: 640px;
    line-height: 1.8;
  }

  .section-header-block {
    margin-bottom: var(--space-xl);
  }

  /* ===================== NAV ===================== */
  .nav-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    transition: box-shadow var(--transition-slow);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    height: var(--nav-h);
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
  }

  .nav-logo { width: 32px; height: 32px; }

  .nav-brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-white);
  }

  .nav-brand-text em {
    font-style: normal;
    color: var(--clr-accent);
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: auto;
  }

  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    transition: color var(--transition);
    padding: 0.25rem 0;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--transition);
    border-radius: var(--radius-pill);
  }

  .nav-link:hover { color: var(--clr-white); }
  .nav-link:hover::after { width: 100%; }

  .nav-cta {
    margin-left: var(--space-sm);
    flex-shrink: 0;
  }

  .nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-text);
    border-radius: var(--radius-pill);
    transition: transform var(--transition), opacity var(--transition), width var(--transition);
  }

  .nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .drawer {
    display: none;
    flex-direction: column;
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }

  .drawer.is-open { max-height: 500px; }

  .drawer-link {
    padding: 1rem clamp(1rem, 4vw, 3rem);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    border-bottom: 1px solid var(--clr-border);
    transition: color var(--transition), background var(--transition);
  }

  .drawer-link:hover {
    color: var(--clr-white);
    background: var(--clr-surface-2);
  }

  .drawer-cta {
    display: block;
    margin: var(--space-md) clamp(1rem, 4vw, 3rem);
    padding: 0.75rem 1.5rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: background var(--transition), transform var(--transition);
    min-height: 44px;
  }

  .drawer-cta:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-1px);
  }

  /* ===================== BUTTONS ===================== */
  .spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    min-height: 44px;
    box-shadow: var(--shadow-accent);
  }

  .spotlight-btn:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(91,141,238,0.45);
  }

  .ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 1.5px solid var(--clr-border-strong);
    color: var(--clr-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
    min-height: 44px;
  }

  .ghost-btn:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
    transform: translateY(-2px);
  }

  /* ===================== HERO / STAGE ===================== */
  .stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
  }

  .stage-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .stage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.18;
  }

  .stage-curtain {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-bg) 0%, rgba(13,15,20,0.82) 50%, rgba(13,15,20,0.55) 100%);
  }

  .stage-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) clamp(1rem, 5vw, 5rem);
    width: 100%;
  }

  .stage-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: var(--space-sm);
    font-family: 'Inter', sans-serif;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--clr-accent-dim);
    border-radius: var(--radius-pill);
    background: var(--clr-accent-dim);
  }

  .stage-headline {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    color: var(--clr-white);
  }

  .accent-word {
    color: var(--clr-highlight);
    position: relative;
  }

  .stage-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--clr-text-muted);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
  }

  .stage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
  }

  .stage-visual-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-left: var(--space-lg);
  }

  .stage-stat-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), transform var(--transition);
  }

  .stage-stat-card:hover {
    border-color: var(--clr-accent);
    transform: translateX(6px);
  }

  .stage-stat-card i {
    font-size: 1.4rem;
    color: var(--clr-accent);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .stage-stat-card p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .stage-scroll-hint {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--clr-text-faint);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: bounce-hint 2s ease-in-out infinite;
  }

  @keyframes bounce-hint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
  }

  /* ===================== PROBLEM SECTION ===================== */
  .problem-section {
    background: var(--clr-surface);
    max-width: 100%;
    padding: var(--space-3xl) clamp(1rem, 5vw, 5rem);
  }

  .asymmetric-intro {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
  }

  .asymmetric-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: var(--space-md);
  }

  .asymmetric-text p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
  }

  .asymmetric-visual {
    position: relative;
  }

  .asymmetric-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
  }

  .asymmetric-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--clr-surface-3);
    border: 1px solid var(--clr-border-strong);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    max-width: 260px;
  }

  .asymmetric-badge i {
    color: #f5a623;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .asymmetric-badge span {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
  }

  /* ===================== SERVICES ===================== */
  .services-section {
    background: var(--clr-bg);
  }

  .shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
  }

  .shelf-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-card);
    cursor: default;
  }

  .shelf-card:hover {
    border-color: var(--clr-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--clr-accent-dim);
  }

  .shelf-card.spotlight {
    border-color: var(--clr-accent);
    background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(91,141,238,0.06) 100%);
  }

  .shelf-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--clr-accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: background var(--transition);
  }

  .shelf-card:hover .shelf-card-icon {
    background: var(--clr-accent);
  }

  .shelf-card-icon i {
    font-size: 1.4rem;
    color: var(--clr-accent);
    transition: color var(--transition);
  }

  .shelf-card:hover .shelf-card-icon i {
    color: var(--clr-bg);
  }

  .shelf-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--clr-white);
  }

  .shelf-card p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
  }

  .shelf-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .shelf-card-list li {
    font-size: 0.82rem;
    color: var(--clr-text-faint);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
  }

  .shelf-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--clr-accent);
  }

  /* ===================== STICKY SECTION ===================== */
  .sticky-section {
    background: var(--clr-surface);
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .sticky-wrapper {
    display: grid;
    grid-template-columns: 45fr 55fr;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
  }

  .sticky-visual {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow: hidden;
  }

  .sticky-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .sticky-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,15,20,0.85) 0%, rgba(13,15,20,0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
  }

  .sticky-label {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--clr-white);
  }

  .sticky-scroll-content {
    padding: var(--space-3xl) clamp(1.5rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }

  .sticky-step {
    padding: var(--space-lg);
    border-left: 2px solid var(--clr-border);
    transition: border-color var(--transition);
  }

  .sticky-step:hover {
    border-color: var(--clr-accent);
  }

  .step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-accent-dim);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
  }

  .sticky-step:hover .step-number {
    color: var(--clr-accent);
  }

  .sticky-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--clr-white);
  }

  .sticky-step p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
  }

  /* ===================== GALLERY ===================== */
  .gallery-section {
    background: var(--clr-bg);
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-sm);
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    cursor: pointer;
  }

  .gallery-item--large {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  }

  .gallery-item:hover img {
    transform: scale(1.07);
  }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,15,20,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-slow);
  }

  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }

  .gallery-overlay span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
    letter-spacing: 0.04em;
  }

  /* ===================== PROCESS ===================== */
  .process-section {
    background: var(--clr-surface);
    max-width: 100%;
    padding: var(--space-3xl) clamp(1rem, 5vw, 5rem);
  }

  .process-layout {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: var(--space-xl);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
  }

  .process-left p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
  }

  .process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .timeline-item {
    display: flex;
    gap: var(--space-md);
    position: relative;
    padding-bottom: var(--space-lg);
  }

  .timeline-item:last-child { padding-bottom: 0; }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 50px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-accent-dim), transparent);
  }

  .timeline-item:last-child::before { display: none; }

  .timeline-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-accent-dim);
    border: 2px solid var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
    z-index: 1;
  }

  .timeline-item:hover .timeline-dot {
    background: var(--clr-accent);
    transform: scale(1.1);
  }

  .timeline-dot i {
    color: var(--clr-accent);
    font-size: 1rem;
    transition: color var(--transition);
  }

  .timeline-item:hover .timeline-dot i { color: var(--clr-bg); }

  .timeline-content {
    padding-top: 0.5rem;
  }

  .timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--clr-white);
  }

  .timeline-content p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
  }

  /* ===================== ABOUT ===================== */
  .about-section {
    background: var(--clr-bg);
  }

  .about-layout {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: var(--space-xl);
    align-items: center;
  }

  .about-visual {
    position: relative;
  }

  .about-visual img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
  }

  .about-accent-block {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--clr-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 240px;
    box-shadow: var(--shadow-accent);
  }

  .about-accent-block i {
    font-size: 1.5rem;
    color: var(--clr-bg);
    flex-shrink: 0;
  }

  .about-accent-block p {
    font-size: 0.82rem;
    color: var(--clr-bg);
    font-weight: 600;
    line-height: 1.4;
  }

  .about-text p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
  }

  .about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  .about-value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem var(--space-sm);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), background var(--transition);
  }

  .about-value-item:hover {
    border-color: var(--clr-accent);
    background: var(--clr-accent-dim);
  }

  .about-value-item i {
    color: var(--clr-accent);
    font-size: 1rem;
    flex-shrink: 0;
  }

  .about-value-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text);
  }

  /* ===================== CTA ===================== */
  .cta-section {
    background: var(--clr-surface);
    max-width: 100%;
    padding: var(--space-3xl) clamp(1rem, 5vw, 5rem);
  }

  .cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .cta-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--clr-white);
  }

  .cta-sub {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 1rem 2.5rem;
  }

  /* ===================== CONTACT ===================== */
  .contact-section {
    background: var(--clr-bg);
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: var(--space-xl);
    align-items: start;
  }

  .contact-info p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .contact-detail-item i {
    color: var(--clr-accent);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .contact-detail-item a {
    color: var(--clr-text-muted);
    transition: color var(--transition);
  }

  .contact-detail-item a:hover { color: var(--clr-accent); }
  .contact-detail-item span { color: var(--clr-text-muted); }

  .contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
  }

  /* Chat Form */
  .contact-form-wrap {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }

  .chat-form-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--clr-surface-2);
    border-bottom: 1px solid var(--clr-border);
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-accent-dim);
    border: 2px solid var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .chat-avatar i {
    color: var(--clr-accent);
    font-size: 1rem;
  }

  .chat-form-header strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
  }

  .chat-status {
    font-size: 0.75rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
  }

  .chat-form {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .chat-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
  }

  .chat-bubble--in {
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    align-self: flex-start;
    border-bottom-left-radius: var(--radius-sm);
  }

  .chat-bubble--in p {
    color: var(--clr-text-muted);
    margin: 0;
  }

  .chat-bubble--out {
    align-self: flex-end;
    max-width: 100%;
    width: 100%;
    background: transparent;
    padding: 0;
  }

  .chat-bubble--out input,
  .chat-bubble--out textarea {
    width: 100%;
    background: var(--clr-surface-3);
    border: 1px solid var(--clr-border-strong);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--clr-text);
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: vertical;
  }

  .chat-bubble--out input:focus,
  .chat-bubble--out textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-dim);
  }

  .chat-bubble--out input::placeholder,
  .chat-bubble--out textarea::placeholder {
    color: var(--clr-text-faint);
  }

  .chat-privacy {
    margin-top: 0.5rem;
  }

  .privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .privacy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--clr-accent);
    margin-top: 1px;
    cursor: pointer;
  }

  .privacy-label a {
    color: var(--clr-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
  }

  .privacy-label a:hover { color: var(--clr-accent-hover); }

  .chat-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    min-height: 48px;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-accent);
  }

  .chat-send-btn:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91,141,238,0.4);
  }

  /* ===================== FOOTER ===================== */
  .canvas-footer {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    padding: var(--space-2xl) clamp(1rem, 5vw, 5rem) var(--space-lg);
  }

  .footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: var(--space-sm);
  }

  .footer-logo { width: 28px; height: 28px; }

  .footer-brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-white);
  }

  .footer-brand-name em {
    font-style: normal;
    color: var(--clr-accent);
  }

  .footer-tagline {
    font-size: 0.85rem;
    color: var(--clr-text-faint);
    margin-bottom: var(--space-lg);
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .footer-nav a {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    transition: color var(--transition);
  }

  .footer-nav a:hover { color: var(--clr-accent); }

  .footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
  }

  .footer-contact-row a {
    color: var(--clr-text-muted);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .footer-contact-row a:hover { color: var(--clr-accent); }

  .footer-contact-row span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .footer-contact-row i {
    color: var(--clr-accent);
    font-size: 0.85rem;
  }

  .footer-divider {
    border: none;
    border-top: 1px solid var(--clr-border);
    margin-bottom: var(--space-md);
  }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--clr-text-faint);
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
  }

  .footer-legal-links a {
    color: var(--clr-text-faint);
    transition: color var(--transition);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .footer-legal-links a:hover { color: var(--clr-accent); }

  /* ===================== COOKIE CONSENT ===================== */
  .cookie-bell-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--clr-surface-2);
    border: 1.5px solid var(--clr-border-strong);
    color: var(--clr-text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    position: fixed;
  }

  .cookie-bell-btn:hover {
    background: var(--clr-accent-dim);
    color: var(--clr-accent);
    transform: scale(1.08);
  }

  .cookie-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: var(--clr-accent);
    border-radius: 50%;
    border: 2px solid var(--clr-bg);
    transition: opacity var(--transition), transform var(--transition);
  }

  .cookie-badge.hidden {
    opacity: 0;
    transform: scale(0);
  }

  .cookie-panel {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 8999;
    width: min(380px, calc(100vw - 2rem));
    background: var(--clr-surface);
    border: 1px solid var(--clr-border-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    transform-origin: bottom right;
  }

  .cookie-panel.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  .cookie-panel-header {
    padding: var(--space-md) var(--space-lg);
    background: var(--clr-surface-2);
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .cookie-panel-header i {
    color: var(--clr-accent);
    font-size: 1.1rem;
  }

  .cookie-panel-header strong {
    font-size: 0.95rem;
    color: var(--clr-white);
  }

  .cookie-panel-body {
    padding: var(--space-md) var(--space-lg);
  }

  .cookie-panel-body p {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  .cookie-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--clr-border);
  }

  .cookie-toggle-row:last-of-type { border-bottom: none; }

  .cookie-toggle-label {
    font-size: 0.85rem;
    color: var(--clr-text);
    font-weight: 500;
  }

  .cookie-toggle-label span {
    display: block;
    font-size: 0.75rem;
    color: var(--clr-text-faint);
    font-weight: 400;
  }

  .cookie-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
  }

  .cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
  }

  .cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--clr-surface-3);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--transition);
  }

  .cookie-toggle-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-text-faint);
    transition: transform var(--transition), background var(--transition);
  }

  .cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--clr-accent-dim);
  }

  .cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(18px);
    background: var(--clr-accent);
  }

  .cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .cookie-panel-footer {
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    display: flex;
    gap: 0.6rem;
  }

  .cookie-btn-accept {
    flex: 1;
    padding: 0.65rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition);
    min-height: 44px;
  }

  .cookie-btn-accept:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-1px);
  }

  .cookie-btn-decline {
    padding: 0.65rem 1rem;
    border: 1px solid var(--clr-border-strong);
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.82rem;
    border-radius: var(--radius-md);
    transition: border-color var(--transition), color var(--transition);
    min-height: 44px;
  }

  .cookie-btn-decline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
  }

  /* ===================== TIPPY THEME ===================== */
  .tippy-box[data-theme~='custom'] {
    background: var(--clr-surface-3);
    color: var(--clr-text);
    border: 1px solid var(--clr-border-strong);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    line-height: 1.5;
    box-shadow: var(--shadow-lg);
    max-width: 240px;
  }

  .tippy-box[data-theme~='custom'] .tippy-arrow::before {
    color: var(--clr-surface-3);
  }

  /* ===================== LEGAL PAGES ===================== */
  .legal-canvas {
    background: var(--clr-bg);
    color: var(--clr-text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .legal-main {
    flex: 1;
    padding-top: var(--nav-h);
  }

  .legal-hero {
    padding: var(--space-xl) clamp(1rem, 5vw, 5rem) var(--space-lg);
    border-bottom: 1px solid var(--clr-border);
    background: var(--clr-surface);
  }

  .legal-hero-inner {
    max-width: 860px;
    margin: 0 auto;
  }

  .legal-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .legal-date {
    font-size: 0.82rem;
    color: var(--clr-text-faint);
  }

  .legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--space-xl) clamp(1rem, 5vw, 5rem);
  }

  .legal-intro {
    font-size: 1rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--clr-surface);
    border-left: 3px solid var(--clr-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }

  .accordion-item {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition);
  }

  .accordion-item.is-open {
    border-color: var(--clr-border-strong);
  }

  .accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--clr-surface);
    color: var(--clr-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    min-height: 56px;
  }

  .accordion-trigger:hover {
    background: var(--clr-surface-2);
    color: var(--clr-accent);
  }

  .accordion-trigger .accordion-icon {
    flex-shrink: 0;
    color: var(--clr-accent);
    transition: transform var(--transition);
    font-size: 0.85rem;
  }

  .accordion-item.is-open .accordion-icon {
    transform: rotate(180deg);
  }

  .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }

  .accordion-body-inner {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
  }

  .accordion-body-inner p { margin-bottom: 0.75rem; }
  .accordion-body-inner p:last-child { margin-bottom: 0; }

  .accordion-body-inner ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .accordion-body-inner ul li { margin-bottom: 0.4rem; }

  .accordion-body-inner h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
    margin: var(--space-sm) 0 0.4rem;
  }

  /* ===================== THANKS PAGE ===================== */
  .thanks-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) clamp(1rem, 5vw, 5rem);
    min-height: calc(100vh - var(--nav-h) - 200px);
  }

  .thanks-inner {
    text-align: center;
    max-width: 520px;
  }

  .envelope-wrap {
    width: 100px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    position: relative;
  }

  .envelope-body {
    width: 100px;
    height: 70px;
    background: var(--clr-surface-2);
    border: 2px solid var(--clr-accent);
    border-radius: var(--radius-sm);
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
  }

  .envelope-flap {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 38px solid var(--clr-accent);
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top center;
    animation: flap-open 0.7s 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
  }

  @keyframes flap-open {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(-160deg); }
  }

  .envelope-letter {
    width: 70px;
    height: 50px;
    background: var(--clr-surface-3);
    border: 1px solid var(--clr-border-strong);
    border-radius: var(--radius-sm);
    position: absolute;
    bottom: 8px;
    left: 15px;
    transform: translateY(0);
    animation: letter-slide 0.6s 1s cubic-bezier(0.4,0,0.2,1) forwards;
  }

  @keyframes letter-slide {
    0% { transform: translateY(0); opacity: 0.6; }
    100% { transform: translateY(-40px); opacity: 1; }
  }

  .envelope-letter::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--clr-accent-dim);
    border-radius: var(--radius-pill);
    margin: 14px auto 6px;
    box-shadow: 0 6px 0 var(--clr-accent-dim), 0 12px 0 var(--clr-accent-dim);
  }

  .thanks-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    animation: fade-in-up 0.6s 1.6s both;
  }

  .thanks-text {
    font-size: 1rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    animation: fade-in-up 0.6s 1.8s both;
  }

  .thanks-actions {
    animation: fade-in-up 0.6s 2s both;
  }

  @keyframes fade-in-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

}

@layer utilities {

  /* Responsive */
  @media (max-width: 1024px) {
    .stage-content {
      grid-template-columns: 1fr;
    }

    .stage-visual-block {
      padding-left: 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }

    .asymmetric-intro {
      grid-template-columns: 1fr;
    }

    .asymmetric-visual {
      order: -1;
    }

    .asymmetric-img {
      aspect-ratio: 16/9;
    }

    .about-layout {
      grid-template-columns: 1fr;
    }

    .about-visual img {
      aspect-ratio: 16/9;
    }

    .about-accent-block {
      right: 1rem;
      bottom: 1rem;
    }

    .contact-layout {
      grid-template-columns: 1fr;
    }

    .process-layout {
      grid-template-columns: 1fr;
    }

    .sticky-wrapper {
      grid-template-columns: 1fr;
    }

    .sticky-visual {
      position: relative;
      height: 50vw;
      min-height: 280px;
      top: 0;
    }
  }

  @media (max-width: 768px) {
    :root {
      --nav-h: 64px;
    }

    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .drawer { display: flex; }

    .stage-headline {
      font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .stage-visual-block {
      grid-template-columns: 1fr;
    }

    .shelf {
      grid-template-columns: 1fr;
    }

    .gallery {
      grid-template-columns: 1fr 1fr;
    }

    .gallery-item--large,
    .gallery-item--wide {
      grid-column: span 2;
    }

    .about-values {
      grid-template-columns: 1fr;
    }

    .footer-contact-row {
      flex-direction: column;
      align-items: center;
    }

    .footer-bottom {
      flex-direction: column;
      gap: var(--space-sm);
    }

    .asymmetric-badge {
      left: 0.5rem;
      bottom: 0.5rem;
    }
  }

  @media (max-width: 480px) {
    .gallery {
      grid-template-columns: 1fr;
    }

    .gallery-item--large,
    .gallery-item--wide {
      grid-column: span 1;
    }

    .stage-actions {
      flex-direction: column;
      align-items: flex-start;
    }

    .stage-stat-card {
      flex-direction: column;
    }

    .legal-content {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  }
}