:root {
  --sand: #f6efe4;
  --clay: #f0d6b8;
  --coral: #f06f5c;
  --ink: #1e1b18;
  --olive: #5c6b3f;
  --card: #fff8ee;
  --shadow: 0 18px 45px rgba(30, 27, 24, 0.18);
  --page-bg: radial-gradient(circle at top left, #fff7e8 0%, #fbe9d5 35%, #f2d2b3 70%, #f9f0e3 100%);
  --tile-bg: rgba(255, 255, 255, 0.7);
  --hint: rgba(30, 27, 24, 0.7);
  --text-muted: rgba(30, 27, 24, 0.75);
  --text-soft: rgba(30, 27, 24, 0.65);
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  min-height: 100vh;
  padding: 40px 6vw 32px;
  position: relative;
  overflow-x: hidden;
}

.bg-orbit {
  position: absolute;
  inset: -40% auto auto -15%;
  width: 70vmin;
  height: 70vmin;
  background: conic-gradient(from 120deg, rgba(240, 111, 92, 0.18), rgba(92, 107, 63, 0.12), rgba(240, 111, 92, 0.18));
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease-out both;
}

.brand {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: inherit;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: center;
}

.hero-text {
  animation: fadeUp 0.9s ease-out 0.1s both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 12px;
}

h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 52ch;
}

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

.btn {
  background: var(--coral);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(240, 111, 92, 0.35);
}

.btn-light {
  background: var(--ink);
}

.hint {
  font-size: 0.9rem;
  color: var(--hint);
}

.hero-card {
  background: var(--card);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  animation: fadeUp 0.9s ease-out 0.2s both;
}

.card-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(92, 107, 63, 0.12);
  color: var(--olive);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.card-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
}

.swatch {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f06f5c, #f8b178);
}

.card-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 70px 0;
}

.tile {
  background: var(--tile-bg);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 25px rgba(30, 27, 24, 0.12);
  backdrop-filter: blur(4px);
  animation: fadeUp 0.8s ease-out both;
}

.tile:nth-child(1) { animation-delay: 0.1s; }
.tile:nth-child(2) { animation-delay: 0.2s; }
.tile:nth-child(3) { animation-delay: 0.3s; }

.tile h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.tile p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact {
  background: var(--ink);
  color: var(--sand);
  padding: 28px 32px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow);
}

.contact h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact p {
  color: rgba(246, 239, 228, 0.8);
}

.site-footer {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--hint);
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand: #f1e9df;
    --clay: #3a2c22;
    --coral: #f07f6f;
    --ink: #f7f2ea;
    --olive: #9bb079;
    --card: rgba(27, 24, 22, 0.85);
    --shadow: 0 18px 45px rgba(8, 7, 6, 0.55);
    --page-bg: radial-gradient(circle at top left, #2a1f1a 0%, #1b1511 45%, #130f0c 100%);
    --tile-bg: rgba(25, 21, 18, 0.85);
    --hint: rgba(247, 242, 234, 0.7);
    --text-muted: rgba(247, 242, 234, 0.78);
    --text-soft: rgba(247, 242, 234, 0.6);
  }

  .bg-orbit {
    background: conic-gradient(from 120deg, rgba(240, 127, 111, 0.25), rgba(155, 176, 121, 0.15), rgba(240, 127, 111, 0.25));
    filter: blur(14px);
  }

  .pill {
    background: rgba(155, 176, 121, 0.18);
    color: var(--olive);
  }

  .btn-light {
    background: #f7f2ea;
    color: #1b1511;
  }

  .contact {
    background: #14110e;
    color: #f7f2ea;
    box-shadow: 0 18px 45px rgba(7, 6, 5, 0.7);
  }
}

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
    margin: 48px 0;
  }

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

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
