:root {
  --font-primary: proxima-nova, sans-serif;
  --font-secondary: proxima-sera, sans-serif;
  /* Spacing: number = rem value (1, 2, 3, 6, 9, 14) – used for both margin and padding */
  --spacing-1: 1rem;
  --spacing-2: 2rem;
  --spacing-3: 3rem;
  --spacing-4: 4rem;
  --spacing-5: 5rem;
  --spacing-6: 6rem;
  --spacing-7: 7rem;
  --spacing-8: 8rem;
  --spacing-9: 9rem;
  --spacing-12: 12rem;
  --spacing-14: 14rem;
  /* Aliases where --margin/--padding are used (e.g. .fs-48) */
  --margin: var(--spacing-1);
  --padding: var(--spacing-1);
  /* --col-gap: 1rem;
  --col-gap-medium: 3rem;
  --col-gap-large: 6rem; */
  --fs-large: clamp(2rem, 1.7143rem + 1.4286vw, 3rem);
  --fs-medium: clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem);
  --fs-small: clamp(1.25rem, 1.0179rem + 0.5357vw, 1.5rem);
  --slate: #2c2e2b;
  --sage: #5c7f71;
  --gold: #c6a662;
  --white: #f4f3ee;
}

@media (max-width: 767px) {
  :root {
    --spacing-1: 0.75rem;
    --spacing-2: 1.25rem;
    --spacing-3: 2rem;
    --spacing-4: 2.5rem;
    --spacing-5: 3rem;
    --spacing-6: 3.5rem;
    --spacing-7: 4rem;
    --spacing-8: 4.5rem;
    --spacing-9: 5rem;
    --spacing-12: 6rem;
    --spacing-14: 6rem;
  }
}

:focus-visible {
  outline: 3px solid var(--sage) !important;
  outline-offset: 4px !important;
  border-radius: 0px !important;
  transition: outline-offset 0.3s ease !important;
  display: inline-block;
}

html,
body {
  overflow-x: clip;
}

body {
  font-size: 1rem;
  line-height: 1.5 !important;
  background-color: var(--slate) !important;
  color: #f4f3ee;
  font-family: var(--font-primary);
}

.menu-item a {
  font-family: var(--font-primary);
}

.site-main p a,
footer a {
  color: inherit;
  display: inline-block;
  text-decoration: underline !important;
  text-decoration-thickness: 0.5px !important;
}

.button {
  min-width: 137px;
  min-height: 32px;
  width: auto;
  height: auto;
  border: 1px solid var(--gold);
  background-color: transparent;
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: 1rem;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  font-weight: 300;
  padding-block-end: 3px;
}

/* Arrow: three spans form a right-pointing triangle outline (vertical base + two diagonals) */
.button span {
  position: absolute;
  height: 1px;
  background-color: var(--gold);
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}

/* Top diagonal: from top-left of arrow to the point (45° down-right) */
.button span:nth-child(1) {
  right: -2.25rem;
  bottom: 30px;
  width: 28px;
  transform-origin: left center;
  transform: rotate(34deg);
}

/* Bottom diagonal: from bottom-left of arrow to the point (45° up-right) */
.button span:nth-child(2) {
  right: -2.25rem;
  bottom: -1px;
  width: 28px;
  transform-origin: left center;
  transform: rotate(-34deg);
}

/* Vertical base: left edge of the triangle */
.button span:nth-child(3) {
  right: -1.5rem;
  bottom: 0.9rem;
  width: 31.5px;
  transform-origin: center center;
  transform: rotate(90deg);
  transition: all 0.3s ease-in-out;
}

/* HOVER */
.button:hover span:nth-child(1) {
  right: -28px;
  bottom: 30px;
  width: 20px;
  transform-origin: left center;
  transform: rotate(34deg);
  transition: all 0.3s ease-in-out;
}

.button:hover span:nth-child(2) {
  right: -26.2px;
  bottom: 13.6px;
  width: 10px;
  transform-origin: left center;
  transform: rotate(-34deg);
  transition: all 0.3s ease-in-out;
}

.site-main p a,
.site-main li a {
  text-decoration: underline !important;
}

p {
  margin-block-end: 1em !important;
}

p strong {
  font-weight: 500;
}

.wrapper {
  max-width: calc(100% - 8rem);
  margin: 0 auto;
  /* padding: 0 1rem; */
  box-sizing: content-box !important;
  position: relative;
}

.grid {
  display: grid;
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .equal-grid {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .grid-24 {
    grid-template-columns: repeat(24, 1fr);
  }
}

.flex {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  /* gap: var(--spacing-3); */
}

.equal-flex {
  gap: var(--spacing-3);
}

.equal-flex > div,
.equal-flex > a {
  flex: 1;
}

body {
  background-color: #002e36;
}

.e-con {
  padding-inline: 0;
}

.e-con.e-flex > .e-con-inner {
  margin: 0;
  max-width: none;
  padding: 0;
}

.e-con.e-flex {
  padding: 0;
}

.grid {
  display: grid;
}

.border-top {
  border-top: 1px solid;
}

/* p last child of wrapper */
/* p:last-of-type {
  margin-block-end: 3rem;
} */

h1 {
  font-size: var(--fs-large);
  margin-block-end: 3rem;
}

h2 {
  font-size: var(--fs-medium);
  line-height: 1 !important;
}

h3 {
  font-size: var(--fs-small);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--gold);
  margin-block-end: 0.3em !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  /* text-box-trim: trim-both;
  text-box-edge: cap alphabetic; */
  /* text-box-trim: trim-start;
  text-box-edge: cap alphabetic; */
}

.fs-48 h1,
.fs-48 h2,
.fs-48 h3 {
  font-size: var(--fs-large);
  margin-block-end: var(--margin);
}

.fs-32 h1,
.fs-32 h2,
.fs-32 h3 {
  font-size: var(--fs-medium);
  margin-bottom: 2rem;
}

.fs-24 h1,
.fs-24 h2,
.fs-24 h3 {
  font-size: var(--fs-small);
}

blockquote {
  font-size: var(--fs-small);
  font-style: italic;
  font-weight: 300;
}

.d-none {
  display: none;
}

.fs-18 {
  font-size: 1.125rem;
}

.fs-14 {
  font-size: 0.875;
}

h2 {
  margin-block-start: 0;
  /* margin-block-end: 3rem !important; */
}

/* h3 {
  margin-block-end: 1.25rem;
} */

.site-main .wrapper ul {
  list-style-position: outside;
  padding-inline-start: 0;
  list-style-type: none;
}

.site-main .wrapper ul li {
  position: relative;
  margin-block-end: 0.5rem;
  padding-inline-start: 2rem;
}

.site-main .wrapper ul li:last-of-type {
  margin-block-end: 2rem;
}

/* Anything inside .site-wrap that should bleed to the RIGHT only */
.bleed-right {
  /* pull the right edge out to the viewport edge */
  margin-right: calc(50% - 50vw);

  /* increase width by exactly the amount we pulled out */
  width: calc(100% + (50vw - 50%));
}

@media (max-width: 1024px) {
  .wrapper {
    max-width: calc(100% - 2rem);
  }
}
