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

h1, h2, h3 { font: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@font-face {
  font-family: 'stactisfont';
  src: url('../fonts/stactisfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:       #000;
  --fg:       #e8e8e8;
  --fg-mid:   #888;
  --fg-dim:   #444;
  --fg-muted: #282828;
  --pad-x:    clamp(24px, 4vw, 56px);
  --pad-y:    clamp(24px, 3.5vw, 48px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Noise overlay ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* ─── Fixed nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--pad-y) var(--pad-x);
  mix-blend-mode: difference;
}

.nav-logo {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-mark {
  display: block;
  width: 100px;
  aspect-ratio: 428.8 / 252.9;
  background-color: #fff;
  -webkit-mask-image: url('../image/logo_stactis_studio.svg');
  mask-image: url('../image/logo_stactis_studio.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: left center;
  mask-position: left center;
}

/* ─── Hero video background ─── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0.3) 0%,
    rgba(12,12,12,0.1) 40%,
    rgba(12,12,12,0.7) 100%
  );
  z-index: 1;
}

/* ─── Hero ─── */
.hero {
  height: 100vh;
  position: relative;
}

/* .hero-sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
} */

.hero-copy {
  font-size: clamp(12px, 1.3vw, 15px);
  line-height: 1.75;
  color: var(--fg-mid);
  max-width: 400px;
}

/* .hero-copy-ja {
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 8px;
  line-height: 1.8;
} */

/* .hero-scroll-hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: var(--fg-dim);
  flex-shrink: 0;
} */

/* ─── Copy block (generic left-aligned copy container) ─── */
.copy-block {
  text-align: left;
}

/* ─── Intro copy ─── */
.intro {
  padding: clamp(120px, 20vw, 280px) var(--pad-x);
}

.intro-copy {
  font-family: 'stactisfont', 'Inter', sans-serif;
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
}

/* ─── Duo images + copy ─── */
.duo {
  padding: 0 0 clamp(120px, 20vw, 280px);
}

.duo-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.duo-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.duo-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
}

.duo-copy {
  margin-top: clamp(120px, 20vw, 280px);
  padding: 0 var(--pad-x);
}

.duo-copy h3 {
  font-family: 'stactisfont', 'Inter', sans-serif;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
}

/* ─── Feature image + copy ─── */
.feature-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
}

.feature-copy {
  margin-top: clamp(120px, 20vw, 280px);
  padding: 0 var(--pad-x) clamp(120px, 20vw, 280px);
}

.feature-copy h3 {
  font-family: 'stactisfont', 'Inter', sans-serif;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
}

/* ─── Asymmetric image grid ─── */
.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.grid-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg);
}

.grid-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
}

/* ─── Footer CTA (also the page footer) ─── */
.cta {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.cta-image {
  position: absolute;
  inset: 0;
}

.cta-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
}

.cta-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 1;
  transform: translateY(-50%);
  padding: 0 var(--pad-x);
  opacity: 0;
}

.cta-email {
  font-family: 'stactisfont', 'Inter', sans-serif;
  font-size: clamp(18px, 2.4vw, 28px);
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(24px, 3.5vw, 48px);
  z-index: 1;
  font-size: 11px;
  color: #666;
  letter-spacing: 0.05em;
  opacity: 0;
  mix-blend-mode: difference;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .split-image {
    min-height: 75vw;
    max-height: 80vw;
  }

  /* .hero-scroll-hint {
    display: none;
  } */

  .nav {
    padding: 20px var(--pad-x);
  }

  .nav-logo-mark {
    width: 80px;
  }

  .intro,
  .intro-copy,
  .duo-copy,
  .feature-copy {
    text-align: center;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
