/* Cozy Gift Finds — mobile-first gift guide */
:root {
  --bg: #f6f1e4;
  --header-bg: #f7f2e5;
  --ink: #241c16;
  --ink-soft: #4e453c;
  --muted: #6b6157;
  --rust: #8e3b36;
  --logo: #8c3f2c;
  --forest: #1e4a38;
  --forest-2: #163828;
  --sage: #5e7a68;
  --gold: #c49540;
  --blush: #f3d5cf;
  --blush-2: #f6ddd6;
  --foam: #fbf7ee;
  --line: #e4d9c6;
  --frame-cream: #f4efe2;
  --sun: #e8cda0;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --content: 40rem;
  --wide: 68rem;
  --radius: 1.35rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); }
a:hover { color: var(--logo); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  z-index: 20;
  border-radius: 0.3rem;
}
.skip:focus { top: 0.75rem; }

.topbar {
  height: 4px;
  background: var(--forest);
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 1.25rem 0.7rem;
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
  min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  border-radius: 0.62rem;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 0.15rem;
  margin: 0.85rem 0 0.15rem;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.nav a {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  min-height: 44px;
}
.nav a:hover { background: var(--blush-2); color: var(--ink); }
.nav a[aria-current="page"] {
  background: var(--blush-2);
  color: var(--ink);
}

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}
.wrap-wide {
  max-width: var(--wide);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 1rem;
  margin: 0 0 1.35rem;
  color: var(--ink);
  padding: 0;
  list-style: none;
}
.crumbs a {
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--ink);
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--rust);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--rust);
  margin-top: 0.45rem;
}

.hero h1, h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  overflow-wrap: break-word;
}

.dek {
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 0.55rem;
  max-width: 36rem;
}
.updated {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 1.5rem;
}

.hero-art {
  margin: 1.25rem 0 2rem;
  position: relative;
}
.hero-art img, .hero-art svg.hero-svg {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 0.35rem);
}
.pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  min-height: 44px;
}
.pin-btn:hover { background: var(--blush-2); color: var(--ink); }

.prose p { margin: 0 0 1rem; color: var(--ink); }
.prose p + p { margin-top: 0; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.7rem;
  line-height: 1.2;
}

.callouts {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 1.8rem;
}
.callout {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1.05rem;
}
.callout h3 {
  margin: 0 0 0.3rem;
  color: var(--rust);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--sans);
}
.callout p { margin: 0; color: var(--ink-soft); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.85rem;
  margin: 2.4rem 0 1rem;
  letter-spacing: -0.02em;
}

.tiles {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.tile {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.95rem;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 0.85rem;
}
.tile:hover { color: var(--ink); border-color: #d3c4aa; }
.tile h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}
.tile p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.tile-art {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
}
.tile-art svg { width: 100%; height: 100%; }

.guide-list { display: grid; gap: 1rem; }
.guide-card {
  text-decoration: none;
  color: var(--ink);
  display: block;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.guide-card:first-child { border-top: 0; }
.guide-card:hover { color: var(--ink); }
.guide-card .kicker {
  color: var(--rust);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.guide-card h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.guide-card p { margin: 0; color: var(--ink-soft); }

.product {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.product:first-of-type { border-top: 0; }
.product h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.product .why { margin: 0 0 0.9rem; color: var(--ink-soft); }
.byline {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: #f7f2e5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  line-height: 1.2;
  min-height: 44px;
}
.btn:hover, .btn:focus-visible { background: var(--forest-2); color: #f7f2e5; }

.disclosure {
  margin: 2.2rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.disclosure p { margin: 0; }

.site-footer {
  background: var(--header-bg);
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 2.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}
.site-footer a {
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer a.footer-brand {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.site-footer a.footer-brand:hover { color: var(--ink); }

@media (min-width: 800px) {
  .site-header { padding: 1.05rem 2rem 0.9rem; }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .nav { margin: 0; }
  .wrap { padding: 2.2rem 2rem 4.5rem; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .tile-art { width: 100%; height: 8.5rem; }
  .callouts { grid-template-columns: repeat(3, 1fr); }
  .hero-art { max-width: 28rem; }
}

@media (min-width: 1100px) {
  .guide-hero {
    display: grid;
    grid-template-columns: 1fr 22rem;
    gap: 2.5rem;
    align-items: start;
  }
  .hero-art { margin-top: 0; max-width: none; }
}

/* ==== LOVE-REVIEW CARDS ==== */
.disclosure-top {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.4;
}
.guide-intro {
  margin: 0 0 1.25rem;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 36rem;
}
.guide-intro p { margin: 0 0 0.7rem; }
.guide-intro p:last-child { margin-bottom: 0; }
.guide h1 {
  font-size: clamp(1.85rem, 7.2vw, 3.1rem);
  margin-bottom: 0.7rem;
}
.products { display: grid; gap: 1rem; }

.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 0.85rem;
  scroll-margin-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.product:first-of-type { border-top: 1px solid var(--line); }
.product-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--frame-cream);
}
.product-media img,
.product-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-body { min-width: 0; }
.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 0.25rem;
}
.badge-ours {
  display: inline-block;
  background: var(--forest);
  color: #f7f2e5;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
}
.product h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.product .why { margin: 0 0 0.85rem; color: var(--ink-soft); }
.product .byline { margin: 0 0 0.35rem; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  min-height: 44px;
}

.hero-art--after {
  margin: 2.2rem 0 0;
}
@media (max-width: 799px) {
  .hero-art--after img,
  .hero-art--after svg.hero-svg {
    max-height: 30vh;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    object-position: top center;
  }
}

.anchor-slug {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (min-width: 640px) {
  .product {
    grid-template-columns: 10.5rem 1fr;
    align-items: start;
    padding: 1rem;
    gap: 1.1rem;
  }
  .btn { width: auto; display: inline-flex; }
}

@media (min-width: 800px) {
  .product { grid-template-columns: 12.5rem 1fr; }
  .guide h1 { font-size: clamp(2.2rem, 4vw, 3.35rem); }
}

.tile-art img { width:100%; height:100%; object-fit:cover; }

.guide .crumbs { margin-bottom: 0.7rem; }
.guide .guide-intro { margin-bottom: 1rem; }
@media (max-width: 639px) {
  .guide .product-media { aspect-ratio: 5 / 4; }
}
