:root {
  --ink: #0a0a0a;
  --paper: #f2efe9;
  --muted: #9b9994;
  --accent: #d97a3f;
  --line: rgba(255,255,255,.16);
  --pad: clamp(1.4rem, 4vw, 4.8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Inter, Arial, sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.nav-shell { position: fixed; inset: 0 0 auto; z-index: 30; height: 84px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(10,10,10,.78), transparent); backdrop-filter: blur(3px); }
.brand { font-size: 1.02rem; font-weight: 800; letter-spacing: .22em; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.7vw, 3.1rem); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { opacity: .72; transition: opacity .25s, color .25s; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; color: var(--accent); }
.nav-cta { border-bottom: 1px solid var(--accent); padding-bottom: .35rem; }
.menu-button { display: none; color: inherit; background: none; border: 0; width: 42px; height: 42px; padding: 10px; }
.menu-button span { display: block; width: 100%; height: 1px; margin: 7px 0; background: currentColor; transition: transform .25s; }

.panel { min-height: 100svh; position: relative; overflow: hidden; padding: max(7rem, 12vh) var(--pad) clamp(3rem, 7vh, 6rem); isolation: isolate; }
.eyebrow { display: inline-flex; gap: .6rem; align-items: center; color: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.065em; line-height: .9; }
h2 { font-size: clamp(4rem, 8.7vw, 9rem); }
p { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.16rem); font-weight: 300; line-height: 1.65; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr auto; align-items: center; }
.hero .eyebrow { position: absolute; top: 16vh; left: var(--pad); }
.hero-title { position: relative; z-index: 4; font-size: clamp(4.2rem, 9.6vw, 10.5rem); max-width: 9ch; }
.product-stage { position: absolute; z-index: 2; inset: 5vh 13vw 0 auto; width: min(48vw, 720px); display: grid; place-items: center; perspective: 1400px; }
.product-turntable { --tilt-x: 0deg; --tilt-y: 0deg; --scroll-turn: 3deg; --product-scale: 1.03; --product-opacity: 1; position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(var(--scroll-turn)) scale(var(--product-scale)); opacity: var(--product-opacity); transition: transform .18s ease-out; animation: product-float 5.6s ease-in-out infinite; will-change: transform, opacity; }
.hero-product { position: relative; z-index: 2; width: 100%; height: 92%; object-fit: contain; filter: drop-shadow(18px 42px 44px rgba(0,0,0,.8)) drop-shadow(-8px -4px 20px rgba(217,122,63,.07)); transform: translateZ(72px); }
.product-glow { position: absolute; z-index: 0; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .19; transform: translateZ(-110px); }
.axis-ring { position: absolute; z-index: 1; width: 72%; aspect-ratio: 1; border: 1px solid rgba(217,122,63,.32); border-radius: 50%; transform: translateZ(-25px) rotateX(72deg); box-shadow: 0 0 34px rgba(217,122,63,.08), inset 0 0 28px rgba(217,122,63,.05); }
.axis-ring::before { content: ""; position: absolute; inset: 10%; border: 1px dashed rgba(255,255,255,.13); border-radius: 50%; }
.product-sheen { position: absolute; z-index: 3; top: 9%; left: 26%; width: 12%; height: 70%; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.11), transparent); filter: blur(9px); transform: translateZ(90px) rotate(13deg); opacity: .48; mix-blend-mode: screen; animation: sheen-pass 4.8s ease-in-out infinite; }
.product-shadow { position: absolute; z-index: -1; bottom: 10%; width: 45%; height: 8%; border-radius: 50%; background: rgba(0,0,0,.95); filter: blur(16px); transform: rotate(-4deg); animation: shadow-breathe 5.6s ease-in-out infinite; }
@keyframes product-float { 0%,100% { margin-top: -7px; } 50% { margin-top: 13px; } }
@keyframes shadow-breathe { 0%,100% { opacity: .85; transform: rotate(-4deg) scale(1); } 50% { opacity: .48; transform: rotate(-4deg) scale(.82); } }
@keyframes sheen-pass { 0%,100% { opacity: .2; transform: translate3d(-18px,0,90px) rotate(13deg); } 50% { opacity: .62; transform: translate3d(32px,0,90px) rotate(13deg); } }
.hero-copy { position: relative; z-index: 4; grid-column: 2; align-self: end; justify-self: end; max-width: 26ch; margin: 0 0 8vh; }
.scroll-cue { position: absolute; bottom: 4.5vh; left: var(--pad); z-index: 5; display: flex; align-items: center; gap: 1rem; color: #aaa; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue i { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-style: normal; animation: bounce 2s infinite; }
.section-index { position: absolute; right: var(--pad); bottom: 4.5vh; color: #62615f; font-size: .67rem; letter-spacing: .16em; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; background: #0e0e0e; }
.feature-copy { position: relative; z-index: 5; max-width: 620px; }
.feature-copy h2 { margin: 1.8rem 0 2rem; font-size: clamp(3.8rem, 7.3vw, 8rem); }
.feature-copy p { max-width: 34ch; }
.diagram-stage { position: relative; width: min(48vw, 720px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; perspective: 1100px; transform-style: preserve-3d; }
.diagram-product { width: 54%; height: 82%; object-fit: cover; object-position: center; border-radius: 46%; clip-path: inset(0 0 0 0 round 48%); transform: rotate(10deg); filter: drop-shadow(0 25px 30px rgba(0,0,0,.7)); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.feature.is-active .diagram-product { transform: rotateX(3deg) rotateY(-7deg) rotateZ(-4deg) scale(1.04); animation: detail-float 5s ease-in-out 1s infinite; }
@keyframes detail-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.orbit { position: absolute; border: 1px dashed rgba(217,122,63,.34); border-radius: 50%; }
.orbit-one { inset: 11%; }
.orbit-two { inset: 25%; border-color: rgba(255,255,255,.13); }
.annotation { position: absolute; color: #a7a39e; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.annotation span { color: var(--accent); margin-right: .45rem; }
.annotation::after { content: ""; position: absolute; top: 50%; width: 68px; border-top: 1px dotted rgba(255,255,255,.35); }
.annotation-a { top: 19%; right: 0; }.annotation-a::after { right: calc(100% + 10px); }
.annotation-b { bottom: 25%; left: 0; }.annotation-b::after { left: calc(100% + 10px); }
.annotation-c { bottom: 9%; right: 14%; }.annotation-c::after { right: calc(100% + 10px); width: 45px; }

.lifestyle { display: flex; align-items: flex-end; }
.lifestyle > img { position: absolute; inset: -7%; width: 114%; height: 114%; object-fit: cover; z-index: -2; will-change: transform; }
.image-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,5,.82) 0%, rgba(5,5,5,.1) 62%), linear-gradient(0deg, rgba(5,5,5,.65), transparent 50%); }
.lifestyle-copy h2 { margin-top: 1.5rem; }
.side-note { position: absolute; right: var(--pad); bottom: 8vh; max-width: 24ch; color: #d2cdc5; }

.craft { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; background: #0c0c0c; }
.craft-image-wrap { height: min(72vh, 760px); overflow: hidden; }
.craft-image-wrap img { width: 100%; height: 116%; object-fit: cover; object-position: left center; transform: translateY(-7%); will-change: transform; }
.craft-copy h2 { margin: 1.7rem 0 2.1rem; font-size: clamp(3.5rem, 6.4vw, 7rem); }
.craft-copy p { max-width: 31ch; }

.texture { display: flex; flex-direction: column; justify-content: space-between; }
.texture-bg { position: absolute; inset: -6%; z-index: -3; background-image: url("assets/kahlon-craft.webp"); background-size: 190%; background-position: 99% center; will-change: transform; }
.texture-vignette { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 70% 50%, transparent 5%, rgba(0,0,0,.7) 75%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 65%); }
.texture-title { font-size: clamp(7rem, 20vw, 22rem); align-self: center; color: rgba(242,239,233,.94); mix-blend-mode: screen; }
.texture-copy { align-self: flex-end; color: #ded7cd; margin: 0 5vw 0 0; }

.specs { display: grid; place-items: center; background: #0c0c0c; }
.spec-word { position: absolute; top: 16vh; left: 50%; transform: translateX(-50%); z-index: -1; font-size: clamp(5.2rem, 16vw, 17rem); font-weight: 800; letter-spacing: -.07em; color: #191919; white-space: nowrap; }
.spec-media { width: min(58vw, 850px); height: min(56vh, 610px); overflow: hidden; }
.spec-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.spec-grid { position: absolute; left: var(--pad); right: var(--pad); bottom: 6vh; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.spec-grid div { padding: 1.1rem 1.3rem; background: #0c0c0c; display: flex; justify-content: space-between; gap: 1rem; }
.spec-grid span { color: #777; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.spec-grid strong { font-size: .77rem; font-weight: 500; }

.closing { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 42%, rgba(217,122,63,.11), transparent 34%); }
.closing h2 { margin: 2rem 0 3rem; }
.primary-button { display: inline-flex; align-items: center; gap: 2.6rem; padding: 1.1rem 1.25rem 1.1rem 1.5rem; background: var(--accent); color: #0a0a0a; font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.primary-button span { font-size: 1rem; transition: transform .25s; }.primary-button:hover span { transform: translate(3px,-3px); }
footer { position: absolute; left: var(--pad); right: var(--pad); bottom: 3.2vh; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; text-align: left; }
.footer-links, .social-links { display: flex; gap: 1.6rem; color: #888; font-size: .7rem; }.footer-links a:hover,.social-links a:hover { color: var(--paper); }
footer small { color: #5f5f5f; font-size: .65rem; }
.progress-rail { position: fixed; right: 0; top: 0; bottom: 0; width: 2px; z-index: 40; background: rgba(255,255,255,.05); }
.progress-fill { width: 100%; height: 0; background: var(--accent); }

@media (max-width: 800px) {
  .nav-shell { height: 68px; }
  .menu-button { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; background: rgba(8,8,8,.98); font-size: 1rem; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .panel { min-height: 100svh; padding-top: 7rem; }
  h2 { font-size: clamp(3.4rem, 18vw, 6rem); }
  .hero { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .hero .eyebrow { top: 13vh; }
  .hero-title { z-index: 5; font-size: clamp(3.9rem, 18vw, 7rem); }
  .product-stage { inset: 22vh -12vw auto auto; width: 82vw; height: 58vh; opacity: .82; }
  .product-turntable { --tilt-x: 0deg !important; --tilt-y: 0deg !important; animation-duration: 7s; }
  .axis-ring { width: 66%; opacity: .68; }
  .product-sheen { opacity: .35; }
  .hero-copy { align-self: flex-end; max-width: 19ch; margin: 28vh 0 7vh; }
  .section-index { display: none; }
  .feature { display: flex; flex-direction: column; justify-content: space-around; }
  .feature-copy { align-self: stretch; }.feature-copy h2 { font-size: clamp(3.3rem, 15vw, 5.5rem); }
  .diagram-stage { width: 86vw; margin-top: 1rem; }
  .annotation::after { width: 28px; }
  .lifestyle { align-items: flex-end; }.lifestyle > img { inset: 0; width: 100%; height: 100%; object-position: 59% center; }
  .image-shade { background: linear-gradient(0deg, rgba(5,5,5,.86) 0%, transparent 65%), linear-gradient(90deg, rgba(5,5,5,.38), transparent); }
  .side-note { left: var(--pad); right: auto; bottom: 5vh; max-width: 25ch; }
  .lifestyle-copy { margin-bottom: 22vh; }
  .craft { display: flex; flex-direction: column-reverse; justify-content: center; gap: 2rem; }
  .craft-image-wrap { height: 41vh; width: 100%; }.craft-copy h2 { font-size: clamp(3.3rem, 14vw, 5rem); margin: 1rem 0; }
  .texture-bg { background-size: cover; background-position: 78% center; }
  .texture-title { font-size: 27vw; }
  .spec-word { top: 20vh; font-size: 23vw; }
  .spec-media { width: 100%; height: 50vh; }.spec-media img { object-position: 65% center; }
  .spec-grid { grid-template-columns: 1fr 1fr; bottom: 4vh; }
  .spec-grid div { flex-direction: column; gap: .35rem; padding: .8rem; }
  footer { grid-template-columns: 1fr auto; gap: 1rem; }.footer-links { display: none; }.social-links { justify-self: end; } footer small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
