/* Tee Kaaslane — implemented from design_handoff_teekaaslane_site (tokens verbatim) */

:root {
  /* Colors */
  --cream: #F7F4EF;
  --espresso: #3A2F29;
  --taupe: #6C655F;
  --caramel: #B98B67;
  --cream-2: #F1ECE4;
  --cream-3: #EAE3D8;
  --caramel-dark: #A67A57;
  --caramel-soft: #E9D9CB;
  --sage: #6B7A54;
  --line: #E0D8CC;
  --bg-page: var(--cream);
  --bg-section-alt: var(--cream-2);
  --surface-card: #FFFFFF;
  --text-heading: var(--espresso);
  --text-body: var(--taupe);
  --text-on-accent: #FFFFFF;
  --accent: var(--caramel);
  --accent-hover: var(--caramel-dark);
  --border-hairline: var(--line);

  /* Spacing / layout */
  --space-section: clamp(96px, 14vw, 160px);
  --measure: 62ch;
  --page-max: 1120px;

  /* Radius */
  --radius-card: 20px;
  --radius-button: 999px;
  --radius-image: 24px;

  /* Shadows */
  --shadow-card: 0 2px 6px rgba(58, 47, 41, 0.05), 0 16px 40px rgba(58, 47, 41, 0.07);
  --shadow-button: 0 8px 24px rgba(185, 139, 103, 0.35);

  /* Motion */
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration-fast: 180ms;
  --duration-slow: 600ms;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --text-hero: clamp(56px, 9vw, 112px);
  --text-h2: clamp(34px, 4.5vw, 52px);
  --text-h3: 28px;
  --text-lead: 21px;
  --text-base: 17px;
  --text-small: 14px;
  --text-overline: 13px;
  --leading-body: 1.7;
  --leading-heading: 1.1;
  --tracking-hero: 0.14em;
  --tracking-overline: 0.22em;
  --weight-display: 500;
  --weight-display-light: 400;
}

/* Base */
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--leading-heading);
  font-weight: var(--weight-display);
  margin: 0;
}
p { margin: 0; }
img { display: block; }

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.nav-brand span {
  font: 500 15px var(--font-body);
  letter-spacing: 0.06em;
  color: var(--text-heading);
}
.nav-mail {
  font: 500 14px var(--font-body);
  letter-spacing: 0.02em;
  color: var(--text-body);
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding-top: clamp(64px, 10vw, 130px);
  padding-bottom: var(--space-section);
}
.hero h1 {
  font-size: var(--text-hero);
  letter-spacing: var(--tracking-hero);
  text-transform: uppercase;
  font-weight: var(--weight-display-light);
}
.hero-sub {
  font: 400 var(--text-lead)/1.6 var(--font-body);
  color: var(--text-body);
  margin: 24px auto 0;
  max-width: 34ch;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Button (primary pill) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-button);
  font: 500 var(--text-base) var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-button);
  transition: background var(--duration-fast) var(--ease-soft),
              box-shadow var(--duration-fast) var(--ease-soft),
              transform var(--duration-fast) var(--ease-soft);
}
.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 28px rgba(185, 139, 103, 0.45);
}
.btn:active { transform: scale(0.98); }

/* Divider: rule — dot — rule */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 220px;
  margin: var(--space-section) auto 0;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}
.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Teenus */
.teenus {
  padding-bottom: var(--space-section);
  text-align: center;
}
.teenus-inner {
  max-width: var(--measure);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.teenus-lead {
  font: var(--weight-display) clamp(24px, 3vw, 32px)/1.5 var(--font-display);
  color: var(--text-heading);
}
.teenus-em {
  font: 500 var(--text-base)/var(--leading-body) var(--font-body);
  color: var(--text-heading);
}

/* Section heading */
.sh-center { text-align: center; }
.sh-overline {
  font: 500 var(--text-overline) var(--font-body);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.sh h2 { font-size: var(--text-h2); }

/* Alternate background band */
.band {
  background: var(--bg-section-alt);
  padding: var(--space-section) 0;
}

/* Probleemid list */
.prob-list {
  max-width: 560px;
  margin: 48px auto 0;
}
.prob-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 4px;
  border-top: 1px solid var(--border-hairline);
}
.prob-row:first-child { border-top: none; }
.prob-num {
  font: var(--weight-display) 22px var(--font-display);
  color: var(--accent);
  min-width: 24px;
}
.prob-text { font: 400 var(--text-base)/1.6 var(--font-body); }

/* Minust */
.minust { padding: var(--space-section) clamp(20px, 5vw, 48px); }
.minust-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.minust-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-image);
}
.minust-body { margin-top: 24px; }
@media (max-width: 720px) {
  .minust-grid { grid-template-columns: 1fr; }
}

/* Hinnakiri */
.hinnakiri { padding-bottom: var(--space-section); }
.hinnakiri-inner {
  max-width: 560px;
  margin: 0 auto;
}
.card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}
.price-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.price-label { white-space: nowrap; }
.price-leader {
  flex: 1;
  border-bottom: 1px dotted var(--border-hairline);
  transform: translateY(-4px);
}
.price-value {
  font: var(--weight-display) var(--text-h3) var(--font-display);
  color: var(--text-heading);
  white-space: nowrap;
}
.price-note {
  font: 400 var(--text-small)/1.6 var(--font-body);
  text-align: center;
  margin-top: 22px;
}
.disclaimer {
  font: 400 13px/1.6 var(--font-body);
  opacity: 0.8;
  text-align: center;
  margin-top: 24px;
}

/* CTA */
.cta { text-align: center; }
.cta-inner { max-width: 640px; }
.cta h2 { font-size: var(--text-h2); }
.cta-body { margin: 20px 0 36px; }
.cta-mail {
  font: 400 var(--text-small) var(--font-body);
  margin-top: 20px;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  padding-bottom: 36px;
  font: 400 13px var(--font-body);
}
.footer a {
  color: var(--text-body);
  text-decoration: none;
}

/* Scroll reveal — only when JS is running, and never for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--duration-slow) var(--ease-soft),
                transform var(--duration-slow) var(--ease-soft);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}
