/* ==========================================================================
   UTILITIES — Client-First structure, typography helpers, buttons
   ========================================================================== */
.page-wrapper { overflow-x: clip; }
.main-wrapper { position: relative; }

.padding-global { padding-left: var(--padding-global); padding-right: var(--padding-global); }
.container-large { width: 100%; max-width: var(--container-large); margin-left: auto; margin-right: auto; }
.container-medium { width: 100%; max-width: var(--container-medium); margin-left: auto; margin-right: auto; }
.container-small { width: 100%; max-width: var(--container-small); margin-left: auto; margin-right: auto; }

.padding-section-large { padding-top: var(--section-large); padding-bottom: var(--section-large); }
.padding-section-medium { padding-top: var(--section-medium); padding-bottom: var(--section-medium); }
.padding-section-small { padding-top: var(--section-small); padding-bottom: var(--section-small); }

/* Typography helpers */
.heading-display-xl { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-display-xl); line-height: 0.9; letter-spacing: -0.02em; }
.heading-display-l { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-display-l); line-height: 0.92; letter-spacing: -0.02em; }
.heading-h2 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.02em; }

.text-size-large { font-size: var(--fs-body-l); line-height: 1.55; }
.text-size-medium { font-size: var(--fs-body-m); line-height: 1.55; }
.text-style-label { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; }
.text-style-accent { font-style: italic; color: var(--rosegold); }
.text-style-accent.is-on-light { color: var(--copper); }
.text-color-mist { color: var(--mist); }
.text-color-copper { color: var(--copper); }
.text-outline { color: transparent; -webkit-text-stroke: 1px var(--cream); }

/* Word masks written by motion.js (heading line reveals) */
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.16em 0; margin: 0 -0.06em -0.16em 0; }
.word-inner { display: inline-block; will-change: transform; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background-color: var(--rosegold);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.button:hover { background-color: var(--cream); color: var(--forest); }
.button.is-secondary { background-color: transparent; color: var(--cream); border: 1px solid var(--cream); }
.button.is-secondary:hover { background-color: var(--cream); color: var(--forest); }
.button.is-dark { background-color: var(--forest); color: var(--cream); }
.button.is-dark:hover { background-color: var(--cream); color: var(--forest); }
.button.is-small { height: 44px; padding: 0 20px; font-size: 14px; }
.button.is-text { height: auto; padding: 4px 0; background-color: transparent; border-radius: 0; color: inherit; }
.button.is-text:hover { background-color: transparent; color: var(--rosegold); }
.button_icon { width: 18px; height: 18px; flex: none; }

.is-fit { width: fit-content; }
.margin-bottom-24 { margin-bottom: 24px; }
.margin-top-20 { margin-top: 20px; }
.navbar_link.is-current { border-bottom-color: var(--rosegold); }
