:root {
  color-scheme: light;
  --paper: #f7f9f5;
  --ink: #142b28;
  --muted: #465b55;
  --accent: #ad4329;
  --accent-hover: #8d321e;
  --line: #d6dfd7;
  --holiday-red: #832b36;
  --holiday-deep: #641e2b;
  --holiday-gold: #f2d6a6;
  --holiday-cream: #fff8ed;
  --gutter: clamp(1rem, 4.6vw, 4.25rem);
  --display-font: "Bahnschrift", "Aptos Display", "Segoe UI", system-ui, sans-serif;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #13756b;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: white;
  border-radius: .4rem;
}

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

.shell {
  width: min(calc(100% - var(--gutter) * 2), 74rem);
  margin-inline: auto;
}

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

.holiday-banner {
  border-bottom: 2px solid var(--holiday-gold);
  background:
    linear-gradient(90deg, transparent, var(--holiday-red) 35%, var(--holiday-red) 65%, transparent),
    radial-gradient(circle at 12px 8px, rgb(255 245 216 / .36) 1px, transparent 1.5px) 0 0 / 3.75rem 2rem,
    radial-gradient(circle at 30px 21px, rgb(255 245 216 / .24) 1px, transparent 1.5px) 0 0 / 4.5rem 2.25rem,
    linear-gradient(110deg, var(--holiday-deep), #9d3542 52%, var(--holiday-deep));
  color: var(--holiday-cream);
}

.holiday-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .45rem var(--gutter);
  font-size: .9875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.holiday-banner-label {
  text-decoration: underline;
  text-underline-offset: .23em;
}

.holiday-banner a:hover { color: var(--holiday-gold); }

.holiday-banner a:focus-visible {
  outline-color: var(--holiday-gold);
  outline-offset: -4px;
}

.holiday-flake {
  flex: none;
  color: var(--holiday-gold);
  font-family: "Segoe UI Symbol", sans-serif;
  font-size: .95em;
  line-height: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
  padding-block: .65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .55rem;
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2.5vw, 2rem);
}

.header-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}

.header-inner nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4.3vw, 4.25rem);
  padding-block: clamp(2.5rem, 5.2vw, 4.5rem);
}

.hero h1 {
  font-family: var(--display-font);
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  font-weight: 750;
  line-height: .99;
  letter-spacing: -.057em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero p {
  max-width: 32ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.3rem);
  line-height: 1.52;
}

.shop-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.85rem;
}

.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .65rem 1.45rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.shop-button-primary {
  background: var(--accent);
  color: #fff;
}

.shop-button-primary:hover { background: var(--accent-hover); }

.shop-button-secondary {
  border-color: #9caea5;
  background: #fff;
}

.shop-button-secondary:hover {
  border-color: var(--ink);
  background: #e9f0e9;
}

.hero-photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.025;
  overflow: hidden;
  border-radius: 1rem;
  background: #284b47;
}

.hero-photo img,
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img { object-position: 50% 53%; }

.hero-caption {
  position: absolute;
  bottom: .9rem;
  left: .9rem;
  padding: .45rem .75rem;
  border-radius: .35rem;
  background: #122b27;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
}

.hero-photo:hover .hero-caption {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.products {
  padding-block: 2rem clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.products h2,
.site-footer h2 {
  font-family: var(--display-font);
  font-size: clamp(1.85rem, 3.1vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.products-heading,
.carousel-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.products-heading {
  justify-content: space-between;
  gap: .9rem 1.5rem;
}

.carousel-controls { gap: .5rem; }
.carousel-controls[hidden] { display: none; }

.carousel-controls button {
  min-height: 2.75rem;
  padding: .5rem .9rem;
  border: 1px solid #9caea5;
  border-radius: .55rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}

.carousel-controls button:hover {
  border-color: var(--ink);
  background: #e9f0e9;
}

.carousel-controls [data-rotation] { min-width: 4.75rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.45rem);
  margin-top: 1.35rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: #fff;
}

.product-card a {
  display: block;
  height: 100%;
  border-radius: inherit;
  text-decoration: none;
}

.product-photo {
  height: auto;
  aspect-ratio: 1;
  border-radius: .8rem .8rem 0 0;
  background: #e9efea;
}

.product-caption {
  display: grid;
  gap: .35rem;
  padding: 1rem 1rem 1.15rem;
}

.product-caption h3 {
  font-family: var(--display-font);
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -.022em;
}

.product-caption span {
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 700;
}

.product-card a:hover .product-caption span {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.carousel-ready .product-grid { display: block; }

.carousel-ready .product-card a {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
}

.carousel-ready .product-photo {
  aspect-ratio: 1;
  border-radius: .8rem 0 0 .8rem;
}

.carousel-ready .product-caption {
  justify-items: start;
  gap: .85rem;
  padding: clamp(1.1rem, 4vw, 3rem);
}

.carousel-ready .product-caption h3 {
  max-width: 20ch;
  font-size: clamp(1.55rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

.carousel-ready .product-caption span {
  padding: .55rem .85rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
}

.carousel-ready .product-card:not([hidden]) {
  animation: reveal-print 220ms ease-out;
}

@keyframes reveal-print {
  from { opacity: .65; }
  to { opacity: 1; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  background: linear-gradient(110deg, var(--holiday-deep), var(--holiday-red) 64%, var(--holiday-deep));
  color: var(--holiday-cream);
}

.site-footer::before {
  display: block;
  height: .3rem;
  background: repeating-linear-gradient(125deg, var(--holiday-gold) 0 .45rem, #a44950 .45rem .9rem);
  content: "";
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 2rem;
  padding-block: clamp(1.65rem, 4vw, 3rem);
}

.site-footer h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.site-footer a {
  padding-block: .4rem;
  color: var(--holiday-cream);
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-underline-offset: .22em;
}

.site-footer a:hover { color: var(--holiday-gold); }
.site-footer a:focus-visible { outline-color: var(--holiday-gold); }

@media (max-width: 48rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 2.35rem 2.6rem;
  }

  .hero h1 { font-size: clamp(3rem, 8.5vw, 4.7rem); }
  .hero p { margin-top: 1rem; }
  .shop-links { margin-top: 1.3rem; }
  .hero-figure { max-width: 35rem; }
}

@media (max-width: 37rem) {
  .header-inner { min-height: 4.25rem; }
  .brand { gap: .55rem; font-size: 1.02rem; }
  .brand span { max-width: 7.5rem; }
  .brand-mark { width: 2.35rem; height: 2.35rem; }
  .header-inner nav a { font-size: .875rem; }
  .shop-button { padding-inline: 1.05rem; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-photo { aspect-ratio: 1.08; }
  .carousel-ready .product-card a { grid-template-columns: minmax(0, 1fr); }
  .carousel-ready .product-photo { border-radius: .8rem .8rem 0 0; }
  .carousel-ready .product-caption { min-height: 8.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-button { transition: none; }
  .carousel-ready .product-card:not([hidden]) { animation: none; }
}
