
:root {
  --font-heading: "Geologica", "Manrope", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-text: #2a2926;
  --color-muted: #716b64;
  --color-accent: #72695f;
  --color-ink: #3a3833;
  --color-sage: #c8c2b8;
  --color-white: #ffffff;
  --color-cream: #f7f5f0;
  --color-cream-soft: #f5f2ea;
  --color-dark: #2f2d29;
  --color-dark-strong: #211f1b;
  --color-dark-panel: #292722;
  --color-gold: #e8c486;
  --color-gold-hover: #f0d39a;
  --color-gold-muted: #c9a074;
  --color-gold-text: #8a6732;
  --color-danger: #b51f1f;
  --color-surface-soft: #ebe7df;
  --color-surface-muted: #f4f4f2;
  --color-line: rgba(42, 41, 38, 0.12);
  --type-display: clamp(30px, calc(16px + 4.17vw), 66px);
  --type-hero-mobile: clamp(30px, calc(22px + 2.5vw), 52px);
  --type-page-title: clamp(30px, calc(18px + 3.75vw), 64px);
  --type-section-title: clamp(26px, calc(16px + 3.125vw), 52px);
  --type-section-title-wide: clamp(26px, calc(14px + 3.65vw), 56px);
  --type-content-heading: clamp(22px, calc(18px + 1.25vw), 30px);
  --type-card-title: clamp(20px, calc(18px + 0.625vw), 22px);
  --type-form-title: clamp(26px, calc(20px + 1.875vw), 40px);
  --section-title-size: var(--type-page-title);
  --section-title-wide: var(--type-section-title-wide);
  --content: 1180px;
  --wide: 1440px;
  --site-edge: max(clamp(18px, 4vw, 48px), calc((100% - var(--wide)) / 2 + clamp(18px, 4vw, 48px)));
  --page-pad: clamp(18px, 4vw, 48px);
  --m-page-pad: clamp(18px, 4vw, 48px);
  --section-y: 80px;
  --m-section-y: 48px;
  --section-head-gap: clamp(24px, 2.4vw, 34px);
  --gutter: 24px;
  --radius: 4px;
  --shadow-soft: 0 24px 80px rgba(42, 41, 38, 0.09);
  --nav-height: 74px;
  --m-nav-height: 66px;
  --motion-ease: cubic-bezier(0.2, 0, 0, 1);
  --motion-ease-heavy: cubic-bezier(0.32, 0.72, 0, 1);
  --motion-fast: 160ms;
  --motion-duration-fast: var(--motion-fast);
  --motion-medium: 360ms;
  --motion-slow: 720ms;
  --motion-section-reveal-delay: 210ms;
}

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

html {
  margin-top: 0;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(58, 56, 51, 0.12);
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

body.admin-bar #wpadminbar {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

figure {
  margin: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
select,
textarea,
.wp-block-button__link,
.dv-card,
.dv-info-card,
.dv-quote,
.dv-card figure,
.dv-hero__image,
.dv-materials__media figure,
.dv-showcase__item figure,
.dv-step,
.dv-chip,
.dv-contact__panel {
  border-radius: var(--radius);
}
