/* ---------------------------------------------------------------------------
   Base — element defaults and shared primitives.
   Every value here was measured from the live site's inlined CSS.
   --------------------------------------------------------------------------- */

html { font-size: 16px; }

body {
  font-family: var(--font-family-1);
  color: var(--color-2);
  background: var(--color-3);
}

/* --- Headings -------------------------------------------------------------
   NOTE: h1 really is 16px on the live site (`.h1,h1{font-size:16px}`). The
   large display type is carried by h2/h3 inside section components, not by h1.
   This looks wrong but it is the existing design — reproduced deliberately.
   Flagged for the optimisation phase, not the migration.                     */
h1, .h1 { font-size: 16px; }

h2, h3, h4, h5 {
  font-family: var(--font-family-2);
  font-weight: 400;
  letter-spacing: .05em;
}

/* --- Body copy ------------------------------------------------------------ */
p {
  color: var(--color-10);
  font-size: var(--font1-0);
  line-height: 30px;
  letter-spacing: 0;
  font-weight: 500;
}

/* --- Links ---------------------------------------------------------------- */
a {
  color: var(--color-1);
  transition: color var(--transition-base),
              background-color var(--transition-base),
              border-color var(--transition-base);
}
a:hover { color: var(--color-hover-10); }

/* --- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--main-width-container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--wide { max-width: var(--big-width-container); }

/* --- Button ---------------------------------------------------------------
   Canonical button. The source applies this to a.button, .wpcf7 button,
   a.gallery-next-btn, a.gallery-prev-btn, a.view-more and #gallery-home
   .btn-default. The wpcf7 selector is intentionally dropped — the form is an
   IntakeQ embed and no Contact Form 7 markup will exist on the new site.     */
.button,
a.button,
.gallery-next-btn,
.gallery-prev-btn,
.view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 18.5px 70px;
  background: var(--color-1);
  border: 2px solid var(--color-1);
  border-radius: 50px;
  color: var(--color-3);
  font-size: var(--font1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: color var(--transition-base),
              background-color var(--transition-base),
              border-color var(--transition-base);
}

.button:hover, .button:focus-visible, .button:active,
a.button:hover, a.button:focus-visible, a.button:active,
.gallery-next-btn:hover, .gallery-prev-btn:hover, .view-more:hover {
  background: var(--color-3);
  color: var(--color-1);
}

/* Inverted variant — used on photographic banners. */
.button--on-image {
  background: transparent;
  border-color: #eee;
  color: var(--color-3);
}
.button--on-image:hover {
  background: var(--color-3);
  color: var(--color-1);
  border-color: #eee;
}

@media (max-width: 767px) {
  .button, a.button, .gallery-next-btn, .gallery-prev-btn, .view-more {
    padding: 15px 40px;
  }
}
