/* ==========================================
   IN-HAUS — TYPOGRAPHY & GLOBAL ELEMENTS
   Replace the contents of: inhaus-typography.css
========================================== */

:root {
  --ih-font: "Inter", Arial, sans-serif;
  --ih-black: #111111;
  --ih-text: #444444;
  --ih-muted: #777777;
  --ih-green: #0f4f3a;
  --ih-green-dark: #083326;
  --ih-green-soft: #eaf3ee;
  --ih-gold: #ddbb63;
  --ih-white: #ffffff;
  --ih-cream: #f8f5f1;
}

body {
  color: var(--ih-text);
  font-family: var(--ih-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--ih-black);
  font-family: var(--ih-font);
  text-wrap: balance;
}

h1,
.elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h3,
.elementor-widget-heading h3.elementor-heading-title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

h5 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

h6 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

p,
li {
  color: inherit;
  font-size: inherit;
  line-height: 1.75;
}

small,
figcaption,
.wp-caption-text {
  color: var(--ih-muted);
  font-size: 13px;
  line-height: 1.55;
}

a {
  color: var(--ih-green);
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--ih-gold);
}

button,
input[type="button"],
input[type="submit"],
.elementor-button {
  font-family: var(--ih-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

input,
textarea,
select {
  font-family: var(--ih-font);
  font-size: 14px;
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 1.65;
  }

  h1,
  .elementor-widget-heading h1.elementor-heading-title {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1;
  }

  h2,
  .elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(24px, 7vw, 28px);
  }

  h3,
  .elementor-widget-heading h3.elementor-heading-title {
    font-size: clamp(19px, 5.5vw, 22px);
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a,
  button,
  .elementor-button {
    transition: none;
  }
}
