:root {
  color-scheme: light;
  --ivory: #faf7f0;
  --olive: #46513b;
  --emerald: #174c40;
  --burgundy: #6a2030;
  --gold: #c9ad77;
  --ink: #292c25;
  --rule: #d8cdb9;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; }
h1 { font-size: clamp(3.35rem, 7.3vw, 6.6rem); color: var(--olive); }
h2 { font-size: clamp(2.9rem, 5.4vw, 4.8rem); color: var(--olive); }
h3 { font-size: clamp(1.85rem, 3.1vw, 2.5rem); }
figure { margin: 0; }
.wrap { width: min(92%, 79rem); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .55rem 1rem; background: var(--ivory); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 1rem; padding-top: .65rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .65rem; color: var(--olive); font: 1.45rem/1 var(--serif); text-decoration: none; }
.brand img { border-radius: 50%; }
.brand small { display: block; margin-top: .25rem; font: 600 .6rem/1 var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.masthead nav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; column-gap: clamp(1rem, 5vw, 2.5rem); }
.masthead nav a, .bag-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.bag-link { gap: .35rem; }
.masthead nav a:hover, .bag-link:hover { text-decoration: underline; }
.hero { display: grid; gap: 1.5rem; padding-block: clamp(1.75rem, 4.5vw, 4rem); }
.hero-copy { align-self: center; }
.eyebrow { margin: 0 0 1rem; font: 700 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.hero h1 em { display: block; color: var(--burgundy); }
.hero-description { max-width: 36ch; margin: 1.35rem 0 1.6rem; color: var(--olive); }
.hero-visit { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; margin-top: 1.15rem; padding-top: .65rem; border-top: 1px solid var(--rule); color: var(--olive); }
.hero-visit p { margin: .2rem 0; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .62rem 1.05rem; border: 1px solid transparent; font-size: .875rem; font-weight: 700; text-align: center; text-decoration: none; }
.button.primary { color: var(--ivory); background: var(--emerald); }
.button.primary:hover { background: var(--olive); }
.button.secondary { color: var(--burgundy); border-color: var(--burgundy); }
.button.secondary:hover { background: #f2e8e4; }
.hero-photo { position: relative; align-self: center; background: #e1cfb9; box-shadow: 0 .9rem 2rem #4a35221c; }
.hero-photo img { width: 100%; height: auto; }
.hero-photo::after { content: ""; position: absolute; inset: .65rem; border: 1px solid #faf7f0a3; pointer-events: none; }
.section { padding-block: clamp(3rem, 7vw, 6.2rem); }
.section-heading { margin-bottom: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.gift-examples { display: grid; align-items: center; gap: 1.25rem clamp(1.5rem, 4vw, 4rem); max-width: 63rem; margin: 0 auto clamp(2rem, 5vw, 4rem); }
.gift-examples figure { width: min(100%, 30rem); margin-inline: auto; }
.gift-examples img { width: 100%; height: auto; }
.gift-examples figcaption { margin-top: .45rem; color: var(--olive); font-size: .8rem; }
.gift-examples-copy { width: min(100%, 30rem); margin-inline: auto; }
.gift-examples-copy h3 { color: var(--burgundy); }
.gift-examples-copy p { margin: .85rem 0; }
.gift-examples-copy .button { margin-top: .35rem; }
.category-grid, .recipient-list { display: grid; margin: 0; padding: 0; list-style: none; }
.category-grid { gap: .8rem; }
.category-grid a { display: flex; flex-direction: column; justify-content: space-between; gap: 1.1rem; height: 100%; min-height: 9rem; padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--rule); border-top: 2px solid var(--gold); background: #f4eee3; color: var(--olive); text-decoration: none; }
.category-grid li:nth-child(3n+2) a { color: var(--burgundy); background: #f2e8e4; }
.category-grid li:nth-child(3n) a { color: var(--emerald); background: #e9ede4; }
.category-grid a:hover, .recipient-list a:hover { box-shadow: inset 0 0 0 1px currentColor; }
.category-grid span { font-size: .875rem; font-weight: 600; }
.category-grid b { margin-left: .25em; }
.finishing { margin: 1.3rem auto 0; max-width: 66ch; text-align: center; font-size: .9rem; }
.ordering { background: #efe8db; }
.order-grid { display: grid; gap: .4rem 2rem; }
.order-grid article { padding: 1.25rem 0; border-top: 1px solid #bdad90; }
.order-grid h3 { color: var(--burgundy); }
.order-grid p { margin: .7rem 0; }
.order-grid a { display: flex; width: fit-content; }
.category-grid .order-label, .order-grid .order-label { margin: 0 0 .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; font-size: .875rem; }
.recipient-list { gap: .65rem; }
.recipient-list a { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 1rem; border: 1px solid var(--rule); color: var(--emerald); text-decoration: none; }
.recipient-list strong { margin-bottom: .45rem; font: 400 1.9rem/1 var(--serif); }
.recipient-list span { font-size: .875rem; }
.visit { background: var(--emerald); color: var(--ivory); }
.visit h2 { color: inherit; }
.visit .eyebrow { color: #eed4a4; }
.visit-inner { display: grid; gap: 2rem 5rem; max-width: 62rem; }
.visit address { font-style: normal; margin-top: 1.2rem; }
.visit-details { border-top: 1px solid #97aea6; padding-top: 1.75rem; align-self: center; }
.visit-details h3:last-of-type { margin: 1.3rem 0 .4rem; }
.visit-details a { overflow-wrap: anywhere; }
.button.light { background: var(--ivory); color: var(--emerald); }
.button.light:hover { background: #eee2c9; }
.closing { text-align: center; }
.closing .actions { justify-content: center; }
.closing p { margin: 1rem 0 1.4rem; }
.footer { border-top: 1px solid var(--rule); color: var(--olive); font-size: .875rem; }
.footer .wrap, .footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer .wrap { min-height: 4.5rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 32rem) {
  .category-grid, .recipient-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .wrap { width: min(90%, 79rem); }
  .masthead-inner { grid-template-columns: 1fr auto 1fr; padding-top: 0; }
  .masthead nav { grid-column: auto; grid-row: auto; }
  .bag-link { justify-self: end; }
  .gift-examples { grid-template-columns: 1fr 1fr; }
  .category-grid, .order-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipient-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .visit-inner { grid-template-columns: 1fr 1fr; }
  .visit-details { border-top: 0; border-left: 1px solid #97aea6; padding: 0 0 0 2.5rem; }
}
@media (min-width: 58rem) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 5.4rem); }
  .hero-description { font-size: 1.1rem; }
}
