/* =============================================================
   Catahuasi 47 — Sacred Valley Retreat
   Custom design system. Dark, warm, amber + gold. 2025 rebuild.
   ============================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
	--bg:        #0c0a09;
	--bg-2:      #14100c;
	--bg-3:      #1c1611;
	--ink:       #f4ede2;
	--ink-soft:  rgba(244, 237, 226, 0.66);
	--ink-faint: rgba(244, 237, 226, 0.40);
	--amber:     #e69c48;
	--amber-rgb: 230, 156, 72;
	--gold:      #d8b26a;
	--gold-soft: #b9974f;
	--line:      rgba(244, 237, 226, 0.12);
	--line-2:    rgba(244, 237, 226, 0.22);

	--font-head: "arsenica-variable", "Cormorant Garamond", "Playfair Display", Georgia, serif;
	--font-body: "area-normal", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-acc:  "afronaut", var(--font-body);

	--container: 1240px;
	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--radius: 14px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
html, body { background: var(--bg); }
body {
	font-family: var(--font-body);
	color: var(--ink);
	line-height: 1.65;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
	font-weight: 400;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; line-height: 1.06; letter-spacing: -0.01em; }

/* Fluid display sizes */
.display-1 { font-size: clamp(3rem, 1.6rem + 6.4vw, 8rem); }
.display-2 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.5rem); }
.display-3 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.25rem); }

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.72rem;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--gold);
	display: inline-flex;
	align-items: center;
	gap: 0.9em;
}
.eyebrow::before {
	content: "";
	width: 2.4em; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
	content: "";
	width: 2.4em; height: 1px;
	background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.no-line::before, .eyebrow.no-line::after { display: none; }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
.text-amber { color: var(--amber); }
.text-gold  { color: var(--gold); }
.text-soft  { color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1600px; }
.container-narrow { max-width: 760px; }
.section { padding-block: clamp(5rem, 4rem + 8vw, 11rem); position: relative; }
.section-sm { padding-block: clamp(3.5rem, 3rem + 4vw, 6rem); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.4em; }

/* ---------- Bilingual ---------- */
html[data-lang="en"] [data-lang="es"],
html[data-lang="es"] [data-lang="en"] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
	--btn-fg: var(--ink);
	--btn-bd: var(--line-2);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--btn-fg);
	border: 1px solid var(--btn-bd);
	border-radius: 100px;
	padding: 1.05em 2.2em;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, var(--amber), var(--gold));
	transform: translateY(101%);
	transition: transform 0.55s var(--ease);
}
.btn:hover { color: #1a1206; border-color: transparent; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-solid { --btn-fg:#1a1206; border-color: transparent; }
.btn-solid::before { transform: translateY(0); }
.btn-solid:hover { color: #1a1206; }
.btn-solid:hover::before { transform: translateY(0); filter: brightness(1.08); }

.link-underline { position: relative; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }
.link-underline::after { content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* =============================================================
   Header
   ============================================================= */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 1.5rem 0;
	transition: padding 0.5s var(--ease), background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.scrolled {
	padding: 0.85rem 0;
	background: rgba(12, 10, 9, 0.72);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* Legibility over bright hero imagery while header is transparent */
.site-header:not(.scrolled) .brand img { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55)); }
.site-header:not(.scrolled) .nav-link,
.site-header:not(.scrolled) .lang-toggle { text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.brand img { height: clamp(30px, 2.2vw, 40px); width: auto; transition: height 0.5s var(--ease); }
.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.8rem); }
.nav-link {
	position: relative;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
	transition: color 0.4s var(--ease);
	padding-block: 0.4rem;
}
.nav-link::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background: var(--gold); transform: scaleX(0); transform-origin:right; transition: transform 0.45s var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin:left; }
.nav-link.active { color: var(--ink); }

.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	border: 1px solid var(--line-2);
	border-radius: 100px;
	padding: 0.5em 1em;
	color: var(--ink-soft);
	transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--ink); }
.lang-toggle .on { color: var(--gold); }

/* Hamburger */
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; z-index: 110; }
.nav-toggle span { position:absolute; left:0; width:100%; height:2px; background: var(--ink); border-radius:2px; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease); }
.nav-toggle span:nth-child(1){ top:2px; } .nav-toggle span:nth-child(2){ top:10px; } .nav-toggle span:nth-child(3){ top:18px; }
body.menu-open .nav-toggle span:nth-child(1){ top:10px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
body.menu-open .nav-toggle span:nth-child(3){ top:10px; transform: rotate(-45deg); }

/* =============================================================
   Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img.hero-fallback { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { transform: scale(1.08); animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.hero-overlay {
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(120% 90% at 50% 20%, transparent 30%, rgba(12,10,9,0.55) 100%),
		linear-gradient(180deg, rgba(12,10,9,0.45) 0%, rgba(12,10,9,0.15) 35%, rgba(12,10,9,0.75) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; text-align: center; }
.hero h1 { margin: 0.4em 0 0.5em; }
.hero .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero .word > span { display: inline-block; will-change: transform; }
.hero-sub { max-width: 40ch; margin: 0 auto 2.4em; color: rgba(244,237,226,0.82); }

.scroll-cue { position: absolute; left: 50%; bottom: 2.2rem; translate: -50% 0; z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--ink-soft); }
.scroll-cue .dot { width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 100px; position: relative; }
.scroll-cue .dot::after { content:""; position:absolute; left:50%; top:7px; translate:-50% 0; width:3px; height:7px; border-radius:3px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 100%{opacity:0; transform: translate(-50%,12px);} }
.scroll-cue .label { font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; }

/* =============================================================
   Marquee
   ============================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3.5rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-size: clamp(1.4rem, 1rem + 1.8vw, 2.6rem); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 3.5rem; white-space: nowrap; }
.marquee span::after { content: "\2732"; color: var(--amber); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   Story / Intro
   ============================================================= */
.story-figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.story-figure img { width: 100%; height: clamp(320px, 46vw, 640px); object-fit: cover; transform: scale(1.15); will-change: transform; }
.figure-caption { position: absolute; inset: auto 0 0 0; padding: clamp(1.5rem,3vw,2.6rem); text-align: center; background: linear-gradient(0deg, rgba(12,10,9,0.85), transparent); }
.figure-caption h3 { margin-top: 0.4rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 5vw, 5.5rem); }
.feature { padding-top: 2rem; border-top: 1px solid var(--line); }
.feature-ico { width: 48px; height: 48px; margin-bottom: 1.4rem; color: var(--amber); }
.feature h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; letter-spacing: 0; margin-bottom: 0.7rem; }
.feature p { color: var(--ink-soft); font-weight: 300; }

/* =============================================================
   Visual Journey — interactive category carousel (no lightbox)
   ============================================================= */
.vj-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: clamp(2rem, 3.5vw, 3.2rem); }
.vj-tab {
	font-size: 0.82rem; letter-spacing: 0.03em; font-weight: 500;
	color: var(--ink-soft);
	border: 1px solid var(--line); border-radius: 100px;
	padding: 0.7em 1.4em;
	transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.vj-tab:hover { color: var(--ink); border-color: var(--line-2); }
.vj-tab.active { color: #1a1206; border-color: transparent; background: linear-gradient(120deg, var(--amber), var(--gold)); }

.vj-stage { position: relative; }
.vj-carousel { display: none; }
.vj-carousel.active { display: block; }

.vj-scroller {
	display: flex; gap: clamp(0.8rem, 1.4vw, 1.3rem);
	overflow-x: auto; overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding: 0.5rem clamp(1.25rem, 4vw, 3.5rem) 1.5rem;
	scrollbar-width: none;
	cursor: grab;
	scroll-behavior: smooth;
}
.vj-scroller::-webkit-scrollbar { display: none; }
.vj-scroller.dragging { cursor: grabbing; scroll-behavior: auto; }
.vj-scroller.dragging * { pointer-events: none; }

.vj-slide {
	position: relative; flex: 0 0 auto;
	width: clamp(260px, 42vw, 540px);
	aspect-ratio: 3 / 2;
	border-radius: var(--radius); overflow: hidden;
	scroll-snap-align: center;
	background: var(--bg-3);
}
.vj-slide:first-child { scroll-snap-align: start; }
.vj-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.vj-slide:hover img { transform: scale(1.06); }
.vj-slide .idx {
	position: absolute; top: 1rem; left: 1rem; z-index: 2;
	font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.1em;
	color: var(--ink); background: rgba(12,10,9,0.45); backdrop-filter: blur(6px);
	border: 1px solid var(--line); border-radius: 100px; padding: 0.25em 0.8em;
}
.vj-slide::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(12,10,9,0.35), transparent 45%); opacity: 0; transition: opacity 0.5s var(--ease); }
.vj-slide:hover::after { opacity: 1; }

.vj-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(1.5rem, 2.5vw, 2.4rem); flex-wrap: wrap; }
.vj-nav { display: flex; align-items: center; gap: 0.8rem; }
.vj-arrow {
	width: 52px; height: 52px; border-radius: 50%;
	border: 1px solid var(--line-2); color: var(--ink);
	display: grid; place-items: center;
	transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.3s var(--ease);
}
.vj-arrow:hover { background: linear-gradient(120deg, var(--amber), var(--gold)); color: #1a1206; border-color: transparent; }
.vj-arrow svg { width: 20px; height: 20px; }
.vj-hint { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 0.6em; }
.vj-hint svg { width: 20px; height: 12px; }

/* =============================================================
   Testimonials
   ============================================================= */
.testi { position: relative; overflow: hidden; }
.testi-bg { position: absolute; inset: 0; z-index: 0; }
.testi-bg img { width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.testi-bg::after { content:""; position:absolute; inset:0; background: rgba(12,10,9,0.78); }
.testi-inner { position: relative; z-index: 1; }
.testi-slides { position: relative; min-height: 1px; }
.testi-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease); pointer-events: none; }
.testi-slide.active { position: relative; opacity: 1; visibility: visible; pointer-events: auto; }
.testi-quote { font-family: var(--font-head); font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem); line-height: 1.4; font-weight: 300; color: var(--ink); }
.testi-name { margin-top: 1.8rem; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.testi-mark { font-family: var(--font-head); font-size: 5rem; line-height: 0.5; color: var(--amber); opacity: 0.5; height: 0.5em; display: block; margin-bottom: 1rem; }
.testi-dots { display: flex; gap: 0.7rem; justify-content: center; margin-top: 3rem; }
.testi-dots button { width: 30px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background 0.4s var(--ease); }
.testi-dots button.active { background: var(--gold); }

.testi-stars { color: var(--amber); letter-spacing: 0.28em; font-size: 0.95rem; margin-bottom: 1.4rem; }
.testi-meta { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 2rem; text-align: left; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-head); font-size: 1.25rem; color: var(--gold); border: 1px solid var(--line-2); background: rgba(216,178,106,0.06); }
.testi-meta .m-name { display: block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.testi-meta .m-loc { display: block; font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.15rem; }

/* Rating badge (Airbnb Guest Favorite) */
.rating-badge { text-align: center; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.rating-laurels { display: flex; align-items: center; justify-content: center; gap: clamp(0.6rem, 2vw, 1.6rem); }
.laurel { width: clamp(34px, 5vw, 54px); height: auto; color: var(--gold); flex: none; }
.laurel.right { transform: scaleX(-1); }
.rating-num { font-family: var(--font-head); font-size: clamp(3.4rem, 9vw, 6rem); line-height: 0.9; }
.rating-stars { color: var(--amber); letter-spacing: 0.3em; font-size: 1.05rem; margin-top: 0.9rem; }
.rating-title { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em; margin-top: 1rem; }
.rating-sub { color: var(--ink-soft); font-size: 0.92rem; max-width: 40ch; margin: 0.6rem auto 0; }
.rating-sub b { color: var(--ink); font-weight: 600; }

/* =============================================================
   Experiences
   ============================================================= */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); margin-top: clamp(2.5rem, 4vw, 4rem); }
.exp-card { padding: clamp(1.6rem, 2.5vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(244,237,226,0.025), transparent); transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease); }
.exp-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: linear-gradient(180deg, rgba(230,156,72,0.06), transparent); }
.exp-ico { width: 40px; height: 40px; color: var(--amber); margin-bottom: 1.3rem; }
.exp-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; letter-spacing: 0; margin-bottom: 0.5rem; }
.exp-card p { color: var(--ink-soft); font-weight: 300; font-size: 0.95rem; line-height: 1.6; }

/* =============================================================
   Instagram
   ============================================================= */
.ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.behold-widget { min-height: 200px; }
/* graceful fallback grid before Behold loads / if unconfigured */
.ig-fallback { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.5rem, 1vw, 0.9rem); }
.ig-fallback a { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ig-fallback img { width:100%; height:100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ig-fallback a:hover img { transform: scale(1.08); }
.ig-fallback a::after { content:""; position:absolute; inset:0; background: rgba(12,10,9,0.15); opacity:0; transition: opacity 0.4s var(--ease); }
.ig-fallback a:hover::after { opacity:1; }

/* =============================================================
   Get in Touch / CTA
   ============================================================= */
.cta { position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.cta h2 { margin-bottom: 1.4rem; }
.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-row .ico { width: 22px; height: 22px; color: var(--gold); flex: none; }
.contact-row .k { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); }
.contact-row .v { font-size: 1.05rem; }
.contact-row a.v:hover { color: var(--gold); }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 5vw, 6rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.footer-brand img { height: 42px; margin-bottom: 1.4rem; }
.subscribe h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; margin-bottom: 1rem; }
.subscribe form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe input[type=email] {
	flex: 1 1 220px;
	background: var(--bg-3);
	border: 1px solid var(--line-2);
	border-radius: 100px;
	padding: 1em 1.4em;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 0.95rem;
	transition: border-color 0.4s var(--ease);
}
.subscribe input[type=email]::placeholder { color: var(--ink-faint); }
.subscribe input[type=email]:focus { outline: none; border-color: var(--gold); }
.subscribe .btn { flex: none; }
.subscribe .hint { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.9rem; }

.socials { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.social {
	width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--line-2);
	color: var(--ink-soft);
	transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.social svg { width: 19px; height: 19px; }
.social:hover { color: #1a1206; border-color: transparent; transform: translateY(-3px); }
.social.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color:#fff; }
.social.tt:hover { background: #fff; color:#000; }
.social.ab:hover { background: #ff5a5f; color:#fff; }

.footer-bottom { margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--ink-faint); font-size: 0.8rem; letter-spacing: 0.02em; }
.footer-bottom a:hover { color: var(--gold); }

/* Back to top */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(12,10,9,0.7); backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.4s var(--ease); }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { border-color: var(--gold); color: var(--gold); }

/* =============================================================
   Reveal animations (GSAP-driven; safe fallback if JS off)
   ============================================================= */
.reveal, .reveal-stagger > * { opacity: 0; transform: translateY(34px); }
.reveal-img > img, .reveal-img > video { }
.js-ready .reveal, .js-ready .reveal-stagger > * { will-change: transform, opacity; }
/* If JS/GSAP not present, show everything */
html:not(.js-ready) .reveal,
html:not(.js-ready) .reveal-stagger > *,
html:not(.js-ready) .hero .word > span { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.hero-media video { animation: none; }
	.marquee-track { animation-duration: 90s; }
	.scroll-cue .dot::after { animation: none; }
	* { scroll-behavior: auto !important; }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
	.features { grid-template-columns: 1fr; gap: 2.5rem; }
	.cta-grid { grid-template-columns: 1fr; }
	.ig-fallback { grid-template-columns: repeat(3, 1fr); }
	.exp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.nav { position: fixed; inset: 0; height: 100dvh; flex-direction: column; justify-content: center; gap: 2rem; background: rgba(12,10,9,0.98); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-14px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s var(--ease); }
	body.menu-open .nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
	.nav-link { font-size: 1.6rem; font-family: var(--font-head); }
	.nav-toggle { display: block; }
	.header-inner { position: relative; z-index: 110; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { justify-content: center; text-align: center; }
	.vj-slide { width: 82vw; }
	.exp-grid { grid-template-columns: 1fr; }
}
