@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&display=swap");

:root {
  --tes-cream: #faf6f0;
  --tes-cream-deep: #f7f0e6;
  --tes-clay: #c4795a;
  --tes-charcoal: #1c1712;
  --tes-brown: #3a2e28;
  --tes-tan: #e8d9c8;
  --tes-line: rgba(28, 23, 18, 0.11);
}

.tes-site-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
  background: rgba(250, 246, 240, 0.94);
  border-bottom: 1px solid var(--tes-line);
  backdrop-filter: blur(14px);
  color: var(--tes-charcoal);
  font-family: "Jost", sans-serif;
}

.tes-site-brand {
  color: var(--tes-charcoal);
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.tes-site-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.tes-site-links a,
.tes-site-dropdown > a {
  color: #322d28;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.tes-site-links > a,
.tes-site-dropdown {
  border-left: 1px solid rgba(28, 23, 18, 0.14);
  padding: 0 18px;
}

.tes-site-links > a:first-child {
  border-left: 0;
}

.tes-site-links a:hover {
  color: var(--tes-clay);
}

.tes-site-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
}

.tes-site-submenu {
  position: absolute;
  top: calc(100% - 10px);
  right: 0;
  min-width: 210px;
  display: none;
  background: rgba(250, 246, 240, 0.98);
  border: 1px solid var(--tes-line);
  box-shadow: 0 18px 44px rgba(28, 23, 18, 0.1);
  padding: 10px 14px;
}

.tes-site-submenu a {
  display: block;
  padding: 12px 0;
}

.tes-site-dropdown:hover .tes-site-submenu,
.tes-site-dropdown:focus-within .tes-site-submenu {
  display: block;
}

.tes-site-book {
  background: var(--tes-charcoal);
  border: 1px solid var(--tes-charcoal);
  color: var(--tes-cream) !important;
  margin-left: 18px;
  padding: 15px 23px;
}

.tes-site-menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--tes-charcoal);
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tes-global-footer {
  background: var(--tes-tan);
  color: var(--tes-charcoal);
  font-family: "Jost", sans-serif;
  padding: 84px 6vw 34px;
}

.tes-global-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.tes-global-footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.tes-global-footer-label {
  color: var(--tes-clay);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.tes-global-footer h2 {
  max-width: 540px;
  color: var(--tes-charcoal);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.tes-global-footer h2 em {
  color: var(--tes-clay);
  font-style: italic;
}

.tes-global-footer p {
  color: var(--tes-brown);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  margin: 0 0 28px;
}

.tes-global-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tes-global-footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(28, 23, 18, 0.16);
  color: var(--tes-charcoal);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  padding: 14px 26px;
  text-decoration: none;
  text-transform: uppercase;
}

.tes-global-footer-actions a:first-child {
  background: var(--tes-charcoal);
  border-color: var(--tes-charcoal);
  color: var(--tes-cream);
}

.tes-global-footer-meta {
  border-top: 1px solid rgba(28, 23, 18, 0.12);
  margin-top: 60px;
  padding-top: 24px;
  color: rgba(28, 23, 18, 0.56);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .tes-site-nav {
    padding: 0 22px;
  }

  .tes-site-links a,
  .tes-site-dropdown > a {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .tes-site-links > a,
  .tes-site-dropdown {
    padding: 0 12px;
  }

  .tes-site-book {
    margin-left: 12px;
    padding: 14px 18px;
  }
}

@media (max-width: 860px) {
  .tes-site-nav {
    min-height: 68px;
  }

  .tes-site-brand {
    font-size: 23px;
  }

  .tes-site-menu {
    display: inline-flex;
  }

  .tes-site-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--tes-cream);
    border-bottom: 1px solid var(--tes-line);
    padding: 12px 22px 22px;
  }

  .tes-site-links.is-open {
    display: flex;
  }

  .tes-site-links a {
    border-bottom: 1px solid var(--tes-line);
    padding: 15px 0;
  }

  .tes-site-links > a,
  .tes-site-dropdown {
    border-left: 0;
    padding: 0;
  }

  .tes-site-dropdown {
    display: block;
    min-height: 0;
  }

  .tes-site-submenu {
    position: static;
    display: block;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 18px;
  }

  .tes-site-submenu a {
    color: rgba(28, 23, 18, 0.68);
    font-size: 11px;
  }

  .tes-site-book {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .tes-global-footer {
    padding: 66px 22px 28px;
  }

  .tes-global-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tes-global-footer-actions {
    flex-direction: column;
  }

  .tes-global-footer-actions a {
    width: 100%;
  }

  .tes-global-footer-meta {
    flex-direction: column;
  }
}
