:root {
  color-scheme: light;
  --ink: #171313;
  --muted: #685f5b;
  --line: #e8dfd9;
  --paper: #fffaf7;
  --soft: #f7eee8;
  --rose: #ba4a67;
  --wine: #642438;
  --mint: #2f8b7c;
  --gold: #b88746;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(60, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 14px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  color: var(--white);
  background: rgba(23, 19, 19, 0.54);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact-links,
.product-meta,
.video-foot {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--wine);
  background: var(--white);
  font-weight: 900;
}

.nav {
  justify-content: center;
  flex: 1;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-action,
.btn,
.mini-action {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.header-action {
  padding: 12px 16px;
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #171313;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 19, 19, 0.86) 0%, rgba(23, 19, 19, 0.54) 45%, rgba(23, 19, 19, 0.12) 100%),
    linear-gradient(0deg, rgba(23, 19, 19, 0.72) 0%, rgba(23, 19, 19, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin: 0 0 150px clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c78d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.58;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 14px 20px;
}

.primary {
  color: var(--white);
  background: var(--rose);
}

.secondary {
  color: var(--ink);
  background: var(--white);
}

.metric-strip {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.metric-strip div {
  padding: 22px;
}

.metric-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  margin-bottom: 6px;
  font-size: 26px;
}

.metric-strip span {
  color: rgba(255, 255, 255, 0.75);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
}

.intro > p,
.contact-copy p,
.service-card p,
.product-card p,
.course-card p,
.video-body p {
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.text-link,
.small-note {
  color: var(--muted);
}

.service-grid,
.product-grid,
.course-grid,
.video-grid {
  display: grid;
  gap: 18px;
}

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

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

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-card,
.product-card,
.course-card,
.video-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(82, 53, 42, 0.08);
}

.service-card,
.product-card,
.course-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.service-card ul,
.course-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.mini-action {
  margin-top: auto;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--wine);
  background: var(--soft);
}

.product-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: #f0f7f4;
}

.product-image {
  min-height: 190px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 19, 19, 0.05), rgba(23, 19, 19, 0.24)),
    url("https://unsplash.com/photos/Jn1ZW70zPRw/download?force=true&w=900") center / cover;
}

.product-meta {
  justify-content: space-between;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.product-card strong,
.course-card strong,
.video-foot strong {
  color: var(--wine);
  font-size: 24px;
}

.course-card.featured {
  color: var(--white);
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: var(--shadow);
}

.course-card.featured p,
.course-card.featured ul {
  color: rgba(255, 255, 255, 0.76);
}

.course-card > span,
.video-body > span {
  color: var(--gold);
  font-weight: 900;
}

.video-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
}

.video-section .small-note,
.video-section .video-body p {
  color: rgba(255, 255, 255, 0.68);
}

.video-card {
  overflow: hidden;
  background: #241d1d;
  border-color: rgba(255, 255, 255, 0.12);
}

.video-preview {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #382d2d;
}

.video-preview img,
.video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 19, 19, 0.52), rgba(23, 19, 19, 0.02));
}

.video-preview span,
.play-preview {
  position: absolute;
  z-index: 2;
}

.video-preview span {
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}

.play-preview {
  right: 14px;
  bottom: 14px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--rose);
  cursor: pointer;
}

.video-preview.pulse {
  animation: pulse 0.7s ease;
}

@keyframes pulse {
  50% {
    filter: brightness(1.24);
  }
}

.video-body {
  padding: 20px;
}

.video-foot {
  justify-content: space-between;
  gap: 12px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: start;
}

.contact-links {
  gap: 10px;
  flex-wrap: wrap;
}

.contact-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(18px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-content {
    margin-bottom: 210px;
  }

  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid,
  .course-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px;
  }

  .header-action {
    margin-left: auto;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 300px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .metric-strip,
  .service-grid,
  .product-grid,
  .course-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
