/* Clockwork Clover — Landing Page Styles */

/* ---- Variables ---- */
:root {
  --black: #000000;
  --gold: #C9A84C;
  --gold-light: #D4AF37;
  --cream: #faf6ef;
  --warm-white: #fffdf7;
  --charcoal: #1a1a1a;
  --muted: #6b6b5e;
  --border: #e0d8c8;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --radius: 12px;
  /* Book page variables */
  --fg: #1A0F0A;
  --fg-muted: #6b6b5e;
  --bg-card: var(--warm-white);
  --accent: var(--gold);
  --accent-glow: rgba(201, 168, 76, 0.08);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- Base ---- */
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,135,58,0.2);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  height: 40px;
  max-height: 40px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-family: system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); text-decoration: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_159067/538bc339-e1ae-48cd-906e-a7a37833e6a7.jpg');
  background-size: cover;
  background-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.7) 60%,
    rgba(0,0,0,0.9) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--warm-white);
  padding: 2rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--warm-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.hero-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--black);
}

/* ---- Sub-brands bar ---- */
.sub-bar {
  background: var(--black);
  padding: 3rem 2rem;
  text-align: center;
}
.sub-bar h2 {
  color: var(--warm-white);
  margin-bottom: 0.5rem;
}
.sub-bar p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}
.sub-pills {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sub-pill {
  display: inline-block;
  border: 1px solid rgba(201,135,58,0.5);
  color: var(--gold-light);
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

/* ---- About ---- */
.about {
  padding: 6rem 2rem;
  background: var(--warm-white);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0.5rem; }
.section-desc {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.pillar {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}
.pillar h3 { margin-bottom: 0.75rem; color: var(--black); }
.pillar p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.25rem; }
.pillar-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.08);
  color: var(--black);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

/* ---- Products ---- */
.products {
  padding: 6rem 2rem;
  background: var(--cream);
}
.products-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-card h3 {
  color: var(--black);
  font-size: 1.1rem;
}
.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.product-badge {
  font-family: system-ui, sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  align-self: flex-start;
  display: inline-block;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--black);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  color: var(--warm-white);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--black);
}

/* ---- Footer ---- */
.footer {
  background: #000000;
  padding: 3rem 2rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
}
.footer a { color: var(--gold-light); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-tagline { font-size: 1rem; }
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.7s ease-out both; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }