:root {
  --bg: #0a0a0a;
  --bg-soft: #101010;
  --cream: #f2ede4;
  --text: #f8f6f1;
  --muted: #b8b2a8;
  --line: rgba(242, 237, 228, 0.16);
  --accent: #0f5a43;
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 85% 15%, rgba(15, 90, 67, 0.22), transparent 40%),
    linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 45%, #090909 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 3rem;
  background: rgba(10, 10, 10, 0.64);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 8, 8, 0.92);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.2em;
  font-size: 1.35rem;
  font-weight: 600;
}

.top-nav {
  justify-self: center;
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-nav a,
.footer-links a {
  position: relative;
}

.top-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.24s ease;
}

.top-nav a:hover::after,
.footer-links a:hover::after {
  width: 100%;
}

.header-cta {
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0.5rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: 8rem 2rem 4rem;
  background-image: url("https://images.unsplash.com/photo-1551232864-3f0890e580d9?auto=format&fit=crop&w=1900&q=80");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.88) 20%, rgba(0, 0, 0, 0.35) 75%);
  z-index: -1;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.1;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.hero-subtext {
  max-width: 56ch;
  color: var(--cream);
  margin: 1.4rem 0 2rem;
  font-size: 1rem;
}

.primary-btn {
  display: inline-block;
  background: var(--cream);
  color: #121212;
  padding: 0.95rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(242, 237, 228, 0.28);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6.5rem 2rem;
}

.about {
  text-align: center;
}

.about p {
  margin: 1.5rem auto 0;
  max-width: 64ch;
  color: #d8d3cb;
}

.section-head {
  margin-bottom: 2.5rem;
}

.card-grid,
.value-grid,
.testimonial-grid {
  display: grid;
  gap: 1.4rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.collection-card img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 237, 228, 0.35);
  box-shadow: var(--card-shadow);
}

.collection-card:hover img {
  transform: scale(1.06);
}

.card-content {
  padding: 1.3rem;
}

.card-content p {
  color: #d6d0c6;
}

.card-content a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-item {
  border: 1px solid var(--line);
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.01);
}

.value-item p {
  color: #d6d0c6;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote {
  margin: 0;
  border: 1px solid var(--line);
  padding: 1.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.02);
}

.quote cite {
  margin-top: 1.2rem;
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
}

.newsletter {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.newsletter p {
  color: #d6d0c6;
}

.newsletter-form {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: min(420px, 86vw);
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
}

.newsletter-form button {
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  cursor: pointer;
}

.form-message {
  min-height: 1.2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  padding: 3rem 2rem 2rem;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--cream);
}

.social-links svg {
  width: 1rem;
  height: 1rem;
  fill: var(--cream);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .card-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 1rem 1.4rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.4rem 1.2rem;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .top-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .hero {
    padding-top: 7.6rem;
  }

  .card-grid,
  .value-grid,
  .testimonial-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top {
    text-align: center;
  }

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