/* ============================================
   LUXURIANT STUDIO — Global Design Tokens
   ============================================ */

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette — Deep luxury dark */
  --color-black: #050505;
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-surface-elevated: #1c1c1c;
  --color-surface-glass: rgba(20, 20, 20, 0.7);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(196, 164, 116, 0.3);

  /* Text */
  --color-text-primary: #e8e4df;
  --color-text-secondary: #8a857e;
  --color-text-muted: #4a4640;
  --color-text-inverse: #0a0a0a;

  /* Accent — Warm antique gold */
  --color-accent: #c4a474;
  --color-accent-light: #d4bb94;
  --color-accent-dark: #9a7d52;
  --color-accent-glow: rgba(196, 164, 116, 0.15);

  /* Typography — Distinctive pairing */
  --font-display: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-heading: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1440px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  --duration-glacial: 1.4s;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* Typography scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-black);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-elevated);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-dark);
}

/* Image defaults */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--color-accent-light);
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Reveal animation base — gated on js-ready so content is visible without JS */
.reveal {
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

html.js-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
}

html.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    transition:
      background var(--duration-normal) ease,
      padding var(--duration-normal) ease;
  }

  .site-header.is-scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--color-border);
  }

  .header-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
  }

  .site-header .logo-img {
    height: 28px;
    width: auto;
    filter: invert(1);
    transition: opacity var(--duration-fast) ease;
  }

  .logo:hover .logo-img {
    opacity: 0.8;
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
  }

  .nav-list a {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
    position: relative;
  }

  .nav-list a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--duration-normal) var(--ease-out-expo);
  }

  .nav-list a:hover {
    color: var(--color-text-primary);
  }

  .nav-list a:hover::after {
    width: 100%;
  }

  .nav-cta {
    color: var(--color-accent) !important;
    border: 1px solid var(--color-border-accent);
    padding: 0.5rem 1.5rem;
    transition:
      background var(--duration-fast) ease,
      color var(--duration-fast) ease !important;
  }

  .nav-cta::after {
    display: none !important;
  }

  .nav-cta:hover {
    background: var(--color-accent);
    color: var(--color-black) !important;
  }

  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }

  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-text-primary);
    transition:
      transform var(--duration-normal) var(--ease-out-expo),
      opacity var(--duration-fast) ease;
  }

  /* モバイル用ドロワー（ヘッダー外の要素） */
  .nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    z-index: 99;
    list-style: none;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out-expo);
  }

  .nav-drawer a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
    position: relative;
  }

  .nav-drawer a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--duration-normal) var(--ease-out-expo);
  }

  .nav-drawer a:hover {
    color: var(--color-text-primary);
  }

  .nav-drawer a:hover::after {
    width: 100%;
  }

  .nav-drawer .nav-cta {
    color: var(--color-accent) !important;
  }

  .nav-drawer.is-open {
    transform: translateX(0);
  }

  @media (max-width: 768px) {
    .nav-hamburger {
      display: flex;
    }

    .nav-list {
      display: none;
    }

    .nav-drawer {
      display: flex;
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }
  }.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) var(--space-md);
    background: var(--color-black);
  }

  .footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
  }

  .site-footer .footer-logo-img {
    height: 3rem;
    width: auto;
    filter: invert(1);
    display: block;
    margin: 0 auto;
  }

  .footer-sub {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    display: block;
    margin-top: 0.5rem;
  }

  .footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
  }

  .footer-nav a:hover {
    color: var(--color-accent);
  }

  .footer-copy small {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
  }.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0.4) 0%,
      rgba(5, 5, 5, 0.2) 40%,
      rgba(5, 5, 5, 0.5) 70%,
      rgba(5, 5, 5, 0.85) 100%
    );
  }

  .hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    animation: heroFadeIn 1.8s var(--ease-out-expo) both;
  }

  .hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    margin-bottom: 2rem;
    animation: heroFadeIn 1.8s var(--ease-out-expo) 0.3s both;
  }

  .hero-title {
    margin-bottom: 2rem;
    animation: heroSlideUp 1.6s var(--ease-out-expo) 0.2s both;
  }

  .hero-logo {
    display: block;
    width: auto;
    height: clamp(10rem, 30vw, 22rem);
    margin: 0 auto;
    filter: invert(1);
  }

  .hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 300;
    line-height: 2;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    white-space: pre-line;
    animation: heroFadeIn 1.8s var(--ease-out-expo) 0.8s both;
  }

  .hero-divider {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 2.5rem auto 0;
    animation: heroExpand 1.4s var(--ease-out-expo) 1s both;
  }

  /* Scroll indicator */
  .hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: heroFadeIn 1.8s var(--ease-out-expo) 1.4s both;
  }

  .hero-scroll-text {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    writing-mode: vertical-lr;
  }

  .hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  /* Corner decorations */
  .hero-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
    opacity: 0.15;
  }

  .hero-corner--tl {
    top: 2rem;
    left: 2rem;
    border-top: 1px solid var(--color-accent);
    border-left: 1px solid var(--color-accent);
  }

  .hero-corner--br {
    bottom: 2rem;
    right: 2rem;
    border-bottom: 1px solid var(--color-accent);
    border-right: 1px solid var(--color-accent);
  }

  @keyframes heroFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes heroSlideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes heroExpand {
    from {
      width: 0;
      opacity: 0;
    }
    to {
      width: 60px;
      opacity: 1;
    }
  }

  @keyframes scrollPulse {
    0%,
    100% {
      opacity: 0.3;
      transform: scaleY(1);
    }
    50% {
      opacity: 1;
      transform: scaleY(1.3);
    }
  }

  @media (max-width: 768px) {
    .hero-corner {
      display: none;
    }
    .hero-eyebrow {
      font-size: 0.6rem;
      letter-spacing: 0.3em;
    }
  }.about {
    padding: var(--space-2xl) 0;
    overflow: hidden;
  }

  .about-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  .about-visual {
    position: relative;
  }

  .about-img-main {
    overflow: hidden;
  }

  .about-img-main img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
    transition: transform var(--duration-glacial) var(--ease-out-expo);
  }

  .about-img-main:hover img {
    transform: scale(1.03);
  }

  .about-img-accent {
    position: absolute;
    bottom: -3rem;
    right: -2rem;
    width: 55%;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    padding: 0.5rem;
  }

  .about-img-accent img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.05);
  }

  .about-text {
    padding: var(--space-lg) 0;
  }

  .about-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-md);
  }

  .section-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
  }

  .section-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--color-text-muted);
    text-transform: uppercase;
  }

  .about-lead {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
  }

  .about-rule {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    margin: var(--space-md) 0;
  }

  .about-body {
    font-size: 0.9rem;
    line-height: 2.2;
    color: var(--color-text-secondary);
    max-width: 480px;
  }

  @media (max-width: 900px) {
    .about-split {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
      padding: 0 var(--space-md);
    }

    .about-img-accent {
      bottom: -2rem;
      right: -1rem;
      width: 50%;
    }

    .about-text {
      padding: var(--space-md) 0;
    }
  }.services {
    padding: var(--space-xl) 0 var(--space-2xl);
  }

  .services-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
  }

  .section-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
  }

  .services-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
  }

  /* Service band */
  .service-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
  }

  .service-band--reverse {
    direction: rtl;
  }

  .service-band--reverse > * {
    direction: ltr;
  }

  .service-visual {
    overflow: hidden;
    position: relative;
  }

  .service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: transform 1.2s var(--ease-out-expo);
  }

  .service-band:hover .service-visual img {
    transform: scale(1.04);
  }

  .service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg);
  }

  .service-number {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-border);
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
  }

  .service-text {
    position: relative;
    z-index: 1;
    max-width: 440px;
  }

  .service-title {
    margin-bottom: var(--space-md);
  }

  .service-title-ja {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
  }

  .service-title-sub {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-top: 0.75rem;
  }

  .service-desc {
    font-size: 0.88rem;
    line-height: 2.1;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
  }

  .service-detail {
    font-size: 0.85rem;
    line-height: 2;
    color: var(--color-text-secondary);
    padding-left: 1rem;
    border-left: 1px solid var(--color-border-accent);
  }

  .service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .service-bullets li {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    padding-left: 1.2rem;
    position: relative;
  }

  .service-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 1px;
    background: var(--color-accent);
  }

  @media (max-width: 900px) {
    .service-band {
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .service-band--reverse {
      direction: ltr;
    }

    .service-visual img {
      aspect-ratio: 16/9;
    }

    .service-content {
      padding: var(--space-lg) var(--space-md);
    }

    .service-number {
      font-size: 6rem;
    }
  }.strengths {
    padding: var(--space-2xl) 0;
  }

  .strengths-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
  }

  .section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
  }

  .strengths-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
  }

  .strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: var(--max-width-wide);
    margin: 0 auto;
  }

  .strength-panel {
    position: relative;
    min-height: 65vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: default;
  }

  .strength-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s var(--ease-out-expo);
    filter: brightness(0.3) contrast(1.1) saturate(0.7);
  }

  .strength-panel:hover .strength-bg {
    transform: scale(1.08);
    filter: brightness(0.4) contrast(1.1) saturate(0.8);
  }

  .strength-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(5, 5, 5, 0.95) 0%,
      rgba(5, 5, 5, 0.4) 50%,
      rgba(5, 5, 5, 0.2) 100%
    );
  }

  .strength-content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
  }

  .strength-index {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
  }

  .strength-name {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
    line-height: 1.5;
  }

  .strength-rule {
    width: 30px;
    height: 1px;
    background: var(--color-accent);
    margin: 1.5rem 0;
  }

  .strength-desc {
    font-size: 0.82rem;
    line-height: 2;
    color: var(--color-text-secondary);
    max-width: 360px;
  }

  @media (max-width: 900px) {
    .strengths-grid {
      grid-template-columns: 1fr;
    }

    .strength-panel {
      min-height: 50vh;
    }
  }.equipment {
    padding: var(--space-xl) 0 var(--space-2xl);
  }

  .equipment-sticky-header {
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    pointer-events: none;
  }

  .section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.75rem;
  }

  .equipment-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
  }

  /* ============================
     Scroll-hijack horizontal
     ============================ */
  .equipment-scroll-outer {
    /* Height = viewport + overflow for scroll distance */
    /* JS will set this dynamically */
    position: relative;
    margin-bottom: var(--space-xl);
  }

  .equipment-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Progress bar */
  .equipment-progress {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(60%, 400px);
    height: 1px;
    background: var(--color-border);
    z-index: 10;
  }

  .equipment-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    transition: width 0.05s linear;
  }

  /* Track */
  .equipment-track {
    display: flex;
    gap: 2rem;
    padding: 0 max(4rem, 8vw);
    align-items: center;
    will-change: transform;
  }

  /* Cards */
  .equipment-card {
    flex: 0 0 auto;
    width: clamp(280px, 22vw, 380px);
    position: relative;
    transition:
      opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i) * 0.06s);
  }

  html.js-ready .equipment-card {
    opacity: 0;
    transform: translateY(30px);
  }

  html.js-ready .equipment-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .equipment-card-img {
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
  }

  .equipment-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.6) 0%, transparent 40%);
    pointer-events: none;
  }

  .equipment-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.1) saturate(0.8);
    transition:
      filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .equipment-card:hover .equipment-card-img img {
    filter: brightness(0.88) contrast(1.1) saturate(0.95);
    transform: scale(1.05);
  }

  .equipment-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
  }

  .equipment-card-brand {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    color: var(--color-accent);
  }

  .equipment-card-index {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
  }

  /* End marker card */
  .equipment-end-card {
    flex: 0 0 auto;
    width: clamp(200px, 16vw, 280px);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    position: relative;
  }

  .equipment-end-content {
    text-align: center;
  }

  .equipment-end-count {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .equipment-end-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: var(--color-text-muted);
    text-transform: uppercase;
  }

  /* Equipment list */
  .equipment-list {
    max-width: var(--max-width);
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .equipment-studio-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }

  .equipment-table {
    display: flex;
    flex-direction: column;
  }

  .equipment-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
  }

  .equipment-cat {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
  }

  .equipment-items {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .equipment-item {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
  }

  .equipment-item-note {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
  }

  @media (max-width: 768px) {
    .equipment-list {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }

    .equipment-row {
      grid-template-columns: 1fr;
      gap: 0.3rem;
    }
  }

  /* Brand names */
  .equipment-brands {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    max-width: var(--max-width-wide);
    margin: 0 auto var(--space-lg);
  }

  .brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    transition: color var(--duration-normal) ease;
  }

  .brand-name:hover {
    color: var(--color-accent);
  }

  .equipment-note {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    padding: 0 var(--space-md);
  }

  /* Mobile: carousel (track only scrolls, header stays fixed) */
  @media (max-width: 1024px) {
    .equipment-scroll-outer {
      height: auto !important;
    }

    .equipment-sticky {
      position: relative;
      height: auto;
      overflow: visible;
    }

    .equipment-sticky-header {
      position: relative;
      top: auto;
      padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    .equipment-title {
      opacity: 1;
    }

    .equipment-progress {
      display: none;
    }

    .equipment-track {
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding: 0 max(2rem, 4vw) 2rem;
    }

    .equipment-track::-webkit-scrollbar {
      display: none;
    }

    .equipment-card {
      width: 260px;
      opacity: 1;
      transform: none;
    }

    .equipment-end-card {
      width: 180px;
    }
  }.gallery {
    padding: var(--space-2xl) 0;
  }

  .gallery-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
  }

  .section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
  }

  .gallery-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
  }

  .gallery-masonry {
    columns: 3;
    column-gap: 0.75rem;
    padding: 0 var(--space-md);
    max-width: var(--max-width-wide);
    margin: 0 auto;
  }

  .gallery-item {
    break-inside: avoid;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.8) contrast(1.05) saturate(0.85);
    transition: all 0.8s var(--ease-out-expo);
  }

  .gallery-item:hover img {
    filter: brightness(0.9) contrast(1.05) saturate(1);
    transform: scale(1.03);
  }

  .gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.7) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
  }

  .gallery-item:hover .gallery-item-overlay {
    opacity: 1;
  }

  .gallery-item-cat {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
  }

  @media (max-width: 900px) {
    .gallery-masonry {
      columns: 2;
    }
  }

  @media (max-width: 500px) {
    .gallery-masonry {
      columns: 1;
    }
  }.contact {
    position: relative;
    padding: var(--space-2xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .contact-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 50%, var(--color-accent-glow), transparent 60%),
      var(--color-bg);
    opacity: 0.5;
  }

  .contact-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
  }

  .contact-header {
    text-align: center;
    margin-bottom: var(--space-xl);
  }

  .section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
  }

  .contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
  }

  .contact-lead {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
  }

  .contact-info {
    padding-top: var(--space-md);
  }

  .contact-block {
    margin-bottom: var(--space-md);
  }

  .contact-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
  }

  .contact-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    text-decoration: none;
  }

  a.contact-value:hover {
    color: var(--color-accent-light);
  }

  .contact-divider {
    width: 30px;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-md) 0;
  }

  .contact-address {
    font-size: 0.82rem;
    line-height: 2;
    color: var(--color-text-muted);
  }

  .contact-map {
    margin-top: var(--space-md);
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--color-border);
    opacity: 0.85;
    transition: opacity var(--duration-fast) ease;
  }

  .contact-map:hover {
    opacity: 1;
  }

  .contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* Form */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
  }

  .form-group input,
  .form-group textarea {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.9rem 1rem;
    outline: none;
    transition:
      border-color var(--duration-fast) ease,
      background var(--duration-fast) ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--color-accent);
    background: var(--color-surface-elevated);
  }

  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }

  .form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition:
      background var(--duration-fast) ease,
      color var(--duration-fast) ease;
  }

  .form-submit:hover {
    background: var(--color-accent);
    color: var(--color-black);
  }

  .form-submit svg {
    transition: transform var(--duration-normal) var(--ease-out-expo);
  }

  .form-submit:hover svg {
    transform: translateX(4px);
  }

  .contact-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
  }

  .contact .contact-footer-logo {
    height: 3rem;
    width: auto;
    opacity: 0.4;
    filter: invert(1);
    transition: opacity var(--duration-fast) ease;
  }

  .contact-footer-logo:hover {
    opacity: 0.7;
  }

  @media (max-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }