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

:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --ink: #0d0d0d;
  --ink-soft: #2d2d2d;
  --ink-muted: #6b7280;
  --cream: #faf8f3;
  --cream-dark: #f0ece4;
  --cream-border: #e8e0d0;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.7; overflow-x: hidden; cursor: none; }

.cursor-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999; transform: translate(-50%,-50%); transition: width 0.2s, height 0.2s; }
.cursor-ring { width: 32px; height: 32px; border: 1.5px solid var(--red); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99998; transform: translate(-50%,-50%); transition: transform 0.12s ease, width 0.25s, height 0.25s; opacity: 0.5; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

h1,h2,h3 { font-family: var(--serif); line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; cursor: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }

.section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.section-label::before { content: ''; width: 24px; height: 1.5px; background: var(--red); display: inline-block; }

.red-rule { width: 48px; height: 3px; background: var(--red); margin: 1.25rem 0; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 4px; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; cursor: none; transition: var(--transition); border: none; position: relative; overflow: hidden; }
.btn span { position: relative; z-index: 1; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; transition: left 0.3s ease; z-index: 0; }
.btn:hover::before { left: 0; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary::before { background: var(--red); }
.btn-primary:hover { color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); }

.card { background: var(--white); border: 1px solid var(--cream-border); border-radius: 8px; padding: 2rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-left: 3px solid var(--red); }

.chip { display: inline-flex; align-items: center; padding: 0.3rem 0.8rem; background: var(--cream-dark); border: 1px solid var(--cream-border); border-radius: 100px; font-size: 0.75rem; font-weight: 500; color: var(--ink-soft); transition: var(--transition); margin: 0.2rem; }
.chip:hover { background: var(--red); color: var(--white); border-color: var(--red); }

#open-pill { position: fixed; bottom: 2rem; right: 2rem; z-index: 9000; background: var(--ink); color: var(--white); padding: 0.65rem 1.25rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; box-shadow: var(--shadow-lg); cursor: none; transition: var(--transition); transform: translateY(80px); opacity: 0; text-decoration: none; }
#open-pill.show { transform: translateY(0); opacity: 1; }
#open-pill:hover { background: var(--red); transform: translateY(-2px); }
.pill-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 8000; background: rgba(250,248,243,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: var(--transition); transform: translateY(-100%); animation: slideDown 0.5s 0.3s ease forwards; }
#nav.scrolled { border-color: var(--cream-border); }
@keyframes slideDown { to { transform: translateY(0); } }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--ink-muted); position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--red); transition: width 0.25s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 0.4rem 1rem !important; border-radius: 4px !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; color: var(--white) !important; }

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-ink { background: var(--ink); color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

@media(max-width:768px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .nav-links { display: none; }
}
