:root {
  --ink: #263c35;
  --muted: #53655b;
  --paper: #f0f2ee;
  --cream: #e2e8e1;
  --line: #ccd6cb;
  --gold: #826b41;
  --slate-green: #37534a;
  --ruby: var(--slate-green);
  --brand-navy: #001b33;
  --brand-gold: #e0bd77;
}

.wordmark.brand-lockup {
  display: block;
  width: 156px;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-lockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.announcement {
  background: var(--brand-navy);
  color: var(--brand-gold);
  border-bottom: 1px solid #e0bd7726;
}

.header {
  min-height: 112px;
  gap: 24px;
  background: #001b33fa;
  color: #f8f0df;
  border-bottom-color: #e0bd773b;
}

.header nav a:hover,
.header #nav > a[aria-current=page],
.header .nav-dropdown summary:hover {
  color: var(--brand-gold);
}

.header .button {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-color: var(--brand-gold);
}

.header .button:hover {
  background: #f1d59e;
}

.header .icon-button #favorite-count {
  background: var(--brand-gold);
  color: var(--brand-navy);
}

.header .nav-dropdown-panel {
  background: #03213a;
  color: #f8f0df;
  border-color: #e0bd7750;
}

.header :is(a, button, summary):focus-visible {
  outline-color: var(--brand-gold);
}

.philosophy,
footer {
  background: var(--brand-navy);
}

.philosophy-symbol {
  width: min(340px, 100%);
  margin: 0 auto 30px;
  line-height: 0;
}

.philosophy-symbol img {
  height: auto;
  object-fit: contain;
}

.philosophy h2 em,
.philosophy .eyebrow {
  color: var(--brand-gold);
}

.footer-top .brand-lockup {
  width: 240px;
}

.footer-top > p {
  color: var(--brand-gold);
}

.admin-header {
  background: var(--brand-navy);
  color: #f8f0df;
  padding-top: 8px;
  padding-bottom: 8px;
  border-color: #e0bd773b;
}

.admin-gate .brand-lockup {
  width: 240px;
  margin: 0 auto 28px;
}

.hero {
  background: linear-gradient(125deg, #e0e7df 0%, #eff1eb 100%);
  color: var(--ink);
}

.hero-copy > .eyebrow {
  color: #526b5c;
}

h1 em {
  color: #6d755f;
}

.hero-description {
  color: var(--ink);
}

.hero-note {
  color: var(--muted);
}

.hero-copy .button {
  background: var(--slate-green);
  color: #fcfcf6;
  border-color: var(--slate-green);
}

.hero-copy .button:hover,
.button:hover {
  background: #2b433b;
}

.hero-copy .text-link {
  color: #324e42;
  border-color: #879c88;
}

.hero-copy .text-link:hover {
  color: #1f3c2f;
  border-color: #526b5c;
}

.hero-visual {
  background: #e6ece4;
}

.hero-visual::after {
  background: linear-gradient(180deg, #263c3512, transparent 25%, transparent 70%, #263c351a);
}

.hero-image-label,
.hero-stamp {
  background: #f0f2eef2;
  color: var(--ink);
}

.hero-foot {
  background: #d2dcd1;
  color: #405a4c;
}

.quote-form,
.diamond-filters,
.sourcing-panel {
  background: var(--cream);
}

.product-image,
.detail-image {
  background: #e2e8e0;
}

.color-story {
  background: #30483e;
}

@media (max-width: 1500px) {
  .header nav {
    display: none;
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    background: var(--brand-navy);
    color: #f8f0df;
    border-top: 1px solid #e0bd773b;
    border-bottom: 1px solid #e0bd773b;
    padding: 25px 6%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-height: calc(100dvh - 112px);
    overflow: auto;
  }

  .header nav.open {
    display: flex;
  }

  .header #nav a,
  .header #nav .nav-dropdown summary {
    font-size: 16px;
  }

  .menu-button {
    display: inline-flex;
  }

  .header .nav-dropdown-panel {
    position: static;
    margin-top: 10px;
    border: 0;
    border-left: 1px solid #e0bd7750;
    box-shadow: none;
    padding: 0 17px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 108px;
  }

  .header {
    min-height: 92px;
    gap: 10px;
  }

  .header .brand-lockup,
  .admin-header .brand-lockup {
    width: 128px;
  }

  .header nav {
    top: 92px;
    max-height: calc(100dvh - 92px);
  }

  .philosophy-symbol {
    width: min(300px, 100%);
  }

  .footer-top .brand-lockup {
    width: 220px;
  }
}
