:root {
  --bg: #050505;
  --ink: #f3eee6;
  --ink-soft: #bdb3a6;
  --copper: #c9a06a;
  --copper-deep: #a67c45;
  --line: rgba(243, 238, 230, 0.12);
  --font: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 3.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
[hidden] { display: none !important; }

.eyebrow, .section-label em {
  font-family: var(--font);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--copper);
  font-style: normal;
  font-weight: 500;
}
.display {
  margin: 0 0 1.15rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.dek, .body-lg {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.55vw, 1.15rem);
  font-weight: 300;
  line-height: 1.78;
}
.hero-lead {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(243, 238, 230, 0.88);
  max-width: 28rem;
  margin: 0 auto;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Logo stage — full y-loop visible, no crop */
.logo-stage {
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
}
.logo-stage-intro {
  width: min(780px, 92vw);
  margin: 0 auto;
  padding: 1vh 0 3vh;
}
.logo-stage-hero {
  width: min(560px, 82vw);
  margin: 0 auto 1rem;
}
.logo-stage-nav {
  width: 86px;
}
.logo-stage-footer {
  width: 168px;
  margin: 0 auto 1rem;
}
.logo-draw-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(201, 160, 106, 0.18));
}
.logo-draw-canvas {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.logo-static-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(201, 160, 106, 0.16));
}

/* smoother reveals */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Intro — pure black stage, only wordmark + dust */
.intro {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: #050505;
  overflow: hidden;
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.15s;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(201,160,106,.06), transparent 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.intro-letterbox {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  /* Thin bars — do not crop the y descender */
  background:
    linear-gradient(#050505,#050505) top/100% clamp(8px,1.8vh,18px) no-repeat,
    linear-gradient(#050505,#050505) bottom/100% clamp(8px,1.8vh,18px) no-repeat;
}
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.intro-stage {
  position: relative; z-index: 3; text-align: center;
  padding: clamp(0.5rem, 2vh, 1.5rem) 1rem 2rem;
  overflow: visible;
  max-width: min(920px, 96vw);
  width: 100%;
}
.intro-line {
  margin: 1.5rem 0 0;
  color: rgba(243,238,230,.62);
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px);
}
.intro-line.is-on {
  opacity: 1;
  transform: none;
}
.intro-bar {
  width: min(180px, 36vw); height: 1px; margin: 1.6rem auto 0;
  background: rgba(243,238,230,.1); overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.intro-bar.is-on { opacity: 1; }
.intro-bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, transparent, #c9a06a, #e8d5b0, transparent);
}
.intro-bar.is-on span {
  animation: bar 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes bar { to { width: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.intro-skip {
  position: absolute; z-index: 4; right: 1.2rem; bottom: 1.2rem;
  background: transparent; border: 1px solid rgba(243,238,230,.18);
  color: rgba(243,238,230,.55); padding: .45rem .85rem; cursor: pointer;
  font-size: .72rem; letter-spacing: .18em; text-transform: lowercase;
}

/* Kill old logo-img / gallery interactivity */
.intro-logo, .hero-logo, .brand-logo, .footer-logo { display: none !important; }
.gallery, .g-wide, .g-pair, .hero-dust-layer { display: none !important; }

.visual-plate {
  position: relative;
  height: clamp(280px, 48vh, 520px);
  overflow: hidden;
  pointer-events: none; /* not clickable */
}
.visual-plate-media {
  position: absolute; inset: -6%;
  will-change: transform;
}
.visual-plate-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
}
.visual-plate-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg), transparent 25%, transparent 70%, var(--bg));
}
.visual-plate .dust { z-index: 2; }

/* App */
.app { min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .55rem var(--pad);
  background: rgba(5,5,5,.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand { display: flex; align-items: center; }
.nav { display: flex; gap: 1.35rem; margin-left: auto; font-size: .84rem; color: var(--ink-soft); letter-spacing: .04em; }
.nav a:hover { color: var(--copper); }
.lang-wrap select {
  background: #0c0c0c; color: var(--ink); border: 1px solid var(--line);
  padding: .4rem .55rem; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
}
.hero-media, .hero-dust-layer {
  position: absolute; inset: -10%; will-change: transform;
}
.hero-media img, .hero-dust-layer img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media img { filter: brightness(.55) contrast(1.08) saturate(.85); }
.hero-dust-layer { opacity: .35; mix-blend-mode: screen; }
.dust-hero { z-index: 2; }
.hero-veil {
  position: absolute; inset: 0; z-index: 3;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, transparent 0%, rgba(5,5,5,.35) 55%, rgba(5,5,5,.92) 100%),
    linear-gradient(180deg, rgba(5,5,5,.2), transparent 30%, rgba(5,5,5,.85));
}
.hero-copy {
  position: relative; z-index: 4; text-align: center; padding: var(--pad);
}
.scroll-hint {
  position: absolute; z-index: 4; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .32em; text-transform: lowercase;
  color: rgba(243,238,230,.4);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .85; } 0%,100% { opacity: .3; } }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: clamp(3.5rem, 9vh, 6.5rem) var(--pad); }
.section.soft { padding-top: 1rem; }
.section-label {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem;
}
.section-label span {
  font-family: var(--display); font-size: 1.35rem; color: var(--copper);
}

.stat-row {
  margin-top: 2.75rem;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  padding: 1.35rem .75rem; text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 400;
  color: var(--copper); margin-bottom: .35rem;
}
.stat span { font-size: .7rem; letter-spacing: .06em; color: var(--ink-soft); line-height: 1.35; }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: 72vh;
}
.split-media { overflow: hidden; min-height: 420px; pointer-events: none; }
.split-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.split-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-left: 1px solid var(--line);
  background: linear-gradient(165deg, #0a0a0a, #050505);
}

.engine { max-width: 1100px; }
.engine > .dek { margin-bottom: 0.25rem; }
.engine-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem;
}
.engine-card {
  padding: 1.5rem 0 1.35rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.engine-card h3 {
  margin: 0 0 .7rem; font-family: var(--display);
  font-size: 1.45rem; font-weight: 400; color: var(--copper);
  letter-spacing: -0.01em;
}
.engine-card p { margin: 0; color: var(--ink-soft); font-weight: 300; font-size: .98rem; line-height: 1.7; }

.gallery { padding: 0; }
.g-wide, .g-pair figure { margin: 0; position: relative; overflow: hidden; }
.g-wide img { width: 100%; height: clamp(300px, 58vh, 680px); object-fit: cover; filter: saturate(.88) contrast(1.05); }
.g-pair { display: grid; grid-template-columns: 1.15fr .85fr; }
.g-pair.reverse { grid-template-columns: .85fr 1.15fr; }
.g-pair img { width: 100%; height: clamp(220px, 40vh, 460px); object-fit: cover; transition: transform 1.1s var(--ease); filter: saturate(.86); }
.g-pair figure:hover img { transform: scale(1.03); }
.g-wide figcaption, .g-pair figcaption {
  position: absolute; left: var(--pad); bottom: 1rem; margin: 0;
  font-size: .68rem; letter-spacing: .2em; text-transform: lowercase;
  color: rgba(243,238,230,.78); text-shadow: 0 2px 14px #000;
}

.method-list {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.method-list li {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: .75rem;
  padding: 1rem .9rem 1rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.method-list li:nth-child(2n) { padding-left: .9rem; border-right: 0; }
.method-list .n {
  font-family: var(--display); color: var(--copper); font-size: 1.15rem;
}
.method-list strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: .2rem; }
.method-list span { color: var(--ink-soft); font-size: .9rem; font-weight: 300; }

.process { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.process li {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem;
  padding: 1.35rem 0; border-top: 1px solid var(--line); align-items: start;
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.process span { font-family: var(--display); font-size: 1.5rem; color: var(--copper); }
.process strong { display: block; font-size: 1.1rem; margin-bottom: .25rem; }
.process p { margin: 0; color: var(--ink-soft); font-weight: 300; }

/* Closing trust block: system + terms, one composition */
.trust {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(201,160,106,.09), transparent 55%),
    linear-gradient(180deg, #050505 0%, #0a0908 100%);
  border-top: 1px solid rgba(243,238,230,.08);
}
.trust .dust { z-index: 1; }
.trust-inner {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  width: 100%;
  padding: clamp(3.5rem, 10vh, 6.5rem) var(--pad);
}
.trust-title {
  margin: 0.4rem 0 1.35rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  max-width: 18ch;
}
.trust-lead {
  margin: 0 0 2.75rem;
  max-width: 38rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(243,238,230,.82);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(243,238,230,.14);
}
.trust-item {
  padding: 1.55rem 1.4rem 1.55rem 0;
  border-bottom: 1px solid rgba(243,238,230,.1);
}
.trust-item:nth-child(odd) { padding-right: 1.6rem; }
.trust-item:nth-child(even) {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(243,238,230,.1);
}
.trust-item:nth-child(3) {
  grid-column: 1 / -1;
  padding-left: 0;
  border-left: 0;
}
.trust-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: -0.01em;
}
.trust-item p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.7;
}
.trust-close {
  margin: 2.5rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201,160,106,.35);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  color: rgba(232,213,176,.95);
  max-width: 28rem;
}

@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item:nth-child(odd),
  .trust-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }
}

.footer {
  padding: 3rem var(--pad) 3.5rem; text-align: center;
  border-top: 1px solid var(--line);
}
.footer-logo { width: 96px; height: auto; margin: 0 auto 1rem; opacity: .92; }
.footer p { margin: 0; color: var(--ink-soft); font-size: .88rem; font-weight: 300; }
.footer-detect { margin-top: .7rem !important; font-size: .72rem !important; opacity: .65; }
.footer-visitors {
  margin-top: 0.45rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: rgba(201, 160, 106, 0.75) !important;
}

@media (max-width: 960px) {
  .nav { display: none; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split-copy { border-left: 0; border-top: 1px solid var(--line); }
  .engine-grid, .method-list, .g-pair, .g-pair.reverse { grid-template-columns: 1fr; }
  .method-list li, .method-list li:nth-child(2n) { border-right: 0; padding-left: 0; }
}
