/* ===== Design system ===== */
:root {
  --bg: #faf9f6;
  --bg-subtle: #f5f4f0;
  --ink: #0f1729;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --accent: #8b6914;
  --accent-light: #a67c1a;
  --accent-soft: rgba(139, 105, 20, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius: 2px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset & base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.header {
  padding: var(--space-lg) var(--space-xl) 0;
  flex-shrink: 0;
}

.logo {
  display: inline-block;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* ===== Hero ===== */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
}

.hero-content {
  text-align: center;
}

.hero-headings {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1rem);
  animation: reveal 0.8s var(--transition) forwards;
}

.hero-word:nth-child(1) { animation-delay: 0.15s; }
.hero-word:nth-child(2) { animation-delay: 0.35s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Divider ===== */
.divider {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--space-xl);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-muted));
}

.divider::after {
  background: linear-gradient(90deg, var(--ink-muted), transparent);
}

.divider-mark {
  width: 4px;
  height: 4px;
  margin: 0 var(--space-md);
  background: var(--accent);
  border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  text-align: center;
}

.company-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.tagline {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.65;
}

.accent-word {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    padding: var(--space-md) var(--space-lg) 0;
  }

  .hero {
    padding: var(--space-xl) var(--space-lg);
  }

  .hero-headings {
    flex-direction: column;
    gap: 0.25em;
  }

  .divider,
  .footer {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .footer {
    padding-bottom: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 48px;
    height: 48px;
  }
}
