/* ============================================================
   Penny Camp — modern editorial theme
   Brand hook: "penny" = copper accent. Warm paper, deep ink.
   ============================================================ */
:root{
  --paper:#faf8f5;
  --surface:#ffffff;
  --ink:#1c1b18;
  --muted:#6c675e;
  --faint:#736d63;
  --line:#ece6dd;
  --line-strong:#ddd5c8;

  --copper:#C08260;         /* bright brand copper — decorative accents only */
  --copper-dark:#8a4f26;    /* darker copper — text on light (links, pills) passes WCAG */
  --copper-cta:#a3551e;     /* CTA buttons/labels — white text passes WCAG */
  --copper-soft:#f4e8df;
  --pine:#396850;           /* brand green (primary) */
  --pine-dark:#244c39;
  --pine-soft:#e4eee8;
  --navy:#002240;           /* brand deep navy (footer) */

  --w-prose:44rem;
  --w-wide:72rem;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 1px 2px rgba(28,27,24,.04), 0 8px 24px rgba(28,27,24,.06);
  --shadow-lg:0 4px 12px rgba(28,27,24,.08), 0 20px 48px rgba(28,27,24,.12);

  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --display:"Fraunces","Iowan Old Style",Georgia,serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);
  background:var(--paper);
  color:var(--ink);
  font-size:18px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--copper-dark);text-decoration:none}
a:hover{text-decoration:underline}
::selection{background:var(--copper-soft)}
:focus-visible{outline:2px solid var(--copper);outline-offset:3px;border-radius:3px}

.wrap{max-width:var(--w-wide);margin:0 auto;padding:0 1.5rem}
.prose-wrap{max-width:var(--w-prose);margin:0 auto;padding:0 1.5rem}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,248,245,.8);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:68px;gap:1rem}
.brand{display:flex;align-items:center;gap:.5rem;color:var(--ink)}
.brand:hover{text-decoration:none}
.brand .logo-mark{height:34px;width:34px;flex:0 0 auto;display:block}
.brand .wordmark{font-family:"Baloo 2",var(--display);font-weight:700;font-size:1.5rem;color:var(--pine);letter-spacing:-.01em;line-height:1}
.nav{display:flex;gap:1.7rem;align-items:center;font-size:.95rem;font-weight:500}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--ink);text-decoration:none}
.nav-toggle{display:none;background:none;border:0;font-size:1.5rem;cursor:pointer;color:var(--ink)}

/* ---------- Hero (home) ---------- */
.hero{padding:4.5rem 0 3rem;text-align:center}
.hero .eyebrow{color:var(--copper-dark);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
.hero h1{font-family:var(--display);font-weight:600;font-size:clamp(2.4rem,5vw,3.6rem);line-height:1.05;letter-spacing:-.02em;margin:.6rem 0}
.hero p{font-size:1.2rem;color:var(--muted);max-width:38rem;margin:0 auto}
.hero .cta{margin-top:1.6rem;display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.98rem;
  padding:.72rem 1.3rem;border-radius:999px;cursor:pointer;border:1px solid transparent;transition:.15s}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--copper-cta);color:#fff;box-shadow:var(--shadow)}
.btn-primary:hover{background:var(--copper-dark);color:#fff}
.btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}
.btn-ghost:hover{border-color:var(--copper)}

/* ---------- Section heads ---------- */
.section{padding:2.5rem 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.6rem}
.section-head h2{font-family:var(--display);font-weight:600;font-size:1.7rem;letter-spacing:-.01em}
.section-head h2::after{content:"";display:block;width:2.6rem;height:3px;background:var(--copper);border-radius:2px;margin-top:.5rem}
.section-head a{font-size:.92rem;font-weight:600;color:var(--copper-dark)}

/* ---------- Card grid ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.6rem}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:.18s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--line-strong)}
.card .thumb{aspect-ratio:16/10;background:linear-gradient(135deg,var(--copper-soft),var(--pine-soft));overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;flex:1}
.pill{display:inline-block;align-self:flex-start;font-size:.72rem;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;color:var(--copper-dark);background:var(--copper-soft);
  padding:.25rem .6rem;border-radius:999px;margin-bottom:.7rem}
.card h3{font-family:var(--display);font-weight:600;font-size:1.22rem;line-height:1.25;margin-bottom:.5rem}
.card h3 a{color:var(--ink)}.card h3 a:hover{color:var(--copper-dark);text-decoration:none}
.card .excerpt{color:var(--muted);font-size:.95rem;flex:1}
.card .meta{margin-top:1rem;font-size:.84rem;color:var(--faint);display:flex;align-items:center;gap:.5rem}

/* ---------- Article ---------- */
.article-header{padding:3rem 0 1.5rem;text-align:center}
.article-header .pill{margin:0 auto .9rem}
.article-header h1{font-family:var(--display);font-weight:600;font-size:clamp(2rem,4.2vw,2.9rem);
  line-height:1.1;letter-spacing:-.02em;max-width:46rem;margin:0 auto}
.article-header .dek{color:var(--muted);font-size:1.15rem;max-width:40rem;margin:1rem auto 0}
.byline{display:flex;align-items:center;justify-content:center;gap:.7rem;margin-top:1.5rem;font-size:.92rem;color:var(--muted)}
.byline .avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--copper-soft);border:2px solid var(--surface);box-shadow:var(--shadow)}
.byline .sep{color:var(--line-strong)}
.feature-img{max-width:var(--w-wide);margin:1.8rem auto 0;padding:0 1.5rem}
.feature-img img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);aspect-ratio:16/9;object-fit:cover}

.article-body{display:grid;grid-template-columns:1fr;gap:2rem;max-width:var(--w-prose);margin:2.5rem auto;padding:0 1.5rem}

/* prose */
.prose{font-size:1.075rem;line-height:1.8}
.prose>p{margin:1.25rem 0}
.prose h2{font-family:var(--display);font-weight:600;font-size:1.65rem;line-height:1.2;margin:2.6rem 0 .9rem;letter-spacing:-.01em}
.prose h3{font-family:var(--display);font-weight:600;font-size:1.3rem;margin:2rem 0 .7rem}
.prose ul,.prose ol{margin:1.2rem 0;padding-left:1.4rem}
.prose li{margin:.5rem 0}
.prose a{color:var(--copper-dark);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line-strong)}
.prose a:hover{text-decoration-color:var(--copper)}
.prose img{border-radius:var(--radius-sm);margin:1.6rem 0;box-shadow:var(--shadow)}
.prose blockquote{border-left:3px solid var(--copper);background:var(--surface);
  padding:1rem 1.4rem;margin:1.8rem 0;border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--muted);font-style:italic}
.prose hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}
.prose table{width:100%;border-collapse:collapse;margin:1.8rem 0;font-size:.97rem;
  box-shadow:var(--shadow);border-radius:var(--radius-sm);overflow:hidden}
.prose th,.prose td{padding:.75rem .9rem;text-align:left;border-bottom:1px solid var(--line)}
.prose thead th{background:var(--ink);color:#fff;font-weight:600;font-size:.86rem;letter-spacing:.02em}
.prose tbody tr:nth-child(even){background:#fbf9f6}
.prose strong{font-weight:700}

/* ---------- Verdict box ---------- */
.pc-verdict{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--copper);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:1.3rem 1.5rem;margin:2rem 0}
.pc-verdict .vh{font-family:var(--display);font-weight:600;font-size:1.15rem;margin-bottom:.7rem;display:flex;align-items:center;gap:.5rem}
.pc-verdict .vrow{display:flex;gap:.6rem;padding:.45rem 0;border-top:1px dashed var(--line);align-items:baseline}
.pc-verdict .vrow:first-of-type{border-top:0}
.pc-verdict .vlabel{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  color:#fff;background:var(--pine);padding:.2rem .5rem;border-radius:6px;white-space:nowrap;flex:0 0 auto}
.pc-verdict .vlabel.skip{background:#a4453a}
.pc-verdict .vlabel.pick{background:var(--copper-cta)}

/* ---------- Product card ---------- */
.pc-product{display:grid;grid-template-columns:160px 1fr;gap:1.3rem;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.3rem;margin:1.8rem 0}
.pc-product .pimg{aspect-ratio:1;border-radius:var(--radius-sm);object-fit:cover;background:var(--paper);width:100%}
.pc-product .pname{font-family:var(--display);font-weight:600;font-size:1.2rem;line-height:1.2}
.pc-product .ptag{color:var(--muted);font-size:.92rem;margin:.3rem 0 .6rem}
.pc-product .stars{color:var(--copper);font-size:.95rem;letter-spacing:.08em}
.pc-product .price{font-weight:700;font-size:1.05rem}
.pc-product .proscons{display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1.2rem;margin:.7rem 0;font-size:.9rem}
.pc-product .pros li{list-style:none;position:relative;padding-left:1.2rem;margin:.2rem 0}
.pc-product .pros li::before{content:"✓";position:absolute;left:0;color:var(--pine);font-weight:700}
.pc-product .cons li{list-style:none;position:relative;padding-left:1.2rem;margin:.2rem 0;color:var(--muted)}
.pc-product .cons li::before{content:"–";position:absolute;left:0;color:var(--faint)}
.pc-product .pcta{display:flex;align-items:center;gap:.8rem;margin-top:.6rem;flex-wrap:wrap}
.disclosure{font-size:.78rem;color:var(--faint);font-style:italic}

/* ---------- FAQ accordion ---------- */
.prose details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:.4rem 1.1rem;margin:.6rem 0;box-shadow:var(--shadow)}
.prose details[open]{box-shadow:var(--shadow-lg)}
.prose summary{cursor:pointer;font-weight:600;padding:.6rem 0;list-style:none}
.prose summary::-webkit-details-marker{display:none}
.prose summary::after{content:"+";float:right;color:var(--copper);font-size:1.3rem;line-height:1}
.prose details[open] summary::after{content:"–"}

/* ---------- Author box ---------- */
.author-box{display:flex;gap:1.1rem;align-items:flex-start;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:1.4rem 1.5rem;margin:2.5rem auto 0;max-width:var(--w-prose)}
.author-box .avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:var(--copper-soft)}
.author-box .an{font-family:var(--display);font-weight:600;font-size:1.1rem}
.author-box .ar{color:var(--copper-dark);font-size:.85rem;font-weight:600;margin:.1rem 0 .5rem}
.author-box .ab{color:var(--muted);font-size:.94rem}

/* ---------- Tags / related ---------- */
.tags{display:flex;flex-wrap:wrap;gap:.5rem;max-width:var(--w-prose);margin:1.8rem auto 0;padding:0 1.5rem}
.tag{font-size:.82rem;color:var(--muted);background:var(--surface);border:1px solid var(--line);
  padding:.3rem .8rem;border-radius:999px}
.tag:hover{border-color:var(--copper);color:var(--copper-dark);text-decoration:none}

/* ---------- Ads ---------- */
.ad-slot{margin:2.2rem auto;max-width:var(--w-prose);padding:0 1.5rem;min-height:1px;text-align:center}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy);color:#aeb8c4;margin-top:4rem;padding:3rem 0 2rem;font-size:.92rem}
.site-footer .brand .wordmark{color:#fff}
.site-footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}
.site-footer .brand{color:#fff}
.site-footer h4{color:#fff;font-size:.85rem;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.8rem}
.site-footer a{color:#cfc9bf;display:block;margin:.35rem 0}
.site-footer a:hover{color:#fff}
.site-footer .fine{border-top:1px solid #3a382f;margin-top:2rem;padding-top:1.4rem;color:#9a948a;font-size:.82rem}

/* ---------- Responsive ---------- */
@media(max-width:780px){
  body{font-size:17px}
  .nav{position:fixed;inset:68px 0 auto 0;background:var(--paper);border-bottom:1px solid var(--line);
    flex-direction:column;gap:0;padding:.5rem 1.5rem 1rem;display:none}
  .nav.open{display:flex}
  .nav a{padding:.7rem 0;border-bottom:1px solid var(--line);width:100%}
  .nav-toggle{display:block}
  .pc-product{grid-template-columns:1fr}
  .pc-product .pimg{max-width:200px}
  .site-footer .cols{grid-template-columns:1fr;gap:1.5rem}
}
