@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================================
   SENSLY — Complete Stylesheet
   Naming: semantic kebab-case, no framework
   Layout: CSS Grid + Flexbox mixed
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

/* ── Design Tokens ── */
:root {
  /* palette — dark terracotta-anchored theme */
  --c-bg:          #1a1410;
  --c-surface:     #221c16;
  --c-surface-2:   #2c231b;
  --c-surface-3:   #352a20;
  --c-border:      rgba(255,255,255,0.08);
  --c-border-hover:rgba(255,255,255,0.18);

  --c-terra:       #c0674a;
  --c-terra-light: #d4836a;
  --c-terra-dim:   #8a4535;
  --c-sage:        #7a9e82;
  --c-sage-light:  #9dbfa6;
  --c-sand:        #c9b89a;
  --c-sand-light:  #dfd0b8;
  --c-ivory:       #f2ede6;
  --c-slate:       #8a9099;

  /* text */
  --t-primary:   #f0ebe3;
  --t-secondary: #b8aa99;
  --t-muted:     #7a6e63;
  --t-on-accent: #1a1410;

  /* type */
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'DM Sans', system-ui, sans-serif;

  /* fluid scale */
  --step--1: clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --step-0:  clamp(0.9375rem,0.875rem + 0.3vw,  1rem);
  --step-1:  clamp(1.0625rem,0.95rem  + 0.55vw, 1.25rem);
  --step-2:  clamp(1.25rem,  1.05rem  + 0.9vw,  1.625rem);
  --step-3:  clamp(1.5rem,   1.15rem  + 1.6vw,  2.25rem);
  --step-4:  clamp(2rem,     1.4rem   + 2.6vw,  3.25rem);
  --step-5:  clamp(2.75rem,  1.8rem   + 4vw,    5rem);
  --step-6:  clamp(3.5rem,   2rem     + 6vw,    7rem);

  /* spacing */
  --sp-1:  clamp(0.25rem, 0.2rem  + 0.25vw, 0.375rem);
  --sp-2:  clamp(0.5rem,  0.4rem  + 0.5vw,  0.75rem);
  --sp-3:  clamp(0.75rem, 0.6rem  + 0.75vw, 1.125rem);
  --sp-4:  clamp(1rem,    0.8rem  + 1vw,    1.5rem);
  --sp-5:  clamp(1.5rem,  1.1rem  + 1.75vw, 2.5rem);
  --sp-6:  clamp(2rem,    1.3rem  + 3vw,    4rem);
  --sp-7:  clamp(3rem,    1.8rem  + 5vw,    6.5rem);
  --sp-8:  clamp(4.5rem,  2.5rem  + 8vw,   10rem);

  /* radii */
  --r-sm:  4px;
  --r-md:  10px;
  --r-lg:  20px;
  --r-xl:  36px;
  --r-pill:999px;

  /* shadows */
  --sh-card:  0 2px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
  --sh-float: 0 8px 48px rgba(0,0,0,0.6);
  --sh-glow:  0 0 32px rgba(192,103,74,0.25);

  /* transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.35s;
}

/* ── Base ── */
html, body {
  background-color: var(--c-bg);
  color: var(--t-primary);
  font-family: var(--ff-sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100%;
}

/* ── Container ── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.wrap--narrow {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--t-primary);
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }

p {
  font-size: var(--step-0);
  color: var(--t-secondary);
  line-height: 1.75;
  max-width: 68ch;
}

strong { font-weight: 500; color: var(--t-primary); }
em { font-style: italic; color: var(--c-sand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terra-light);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-terra);
  flex-shrink: 0;
}

.lead {
  font-size: var(--step-1);
  color: var(--t-secondary);
  line-height: 1.65;
  max-width: 58ch;
}

/* ── Links ── */
a:not([class]) {
  color: var(--c-sand-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}
a:not([class]):hover { color: var(--c-terra-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75em 1.75em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--c-terra);
  color: var(--t-on-accent);
  border-color: var(--c-terra);
}
.btn--primary:hover {
  background: var(--c-terra-light);
  border-color: var(--c-terra-light);
  box-shadow: var(--sh-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--t-primary);
  border-color: var(--c-border-hover);
}
.btn--ghost:hover {
  background: var(--c-surface-2);
  border-color: var(--c-sand);
  color: var(--c-sand-light);
}

.btn--sage {
  background: var(--c-sage);
  color: var(--t-on-accent);
  border-color: var(--c-sage);
}
.btn--sage:hover {
  background: var(--c-sage-light);
  border-color: var(--c-sage-light);
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 20, 16, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 62px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.site-header__logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.site-header__wordmark {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--t-primary);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.site-nav__link {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--t-secondary);
  padding: 0.4em 0.75em;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--t-primary);
  background: var(--c-surface-2);
}

.site-header__cta {
  flex-shrink: 0;
}

/* hamburger */
.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease);
}
.site-header__burger:hover { background: var(--c-surface-2); }
.site-header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--t-primary);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* mobile nav drawer */
.site-nav--mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: var(--sp-3) 0 var(--sp-4);
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}
.site-nav--mobile .site-nav__link {
  padding: 0.75em var(--sp-4);
  border-radius: 0;
  font-size: var(--step-0);
}
.site-nav--mobile.is-open { display: flex; }

/* ── Footer ── */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-7) var(--sp-5);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--c-border);
}

.site-footer__brand-col .site-header__wordmark {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
  display: block;
}

.site-footer__tagline {
  font-size: var(--step--1);
  color: var(--t-muted);
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: var(--sp-4);
}

.site-footer__social {
  display: flex;
  gap: var(--sp-2);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  color: var(--t-muted);
  font-size: 0.8rem;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-footer__social-link:hover {
  border-color: var(--c-terra);
  color: var(--c-terra-light);
  background: rgba(192,103,74,0.08);
}

.site-footer__col-label {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: var(--sp-3);
}

.site-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.site-footer__col-links a {
  font-size: var(--step--1);
  color: var(--t-secondary);
  transition: color var(--dur) var(--ease);
}
.site-footer__col-links a:hover { color: var(--c-sand-light); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: var(--step--1);
  color: var(--t-muted);
}

.site-footer__legal {
  display: flex;
  gap: var(--sp-4);
}
.site-footer__legal a {
  font-size: var(--step--1);
  color: var(--t-muted);
  transition: color var(--dur) var(--ease);
}
.site-footer__legal a:hover { color: var(--t-secondary); }

/* ── Hero ── */
.hero-section {
  padding-block: var(--sp-8) var(--sp-7);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 70% 40%, rgba(192,103,74,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(122,158,130,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.hero-grid__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hero-grid__title {
  font-size: var(--step-6);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-grid__title em {
  color: var(--c-terra-light);
  font-style: italic;
}

.hero-grid__subtitle {
  font-size: var(--step-1);
  color: var(--t-secondary);
  line-height: 1.65;
  max-width: 46ch;
}

.hero-grid__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}

.hero-grid__image {
  position: relative;
}

.hero-grid__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-float);
}

.hero-grid__image::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

/* ── Generic Content Section ── */
.content-section {
  padding-block: var(--sp-7);
}

.content-section__header {
  margin-bottom: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.content-section__heading {
  font-size: var(--step-4);
}

.content-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.content-section__body p { max-width: 68ch; }

/* ── Card Grid ── */
.card-grid-section {
  padding-block: var(--sp-7);
}

.card-grid-section__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--sh-card);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--c-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-terra-light);
  flex-shrink: 0;
}

.card__title {
  font-family: var(--ff-serif);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--t-primary);
  line-height: 1.25;
}

.card__text {
  font-size: var(--step--1);
  color: var(--t-secondary);
  line-height: 1.7;
  max-width: none;
}

/* ── Stats Row ── */
.stats-section {
  padding-block: var(--sp-7);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4);
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: var(--ff-serif);
  font-size: var(--step-5);
  font-weight: 300;
  color: var(--c-terra-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item__label {
  font-size: var(--step--1);
  color: var(--t-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: none;
}

/* ── CTA Band ── */
.cta-section {
  padding-block: var(--sp-7);
}

.cta-band {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(192,103,74,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band__heading {
  font-size: var(--step-4);
  max-width: 18ch;
  position: relative;
}

.cta-band__text {
  font-size: var(--step-0);
  color: var(--t-secondary);
  max-width: 50ch;
  position: relative;
}

.cta-band__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* ── FAQ ── */
.faq-section {
  padding-block: var(--sp-7);
}

.faq-section__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-border);
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  font-family: var(--ff-serif);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--t-primary);
  text-align: left;
  transition: color var(--dur) var(--ease);
}
.faq-item__question:hover { color: var(--c-sand-light); }

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-terra);
  transition: transform var(--dur) var(--ease);
}

.faq-item__answer {
  padding-bottom: var(--sp-4);
  padding-right: var(--sp-6);
}

.faq-item__answer p {
  font-size: var(--step-0);
  color: var(--t-secondary);
  max-width: 72ch;
}

details.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: var(--c-border);
  margin-block: 0;
}

/* ── Subtle ornament used in sections ── */
.section-ornament {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-terra), transparent);
  border-radius: 2px;
  margin-bottom: var(--sp-2);
}

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-muted);
}

.form-input,
.form-textarea {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.75em 1em;
  color: var(--t-primary);
  font-size: var(--step-0);
  font-family: var(--ff-sans);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-terra);
  box-shadow: 0 0 0 3px rgba(192,103,74,0.15);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--t-muted); }

.form-textarea { resize: vertical; min-height: 120px; }

/* ── Image utilities ── */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-rounded { border-radius: var(--r-lg); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--c-border); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__burger { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .hero-grid__image { order: -1; }
  .hero-grid__image img { aspect-ratio: 16 / 9; }

  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .cta-band { padding: var(--sp-6) var(--sp-4); }
}

@media (max-width: 520px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border); }
  .stat-item:last-child { border-bottom: none; }

  .hero-grid__actions { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { flex-direction: column; align-items: center; }

  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}
html{-webkit-text-size-adjust:100%}
body{margin:0}
img,svg,video{max-width:100%;height:auto}
*{box-sizing:border-box}
