/* ===========================================================
   WOLFOX — Demo Concept
   Palette: forest green, warm cream, fox amber, espresso
   =========================================================== */

:root {
  --cream:   #f4efe6;
  --cream-2: #ece4d6;
  --espresso:#221b14;
  --ink:     #1a140f;
  --forest:  #2f4a3c;
  --forest-d:#23382d;
  --amber:   #c9772f;
  --amber-l: #e0954f;
  --sand:    #c9b79c;
  --muted:   #6b5d4d;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gut: clamp(20px, 5vw, 90px);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--espresso);
  overflow-x: hidden;
  line-height: 1.5;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--amber); color: var(--cream); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 10px; }

/* ===========================================================
   PRELOADER
   =========================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--forest-d);
  display: grid; place-items: center;
  color: var(--cream);
}
.preloader__inner { text-align: center; position: relative; }
.preloader__mark { width: 90px; height: 90px; margin: 0 auto 18px; }
.preloader__mark .draw {
  fill: none; stroke: var(--amber-l); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.preloader__word {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: .22em;
  text-indent: .22em; opacity: 0;
}
.preloader__count {
  position: absolute; bottom: -64px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 1rem; letter-spacing: .1em;
  color: var(--sand);
}
.preloader__count i { font-style: normal; opacity: .6; }

/* ===========================================================
   CUSTOM CURSOR
   =========================================================== */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9000;
  pointer-events: none; border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor {
  width: 38px; height: 38px; border: 1.5px solid #fff;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease), opacity .3s;
}
.cursor-dot {
  width: 6px; height: 6px; background: #fff;
  transform: translate(-50%, -50%);
}
.cursor.is-hover { width: 64px; height: 64px; background: rgba(255,255,255,.15); }
.cursor.is-view  { width: 84px; height: 84px; background: #fff; mix-blend-mode: difference; }
.cursor.is-view::after { content: "VIEW"; color: #000; font-size: 11px; font-weight: 700; letter-spacing: .1em; display: grid; place-items: center; height: 100%; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut);
  transition: padding .4s var(--ease), background .4s var(--ease);
  mix-blend-mode: difference; color: #fff;
}
.nav.is-stuck {
  mix-blend-mode: normal;
  background: rgba(244,239,230,.82);
  backdrop-filter: blur(14px);
  color: var(--espresso);
  padding: 14px var(--gut);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav__logo {
  font-family: var(--serif); font-weight: 600; font-size: 1.55rem;
  letter-spacing: .02em; display: flex; align-items: center; gap: .4rem;
}
.nav__logo-icon { font-size: 1.2rem; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: .82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: currentColor; transition: width .35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  border: 1.5px solid currentColor; border-radius: 100px;
  padding: 11px 24px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  overflow: hidden; position: relative;
}
.nav__cta span { position: relative; z-index: 2; transition: color .4s; }
.nav__cta::before {
  content: ""; position: absolute; inset: 0; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__cta:hover::before { transform: scaleX(1); }
.nav__cta:hover span { color: #fff; }
.nav__burger { display: none; flex-direction: column; gap: 6px; width: 34px; }
.nav__burger span { display: block; height: 2px; background: currentColor; transition: .35s var(--ease); }

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; position: relative; overflow: hidden;
  transition: transform .3s var(--ease);
}
.btn span { position: relative; z-index: 2; transition: color .4s var(--ease); }
.btn--lg { padding: 20px 46px; font-size: .92rem; }
.btn--solid { background: var(--espresso); color: var(--cream); }
.btn--solid::before { content: ""; position: absolute; inset: 0; background: var(--amber); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn--solid:hover::before { transform: translateY(0); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost::before { content: ""; position: absolute; inset: 0; background: var(--espresso); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn--ghost:hover span { color: var(--cream); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gut); overflow: hidden; color: var(--cream);
}
.hero__bg { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.hero__bg img { transform: scale(1.15); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(34,27,20,.78) 0%, rgba(34,27,20,.35) 50%, rgba(47,74,60,.5) 100%);
}
.hero__content { position: relative; max-width: 1100px; }
.hero__eyebrow {
  overflow: hidden; margin-bottom: 26px;
  font-size: .82rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
}
.hero__eyebrow span { display: inline-block; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 9.5rem); line-height: .92;
  letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; will-change: transform; }
.hero__title .line--accent > span { font-style: italic; color: var(--amber-l); }
.hero__sub {
  margin: 30px 0 38px; max-width: 520px;
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(244,239,230,.85);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 50px; background: rgba(244,239,230,.3); position: relative; overflow: hidden; }
.hero__scroll-line i { position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--amber-l); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:translateY(-100%);} 60%,100%{transform:translateY(300%);} }

.hero__badge {
  position: absolute; right: var(--gut); bottom: 12%; width: 132px; height: 132px;
}
.hero__badge-text { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge-text text { fill: var(--cream); font-size: 13px; font-weight: 600; letter-spacing: 2px; font-family: var(--sans); }
.hero__badge-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================================================
   MARQUEE
   =========================================================== */
.marquee {
  background: var(--forest); color: var(--cream);
  padding: 26px 0; overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: 38px; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.8rem); }
.marquee__track i { color: var(--amber-l); font-size: 1.1rem; }

/* ===========================================================
   SHARED SECTION BITS
   =========================================================== */
.section-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--amber); }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.02em;
}
.section-title span { display: block; }
.section-title em { font-style: italic; color: var(--forest); }

/* ===========================================================
   STORY
   =========================================================== */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center; padding: clamp(90px, 12vw, 180px) var(--gut);
}
.story__media { position: relative; height: clamp(420px, 50vw, 640px); }
.story__img { position: absolute; overflow: hidden; border-radius: 6px; box-shadow: 0 30px 60px rgba(34,27,20,.18); }
.story__img--1 { width: 70%; height: 80%; top: 0; left: 0; z-index: 2; }
.story__img--2 { width: 52%; height: 56%; bottom: 0; right: 0; z-index: 3; border: 10px solid var(--cream); }
.story__p { margin-top: 22px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.story__stats { display: flex; gap: clamp(24px, 4vw, 52px); margin-top: 46px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--forest); display: inline; }
.stat__suffix { font-family: var(--serif); font-size: 1.6rem; color: var(--amber); }
.stat__label { font-size: .82rem; color: var(--muted); margin-top: 8px; max-width: 14ch; }

/* ===========================================================
   MENU
   =========================================================== */
.menu {
  position: relative; padding: clamp(90px, 12vw, 160px) var(--gut);
  background: var(--espresso); color: var(--cream); overflow: hidden;
}
.menu .section-eyebrow { color: var(--amber-l); }
.menu .section-eyebrow::before { background: var(--amber-l); }
.menu .section-title em { color: var(--amber-l); }
.menu__head { max-width: 680px; margin-bottom: 50px; }
.menu__tabs { display: flex; gap: 12px; margin-bottom: 44px; flex-wrap: wrap; }
.menu__tab {
  padding: 12px 28px; border-radius: 100px; border: 1.5px solid rgba(244,239,230,.25);
  color: var(--cream); font-weight: 700; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; transition: .35s var(--ease);
}
.menu__tab:hover { border-color: var(--amber-l); }
.menu__tab.is-active { background: var(--amber); border-color: var(--amber); color: #fff; }

.menu__panels { position: relative; max-width: 760px; }
.menu__panel { display: none; }
.menu__panel.is-active { display: block; }
.menu__list { list-style: none; }
.menu__item { padding: 22px 0; border-bottom: 1px solid rgba(244,239,230,.12); }
.menu__item-top { display: flex; align-items: baseline; gap: 14px; }
.menu__item-top h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.menu__item-top .dots { flex: 1; border-bottom: 1.5px dotted rgba(244,239,230,.3); transform: translateY(-4px); }
.menu__item-top b { font-family: var(--serif); font-size: 1.25rem; color: var(--amber-l); }
.menu__item p { margin-top: 8px; color: rgba(244,239,230,.6); font-size: .95rem; max-width: 52ch; }

.menu__visual {
  position: absolute; top: 0; right: 0; width: 30%; height: 100%;
  opacity: .9; display: none;
}
.menu__visual img { transform: scale(1.1); }
.menu__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--espresso), transparent 40%); }

/* ===========================================================
   FEATURE / QUOTE
   =========================================================== */
.feature {
  position: relative; min-height: 78vh; display: grid; place-items: center;
  padding: clamp(80px, 12vw, 160px) var(--gut); overflow: hidden; text-align: center;
  color: var(--cream);
}
.feature__bg { position: absolute; inset: -16% 0; z-index: -2; }
.feature__bg img { transform: scale(1.15); }
.feature::before { content: ""; position: absolute; inset: 0; background: rgba(35,56,45,.7); z-index: -1; }
.feature__quote p {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.6rem, 4.4vw, 3.6rem); line-height: 1.2; max-width: 16ch; margin: 0 auto;
}
.feature__quote cite { display: block; margin-top: 28px; font-style: normal; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--sand); }
.reveal-words .word { display: inline-block; }

/* ===========================================================
   GALLERY
   =========================================================== */
.gallery { padding: clamp(90px, 12vw, 160px) var(--gut); }
.gallery__head { margin-bottom: 50px; }
.gallery__head .section-title em { color: var(--amber); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px; gap: 18px;
}
.gallery__item { overflow: hidden; border-radius: 6px; position: relative; }
.gallery__item img { transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ===========================================================
   VISIT
   =========================================================== */
.visit { padding: clamp(90px, 12vw, 160px) var(--gut); background: var(--forest-d); color: var(--cream); }
.visit .section-title em { color: var(--amber-l); }
.visit__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.visit__lead { margin: 26px 0 40px; color: rgba(244,239,230,.75); font-size: 1.1rem; max-width: 40ch; }
.visit__info { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-bottom: 44px; }
.visit__block h4 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-l); margin-bottom: 10px; }
.visit__block p { color: rgba(244,239,230,.85); line-height: 1.7; }
.visit__block a { transition: color .3s; }
.visit__block a:hover { color: var(--amber-l); }
.visit__right { position: relative; }
.visit__card { position: relative; height: clamp(380px, 48vw, 560px); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.visit__card-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--amber); color: #fff; padding: 10px 20px; border-radius: 100px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
}

/* ===========================================================
   CTA
   =========================================================== */
.cta {
  padding: clamp(100px, 14vw, 200px) var(--gut); text-align: center;
  background: var(--cream);
}
.cta__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 12vw, 9rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 40px;
}
.cta__title .line { display: block; overflow: hidden; }
.cta__title .line > span { display: block; }
.cta__title em { font-style: italic; color: var(--amber); }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--espresso); color: var(--cream); padding: clamp(60px, 8vw, 90px) var(--gut) 36px; }
.footer__top { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(244,239,230,.14); }
.footer__brand { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); }
.footer__brand i { font-style: normal; font-size: .7em; margin-left: .3rem; }
.footer__tag { color: rgba(244,239,230,.6); }
.footer__links { display: flex; gap: 30px; flex-wrap: wrap; padding: 34px 0; }
.footer__links a { font-size: .85rem; letter-spacing: .06em; transition: color .3s; }
.footer__links a:hover { color: var(--amber-l); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: rgba(244,239,230,.45); }

/* ===========================================================
   REVEAL HELPERS (initial states; JS animates)
   =========================================================== */
.reveal-fade { opacity: 0; transform: translateY(28px); }
.reveal-stagger span { display: block; overflow: hidden; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__media { height: clamp(360px, 80vw, 520px); order: 2; }
  .visit__inner { grid-template-columns: 1fr; }
  .menu__visual { display: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }

  .nav__links {
    position: fixed; inset: 0; background: var(--forest-d); color: var(--cream);
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform .5s var(--ease); mix-blend-mode: normal;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.4rem; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; z-index: 810; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .visit__info { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal-fade { opacity: 1; transform: none; }
}
