﻿/* ===== Reset & Vars ===== */
:root {
  --bg: #f4efe6;
  --bg-cream: #ebe4d3;
  --ink: #1a1614;
  --ink-soft: #4a423a;
  --muted: #8b8074;
  --line: #d8cfbe;
  --accent: #c2502d;
  --accent-dark: #8b3a1c;
  --dark: #1a1614;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.preloader-mask {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateY(100%);
}
.preloader-content {
  position: relative;
  z-index: 1;
  color: var(--bg);
  text-align: center;
}
.preloader-logo {
  font-family: var(--serif);
  font-size: clamp(60px, 14vw, 180px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  gap: 0.05em;
}
.preloader-logo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(8deg);
}
.preloader-tagline {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  opacity: 0;
}
.preloader-progress {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: rgba(244, 239, 230, 0.15);
  z-index: 1;
}
.preloader-bar {
  height: 100%;
  background: var(--bg);
  width: 0%;
  transition: width 1.5s var(--ease);
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px 40px;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}
.logo-mark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
@media (max-width: 600px) {
  .logo-sub { display: none; }
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta span {
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease);
}
.nav-cta:hover span { color: var(--bg); }
.nav-cta i {
  position: relative;
  z-index: 1;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 50%;
  width: 16px; height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: all 0.3s var(--ease);
}
.nav-burger span:first-child { top: 18px; }
.nav-burger span:last-child { bottom: 18px; }
.nav-burger.open span:first-child { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.nav-burger.open span:last-child { bottom: 50%; transform: translate(-50%, 50%) rotate(-45deg); }

.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
}
.mob-menu.open a {
  animation: fadeUp 0.6s var(--ease) forwards;
}
.mob-menu a:nth-child(1) { animation-delay: 0.1s; }
.mob-menu a:nth-child(2) { animation-delay: 0.15s; }
.mob-menu a:nth-child(3) { animation-delay: 0.2s; }
.mob-menu a:nth-child(4) { animation-delay: 0.25s; }
.mob-menu a:nth-child(5) { animation-delay: 0.3s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 120px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  flex: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero-eyebrow .line {
  width: 40px;
  height: 1px;
  background: var(--ink-soft);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.line-in {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.line-mask:nth-child(1) .line-in { animation-delay: 0.1s; }
.line-mask:nth-child(2) .line-in { animation-delay: 0.22s; }
.line-mask:nth-child(3) .line-in { animation-delay: 0.34s; }
@keyframes lineUp {
  to { transform: translateY(0); }
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
.hero-cta {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}
@keyframes fadeUpIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  opacity: 0;
  animation: fadeUpIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.hero-tag-card {
  animation: fadeUpScale 1s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}
@keyframes fadeUpScale {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-visual {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-cream);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  animation: imgReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  clip-path: inset(100% 0 0 0);
}
@keyframes imgReveal {
  to { clip-path: inset(0 0 0 0); transform: scale(1.05); }
}
.hero-tag-card {
  position: absolute;
  bottom: 32px;
  right: -32px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px 28px;
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}
.htc-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}
.htc-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.htc-price {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.hero-scroll-ind {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll-ind span {
  width: 36px;
  height: 1px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero-scroll-ind span::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: slide-x 2.4s infinite var(--ease);
}
@keyframes slide-x {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}
.hero-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}
.hero-meta strong { color: var(--ink); font-weight: 700; }
.hero-meta div + div { margin-top: 6px; }

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-cream);
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.marquee-track span:nth-child(even) {
  color: var(--accent);
  font-size: 20px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Manifest ===== */
.manifest {
  padding: 200px 40px 240px;
  max-width: 1280px;
  margin: 0 auto;
}
.manifest-label, .sec-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 60px;
  font-weight: 600;
}
.manifest-text {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.manifest-text .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.4s var(--ease);
  margin-right: 0.22em;
}
.manifest-text .word.lit {
  opacity: 1;
}
.manifest-signature {
  margin-top: 80px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===== Reveal utilities ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-line] {
  display: block;
}
[data-reveal-line] span {
  display: block;
  overflow: hidden;
}
[data-reveal-line] span > * , [data-reveal-line] > span:not(:has(em)):not(:has(span)) {
  display: inline-block;
}
[data-reveal-line] span {
  position: relative;
}

/* Simpler approach: line by line reveal via inner translate */
.line-wrap { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line-wrap > * { display: block; transform: translateY(110%); }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 80px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1px;
  height: 60%;
  background: var(--line);
  transform: translateY(-50%);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ===== Sec head ===== */
.sec-head {
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto 80px;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.sec-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

/* ===== Collections ===== */
.collections {
  padding: 160px 0;
}
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.col-card {
  display: block;
  position: relative;
}
.col-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 24px;
  background: var(--bg-cream);
}
.col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.col-card:hover .col-card-img img {
  transform: scale(1.08);
}
.col-card-meta {
  padding: 0 4px;
}
.col-card-num {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 8px;
}
.col-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.col-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 16px;
}
.col-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: gap 0.4s var(--ease);
}
.col-card-link svg { width: 14px; height: 14px; }
.col-card:hover .col-card-link { gap: 18px; }

/* ===== Horizontal scroll ===== */
.hscroll {
  position: relative;
  height: 400vh;
  background: var(--bg);
}
.hscroll-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hscroll-head {
  padding: 80px 40px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 40px;
}
.hscroll-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hscroll-title em {
  font-style: italic;
  color: var(--accent);
}
.hscroll-hint {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hscroll-track {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 20px 40px 40px;
  flex: 1;
  will-change: transform;
}
.prod-card {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}
.prod-img {
  aspect-ratio: 4/5;
  max-height: 50vh;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-cream);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.prod-card:hover .prod-img img {
  transform: scale(1.05);
}
.prod-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.prod-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.prod-card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 8px;
}
.prod-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.prod-price s {
  font-size: 14px;
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
}
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}
.prod-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.prod-btn svg { width: 14px; height: 14px; }
.prod-btn:hover { background: var(--accent); transform: translateY(-2px); }
.prod-btn.added { background: #2d6a3e; }
.prod-img { position: relative; }
.prod-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}
.prod-badge:not(:empty) {
  background: var(--accent);
}

/* Cart toast */
.cart-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast .ct-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.cart-toast .ct-icon svg { width: 12px; height: 12px; }

/* Cart count in nav */
.nav-cta .cart-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 0 5px;
  margin-left: 4px;
}

/* ===== Materials sticky ===== */
.materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 40px;
  max-width: 1500px;
  margin: 160px auto;
  gap: 60px;
  align-items: start;
}
.mat-text-col {
  padding-top: 80px;
}
.mat-h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 80px;
}
.mat-h2 em { font-style: italic; color: var(--accent); }
.mat-items {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.mat-item {
  padding: 20px 0;
  transition: opacity 0.5s var(--ease);
}
.mat-item:not(.active) {
  opacity: 0.3;
}
.mat-num {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 12px;
}
.mat-item h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.mat-item p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 420px;
}
.mat-visual-col {
  height: 100%;
}
.mat-sticky {
  position: sticky;
  top: 100px;
}
.mat-img-stack {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-cream);
}
.mat-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transform: scale(1.05);
}
.mat-img.active {
  opacity: 1;
  transform: scale(1);
}
.mat-img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ===== Process ===== */
.process {
  padding: 160px 0;
  background: var(--dark);
  color: var(--bg);
}
.process .sec-label { color: rgba(244,239,230,0.5); }
.proc-line-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.proc-svg {
  position: absolute;
  top: 80px;
  left: 40px; right: 40px;
  width: calc(100% - 80px);
  height: 120px;
  color: var(--accent);
}
#procPath {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 2s var(--ease);
}
.process.in #procPath { stroke-dashoffset: 0; }
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.proc-step {
  position: relative;
  padding-top: 60px;
}
.proc-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  position: absolute;
  top: 60px; left: 0;
  transform: scale(0);
  transition: transform 0.6s var(--ease);
}
.proc-step:nth-child(1) .proc-dot { transition-delay: 0.3s; }
.proc-step:nth-child(2) .proc-dot { transition-delay: 0.7s; }
.proc-step:nth-child(3) .proc-dot { transition-delay: 1.1s; }
.proc-step:nth-child(4) .proc-dot { transition-delay: 1.5s; }
.process.in .proc-dot { transform: scale(1); }
.proc-num {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 16px;
  margin-top: 40px;
}
.proc-step h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.proc-step p {
  color: rgba(244,239,230,0.6);
  font-size: 15px;
  max-width: 240px;
}

/* ===== Testimonial ===== */
.testimonial {
  padding: 180px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.test-mark {
  font-family: var(--serif);
  font-size: 240px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.18;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.test-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.test-quote em {
  font-style: italic;
  color: var(--accent);
}
.test-quote span { display: block; }
.test-author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.test-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
}
.test-author strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.test-author span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ===== Visit ===== */
.visit {
  padding: 0 40px 160px;
  max-width: 1500px;
  margin: 0 auto;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.visit-h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  margin-top: 12px;
}
.visit-h2 em { font-style: italic; color: var(--accent); }
.visit-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 48px;
}
.visit-info {
  display: grid;
  gap: 28px;
  margin-bottom: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vi-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.vi-val {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}
.vi-val.link { color: var(--accent); }
.visit-right img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--bg);
  padding: 100px 40px 0;
  overflow: hidden;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(244,239,230,0.1);
  max-width: 1500px;
  margin: 0 auto;
}
.foot-logo {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.foot-brand p {
  color: rgba(244,239,230,0.5);
  font-size: 14px;
  max-width: 260px;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  font-size: 15px;
  color: rgba(244,239,230,0.8);
  margin-bottom: 12px;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.foot-col a:hover {
  color: var(--bg);
  padding-left: 6px;
}
.foot-col p {
  color: rgba(244,239,230,0.5);
  font-size: 14px;
  margin-bottom: 16px;
}
.foot-form {
  display: flex;
  border-bottom: 1px solid rgba(244,239,230,0.3);
  padding-bottom: 12px;
  transition: border-color 0.3s var(--ease);
}
.foot-form:focus-within { border-color: var(--bg); }
.foot-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--bg);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.foot-form input::placeholder { color: rgba(244,239,230,0.4); }
.foot-form button {
  background: transparent;
  border: 0;
  color: var(--bg);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.foot-form button svg { width: 16px; height: 16px; }
.foot-form:focus-within button svg { animation: none; }
.foot-form button:hover { transform: translateX(4px); }

.foot-bottom {
  padding: 60px 0 0;
  text-align: center;
  overflow: hidden;
}
.foot-big {
  font-family: var(--serif);
  font-size: clamp(80px, 28vw, 400px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--bg);
  white-space: nowrap;
}
.foot-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 32px 0 28px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244,239,230,0.4);
  border-top: 1px solid rgba(244,239,230,0.1);
  max-width: 1500px;
  margin: 0 auto;
}
.foot-legal {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.foot-legal a {
  color: rgba(244,239,230,0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
  position: relative;
}
.foot-legal a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.foot-legal a:hover {
  color: var(--bg);
}
.foot-legal a:hover::after {
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .hero { padding: 100px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 100%; margin: 0; }
  .hero-tag-card { right: 0; bottom: 16px; }
  .hero-bottom { padding-top: 40px; }
  .col-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 0; padding: 60px 24px; }
  .stat-item:nth-child(3)::before, .stat-item:nth-child(2)::before { display: none; }
  .materials { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; margin: 100px auto; }
  .mat-text-col { padding-top: 0; }
  .mat-sticky { position: static; }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .proc-svg { display: none; }
  .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 60px; }
  .testimonial { padding: 120px 24px; }
  .manifest { padding: 120px 24px 160px; }
  .hscroll { height: 250vh; }
  .prod-card { flex: 0 0 280px; }
  .hscroll-head { grid-template-columns: 1fr; gap: 16px; padding: 60px 24px 24px; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 90px 20px 40px; }
  .hero-img-wrap, .hero-visual { aspect-ratio: 4/5; }
  .stats { grid-template-columns: 1fr 1fr; padding: 48px 20px; gap: 32px 0; }
  .visit { padding: 0 20px 100px; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-credits { flex-direction: column; gap: 8px; padding: 24px 0; text-align: center; }
  .marquee-track { font-size: 22px; gap: 40px; }
  .test-mark { font-size: 160px; top: 60px; }
  .footer { padding: 80px 20px 0; }
}
