:root {
  color-scheme: light;
  --ink: #1d1b19;
  --soft-ink: rgba(29, 27, 25, 0.7);
  --accent: #ea6a48;
  --accent-dark: #b9492c;
  --cream: #f7f1e8;
  --mist: #e7ddd1;
  --sky: #cdd8e8;
  --shadow: 0 28px 80px rgba(46, 31, 12, 0.18);
}

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

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fef9f3 0%, #f6efe6 45%, #efe3d6 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.35;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 48px 8vw 96px;
  z-index: 2;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  margin-bottom: 56px;
}

.logo {
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.65);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(29, 27, 25, 0.1);
  box-shadow: 0 10px 30px rgba(29, 27, 25, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  animation: rise 0.9s ease-out both;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--soft-ink);
}

h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

h1 span {
  display: block;
  color: var(--accent-dark);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--soft-ink);
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #f1997a);
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(234, 106, 72, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 44px rgba(234, 106, 72, 0.45);
}

.cta-note {
  font-size: 0.95rem;
  color: var(--soft-ink);
}

.hero-card {
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 27, 25, 0.08);
  position: relative;
  overflow: hidden;
  animation: float-in 1s ease-out 0.15s both;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(234, 106, 72, 0.2), rgba(255, 255, 255, 0));
  border-radius: 50%;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--soft-ink);
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero-card h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--soft-ink);
}

.hero-card li::before {
  content: "✦";
  color: var(--accent);
  margin-right: 8px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  color: var(--soft-ink);
  font-size: 0.85rem;
}

.tag {
  background: var(--cream);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 27, 25, 0.1);
}

.section {
  padding: 80px 8vw;
  position: relative;
  z-index: 2;
}

.section.alt {
  background: linear-gradient(135deg, #f6f0e7 0%, #e7d8c8 100%);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 32px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.tile {
  background: rgba(255, 255, 255, 0.7);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(29, 27, 25, 0.08);
  box-shadow: 0 12px 30px rgba(42, 28, 14, 0.08);
  animation: rise 0.9s ease-out both;
}

.tile:nth-child(1) {
  animation-delay: 0.05s;
}

.tile:nth-child(2) {
  animation-delay: 0.15s;
}

.tile:nth-child(3) {
  animation-delay: 0.25s;
}

.tile:nth-child(4) {
  animation-delay: 0.35s;
}

.tile-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.quote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.5;
  text-align: center;
}

.quote span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--soft-ink);
  margin-top: 16px;
}

.footer {
  padding: 32px 8vw 48px;
  text-align: center;
  color: var(--soft-ink);
  font-size: 0.95rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .hero-card {
    padding: 24px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
