@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1A1A1A;
  background-color: #FAF6F1;
  overflow-x: hidden;
}

::selection {
  background: #E8645A;
  color: #FAF6F1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── PAGE LAYOUT ─── */

.page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ─── HEADER / NAV ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  gap: 1rem;
}

.nav-group-left,
.nav-group-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  flex: 1;
}

.nav-group-left {
  justify-content: flex-start;
}

.nav-group-right {
  justify-content: flex-end;
}

.nav-link {
  font-size: clamp(0.8rem, 1.2vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #4A4A4A;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E8645A;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #1A1A1A;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

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

.nav-cta {
  font-size: clamp(0.78rem, 1.1vw, 0.825rem);
  font-weight: 600;
  color: #FAF6F1;
  background: #1A1A1A;
  padding: 0.55rem 1.35rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: #E8645A;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ─── HERO ─── */

.page-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.7rem, 1vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8645A;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  display: inline-block;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.05;
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
}

.hero-title em {
  font-style: italic;
  color: #E8645A;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: #6B7B8D;
  max-width: 620px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: #FAF6F1;
  background: #E8645A;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 12px rgba(232, 100, 90, 0.25);
}

.primary-button:hover {
  background: #D4554A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 100, 90, 0.35);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: #1A1A1A;
  background: transparent;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(26, 26, 26, 0.18);
  letter-spacing: 0.02em;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.secondary-button:hover {
  border-color: #E8645A;
  background: rgba(232, 100, 90, 0.06);
  transform: translateY(-2px);
}

/* ─── SECTIONS ─── */

.section-wrapper {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-wrapper + .section-wrapper {
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.section-wrapper--alt {
  background: #F2EDE7;
}

.section-wrapper--dark {
  background: #1A1A1A;
  color: #FAF6F1;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.02em;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.section-wrapper--dark .section-heading {
  color: #FAF6F1;
}

.section-heading em {
  font-style: italic;
  color: #E8645A;
}

.lead-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: #6B7B8D;
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.section-wrapper--dark .lead-paragraph {
  color: #9AABB8;
}

.body-text {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.7;
  color: #4A4A4A;
  max-width: 680px;
}

.section-wrapper--dark .body-text {
  color: #9AABB8;
}

.eyebrow-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.68rem, 0.95vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8645A;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  display: block;
}

/* ─── CARD GRID & CARDS ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.card {
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
  border-color: rgba(232, 100, 90, 0.2);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: #F2EDE7;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-meta {
  font-size: 0.8rem;
  color: #6B7B8D;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card-description {
  font-size: clamp(0.85rem, 1.2vw, 0.925rem);
  line-height: 1.65;
  color: #6B7B8D;
}

/* ─── FEATURE LIST ─── */

.feature-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 600px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 100, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E8645A;
  font-size: 1.1rem;
}

.feature-text h4 {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: clamp(0.82rem, 1.1vw, 0.9rem);
  color: #6B7B8D;
  line-height: 1.6;
}

/* ─── TYPOGRAPHY SHOWCASE ─── */

.type-showcase {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  color: #1A1A1A;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

/* ─── STATS ROW ─── */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.stats-row--dark {
  border-color: rgba(250, 246, 241, 0.1);
}

.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #E8645A;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: clamp(0.78rem, 1.1vw, 0.85rem);
  color: #6B7B8D;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.section-wrapper--dark .stat-label {
  color: #9AABB8;
}

/* ─── IMAGE ─── */

.image {
  border-radius: 12px;
  overflow: hidden;
  background: #F2EDE7;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── FOOTER ─── */

.site-footer {
  background: #1A1A1A;
  color: #9AABB8;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(250, 246, 241, 0.08);
}

.footer-brand-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: #FAF6F1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  font-size: clamp(0.82rem, 1.1vw, 0.9rem);
  line-height: 1.65;
  color: #6B7B8D;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FAF6F1;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: clamp(0.82rem, 1.1vw, 0.9rem);
  color: #6B7B8D;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: #E8645A;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.78rem;
  color: #4A5A6A;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7B8D;
  font-size: 0.85rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  border-color: #E8645A;
  color: #E8645A;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .nav-group-left,
  .nav-group-right {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
