@font-face {
  font-family: "Open Sauce One";
  src: url("../assets/fonts/OpenSauceOne-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("../assets/fonts/OpenSauceOne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("../assets/fonts/OpenSauceOne-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("../assets/fonts/OpenSauceOne-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("../assets/fonts/OpenSauceOne-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("../assets/fonts/OpenSauceOne-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Perandory";
  src: url("../assets/fonts/Perandory-SemiCondensed.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Perandory Condensed";
  src: url("../assets/fonts/Perandory-Condensed.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Symphony Romance";
  src: url("../assets/fonts/SymphonyRomance.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bark: #442d1f;
  --bark-deep: #342115;
  --leaf: #5e712f;
  --leaf-deep: #4d5d26;
  --cream: #fdf2d9;
  --butter: #f5eaac;
  --olive: #a4a060;
  --paper: #ffffff;

  --font-body: "Open Sauce One", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Perandory", "Perandory Condensed", Georgia, serif;
  --font-script: "Symphony Romance", cursive;

  --fs-nav: clamp(1rem, 1.76vw, 1.5rem);
  --fs-wordmark: clamp(2.5rem, 5.56vw, 4.75rem);
  --fs-script: clamp(2.25rem, 4.69vw, 4rem);
  --fs-display: clamp(2rem, 4.25vw, 3.625rem);
  --fs-display-sm: clamp(1.875rem, 3.81vw, 3.25rem);
  --fs-heading: clamp(1.75rem, 3.95vw, 3.375rem);
  --fs-lead: clamp(1.0625rem, 1.76vw, 1.5rem);
  --fs-body-lg: clamp(1rem, 1.54vw, 1.3125rem);
  --fs-body: clamp(0.9375rem, 1.46vw, 1.25rem);
  --fs-body-sm: clamp(0.9375rem, 1.39vw, 1.1875rem);
  --fs-caption: clamp(0.8125rem, 1.1vw, 0.9375rem);

  --nav-h: clamp(4rem, 7.03vw, 6rem);
  --container: 1170px;
  --container-wide: 1240px;
  --container-narrow: 928px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bark);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background-color: var(--butter);
  color: var(--bark);
}

:focus-visible {
  outline: 2px solid var(--butter);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--bark);
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.teapot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.teapot img {
  width: 100%;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--bark);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-left: clamp(16px, 2.64vw, 36px);
  padding-right: clamp(16px, 3.22vw, 44px);
}

.navbar__logo img {
  height: clamp(44px, 5.2vw, 71px);
  width: auto;
  transition: opacity 0.3s var(--ease);
}
.navbar__logo:hover img {
  opacity: 0.8;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4.25vw, 58px);
}

.navbar__link {
  font-size: var(--fs-nav);
  line-height: 1;
  color: var(--butter);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.navbar__link:hover {
  color: var(--paper);
}
.navbar__link.is-active {
  color: var(--olive);
}

.navbar__toggle {
  display: none;
  color: var(--butter);
  transition: color 0.3s var(--ease);
}
.navbar__toggle:hover {
  color: var(--paper);
}
.navbar__toggle svg {
  width: 28px;
  height: 28px;
}
.navbar__toggle .icon-close {
  display: none;
}
.navbar__toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.navbar__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.navbar__mobile {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--bark);
  transition:
    max-height 0.5s var(--ease),
    opacity 0.4s var(--ease);
}
.navbar__mobile.is-open {
  max-height: 320px;
  opacity: 1;
}

.navbar__mobile ul {
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
}

.navbar__mobile a {
  display: block;
  padding: 12px 0;
  font-size: 1.125rem;
  color: var(--butter);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.navbar__mobile a.is-active {
  color: var(--olive);
}

.footer {
  background-color: var(--leaf);
  padding-top: clamp(24px, 2.05vw, 28px);
  padding-bottom: clamp(40px, 7.9vw, 108px);
}

.footer__logo {
  display: flex;
  justify-content: center;
}
.footer__logo img {
  height: clamp(44px, 4.54vw, 62px);
  width: auto;
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: clamp(28px, 3.15vw, 43px);
}

.footer__title {
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.25;
}

.footer__address p {
  font-size: var(--fs-body-lg);
  line-height: 1.5;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.15vw, 43px);
  margin-top: clamp(16px, 2.2vw, 30px);
}

.footer__social a {
  display: block;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.footer__social a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.footer__social svg {
  width: clamp(32px, 3.66vw, 50px);
  height: clamp(32px, 3.66vw, 50px);
}

@media (min-width: 640px) {
  .footer__grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer__connect {
    text-align: right;
  }
  .footer__social {
    justify-content: flex-end;
  }
}

@media (max-width: 1023px) {
  .navbar__menu {
    display: none;
  }
  .navbar__toggle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
