*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --gold: #C9A84C;
    --gold-light: #E2C47A;
    --black: #0A0A0A;
    --text: #E8E0D0;
    --muted: rgba(232,224,208,0.55);
  }
  html, body { width: 100%; background: var(--black); }

  /* Visually hidden but available to screen readers & search crawlers */
  .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
  }

  .slider { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; }
  body { overflow-y: auto; }

  .slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1s ease;
    display: flex; align-items: center; justify-content: flex-start;
  }
  .slide.active { opacity: 1; z-index: 2; }
  .slide.prev   { opacity: 0; z-index: 1; }

  .slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 8s ease;
  }
  .slide.active .slide-bg { transform: scale(1.06); }

  .slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg,rgba(0,0,0,0.82) 0%,rgba(0,0,0,0.52) 55%,rgba(0,0,0,0.18) 100%);
    z-index: 1;
  }

  .yt-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
  .yt-wrap iframe {
    position: absolute; top: 50%; left: 50%;
    width: 177.78vh; min-width: 100%;
    height: 56.25vw; min-height: 100%;
    transform: translate(-50%,-50%); border: 0;
  }

  .slide-content {
    position: relative; z-index: 3;
    padding: 0 8vw; max-width: 1000px;
  }

  .slide-eyebrow {
    font-family: "Inter", sans-serif; font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.2rem; opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
  }
  .slide.active .slide-eyebrow { opacity: 1; transform: none; }

  .slide-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.8rem, 5.5vw, 5.5rem); font-weight: 300; line-height: 1.08;
    color: var(--text); margin-bottom: 1.4rem; opacity: 0; transform: translateY(24px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
  }
  .slide.active .slide-title { opacity: 1; transform: none; }
  .slide-title em { font-style: normal; color: var(--gold-light); }

  .slide-body {
    font-family: "Inter", sans-serif; font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 300; line-height: 1.75; color: var(--muted);
    max-width: 580px; margin-bottom: 2.4rem; opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
  }
  .slide.active .slide-body { opacity: 1; transform: none; }

  .slide-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: "Inter", sans-serif; font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
    color: var(--black); background: var(--gold); padding: 0.85rem 2rem;
    border: 1px solid var(--gold); opacity: 0; transform: translateY(12px);
    transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s, background 0.25s, color 0.25s;
  }
  .slide.active .slide-link { opacity: 1; transform: none; }
  .slide-link:hover { background: transparent; color: var(--gold); }

  .slide-rule {
    display: block; width: 48px; height: 1px; background: var(--gold);
    margin-bottom: 1.6rem; opacity: 0; transition: opacity 0.6s ease 0.2s;
  }
  .slide.active .slide-rule { opacity: 1; }

  .slide-1 .slide-bg { background-color: #0d0d0d; background-image: url("../images/slide-1-bg.webp"); background-position: center top; }
  .slide-3 .slide-bg { background-color: #0a1008; background-image: url("../images/slide-2-bg.webp"); background-position: center center; }

  .nav {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 50; display: flex; gap: 0.75rem; align-items: center;
  }
  .nav-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(201,168,76,0.3); border: 1px solid var(--gold);
    padding: 0; appearance: none; -webkit-appearance: none;
    cursor: pointer; transition: background 0.3s, transform 0.3s;
  }
  .nav-dot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
  .nav-dot.active { background: var(--gold); transform: scale(1.35); }

  .arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 50;
    background: rgba(0,0,0,0.4); border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold); width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.2rem; transition: background 0.2s, border-color 0.2s;
    user-select: none;
  }
  .arrow:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }
  .arrow-prev { left: 1.5rem; }
  .arrow-next { right: 1.5rem; }

  .wordmark {
    position: absolute; top: 1.8rem; left: 2rem; z-index: 50;
  }
  .wordmark img {
    height: 80px;
    width: auto;
    display: block;
  }

  .counter {
    position: absolute; top: 2.2rem; right: 2.5rem; z-index: 50;
    font-family: "Inter", sans-serif; font-size: 0.72rem;
    letter-spacing: 0.15em; color: var(--muted);
  }
  .counter span { color: var(--gold); }

  .progress {
    position: absolute; bottom: 0; left: 0; height: 2px;
    background: var(--gold); z-index: 50; transition: width 0.1s linear;
  }

  /* ── BELOW-FOLD STYLES ── */
  .page-wrap {
    position: relative;
    z-index: 10;
    background: var(--black);
  }

  /* Companies grid */
  .companies {
    padding: 7rem 6vw 6rem;
    background: #0d0d0d;
  }

  .section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
  }

  .section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 4rem;
    line-height: 1.15;
  }

  .companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .company-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }

  .card-image-wrap {
    position: relative;
    flex: 1;
    min-height: 420px;
    overflow: hidden;
  }

  .card-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
  }
  .company-card:hover .card-image-wrap img { transform: scale(1.06); }

  .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.88) 100%);
    transition: background 0.4s;
  }
  .company-card:hover .card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.92) 100%);
  }

  .card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.8rem;
  }

  .card-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: block;
  }

  .card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 0.9rem;
  }

  .card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 1.4rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }
  .company-card:hover .card-desc { max-height: 100px; opacity: 1; }

  .card-cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(201,168,76,0.35);
    padding-bottom: 2px;
    transition: gap 0.25s, border-color 0.25s;
  }
  .company-card:hover .card-cta { gap: 0.7rem; border-color: var(--gold); }

  /* Footer */
  .site-footer {
    background: #070707;
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 4rem 6vw 3rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .footer-brand p {
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted);
    max-width: 280px;
  }

  .footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .footer-col ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: var(--gold-light); }

  .footer-col address {
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    font-style: normal;
    line-height: 1.8;
    color: var(--muted);
  }

  .footer-bottom {
    background: #070707;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.4rem 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(232,224,208,0.3);
    letter-spacing: 0.05em;
  }

  /* Scroll arrow from hero */
  .scroll-hint {
    position: absolute;
    bottom: 5rem;
    right: 2.5rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
  }
  .scroll-hint:hover { opacity: 1; }
  .scroll-hint span {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    writing-mode: vertical-rl;
  }
  .scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollpulse 1.8s ease-in-out infinite;
  }
  @keyframes scrollpulse {
    0%,100% { opacity: 0.4; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.15); }
  }

  /* Respect users who prefer reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }
    .slide.active .slide-bg { transform: none; }
    .company-card:hover .card-image-wrap img { transform: none; }
  }

  /* Card logos & accent bars */
  .card-logo-strip {
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 100%;
    flex-shrink: 0;
    padding: 1rem 2rem;
  }

  .card-logo-strip img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 80px;
    object-fit: contain;
    opacity: 0.9;
  }

  .card-accent {
    height: 2px;
    width: 100%;
    flex-shrink: 0;
  }

  .card-cta-rml    { color: #FFFFFF; border-bottom-color: rgba(255,255,255,0.35); }
  .card-cta-rml:hover { border-bottom-color: #FFFFFF; }
  .company-card:hover .card-cta-rml { border-color: #FFFFFF; }

  .card-cta-scaffold { color: #F26522; border-bottom-color: rgba(242,101,34,0.35); }
  .company-card:hover .card-cta-scaffold { border-color: #F26522; }

  .card-cta-4cm   { color: #4ECDC4; border-bottom-color: rgba(78,205,196,0.35); }
  .company-card:hover .card-cta-4cm { border-color: #4ECDC4; }

  .card-tag-rml      { color: #FFFFFF; }
  .card-tag-scaffold { color: #F26522; }
  .card-tag-4cm      { color: #4ECDC4; }


  /* ── STATS STRIP ── */
  .stats-strip {
    background: #0a0a0a;
    border-top: 1px solid rgba(201,168,76,0.12);
    border-bottom: 1px solid rgba(201,168,76,0.12);
    padding: 4.5rem 6vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
  }

  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(201,168,76,0.15);
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    color: var(--gold);
    opacity: 0.85;
  }

  .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 300;
    line-height: 1;
    color: var(--gold-light);
    margin-bottom: 0.4rem;
  }

  .stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }




  /* ── TABLET (≤1024px) ── */
  @media (max-width: 1024px) {
    .slide-content { max-width: 700px; }
    .site-footer { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
  }

  /* ── TABLET SMALL (≤900px) ── */
  @media (max-width: 900px) {
    .slide-title { font-size: clamp(2.8rem, 7vw, 4rem); }
    .slide-body  { font-size: 1rem; max-width: 90%; }
    .slide-content { padding: 0 6vw; }

    .companies-grid { grid-template-columns: 1fr; }
    .card-image-wrap { min-height: 300px; }

    /* No hover on touch devices — always show the card description */
    .card-desc { max-height: 200px; opacity: 1; }

    .stats-strip {
      grid-template-columns: repeat(2, 1fr);
      padding: 3rem 5vw;
    }
    .stat-item:nth-child(2)::after { display: none; }
    .stat-item:nth-child(4)::after { display: none; }

    .companies { padding: 5rem 5vw 4rem; }
    .section-heading { margin-bottom: 2.5rem; }

    .arrow { display: none; }

    .wordmark img { height: 60px; }
    .counter { font-size: 0.65rem; }
  }

  /* ── MOBILE (≤600px) ── */
  @media (max-width: 600px) {
    .slide-title { font-size: clamp(2.2rem, 9vw, 3rem); }
    .slide-eyebrow { font-size: 0.65rem; }
    .slide-body { font-size: 1.05rem; max-width: 100%; }
    .slide-link { font-size: 0.72rem; padding: 0.75rem 1.5rem; }
    .slide-content { padding: 0 5vw; max-width: 100%; }

    .wordmark { top: 1rem; left: 1rem; }
    .wordmark img { height: 44px; }
    .counter { top: 1.4rem; right: 1rem; font-size: 0.6rem; }

    .nav { bottom: 1.8rem; }
    .nav-dot { width: 6px; height: 6px; }

    .scroll-hint { display: none; }

    .stats-strip {
      grid-template-columns: repeat(2, 1fr);
      padding: 2.5rem 4vw;
      gap: 0;
    }
    .stat-number { font-size: clamp(2rem, 8vw, 3rem); }
    .stat-label  { font-size: 0.7rem; letter-spacing: 0.1em; }
    .stat-icon   { width: 36px; height: 36px; margin-bottom: 0.8rem; }
    .stat-item   { padding: 1.5rem 0.5rem; }
    .stat-item::after { display: none !important; }

    .companies { padding: 3.5rem 4vw 3rem; }
    .section-label { font-size: 0.65rem; }
    .section-heading { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 2rem; }

    .card-logo-strip { height: 110px; }
    .card-logo-strip img { max-width: 280px; height: 70px; }
    .card-image-wrap { min-height: 260px; }
    .card-name { font-size: 1.4rem; }
    .card-tag  { font-size: 0.65rem; }
    .card-desc { font-size: 0.95rem; }
    .card-cta  { font-size: 0.68rem; }

    .site-footer {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 3rem 5vw 2.5rem;
    }
    .footer-brand { grid-column: auto; }
    .footer-brand img { height: 38px; }
    .footer-brand p { font-size: 0.85rem; }
    .footer-col h4 { font-size: 0.6rem; margin-bottom: 0.9rem; }

    .footer-bottom {
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
      padding: 1.2rem 5vw;
    }
    .footer-bottom p { font-size: 0.65rem; }
  }
