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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ivoire);
  color: var(--noir);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--or-clair);
  outline-offset: 4px;
}

.site-header {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 6.5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--bord);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand img {
  width: 9.0625rem;
  object-fit: contain;
}

.product-name,
.eyebrow,
.text-link,
.button,
.account-name {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.product-name {
  padding-left: 1rem;
  border-left: 1px solid var(--bord);
  color: var(--sable);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.32em;
}

.text-link {
  min-height: 2.765rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: var(--ivoire);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.text-link:hover {
  border-color: var(--ivoire);
  background: rgba(255, 255, 255, 0.06);
}

.back-link {
  color: var(--sable);
  font-size: 0.82rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--or-clair);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1, h2, h3, p {
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
}

.button {
  min-height: 3.0625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.375rem;
  border: 1px solid var(--bord-fort);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ivoire);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  border-color: var(--ivoire);
  background: rgba(232, 224, 208, 0.06);
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.button-quiet {
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  border-color: transparent;
  color: var(--sable);
}

.site-footer {
  width: min(calc(100% - 5rem), var(--content));
  margin: 0 auto;
  padding: 4.75rem 0 1.625rem;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.85rem;
  text-align: left;
}

.site-footer p {
  margin: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: 3.125rem;
}

.footer-brand-block,
.footer-nav,
.footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6875rem;
}

.footer-brand {
  display: inline-block;
}

.footer-brand img {
  width: 10rem;
}

.footer-tagline {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.57);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: normal;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-label {
  margin: 0 0 0.5rem !important;
  color: var(--ivoire);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-nav {
  align-content: start;
}

.footer-nav a,
.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--ivoire);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--or);
  text-decoration: none;
}

.footer-contact span {
  transition: transform 180ms ease;
}

.footer-contact:hover span {
  transform: translateX(0.2rem);
}

.footer-location {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.57);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 3.875rem;
  padding-top: 1.375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
}

.footer-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6875rem;
  padding-left: 1.875rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ivoire);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-signature em {
  color: var(--or);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
}

@media (max-width: 42rem) {
  .site-header {
    min-height: 5.25rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 7rem;
  }

  .product-name {
    padding-left: 0.65rem;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
  }

  .text-link {
    min-height: 2.65rem;
    padding-inline: 0.85rem;
    font-size: 0.72rem;
  }

  .site-footer {
    width: calc(100% - 2rem);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-tagline {
    white-space: normal;
  }

  .footer-signature {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .footer-legal {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

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