* { box-sizing: border-box; }
  body { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

  /* ---------- Top nav to jump between brands ---------- */
  .portfolio-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 14px 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .portfolio-nav a {
    color: #0d1b2a;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    
  }
  .portfolio-nav a:hover { color: #a11111; }

  .brand-divider {
    padding: 60px 20px 0;
    background: #ffffff;
    text-align: center;
  }
  .brand-divider h1 {
    font-size: 30px;
    font-weight: 900;
    color: #0d1b2a;
    margin: 0;
  }
  .brand-divider span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8d0d0d;
    margin-bottom: 8px;
  }

  /* ---------- Section 1: Showcase Grid ---------- */
  .showcase-section {
    padding: 40px 20px 80px;
    background-color: #ffffff;
  }
  .showcase-container { max-width: 1140px; margin: 0 auto; }
  .showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
    gap: 20px;
  }
  .showcase-title-area { max-width: 720px; }
  .showcase-eyebrow {
    color: #a51717;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
  }
  .showcase-title {
    font-size: 42px;
    font-weight: 900;
    color: #0d1b2a;
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }
  .showcase-title .outlined-text {
    color: transparent;
    -webkit-text-stroke: 1.5px #8d99ae;
    font-weight: 800;
  }
  .showcase-subtitle { font-size: 15px; line-height: 1.6; color: #6c757d; margin: 0; }
  .showcase-btn {
    display: inline-block;
    background-color: #920b0b;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgb(196, 59, 41);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
  }
  .showcase-btn:hover {
    background-color: #b10d0d;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(196, 46, 46, 0.664);
  }
  .showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .showcase-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
  .showcase-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* ---------- Section 2: Brand Story ---------- */
  :root { --brand-accent: #b80e0e; --dark-bg: #0b0f17; --card-radius: 16px; }
  .brand-story-section { background-color: var(--dark-bg); color: #ffffff; padding: 80px 20px; }
  .brand-story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
  }
  .brand-story-eyebrow {
    color: var(--brand-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
  }
  .brand-story-title { font-size: 42px; font-weight: 900; line-height: 1.1; margin: 0 0 20px 0; }
  .brand-story-title .outlined-text { color: transparent; -webkit-text-stroke: 1.5px #ffffff; font-weight: 800; }
  .brand-story-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .brand-story-specs { display: flex; gap: 48px; }
  .spec-item span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .spec-item strong { display: block; font-size: 15px; font-weight: 700; color: #ffffff; }
  .preview-window {
    background-color: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .preview-topbar {
    background-color: #151d2a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
  }
  .status-dot { width: 8px; height: 8px; background-color: var(--brand-accent); border-radius: 50%; display: inline-block; }
  .preview-canvas {
    position: relative;
    aspect-ratio: 16 / 8;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
  }
  .preview-canvas-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
  }
  .carousel-wrapper { position: relative; z-index: 2; width: 100%; }
  .story-cards-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0;
  }
  .story-cards-track::-webkit-scrollbar { display: none; }
  .story-card {
    flex: 0 0 210px;
    height: 290px;
    background: #ffffff;
    border-radius: var(--card-radius);
    overflow: hidden;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  .story-card.image-card {
    padding: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .image-card-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    padding: 10px 8px;
    line-height: 1.3;
    text-transform: uppercase;
  }
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .nav-btn.prev { left: -12px; background: #ffffff; color: #0f172a; }
  .nav-btn.next { right: -12px; background: var(--brand-accent); color: #ffffff; }
  .nav-btn:hover { transform: translateY(-50%) scale(1.1); }

  /* ---------- Section 3: EBC Stack ---------- */
  .ebc-section { padding: 80px 20px; background-color: #ffffff; }
  .ebc-container { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .ebc-eyebrow {
    color: #ad1616;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
  }
  .ebc-title { font-size: 42px; font-weight: 900; color: #0d1b2a; margin: 0 0 20px 0; line-height: 1.1; }
  .ebc-title .outlined-text { color: transparent; -webkit-text-stroke: 1.5px #8d99ae; font-weight: 800; }
  .ebc-desc { font-size: 15px; line-height: 1.6; color: #6c757d; margin-bottom: 32px; }
  .ebc-features { display: flex; flex-direction: column; gap: 20px; }
  .feature-item { display: flex; align-items: flex-start; gap: 12px; }
  .feature-check { color: #af1e1e; font-size: 16px; font-weight: 900; margin-top: 2px; }
  .feature-text strong { display: block; font-size: 15px; color: #0d1b2a; font-weight: 700; margin-bottom: 4px; }
  .feature-text p { margin: 0; font-size: 14px; line-height: 1.5; color: #6c757d; }
  .tablet-mockup-wrapper { display: flex; justify-content: center; align-items: center; }
  .tablet-mockup {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 580px;
    background: #1e293b;
    border-radius: 32px;
    padding: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #334155;
    box-sizing: border-box;
  }
  .tablet-mockup::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 8px; height: 8px;
    background-color: #475569;
    border-radius: 50%;
    z-index: 10;
  }
  .screen-viewport { width: 100%; height: 100%; background: #f8fafc; border-radius: 20px; overflow: hidden; position: relative; }
  .scrolling-image { width: 100%; display: block; animation: autoScrollImage 22s linear infinite; }
  .screen-viewport:hover .scrolling-image { animation-play-state: paused; }
  @keyframes autoScrollImage {
    0% { transform: translateY(0%); }
    50% { transform: translateY(calc(-100% + 548px)); }
    100% { transform: translateY(0%); }
  }

  .section-gap { height: 1px; background: rgba(0,0,0,0.08); max-width: 1140px; margin: 0 auto; }

  @media (max-width: 992px) {
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-story-container { grid-template-columns: 1fr; gap: 36px; }
    .ebc-container { grid-template-columns: 1fr; }
    .tablet-mockup { height: 480px; }
  }

  /* ---------- Mobile ---------- */
  @media (max-width: 768px) {
    .portfolio-nav {
      justify-content: flex-start;
      gap: 18px;
      padding: 12px 16px;
    }
    .portfolio-nav a { font-size: 17px; }

    .showcase-section { padding: 32px 16px 56px; }
    .showcase-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .showcase-title { font-size: 28px; }
    .showcase-subtitle { font-size: 14px; }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .brand-story-section { padding: 48px 16px; }
    .brand-story-title { font-size: 28px; }
    .brand-story-desc { margin-bottom: 24px; padding-bottom: 20px; }
    .brand-story-specs { gap: 28px; flex-wrap: wrap; }

    .preview-canvas { aspect-ratio: 4 / 3; padding: 16px; }
    .preview-topbar { padding: 10px 14px; }

    .story-card { flex: 0 0 150px; height: 200px; }
    .image-card-caption { font-size: 10px; padding: 8px 6px; }

    .nav-btn { width: 32px; height: 32px; font-size: 15px; }
    .nav-btn.prev { left: 4px; }
    .nav-btn.next { right: 4px; }

    .ebc-section { padding: 48px 16px; }
    .ebc-container { gap: 32px; }
    .ebc-title { font-size: 28px; }
    .tablet-mockup { max-width: 320px; height: 420px; }
  }

  @media (max-width: 480px) {
    .portfolio-nav a { font-size: 15px; }
    .showcase-title, .brand-story-title, .ebc-title { font-size: 24px; }
    .showcase-grid { grid-template-columns: 1fr; }
    .story-card { flex: 0 0 130px; height: 175px; }
    .tablet-mockup { height: 360px; }
    .brand-story-specs { gap: 20px; }
  }