@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Figtree:wght@300;400;500&display=swap');

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

:root {
  --white:   #FFFFFF;
  --off:     #F7F5F2;
  --cream:   #FAF8F5;
  --light:   #EDE9E3;
  --border:  #E0DBD4;
  --mid:     #7A756E;
  --dark:    #1C1C1A;
  --black:   #111110;
  --red:     #C8382A;
  --red-soft:#D4453A;
  --red-dim: rgba(200,56,42,0.08);
  --red-line:rgba(200,56,42,0.25);
  --red-glow:rgba(200,56,42,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', serif; }

/* ─── SHIMMER — right sweep only, slow ────── */
.shimmer-light {
  background: linear-gradient(105deg, #fff 0%, #fff 40%, var(--red-soft) 50%, #fff 60%, #fff 100%);
  background-size: 300% 100%;
  background-position: 100% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerRight 6s ease-in-out infinite;
}
@keyframes shimmerRight {
  0% { background-position: 100% center; }
  100% { background-position: -100% center; }
}

/* ─── FLOATING PARTICLES ──────────────────── */
.particles-container {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.particle {
  position: absolute; background: var(--red); border-radius: 50%; opacity: 0;
  animation: particleFloat 10s infinite ease-in-out;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  15% { opacity: 0.25; }
  50% { opacity: 0.1; transform: translateY(-45vh) scale(1); }
  100% { opacity: 0; transform: translateY(-90vh) scale(0.3); }
}

/* ─── SUBTLE BG GRID ──────────────────────── */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(200,56,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,56,42,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: rgba(250,248,245,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(224,219,212,0.5);
  transition: height 0.3s, box-shadow 0.3s, background 0.3s;
}
nav.scrolled { height: 60px; box-shadow: 0 4px 30px rgba(0,0,0,0.06); background: rgba(250,248,245,0.96); }

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; transition: height 0.3s; }
nav.scrolled .nav-logo img { height: 30px; }
.nav-logo-text {
  font-family: 'DM Serif Display', serif; font-size: 16px; font-weight: 400;
  color: var(--dark); letter-spacing: 0.01em; line-height: 1.15;
  border-left: 1px solid var(--border); padding-left: 14px; transition: font-size 0.3s;
}
nav.scrolled .nav-logo-text { font-size: 14px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: color 0.2s; line-height: 1; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--red); transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--dark); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0 22px !important; height: 38px !important;
  display: inline-flex !important; align-items: center !important;
  font-size: 12px !important; letter-spacing: 0.1em !important; text-transform: uppercase !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--dark) !important; transform: translateY(-1px) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--dark); transition: all 0.3s; }

/* ─── FOOTER ──────────────────────────────── */
footer { background: var(--black); padding: 56px 60px 40px; position: relative; overflow: hidden; }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,56,42,0.35), transparent);
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 32px; }
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; text-transform: uppercase; }

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; font-family: 'Figtree', sans-serif; font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); line-height: 1; position: relative; overflow: hidden;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #b83224; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,56,42,0.3); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,56,42,0.2); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); transform: translateY(-2px); }

/* ─── UTILITIES ───────────────────────────── */
.divider { width: 40px; height: 1.5px; background: var(--red); margin: 24px 0; }

/* ─── SCROLL ANIMATIONS ───────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── MARQUEE ─────────────────────────────── */
.marquee-bar { background: var(--black); padding: 14px 0; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-bar::before, .marquee-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.marquee-bar::before { left: 0; background: linear-gradient(90deg, var(--black), transparent); }
.marquee-bar::after { right: 0; background: linear-gradient(-90deg, var(--black), transparent); }
.marquee-track { display: inline-flex; animation: marqueeRight 40s linear infinite; }
.marquee-item { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-right: 48px; font-weight: 400; }
.marquee-dot { color: var(--red-soft); margin-right: 48px; font-size: 8px; }
@keyframes marqueeRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 820px) {
  nav { padding: 0 24px; }
  .hamburger { display: flex; }
  .nav-logo-text { display: none; }
  .nav-links { display: none; position: fixed; inset: 0; background: var(--cream); flex-direction: column; align-items: center; justify-content: center; gap: 28px; z-index: 199; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .nav-cta { height: 48px !important; padding: 0 32px !important; font-size: 14px !important; }
  footer { padding: 48px 24px 32px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
