:root {
  --deep-forest: #0f1f1a;
  --earth: #a68b5b;
  --sand: #f2ede3;
  --amber: #d49a2a;
  --charcoal: #1a1a1a;
  --card: #162820;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  background: var(--deep-forest);
  color: var(--sand);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: var(--amber);
  color: var(--deep-forest);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: #b8821f;
}

/* --- Navigation --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  margin-bottom: -72px;
  padding: 0 40px;
  background: transparent;
  transition: background 0.4s var(--ease);
}

.nav.scrolled {
  background: var(--deep-forest);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 101;
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: var(--earth);
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color 0.25s var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--earth);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--sand);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Hero --- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px 80px;
  background: radial-gradient(ellipse at 60% 40%, #1a2e25 0%, #0f1f1a 70%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-mark {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  animation: fade-in 0.8s ease both;
}

.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 96px;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: -0.02em;
  line-height: 1;
  animation: fade-up 0.6s var(--ease) 0.3s both;
}

.hero-eyebrow {
  margin-top: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--earth);
  animation: fade-up 0.6s var(--ease) 0.8s both;
}

.hero-promise {
  margin: 20px 0 40px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
  animation: fade-up-soft 0.6s var(--ease) 1.1s both;
}

.hero-inner .btn {
  animation: fade-up 0.6s var(--ease) 1.4s both;
}

/* --- Products --- */

.products {
  background: var(--deep-forest);
  padding: 120px 40px;
}

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

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--earth);
}

.section-title {
  margin: 16px 0 64px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 48px;
  background: var(--card);
  border-top: 1px solid var(--earth);
  border-radius: 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.product-card:nth-child(1) { transition-delay: 0s; }
.product-card:nth-child(2) { transition-delay: 0.15s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }
.product-card:nth-child(4) { transition-delay: 0.45s; }
.product-card:nth-child(5) { transition-delay: 0.6s; }

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.coming-soon h3,
.product-card.coming-soon p {
  opacity: 0.65;
}

.product-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.product-byline {
  margin-top: 8px;
  font-size: 13px;
  font-style: italic;
  color: var(--earth);
}

.product-card > p:not(.product-byline) {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sand);
  opacity: 0.65;
}

.product-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
}

.product-actions .btn {
  flex: 1;
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--earth);
}

/* --- About --- */

.about {
  background: var(--sand);
  padding: 120px 40px;
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  margin: 16px 0 40px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--deep-forest);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-inner > p:not(.section-eyebrow):not(.about-close) {
  font-size: 17px;
  line-height: 1.8;
  color: var(--charcoal);
  text-align: left;
}

.about-inner > p:not(.section-eyebrow):not(.about-close) + p:not(.about-close) {
  margin-top: 24px;
}

.about-close {
  margin-top: 48px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--earth);
  text-align: center;
}

/* --- Footer --- */

.footer {
  background: var(--deep-forest);
  padding: 64px 40px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 240px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sand);
  opacity: 0.5;
}

.footer-wordmark-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-wordmark-row span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  color: var(--earth);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--sand);
  opacity: 0.7;
  transition: opacity 0.25s var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-social a {
  color: var(--sand);
  opacity: 0.6;
  transition: opacity 0.25s var(--ease);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  opacity: 1;
}

.footer-rule {
  height: 1px;
  background: var(--earth);
  opacity: 0.2;
}

.footer-copy {
  margin-top: 24px;
  font-size: 11px;
  color: var(--sand);
  opacity: 0.4;
  text-align: center;
}

/* --- Motion --- */

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up-soft {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* --- Breakpoints: 1280 desktop, 768 tablet, 375 mobile --- */

@media (max-width: 1279px) {
  .hero-title {
    font-size: 72px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .product-card {
    padding: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .nav {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: var(--deep-forest);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .nav.is-open .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    font-size: 22px;
    letter-spacing: 0.22em;
  }

  .hero {
    padding: 0 20px 64px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-promise {
    font-size: 18px;
  }

  .products,
  .about {
    padding: 80px 20px;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 48px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .about-title {
    font-size: 32px;
  }

  .footer {
    padding: 48px 20px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 374px) {
  .hero-title {
    font-size: 44px;
  }

  .nav-wordmark {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .product-card {
    opacity: 1;
    transform: none;
  }

  .product-card.coming-soon h3,
  .product-card.coming-soon p {
    opacity: 0.65;
  }
}
