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

/* Shared foundations, navigation and footer. */
:root {
  --primary: #c5a477;
  --ink: #342832;
  --paper: #f7f3ec;
  --muted: #786d70;
  --line: #dcd3c9;
  --plum: #342832;
  --font-body: 'DM Sans', sans-serif;
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--plum);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--plum);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border: 2px solid var(--plum);
  border-radius: 6px;
}

body {
  margin: 0px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  touch-action: manipulation;
  font: inherit;
}

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

figure {
  margin: 0px;
}

p {
  margin: 0px 0px 24px;
}

input {
  font: inherit;
}

select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--primary);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}

.skipLink {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 2000;
  background: var(--paper);
  padding: 12px 20px;
}

.skipLink:focus {
  top: 12px;
}

.xlTitle {
  font: 400 clamp(60px, 6.8vw, 108px)/1.02 var(--font-title);
  letter-spacing: -2px;
}

.lgTitle {
  font: 400 clamp(44px, 4.8vw, 72px)/1.08 var(--font-title);
  letter-spacing: -1.5px;
}

.mdTitle {
  font: 400 clamp(32px, 3vw, 44px)/1.15 var(--font-title);
}

.smTitle {
  font: 500 27px/1.2 var(--font-title);
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.accentText {
  color: var(--primary);
}

.sectionSpace {
  padding: 115px 0px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 29px;
  border: 1px solid transparent;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn_primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--ink);
}

.btn_primary:hover {
  background: rgb(217, 189, 150);
  border-color: rgb(217, 189, 150);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: rgb(84, 65, 80);
  color: white;
}

.btn_dark_outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn_outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn_dark_outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn_outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn_light_outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  background: transparent;
}

.btn_light_outline:hover {
  background: var(--paper);
  color: var(--ink);
}

.siteHeader {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 100;
  color: white;
  transition: background 0.3s, box-shadow 0.3s, top 0.3s, width 0.3s, left 0.3s;
}

.headerBar {
  position: relative;
  max-width: 1600px;
  padding: 27px 55px 0px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: padding 0.3s, min-height 0.3s;
}

.headerContact {
  font-size: 14px;
  letter-spacing: 1px;
}

.headerContact small {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 3px;
}

.brandMark img {
  width: 165px;
}

.headerLogo {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
}

.headerLogo img {
  width: 245px;
  transition: width 0.3s;
}

.headerUtility {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 60px;
}

.accountNav {
  display: flex;
  gap: 17px;
  font-size: 14px;
}

.cartLink {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.cartLink svg {
  width: 22px;
  height: 22px;
}

.mainNav {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.navLinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 15px 0px;
  margin: 0px;
}

.navLinks a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  display: block;
}

.navLinks a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  height: 1px;
  background: var(--primary);
  left: 0px;
  width: 0px;
  transition: width 0.25s;
}

.navLinks a:hover::after {
  width: 100%;
}

.navLinks a.isActive::after {
  width: 100%;
}

.navToggle {
  width: 49px;
  height: 49px;
  background: var(--primary);
  border: 0px;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  display: none;
}

.navToggle span {
  width: 23px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s;
}

.mobileUtility {
  display: none;
}

.utilityDialog {
  border: 1px solid var(--line);
  padding: 40px;
  max-width: 480px;
  width: calc(100% - 32px);
  color: var(--ink);
  background: var(--paper);
}

dialog::backdrop {
  background: rgba(27, 17, 27, 0.85);
  backdrop-filter: blur(6px);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.utilityDialog p {
  font-size: 14px;
}

.siteHeader.isScrolled {
  top: 0px;
  left: 0px;
  background: rgba(42, 32, 41, 0.96);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px;
  backdrop-filter: blur(16px);
}

.isScrolled .headerBar {
  min-height: 72px;
  padding: 10px 20px;
  flex-wrap: nowrap;
  gap: 20px;
}

.isScrolled .headerContact {
  display: none;
}

.isScrolled .headerLogo {
  position: static;
  transform: none;
  flex-shrink: 0;
}

.isScrolled .headerLogo img {
  width: 135px;
}

.isScrolled .headerUtility {
  order: 3;
  min-height: 40px;
  gap: 18px;
  flex-shrink: 0;
}

.isScrolled .mainNav {
  width: auto;
  flex: 1 1 0%;
  margin: 0px;
  border: 0px;
}

.isScrolled .navLinks {
  gap: 17px;
  padding: 10px 0px;
}

.isScrolled .navLinks a {
  font-size: 14px;
  letter-spacing: 1px;
}

.isScrolled .accountNav {
  font-size: 14px;
}

.siteFooter {
  background: rgb(40, 33, 41);
  color: var(--paper);
  padding: 85px 0px 0px;
}

.footerInvitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 65px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footerInvitation .eyebrow {
  color: var(--primary);
}

.footerInvitation h2 {
  font-size: clamp(44px, 4.6vw, 70px);
  margin: 0px;
}

.footerInvitation .btn {
  flex-shrink: 0;
  padding: 19px 32px;
}

.footerMain {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 42px;
  padding: 65px 0px;
}

.footerBrand .brandMark img {
  width: 220px;
}

.footerBrand p {
  font-size: 16px;
  line-height: 1.8;
  color: rgb(207, 195, 204);
  margin: 25px 0px 20px;
}

.footerSocials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footerSocials a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #c5a47766;
  transition: color .2s, text-decoration-color .2s;
}

.footerSocials a:hover {
  text-decoration-color: var(--primary);
}

.footerEmail {
  font-size: 16px;
  text-decoration: underline rgba(197, 164, 119, 0.4);
  text-underline-offset: 5px;
}

.footerTitle {
  color: var(--primary);
  font: 500 14px/1.6 var(--font-body);
  letter-spacing: 1px;
  margin: 0px 0px 24px;
}

.footerContact {
  font-size: 15px;
  line-height: 1.9;
}

.footerContact address {
  font-style: normal;
  margin-bottom: 20px;
}

.footerContact > a {
  display: block;
  margin-bottom: 8px;
}

.footerHours {
  margin: 0px;
}

.footerHours > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.footerHours dt {
  font-weight: 400;
  color: rgb(207, 195, 204);
}

.footerHours dd {
  margin: 0px;
  white-space: nowrap;
}

.siteFooter a:hover {
  color: var(--primary);
}

.siteFooter .btn_primary:hover {
  color: var(--ink);
}

.footerBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0px;
  color: rgb(207, 195, 204);
  font-size: 14px;
}

.footerBottom p {
  margin: 0px;
}

.poweredBy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.poweredBy img {
  width: 100px;
}

@media (max-width: 1199.98px) {
  .headerBar {
    padding: 20px 30px;
    min-height: 90px;
  }

  .headerLogo img {
    width: 175px;
  }

  .navLinks {
    align-items: flex-start;
    flex-direction: column;
  }

  .headerUtility {
    gap: 18px;
  }

  .headerContact {
    display: none;
  }

  .headerLogo {
    position: static;
    transform: none;
  }

  .navToggle {
    display: flex;
  }

  .mainNav {
    position: absolute;
    top: 100%;
    left: 0px;
    margin: 0px;
    padding: 25px 35px;
    background: var(--plum);
    max-height: calc(100dvh - 90px);
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.25s;
  }

  .mainNav.isOpen {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
  }

  .navLinks a {
    font-size: 17px;
  }

  .navToggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .navToggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .menuOpen {
    overflow: hidden;
  }

  .sectionSpace {
    padding: 80px 0px;
  }

  .isScrolled .headerBar {
    min-height: 65px;
  }

  .isScrolled .navToggle {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .isScrolled .mainNav {
    width: 100%;
    padding: 22px 28px;
    border-radius: 0px 0px 4px 4px;
    max-height: calc(100dvh - 95px);
  }

  .isScrolled .navLinks {
    gap: 19px;
  }

  .isScrolled .navLinks a {
    font-size: 17px;
    letter-spacing: 1.5px;
  }

  .siteHeader:has(.mainNav.isOpen) {
    background: var(--plum);
  }


}

@media (max-width: 575.98px) {
  .headerBar {
    padding: 15px 20px;
  }

  .headerLogo img {
    width: 135px;
  }

  .headerUtility {
    gap: 16px;
    min-height: 49px;
  }

  .accountNav {
    display: none;
  }

  .mobileUtility {
    display: flex;
    gap: 25px;
    margin-top: 25px;
  }

  .sectionSpace {
    padding: 70px 0px;
  }

  .xlTitle {
    letter-spacing: -1px;
  }

  .lgTitle {
    letter-spacing: -1px;
  }

  .btn {
    padding: 14px 23px;
  }

  .siteHeader.isScrolled {
    top: 8px;
    left: 10px;
    width: calc(100% - 20px);
  }

  .isScrolled .headerBar {
    min-height: 62px;
  }

  .isScrolled .headerUtility {
    gap: 16px;
  }

  .isScrolled .mainNav {
    max-height: calc(100dvh - 85px);
  }

  .headerContact {
    display: none;
  }

}

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

  * {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }

  ::before {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }

  ::after {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }

}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .isScrolled .navLinks {
    gap: 12px;
  }

  .isScrolled .navLinks a {
    letter-spacing: 0px;
  }

  .isScrolled .headerBar {
    gap: 15px;
    padding: 10px 16px;
  }

  .isScrolled .headerUtility {
    gap: 12px;
  }

  .isScrolled .accountNav {
    gap: 10px;
  }

  .isScrolled .headerLogo img {
    width: 125px;
  }

}

@media (max-width: 767.98px) {
  .footerBrand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .siteFooter {
    padding-top: 65px;
  }

  .footerInvitation {
    align-items: center;
    flex-direction: column;
    padding-bottom: 45px;
    text-align: center;
  }

  .footerMain {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
    padding: 45px 0px;
  }


}

@media (max-width:575.98px) {
  .footerBottom {
    align-items: center;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .footerMain {
    grid-template-columns: 1fr;
  }

}
