:root {
  --max-width: 1240px;

  --page-padding: 1rem;

  --signature-color: #3e3e3e;

  --primary-fg-color: #2e3550;

  /* --background-body: #fefaf5; */
  --background-body: #ffffff;
  --background-alt: #efeae8;
  --background-alt-80pct: #efeae8aa;
  --subtle-fg-color: #878787;

  --accent-color: #98870a;
  --accent-color-80pct: #9d8c0baa;
  --link-color: rgb(136, 137, 132);

  --alt-accent-color: #5d6d55;
  --alt-accent-color-80pct: #5d6d55aa;

  --accent-contrast: #fefefe;

  --primary-bg-color: #161f27;
  --alt-bg-color: #202b38;
  --accent-bg-color: #ffffff;
  --success-color: #0ee267;
  --subtle-fg-color: #878787;

  --links: var(--accent-color);
}

@font-face {
  font-family: "Reey";
  font-style: normal;
  font-weight: normal;
  src: url("/static/fonts/Reey-Regular.otf");
}

@font-face {
  font-family: "Disco";
  font-style: normal;
  font-weight: normal;
  src: url("/static/fonts/DISCO.ttf");
}

@font-face {
  font-family: "Amble-Regular";
  font-style: normal;
  font-weight: normal;
  src: url("/static/fonts/Amble-Regular.ttf");
  font-display: optional;
}

@font-face {
  font-family: "LinguisticsPro";
  font-style: normal;
  font-weight: normal;
  src: url("/static/fonts/LinguisticsPro-Regular.otf");
  font-display: optional;
}

@font-face {
  font-family: "LinguisticsPro";
  font-style: normal;
  font-weight: bold;
  src: url("/static/fonts/LinguisticsPro-Bold.otf");
  font-display: optional;
}

@font-face {
  font-family: "HK Grotesk";
  font-style: normal;
  font-weight: normal;
  src: url("/static/fonts/hk-grotesk/HKGrotesk-Regular.otf");
  font-display: optional;
}

@font-face {
  font-family: "HK Grotesk";
  font-style: normal;
  font-weight: bold;
  src: url("/static/fonts/hk-grotesk/HKGrotesk-Bold.otf");
  font-display: optional;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "HK Grotesk", sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: clamp(1rem, 3vw, 1.3rem);
  text-rendering: optimizeSpeed;
  line-height: 1.6;

  min-height: 100vh;
  max-width: unset;

  margin: 0 auto;
  padding: 0 0;

  color: var(--primary-fg-color);

  display: grid;
  grid-template-rows: auto 1fr auto;
}

section {
  min-height: 30vh;
}

/* water.css override */
body > footer {
  margin-top: 0;
}

/* water.css override */
a[href^="mailto\:"]::before {
  content: none;
}

a {
  color: var(--link-color);
}

a:hover,
a:focus,
a > svg:hover {
  opacity: 0.7;
  text-decoration: none;
}

#page-top-marker {
  position: absolute;
  width: 1px;
  height: 5px;
  top: 0;
  left: 0;
}

.signature {
  font-family: "Reey";
  color: var(--signature-color);
  text-align: center;
}

.sub-signature {
  font-family: "Disco";
  text-align: center;
}

.light-on-faded {
  color: #fefefe;
  background: #00000077;
}

h1,
h2,
h3,
h4 {
  font-weight: lighter;
}

.bookSessionButton {
  margin: 2rem 0;
  padding: 1rem 2rem;
  border: 1px solid var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.bookSessionButton:hover,
.bookSessionButton:focus {
  text-decoration: none;
  background: var(--accent-color);
  color: var(--background-alt);
}

img.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem var(--background-alt-80pct);
  transform: rotate(-3deg);
}

p {
  max-width: 65ch;
}

.non-full-width {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.caption > p {
  margin: 0;
}

.center-with-padding {
  width: 100%;
  margin: 0 auto;
  padding: 2rem;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.accent {
  color: var(--accent-color);
}
