/* ============================================================
   TRUFFLE — Shared Stylesheet
   getruffle.com
   ============================================================ */

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

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

:root {
  --black:       #0e0d0b;
  --dark:        #161510;
  --card:        #1c1a15;
  --border:      #2e2b22;
  --amber:       #c98a1a;
  --amber-light: #e8a830;
  --amber-dim:   #6b4a0e;
  --white:       #f5f0e8;
  --muted:       #7a7468;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
}

html { background: var(--black); color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.6; scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(14,13,11,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { background: var(--amber) !important; color: var(--black) !important; padding: 9px 20px; border-radius: 3px; font-weight: 500 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--amber-light) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--muted); transition: all 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--amber); color: var(--black);
  padding: 15px 32px; border-radius: 3px;
  font-size: 14px; font-weight: 500; font-family: var(--sans);
  border: none; cursor: pointer; display: inline-block;
  transition: background 0.2s, transform 0.1s; letter-spacing: 0.2px;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--muted);
  padding: 15px 24px; border-radius: 3px;
  font-size: 14px; font-weight: 400; font-family: var(--sans);
  border: 1px solid var(--border); cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--white); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px;
}
.section-title em { color: var(--amber); font-style: normal; }
.section-sub {
  font-size: 16px; font-weight: 300; color: var(--muted);
  max-width: 520px; line-height: 1.8; margin-bottom: 52px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 148px 48px 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,138,26,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,138,26,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 68px);
  font-weight: 900; line-height: 1.05; letter-spacing: -2px;
  max-width: 760px; margin-bottom: 22px;
}
.page-hero h1 em { color: var(--amber); font-style: normal; }
.page-hero p { font-size: 17px; font-weight: 300; color: var(--muted); max-width: 540px; line-height: 1.8; }

/* ── SECTIONS ── */
section { padding: 88px 48px; }

/* ── CTA STRIP (shared footer CTA) ── */
.cta-strip {
  text-align: center; padding: 88px 48px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,138,26,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip h2 {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 54px);
  font-weight: 900; line-height: 1.08; letter-spacing: -1.5px;
  max-width: 600px; margin: 0 auto 18px;
}
.cta-strip h2 em { color: var(--amber); font-style: normal; }
.cta-strip p { font-size: 15px; color: var(--muted); margin-bottom: 32px; }

/* ── FOOTER ── */
footer {
  padding: 40px 48px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.footer-logo span { color: var(--amber); }
.footer-tagline { font-size: 12px; color: var(--muted); margin-top: 4px; }
.footer-right { font-size: 12px; color: var(--muted); text-align: right; line-height: 1.7; }

/* ── TICKER ── */
.ticker-section {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-wrap { display: flex; align-items: center; height: 52px; }
.ticker-label {
  display: inline-flex; align-items: center; padding: 0 28px;
  font-size: 10px; font-weight: 500; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--amber);
  background: var(--dark); white-space: nowrap;
  border-right: 1px solid var(--border); height: 52px; flex-shrink: 0;
}
.ticker-overflow { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex; animation: ticker 36s linear infinite; white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px; font-size: 13px; color: var(--muted); white-space: nowrap;
  transition: color 0.2s; cursor: default;
}
.ticker-item::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--amber-dim); flex-shrink: 0; }
.ticker-item:hover { color: var(--white); }

/* ── PULSE ANIMATION ── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 18px; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 120px 20px 60px; }
  section, .cta-strip { padding-left: 20px; padding-right: 20px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right { text-align: center; }
}
