@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/bebas-neue-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background-color: var(--color-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared loading language, sourced from the gallery experience. */
.gallery-loader-ring {
  width: clamp(3rem, 9vw, 4.8rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 0 2.2rem rgba(255, 255, 255, 0.08);
  animation: galleryLoaderSpin 900ms linear infinite;
}

.gallery-loader-brand {
  color: rgba(246, 246, 246, 0.72);
  font-size: clamp(0.68rem, 1.5vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1.4;
  text-align: center;
}

@keyframes galleryLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.form-grid-wide {
  grid-column: 1 / -1;
}

html body input[type="date"] {
  color-scheme: dark !important;
  padding-right: 2.75rem !important;
  background-image: url("../assets/icons/calendar.svg") !important;
  background-position: right 0.9rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1rem 1rem !important;
}

html body input[type="date"]::-webkit-calendar-picker-indicator {
  display: block;
  width: 1.4rem;
  height: 100%;
  margin: 0 -0.5rem 0 0;
  opacity: 0 !important;
  cursor: pointer;
  filter: none !important;
}

html body input[type="date"]:disabled::-webkit-calendar-picker-indicator {
  cursor: not-allowed;
}

html body input[type="date"]:disabled {
  background-size: 0.9rem 0.9rem !important;
  opacity: 0.58;
}

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

main {
  display: block;
}

section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.hero,
.content-section {
  padding-inline: var(--layout-gutter);
}

.hero__content,
.section-copy,
.site-header__inner {
  width: min(100%, var(--layout-width));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 769px) {
  .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: 3rem;
    line-height: 0.94;
  }

  h2 {
    font-size: 1.85rem;
    line-height: 1;
  }

  p {
    font-size: 0.94rem;
    line-height: 1.62;
  }
}

/* Tablet */
@media (min-width: 770px) and (max-width: 1023px) {
  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  h1 {
    font-size: 4.35rem;
    line-height: 0.95;
  }

  h2 {
    font-size: 2.35rem;
    line-height: 0.98;
  }

  p {
    font-size: 0.98rem;
    line-height: 1.66;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
