/* Base typography & layout primitives */

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(201, 169, 97, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 169, 97, 0.04) 0%, transparent 60%);
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Display heading */
.section__title,
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--text-primary);
}

.hero__title em,
.section__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Eyebrow / mono caption */
.section__eyebrow,
.hero__tagline,
.contacts__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

/* Section head */
.section__head {
  text-align: center;
  margin-bottom: var(--sp-20);
  max-width: 880px;
  margin-inline: auto;
}

.section__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-top: var(--sp-4);
}

.section__lead {
  margin-top: var(--sp-6);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--text-soft);
  max-width: 60ch;
  margin-inline: auto;
}

/* Section vertical rhythm */
.services,
.contacts {
  padding-block: clamp(5rem, 10vw, 10rem);
  position: relative;
}

/* Subtle horizontal divider rule between sections */
.services::before,
.contacts::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* Focus ring */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

/* Hide scrollbar visually but keep scroll */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: var(--bg-deep); }
body::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }
body::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }
