@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f8f5ed;
  --paper: #fffcf6;
  --pine: #132e25;
  --pine-dark: #102a22;
  --ink: #192e26;
  --quiet: #536057;
  --gold: #ebce92;
  --red: #852c36;
  --line: #ded8c9;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b15438; outline-offset: 4px; }

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

.masthead {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
}
.wordmark-icon { color: var(--red); font-family: var(--sans); font-size: 1.15rem; }
.season {
  color: var(--red);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero {
  color: var(--paper);
  background: var(--pine-dark);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg, #102a22 0%, #102a22 18%, #102a2260 45%, transparent 65%), url("assets/christmas-gifts.webp");
  background-position: center, center 53%;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-inner {
  min-height: clamp(390px, 35vw, 560px);
  display: flex;
  align-items: center;
  padding-block: 44px 51px;
}
.hero-copy { position: relative; max-width: 57%; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(5rem, 8.4vw, 8.6rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.028em;
  margin: 0;
}
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero p { margin: 23px 0 21px; color: #f6eee1; font-size: clamp(1rem, 1.55vw, 1.17rem); }
.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 17px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: .925rem;
  font-weight: 700;
  text-decoration: none;
}
.hero-link:hover { background: #f7e2b6; border-color: #f7e2b6; }

.wishlist { padding-block: 49px 34px; scroll-margin-top: 14px; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 {
  font: 400 clamp(3rem, 5vw, 4.25rem)/.97 var(--serif);
  margin: 0;
}
.gifts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gift {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.gift-top { border-color: #bf9b8b; }
.product-image {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(197px, 19vw, 276px);
  overflow: hidden;
  isolation: isolate;
}
.product-image img { width: 75%; height: auto; mix-blend-mode: multiply; }
.product-image.nike { background: #f2ede2; }
.product-image.ralph { background: #eeeee5; }
.nike img { width: 80%; transform: translateY(9px); }
.ralph img { width: 73%; transform: translateY(13px); }
.product-image.storage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6%;
  background: #efeee6;
  padding-top: 12px;
}
.product-image.storage .enclosure { width: 40%; max-height: 65%; object-fit: contain; }
.product-image.storage .drive { width: 30%; }
.product-image.wedge { background: #eee8e8; }
.wedge img { width: auto; max-width: 78%; height: 82%; object-fit: contain; transform: translate(10px, 15px); }
.priority {
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 15px;
  background: var(--paper);
  color: var(--pine);
  border: 1px solid #d7d3c5;
  border-radius: 4px;
  padding: 6px 9px;
  font-size: .875rem;
  line-height: 1.2;
  font-weight: 700;
}
.priority-top { background: var(--red); border-color: var(--red); color: white; }
.gift-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 25px 23px;
}
.category {
  margin: 0 0 6px;
  color: var(--red);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.gift h3 {
  font: 400 clamp(2rem, 3.5vw, 2.85rem)/1 var(--serif);
  margin: 0 0 8px;
}
.spec { color: var(--quiet); margin: 0 0 18px; line-height: 1.5; }
.gift-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.price { margin: 0; font-size: 1.26rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { color: var(--quiet); font-size: .875rem; font-weight: 400; }
.shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--pine);
  border-radius: 4px;
  color: var(--pine);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.shop-link:hover { background: var(--pine); color: var(--paper); }
.gift-top .shop-link { background: var(--pine); color: var(--paper); }
.gift-top .shop-link:hover { background: #244c3d; }
.bundle { list-style: none; margin: -6px 0 15px; padding: 0; }
.bundle li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-block: 5px; }
.bundle a { display: inline-block; padding: 4px 0; font-weight: 600; text-underline-offset: .18em; }
.bundle a:hover { color: var(--red); }
.bundle span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bundle-total > span, .listing-note { color: var(--quiet); font-size: .875rem; line-height: 1.45; }
.listing-note { margin: 12px 0 0; }

.page-footer { background: var(--pine); color: var(--paper); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-star { color: var(--gold); }
.footer-inner p { margin: 0; font: 400 2rem/1 var(--serif); }

@media (max-width: 790px) {
  .wrap { width: calc(100% - 44px); }
  .gifts { gap: 17px; }
  .gift-body { padding: 20px 19px; }
  .hero-inner { min-height: 365px; }
}
@media (max-width: 595px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-inner { min-height: 58px; }
  .wordmark { font-size: 1.48rem; }
  .season { font-size: .775rem; letter-spacing: .075em; }
  .hero::before {
    inset: auto 0 0;
    height: 232px;
    background-image: linear-gradient(180deg, #102a22 0%, #102a2226 35%, transparent 68%), url("assets/christmas-gifts.webp");
    background-position: center, 93% center;
    background-size: cover, auto 116%;
  }
  .hero-inner { min-height: 420px; align-items: start; padding-block: 34px 182px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(3.9rem, 13vw, 5rem); }
  .hero p { margin: 15px 0 14px; }
  .wishlist { padding-top: 33px; }
  .section-heading { margin-bottom: 17px; }
  .gifts { grid-template-columns: 1fr; }
  .product-image { height: clamp(187px, 54vw, 260px); }
  .gift h3 { font-size: clamp(2.1rem, 8vw, 2.7rem); }
  .bundle li { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
