:root {
  --bg: #f7f7f6;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f2f3f5;
  --text: #141923;
  --muted: #5c6676;
  --accent: #c99a3d;
  --accent-deep: #ad812b;
  --line: #dde2ea;
  --shadow: 0 14px 36px rgba(22, 30, 45, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfbfb 0%, #f3f5f8 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
}

.logo-sub {
  width: 178px;
  height: auto;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-list a {
  text-decoration: none;
  color: #2e3746;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list a:hover {
  color: var(--accent-deep);
}

.hero {
  padding: 5.6rem 0 3.3rem;
}

.hero-compact {
  padding-bottom: 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 0.82rem;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

p {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.78rem;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  border-radius: 999px;
  text-decoration: none;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #dbb15a, #bf9038);
  color: #1f232d;
  box-shadow: 0 9px 22px rgba(201, 154, 61, 0.25);
}

.btn-ghost {
  border-color: #ccd4e1;
  color: #2c3544;
  background: #ffffff;
}

.btn-ghost:hover {
  border-color: #aeb9c9;
}

.hero-media img,
.routine-image img,
.gallery-grid img {
  border-radius: 1rem;
  border: 1px solid #d4dbe6;
  box-shadow: var(--shadow);
  background: #fff;
}

.section {
  padding: 4rem 0;
}

.page-hero {
  padding-bottom: 2rem;
}

.section-alt {
  background: #f0f3f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-heading p:last-child {
  color: var(--muted);
}

.about-grid,
.routine-layout,
.community-layout,
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.routine-layout {
  align-items: center;
}

.about-logos {
  display: grid;
  gap: 1rem;
}

.about-logos img {
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.journal-grid,
.review-grid-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-waterfall {
  column-count: 3;
  column-gap: 1rem;
}

.editorial-item {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  background: var(--surface);
  border: 1px solid #d8dee8;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.editorial-item img {
  border-radius: 0.8rem;
  border: 1px solid #d6dde8;
  margin-bottom: 0.8rem;
}

.editorial-item p {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.editorial-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.editorial-link:hover {
  text-decoration: underline;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.article-card,
.video-card,
.testimonial,
.page-card {
  background: var(--surface);
  border: 1px solid #d8dee8;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.page-card {
  text-decoration: none;
}

.page-card p,
.article-card p,
.product-card .meta,
.steps p,
.testimonial span {
  color: var(--muted);
}

.article-card .tag {
  display: inline-block;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-card .price {
  margin-top: auto;
  color: var(--accent-deep);
  font-weight: 700;
}

.steps {
  margin: 0;
  padding-left: 1.1rem;
}

.steps li {
  margin-bottom: 0.6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.video-card video {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid #d6dde8;
}

.testimonial-grid {
  display: grid;
  gap: 0.9rem;
}

.newsletter-form {
  width: min(460px, 100%);
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.input-row {
  display: flex;
  gap: 0.6rem;
}

.input-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cdd5e2;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: var(--text);
  background: #ffffff;
  font: inherit;
}

.input-row input::placeholder {
  color: #8892a3;
}

.input-row input:focus {
  outline: 2px solid rgba(201, 154, 61, 0.26);
  border-color: var(--accent);
}

#form-status {
  margin-top: 0.6rem;
  display: block;
  color: var(--muted);
}

.site-footer {
  background: #ffffff;
  color: var(--text);
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.7rem;
}

.footer-simple {
  text-align: center;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  margin-bottom: 0.55rem;
}

.footer-line .logo-sub {
  width: 150px;
}

.footer-line p {
  margin: 0;
  color: #2b3341;
}

.copyright {
  color: #7a8599;
  font-size: 0.88rem;
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid,
  .video-grid,
  .review-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-waterfall {
    column-count: 2;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .routine-layout,
  .community-layout,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 3.2rem 0;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-sub {
    width: 152px;
  }

  .card-grid,
  .journal-grid,
  .video-grid,
  .review-grid-home,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .editorial-waterfall {
    column-count: 1;
  }

  .input-row {
    flex-direction: column;
  }

  .footer-line {
    gap: 0.5rem;
  }

  .footer-line .logo-sub {
    width: 126px;
  }

  .footer-line p {
    font-size: 0.86rem;
  }
}
