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

/* Self Modern -- self-hosted, ported from Trent Therapy's fonts/ folder
   (the actual heading font it uses, despite its unrelated Google Fonts
   links). Used as the heading face here too. */
@font-face {
  font-family: 'Self Modern';
  src: url('../fonts/self-modern-regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Self Modern';
  src: url('../fonts/self-modern-italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Gotham -- self-hosted, ported from ROOTED's fonts/ folder. Used as
   the body/UI font here (h1 and regular text both inherit this via
   --bodyFont). */
@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;
}

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

/* Palette: client's own brief -- light fresh leaf green, soft cream/
   white, a hint of yellow/gold, black text. Professional with a nod to
   playful/creative (she uses art, music, and other creative mediums
   with clients). Lighter and warmer than ROOTED's own forest-green/
   mustard/rust palette, and distinct from Talk2Ana's teal. Token names
   follow the same convention as every other ROOTED SITES site so
   ported section CSS stays a drop-in. */
:root {
  --primary: #7fa65c;
  --primaryDark: #5e7f42;
  --primaryLight: #dceacb;
  --secondary: #e3b23c;
  --secondaryDark: #c4941e;
  --secondaryLight: #f6e6bd;
  --navy: #1a1a16;
  --headerColor: #1a1a16;
  --bodyTextColor: #4a4a3e;
  --bodyTextColorWhite: #fbf8f0;
  --cream: #a2bda9;
  --footerBg: #1a1a16;

  /* Dedicated CTA button colour -- a muted sage distinct from --primary
     (the brand's leaf green used for accents/text), chosen specifically
     for the solid button fill. */
  --ctaButton: #a2bda7;
  --ctaButtonDark: #8aa18e;

  --headingFont: 'Self Modern', serif;
  --bodyFont: 'Gotham', sans-serif;

  --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);
  background-color: var(--cream);
  background-image: url('../images/GREENWATERCOLOURBACKGROUND4.svg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

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

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

/* Nav text */
#cs-navigation .cs-li-link {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  line-height: 21.45px;
  letter-spacing: 1.04px;
  word-spacing: 0;
}

/*-- -------------------------- -->
<---            Logo            -->
<--- -------------------------- -*/

#cs-navigation .cs-logo {
  gap: 0.625rem;
  text-decoration: none;
}

.cs-logo-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  display: block;
}

.cs-logo-text {
  font-family: var(--headingFont);
  font-size: clamp(1.5rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--navy);
}

.cs-logo-text span {
  color: var(--navy);
}

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

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

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

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

.cs-button-solid:hover {
  color: #fff;
}

/*-- -------------------------- -->
<---          Button 2          -->
<--- -------------------------- -*/

.cs-button-outline {
  font-family: var(--bodyFont);
  font-size: 13px;
  font-weight: 700;
  line-height: calc(3rem - 4px);
  letter-spacing: 1.04px;
  word-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  min-width: 9.375rem;
  margin: 0;
  padding: 0 2rem;
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  box-sizing: border-box;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s, border-color 0.3s;
}

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

.cs-button-outline:hover {
  color: #fff;
}

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

/*-- -------------------------- -->
<---       Button Group         -->
<--- -------------------------- -*/

.cs-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

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

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

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

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

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