/* Oliver's Finds — original editorial styles. No third-party CSS. */

:root {
  --cream: #f6efe4;
  --paper: #fffaf2;
  --ink: #2a1f16;
  --ink-soft: #4a3b2e;
  --muted: #5d4d3f;
  --line: #ddcbb6;
  --line-strong: #c9b194;
  --accent: #8f3818;
  --accent-hover: #6f2a12;
  --accent-soft: #f3d8c4;
  --banner-bg: #f4e6d4;
  --placeholder: #efe3d2;
  --focus: #1d4f73;
  --ok-bg: #edf4ea;
  --max: 68rem;
  --measure: 42rem;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(42, 31, 22, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, #fbe9d4 0%, transparent 55%),
    radial-gradient(900px 360px at 100% 0%, #f0e0cc 0%, transparent 50%),
    var(--cream);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  padding: 0.55rem 0.85rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.86);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand img,
.brand svg {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.brand-tag {
  display: block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

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

.disclosure-banner {
  margin: 1.4rem 0 1.6rem;
  padding: 0.95rem 1.1rem;
  background: #fff7ea;
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.hero {
  padding: 2.4rem 0 1.2rem;
}

.kicker {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.55rem;
}

h1,
h2,
h3 {
  line-height: 1.22;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.7rem;
}

h3 {
  font-size: 1.18rem;
  margin: 1.4rem 0 0.45rem;
}

.lede,
.article-body p,
.prose p {
  color: var(--ink-soft);
}

.lede {
  font-size: 1.2rem;
  max-width: 44rem;
}

.meta {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
}

.card,
.product-card,
.banner-slot,
.placeholder-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  min-height: 12rem;
}

.card:hover {
  border-color: var(--line-strong);
}

.card h2,
.card h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .meta {
  margin-top: auto;
  padding-top: 0.9rem;
}

.banner-slot,
.product-card,
.placeholder-panel {
  padding: 1.15rem 1.2rem;
}

.banner-slot {
  background: repeating-linear-gradient(
      -45deg,
      var(--banner-bg),
      var(--banner-bg) 12px,
      #f8edde 12px,
      #f8edde 24px
    );
  text-align: center;
  min-height: 7.5rem;
  display: grid;
  place-content: center;
  border-style: dashed;
}

.product-card {
  border-style: dashed;
}

.product-card__art,
.geom {
  height: 7rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  background:
    linear-gradient(135deg, #d9b38c 0%, #c07a4a 46%, #8f3818 100%);
  position: relative;
  overflow: hidden;
}

.product-card__art::after,
.geom::after {
  content: "";
  position: absolute;
  inset: 18% 22%;
  border: 3px solid rgba(255, 250, 242, 0.7);
  border-radius: 50%;
}

.product-card__kicker,
.banner-slot strong,
.placeholder-note {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.product-card p,
.banner-slot p {
  margin: 0.2rem 0;
  color: var(--ink-soft);
}

.article {
  padding-bottom: 3rem;
}

.article-header {
  padding: 2rem 0 0.4rem;
  max-width: var(--measure);
}

.article-body,
.prose {
  max-width: var(--measure);
}

.article-body ul,
.prose ul,
.checklist {
  padding-left: 1.2rem;
}

.article-body li,
.prose li {
  margin: 0.35rem 0;
}

.checklist {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem 1rem 2rem;
}

.note-box {
  background: var(--ok-bg);
  border: 1px solid #c6d6bc;
  border-radius: 8px;
  padding: 0.95rem 1.05rem;
  margin: 1.4rem 0;
}

.article-modules {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 0.4rem;
}

@media (min-width: 720px) {
  .article-modules {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #efe4d4;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer a {
  color: var(--ink-soft);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}
