:root {
  --cream: #f4ecdf;
  --cream-2: #e8d8c2;
  --ink: #1b120d;
  --brown: #6f3d22;
  --gold: #d8a65f;
  --white: #fffaf3;
  --header-h: 86px;
  --radius: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  background: var(--white);
  color: var(--ink);
  padding: .75rem 1rem;
  border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
  background: linear-gradient(to bottom, rgba(16,10,7,.62), transparent);
  transition: background .4s var(--ease), height .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(23,14,10,.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; width: fit-content; }
.brand-mark {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  display: grid; place-items: center; font: 700 13px/1 Georgia, serif; letter-spacing: .08em;
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; letter-spacing: .01em; }
.brand-copy small { opacity: .66; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 2.1rem; }
.main-nav a { text-decoration: none; font-size: .84rem; opacity: .78; transition: opacity .2s; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.header-cta {
  justify-self: end; text-decoration: none; border: 1px solid rgba(255,255,255,.44); border-radius: 999px;
  padding: .72rem 1.2rem; font-size: .82rem; transition: background .2s, color .2s;
}
.header-cta:hover { background: var(--white); color: var(--ink); }

.scroll-story { position: relative; height: 300vh; }
.sticky-stage { position: sticky; inset: 0; height: 100vh; overflow: hidden; isolation: isolate; background: #2b180f; }
.video-stack, .video-layer, .video-layer video, .cinematic-overlay, .grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-layer { opacity: 0; transform: scale(1.035); transition: opacity .85s var(--ease), transform 1.35s var(--ease); }
.video-layer.is-active { opacity: 1; transform: scale(1); }
.video-layer video { object-fit: cover; filter: saturate(.9) contrast(1.06) brightness(.9); background: #21130d; }
.video-layer[data-video-layer="0"] video { object-position: 58% 48%; }
.video-layer[data-video-layer="1"] video { object-position: 62% center; }
.video-layer[data-video-layer="2"] video { object-position: 55% center; }
.cinematic-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(15,8,5,.82) 0%, rgba(15,8,5,.44) 44%, rgba(15,8,5,.08) 78%),
    linear-gradient(0deg, rgba(10,5,3,.5) 0%, transparent 42%),
    radial-gradient(circle at 75% 45%, transparent 0 32%, rgba(10,5,3,.25) 82%);
}
.grain {
  z-index: 3; opacity: .08; pointer-events: none;
  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='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.story-copy {
  position: relative; z-index: 6; width: min(760px, 72vw); height: 100%;
  margin-left: clamp(1.4rem, 8vw, 9rem); display: flex; align-items: center;
}
.story-panel { position: absolute; width: min(680px, 100%); opacity: 0; transform: translateY(48px); pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-panel.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.eyebrow { margin: 0 0 1.15rem; color: var(--gold); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow.dark { color: var(--brown); }
.story-panel h1, .story-panel h2, .section-heading h2, .visit-card h2 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em;
}
.story-panel h1, .story-panel h2 { margin: 0; font-size: clamp(3rem, 6.5vw, 7rem); line-height: .91; text-wrap: balance; }
.lead { max-width: 590px; margin: 1.7rem 0 1.2rem; font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.65; color: rgba(255,250,243,.78); }
.proofs { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0 0 1.7rem; }
.proofs li { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); backdrop-filter: blur(7px); border-radius: 999px; padding: .6rem .9rem; font-size: .77rem; }
.text-link { display: inline-flex; gap: .65rem; align-items: center; text-underline-offset: .35rem; font-size: .92rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .82rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .83rem; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--ink); }
.button-ghost { border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.05); }
.button-light { background: var(--cream); color: var(--ink); width: fit-content; }
.story-progress { position: absolute; z-index: 7; right: clamp(1.3rem, 4vw, 4rem); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 1rem; writing-mode: vertical-rl; }
.progress-line { width: 1px; height: 150px; background: rgba(255,255,255,.2); overflow: hidden; }
.progress-line i { display: block; width: 100%; height: 0; background: var(--white); transition: height .15s linear; }
.progress-index { font-size: .69rem; letter-spacing: .17em; color: rgba(255,255,255,.55); }
.progress-index b { color: var(--white); }
.scroll-hint { position: absolute; z-index: 7; left: clamp(1.4rem, 8vw, 9rem); bottom: 2rem; display: flex; align-items: center; gap: .8rem; font-size: .67rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.62); transition: opacity .4s; }
.scroll-hint.is-hidden { opacity: 0; }
.scroll-hint i { width: 42px; height: 1px; background: rgba(255,255,255,.38); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: white; transform: translateX(-100%); animation: slide 1.8s infinite; }
@keyframes slide { 50%,100% { transform: translateX(100%); } }
.scroll-steps { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }

.products-section { background: var(--cream); color: var(--ink); padding: clamp(5rem, 10vw, 10rem) clamp(1.3rem, 6vw, 6rem); }
.section-heading { max-width: 850px; margin-bottom: 4rem; }
.section-heading h2 { font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: .95; margin: 0 0 1.5rem; }
.section-heading > p:last-child { max-width: 650px; color: rgba(27,18,13,.68); font-size: 1.05rem; line-height: 1.65; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1350px; margin: 0 auto; }
.product-card { min-height: 340px; border: 1px solid rgba(27,18,13,.12); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; background: rgba(255,255,255,.25); transition: transform .35s var(--ease), background .35s; }
.product-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.6); }
.product-number { align-self: flex-end; font-size: .7rem; letter-spacing: .12em; opacity: .45; }
.product-icon { font-size: 4.5rem; margin: auto 0 2rem; filter: grayscale(.15); }
.product-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; margin: 0 0 .75rem; }
.product-card p { color: rgba(27,18,13,.64); line-height: 1.6; margin: 0; }

.visit-section { padding: clamp(1rem, 4vw, 4rem); background: var(--cream); color: var(--white); }
.visit-card { min-height: 620px; border-radius: clamp(20px, 3vw, 36px); padding: clamp(2rem, 6vw, 6rem); background: radial-gradient(circle at 80% 20%, #9a5935 0, #56301e 42%, #25150e 100%); display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr auto; gap: 3rem; align-items: center; overflow: hidden; position: relative; }
.visit-card::after { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -120px; top: -150px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.visit-card > * { position: relative; z-index: 1; }
.visit-card h2 { font-size: clamp(3rem, 6vw, 6rem); line-height: .92; margin: 0; }
.visit-details { display: grid; gap: 1.6rem; }
.visit-details div { display: grid; gap: .35rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.visit-details span { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.55); }
.visit-details strong { font-size: .95rem; line-height: 1.55; font-weight: 600; }
.visit-details a { text-decoration: none; }
.site-footer { min-height: 110px; background: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem clamp(1.3rem, 4vw, 4rem); color: rgba(255,255,255,.55); font-size: .75rem; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; z-index: 1000; inset: auto 1rem 1rem; padding: 1rem; background: white; color: black; border-radius: 12px; }

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 1rem; }
  .main-nav { display: none; }
  .brand-copy small { display: none; }
  .story-copy { margin-left: 1.25rem; width: calc(100% - 3.5rem); align-items: flex-end; padding-bottom: 8.5rem; }
  .story-panel h1, .story-panel h2 { font-size: clamp(2.9rem, 13.2vw, 5.2rem); }
  .lead { font-size: .96rem; line-height: 1.55; margin-block: 1.2rem .9rem; }
  .proofs { gap: .5rem; margin-bottom: 1.2rem; }
  .proofs li { font-size: .67rem; padding: .5rem .7rem; }
  .story-progress { right: .75rem; }
  .scroll-hint { left: 1.25rem; bottom: 1.3rem; }
  .cinematic-overlay { background: linear-gradient(0deg, rgba(11,6,4,.88) 0%, rgba(11,6,4,.46) 62%, rgba(11,6,4,.16) 100%); }
  .video-layer[data-video-layer="0"] video { object-position: 50% center; }
  .video-layer[data-video-layer="1"] video { object-position: 58% center; }
  .video-layer[data-video-layer="2"] video { object-position: 50% center; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 260px; }
  .visit-card { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 700px; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; }
}

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