@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/Cormorant_Garamond/CormorantGaramond-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/Cormorant_Garamond/CormorantGaramond-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/Cormorant_Garamond/CormorantGaramond-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --color-night: #070806;
  --color-ink: #11100d;
  --color-charcoal: #17130f;
  --color-pine: #102822;
  --color-ivory: #fff8ed;
  --color-paper: #f6efe4;
  --color-sand: #d8c7ae;
  --color-bronze: #a66f3f;
  --color-copper: #d59a62;
  --color-gold: #f0cf94;
  --color-white: #ffffff;
  --color-line: rgba(255, 248, 237, .22);
  --color-line-dark: rgba(17, 16, 13, .18);
  --shadow-soft: 0 1.75rem 5rem rgba(0, 0, 0, .26);
  --shadow-deep: 0 2.5rem 7.5rem rgba(0, 0, 0, .42);
  --font-main: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Cormorant Garamond", Georgia, serif;
  --space-page: clamp(1rem, 5vw, 4.5rem);
  --container: 82.5rem;
  --radius-small: .25rem;
  --radius-medium: .5rem;
  --duration: 240ms;
}

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

html {
  min-height: 100%;
  background: #070806;
  background: -webkit-linear-gradient(to bottom, #070806, #17130f);
  background: linear-gradient(to bottom, #070806, #17130f);
  color-scheme: dark;
  font-size: 100%;
  scroll-behavior: smooth;
}

html.nav-open,
html.modal-open {
  overflow: hidden;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: #070806;
  background: -webkit-linear-gradient(to bottom, #070806, #17130f 38rem, #0e1713);
  background: linear-gradient(to bottom, #070806, #17130f 38rem, #0e1713);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--color-night);
  background: var(--color-gold);
}

body::-webkit-scrollbar {
  width: .8125rem;
}

body::-webkit-scrollbar-track {
  background: var(--color-night);
}

body::-webkit-scrollbar-thumb {
  background: #a66f3f;
  background: -webkit-linear-gradient(to bottom, #f0cf94, #a66f3f);
  background: linear-gradient(to bottom, #f0cf94, #a66f3f);
  border: .1875rem solid var(--color-night);
  border-radius: 999rem;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

input,
textarea {
  color: var(--color-white);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: .125rem solid var(--color-gold);
  outline-offset: .25rem;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 700;
  line-height: .94;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.3rem, 13vw, 8.4rem);
}

h2 {
  font-size: clamp(2.55rem, 9vw, 5.6rem);
}

h3 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h4 {
  font-size: clamp(1.55rem, 4vw, 2.4rem);
}

p,
li,
address,
label,
input,
textarea {
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
}

p,
li,
address {
  color: var(--color-white);
}

address {
  font-style: normal;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
