:root {
  --walnut: #3d2314;
  --oat: #f9f5eb;
  --mulberry: #7a2848;
  --gold: #d48c29;
  --line: #ded5c8;
  --muted: #786b60;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oat);
  color: var(--walnut);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.wrap {
  width: min(1300px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1440px, calc(100% - 96px));
  min-height: 100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-name {
  font-family: "Palatino Linotype", Palatino, serif;
  font-weight: bold;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .03em;
}

.brand-name span,
.footer-brand em {
  color: var(--mulberry);
  font-style: italic;
}

.brand-name small {
  display: block;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 8px;
  letter-spacing: .17em;
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: 29px;
  align-items: center;
}

.main-nav a,
.header-link {
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--mulberry);
}

.header-link {
  border-bottom: 1px solid var(--walnut);
  padding: 5px 0;
}

.header-link span,
.text-link span,
.button span {
  margin-left: 14px;
}

.hero {
  text-align: center;
  padding-top: 73px;
}

.eyebrow {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .18em;
  line-height: 1.5;
}

.hero-eyebrow {
  color: var(--mulberry);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.little-line {
  width: 28px;
  height: 1px;
  background: var(--mulberry);
}

h1,
h2,
h3,
.footer-brand {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(48px, 6.6vw, 90px);
  margin: 25px 0 18px;
}

h1 em,
h2 em,
h3 em {
  color: var(--mulberry);
  font-weight: 400;
}

.hero-subtitle {
  color: #6c5f55;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 auto 27px;
}

.button {
  display: inline-block;
  padding: 15px 23px;
  border: 1px solid var(--walnut);
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.button-dark {
  color: #fffaf1;
  background: var(--walnut);
}

.button-dark:hover {
  background: var(--mulberry);
  border-color: var(--mulberry);
}

.hero-image {
  margin: 58px 0 0;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: clamp(350px, 43vw, 570px);
  display: block;
  object-fit: cover;
  object-position: center 53%;
}

.hero-image figcaption {
  position: absolute;
  bottom: 19px;
  left: 25px;
  color: white;
  font-size: 9px;
  letter-spacing: .18em;
  text-shadow: 0 1px 6px #24150d;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .15em;
}

.hero-meta span span,
.accent,
.ornament {
  color: var(--mulberry);
}

.intro-section {
  text-align: center;
  max-width: 770px;
  padding: 115px 0 120px;
}

.intro-section h2,
.selection-intro h2,
.faq-section h2 {
  font-size: clamp(42px, 4.5vw, 60px);
  margin: 22px 0;
}

.intro-section > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 auto;
  color: #72665b;
  line-height: 1.9;
}

.ornament {
  display: block;
  font-size: 23px;
  margin-top: 26px;
}

.collection-section {
  padding-bottom: 120px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 65px);
  margin: 17px 0 35px;
}

.section-heading > p {
  width: 330px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 38px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.filter-label,
.filter-result {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}

.filter-button,
.choice-group button {
  border: 1px solid #d8ccbd;
  background: transparent;
  color: var(--walnut);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 12px;
}

.filter-button[aria-pressed="true"],
.choice-group button[aria-pressed="true"] {
  background: var(--walnut);
  color: white;
  border-color: var(--walnut);
}

.filter-button span {
  font-size: 9px;
  opacity: .7;
  margin-left: 4px;
}

.candy-row {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 8%;
  padding-top: 70px;
}

.candy-row:nth-of-type(even) .candy-photo {
  order: 2;
}

.candy-row:nth-of-type(even) .candy-copy {
  padding-left: 9%;
}

.candy-photo,
.craft-image {
  margin: 0;
}

.candy-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
  display: block;
}

.candy-photo figcaption,
.craft-image figcaption {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
  margin-top: 11px;
}

.candy-copy {
  max-width: 450px;
}

.candy-copy .eyebrow span {
  color: var(--mulberry);
  margin-right: 8px;
}

.candy-copy h3 {
  font-size: clamp(38px, 4vw, 54px);
  margin: 19px 0;
}

.candy-description {
  color: #73665b;
  max-width: 405px;
  line-height: 1.9;
}

.spec-ledger {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.spec-ledger div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.spec-ledger dt {
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--muted);
}

.spec-ledger dd {
  margin: 0;
  font-size: 12px;
}

.text-link {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.craft-section {
  background: #4b2c20;
  color: #fcf7ef;
  padding: 90px 0;
}

.craft-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10%;
}

.craft-image img {
  width: 100%;
  height: auto;
  display: block;
}

.craft-image figcaption {
  color: #d0b8a7;
}

.light-eyebrow {
  color: #e6b67d;
}

.craft-copy h2 {
  font-size: clamp(40px, 4.7vw, 63px);
  margin: 24px 0;
}

.craft-copy h2 em {
  color: #e7b295;
}

.craft-copy > p:not(.eyebrow) {
  color: #e4d5cb;
  line-height: 1.9;
  max-width: 440px;
  margin-bottom: 30px;
}

.button-light {
  background: transparent;
  color: #fff;
  border-color: #d7c0ae;
}

.button-light:hover {
  background: #fff;
  color: var(--walnut);
}

.selection-section {
  padding: 120px 0;
}

.selection-intro {
  max-width: 570px;
}

.selection-intro > p:last-child {
  color: var(--muted);
}

.matcher {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 8%;
  margin-top: 48px;
}

.choice-group {
  border-top: 1px solid var(--line);
  padding: 20px 0 23px;
}

.choice-label {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: bold;
}

.choice-label span {
  color: var(--mulberry);
  margin-right: 13px;
}

.choice-group button {
  margin: 5px 5px 0 0;
}

.summary-card {
  background: #eee5d7;
  padding: 45px;
  text-align: center;
}

.summary-star {
  display: block;
  font-size: 24px;
  color: var(--mulberry);
  margin-top: 25px;
}

.summary-card h3 {
  font-size: 35px;
  margin: 16px 0;
}

.summary-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.summary-card .button {
  margin-top: 15px;
}

.copy-status {
  min-height: 1.5em;
}

.faq-section {
  padding: 0 0 120px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10%;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: 19px;
}

.faq-list p {
  color: var(--muted);
}

.site-footer {
  background: #eee6d9;
}

.footer-top {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  font-size: 25px;
  font-weight: bold;
  letter-spacing: .03em;
  margin: 0;
}

.footer-top p:not(.eyebrow):not(.footer-brand) {
  color: #786b60;
  font-size: 12px;
}

.footer-nav {
  display: grid;
  gap: 7px;
}

.footer-nav a {
  font-size: 12px;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #d8cdbf;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 9px;
  letter-spacing: .1em;
  color: #796c61;
}

.consent {
  position: fixed;
  z-index: 5;
  bottom: 20px;
  right: 20px;
  width: min(380px, calc(100% - 40px));
  background: #fffdf8;
  border: 1px solid #d9cfc0;
  box-shadow: 0 6px 28px #3d231425;
  padding: 18px 20px;
  font-size: 12px;
}

.consent p {
  margin: 4px 0 12px;
  color: var(--muted);
}

.consent button {
  background: var(--walnut);
  color: white;
  padding: 7px 17px;
  border: 0;
  cursor: pointer;
  margin-right: 15px;
}

.breadcrumbs {
  padding-top: 40px;
  font-size: 11px;
  color: var(--muted);
}

.breadcrumbs a {
  text-decoration: none;
}

.subpage-header {
  padding: 80px 0 65px;
  border-bottom: 1px solid var(--line);
  max-width: 900px;
}

.subpage-header h1 {
  margin: 20px 0;
}

.subpage-header > p:not(.eyebrow):not(.updated) {
  max-width: 580px;
  color: var(--muted);
  font-size: 16px;
}

.updated {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .13em;
  margin-top: 32px;
}

.reading-layout {
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 15%;
  padding: 70px 0 120px;
}

.reading-aside {
  color: var(--muted);
  font-size: 13px;
}

.reading-copy section {
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.reading-copy h2 {
  font-size: 30px;
}

.reading-copy p {
  color: #6c6056;
  line-height: 1.9;
}

@media (max-width: 1050px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 18px 0;
  }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .header-link {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .wrap,
  .header-inner {
    width: calc(100% - 40px);
  }
  .header-inner {
    gap: 15px;
  }
  .main-nav {
    gap: 22px;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-image {
    margin-top: 40px;
  }
  .hero-image img {
    height: 350px;
  }
  .desktop-break {
    display: none;
  }
  .intro-section {
    padding: 80px 0;
  }
  .section-heading,
  .filter-bar {
    display: block;
  }
  .section-heading > p {
    width: auto;
    margin-top: -15px;
  }
  .filter-buttons {
    margin: 12px 0;
  }
  .candy-row,
  .craft-inner,
  .matcher,
  .faq-section,
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .candy-row:nth-of-type(even) .candy-photo {
    order: 0;
  }
  .candy-row:nth-of-type(even) .candy-copy {
    padding-left: 0;
  }
  .candy-row {
    padding-top: 55px;
  }
  .collection-section {
    padding-bottom: 80px;
  }
  .craft-section {
    padding: 65px 0;
  }
  .selection-section {
    padding: 80px 0;
  }
  .summary-card {
    padding: 35px 20px;
  }
  .faq-section {
    padding-bottom: 80px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .subpage-header {
    padding: 55px 0;
  }
  .reading-layout {
    padding: 45px 0 80px;
  }
}
