/*-- -------------------------- -->
<---           Fonts             -->
<--- -------------------------- -*/

/* Gotham -- self-hosted, same files already licensed/used on Template
   2nd August (fonts/ copied over from there). */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham-regular-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* IvyPresto Display -- Adobe Fonts (Typekit) exclusive, can't be
   self-hosted. Loaded via the Adobe Fonts kit <link> in index.html
   (kit wuk3bop). Adobe serves it under the family name
   "ivypresto-display" (lowercase, hyphenated) rather than the display
   name shown on fonts.adobe.com -- that's the name that has to be used
   in --headingFont below, or it silently falls back to the generic
   serif with no console error. */

/*-- -------------------------- -->
<---        Global Tokens        -->
<--- -------------------------- -*/

/* Palette: muted sage/moss accent + deep slate ink, pairing with the
   forest hero photo rather than fighting it. Distinct from the other
   templates in this set (Template 2nd August's orange/cream, ROOTED's
   forest/mustard, Template 3's plum/gold). Same token *names* as every
   other template so section CSS is portable. */
:root {
  --primary: #7c8c6e;
  --primaryDark: #5f6f52;
  --primaryLight: #dde3d3;
  --secondary: #33404a;
  --secondaryDark: #212a31;
  --secondaryLight: #dfe4e6;
  --navy: #26313a;
  --bodyTextColor: #4b5560;
  --bodyTextColorWhite: #fdfcfa;
  --cream: #fdfcfa;
  --footerBg: #212a31;
  --accentText: #5f6f52;
  --accentTextDark: #47543d;

  /* Rule for this template line-up: an editorial serif for headlines,
     paired with a clean sans for body copy and UI (nav, buttons, form
     labels). The wordmark also uses a small script accent, but that's a
     one-off logo flourish, not a general text style. */
  --headingFont: 'ivypresto-display', serif;
  --bodyFont: 'Gotham', sans-serif;
  --scriptFont: 'Petit Formal Script', cursive;

  --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
  --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
  --bodyFontSize: 1rem;
  --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--bodyFont);
}

button, input, textarea, select {
  font-family: inherit;
}

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

img {
  max-width: 100%;
  display: block;
}

/*-- -------------------------- -->
<---          Button 1          -->
<--- -------------------------- -*/

.cs-button-solid {
  font-family: var(--bodyFont);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 3rem;
  text-align: center;
  text-decoration: none;
  min-width: 9.375rem;
  margin: 0;
  padding: 0 1.75rem;
  background-color: var(--primary);
  color: #fff;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.cs-button-solid:before {
  content: "";
  width: 0%;
  height: 100%;
  background: var(--primaryDark);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: width 0.3s;
}

.cs-button-solid:hover:before {
  width: 100%;
}

/*-- -------------------------- -->
<---      Shared Content         -->
<--- -------------------------- -*/

.cs-topper {
  font-size: var(--topperFontSize);
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--accentTextDark);
  margin: 0 0 1rem;
  display: block;
}

.cs-title {
  font-family: var(--headingFont);
  font-size: var(--headerFontSize);
  font-weight: 500;
  line-height: 1.2em;
  margin: 0 0 1rem;
  color: var(--navy);
}

.cs-title em {
  color: var(--accentTextDark);
  font-style: italic;
}

.cs-text {
  font-family: var(--bodyFont);
  font-size: var(--bodyFontSize);
  line-height: 1.65em;
  width: 100%;
  max-width: 40.625rem;
  margin: 0;
  color: var(--bodyTextColor);
}
