/*
Theme Name: Pouch Dept Editorial
Theme URI: https://pouchdept.com
Author: Pouch Dept
Description: A fast, accessible editorial theme for independent pouch research and Amazon affiliate publishing.
Version: 1.0.0
Text Domain: pouchdept
*/

:root {
  --ink: #17201c;
  --muted: #5c6862;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --forest: #173f35;
  --forest-2: #245c4d;
  --orange: #d96b37;
  --line: #d9ddd7;
  --shadow: 0 18px 50px rgba(20, 46, 38, .10);
  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; padding: 10px 16px; background: #fff; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.94); border-bottom: 1px solid rgba(23,63,53,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 1.18rem; font-weight: 850; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--forest); border-radius: 12px; font-size: 14px; letter-spacing: -.05em; box-shadow: 0 7px 18px rgba(23,63,53,.2); }
.nav-list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-list a { color: var(--ink); font-size: .94rem; font-weight: 700; text-decoration: none; }
.nav-list a:hover { color: var(--orange); }
.nav-cta { padding: 10px 15px; color: #fff !important; background: var(--forest); border-radius: 999px; }

.notice { padding: 10px 0; color: #fff; background: var(--forest); font-size: .79rem; text-align: center; }
.notice a { color: #fff; }
.hero { overflow: hidden; padding: 88px 0 76px; background: radial-gradient(circle at 82% 20%, rgba(217,107,55,.22), transparent 26%), linear-gradient(135deg, var(--cream), #eef4ef); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--forest-2); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 { max-width: 800px; margin: 0 0 22px; font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { color: var(--forest-2); }
.hero-copy { max-width: 660px; color: var(--muted); font-size: 1.15rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--forest); border-radius: 999px; color: #fff; background: var(--forest); font-weight: 800; text-decoration: none; }
.button:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.button.alt { color: var(--forest); background: transparent; }
.button.alt:hover { color: #fff; }
.pouch-visual { position: relative; min-height: 390px; }
.pouch { position: absolute; inset: 35px 25px 35px 10px; border-radius: 48px 48px 66px 66px; background: var(--forest); box-shadow: var(--shadow); transform: rotate(3deg); }
.pouch::before { content: ""; position: absolute; left: 8%; right: 8%; top: 25%; height: 3px; border-radius: 20px; background: rgba(255,255,255,.35); }
.pouch::after { content: "POUCH / FIT"; position: absolute; left: 12%; bottom: 12%; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 900; letter-spacing: .18em; }
.zipper { position: absolute; right: 15%; top: 20%; width: 42px; height: 74px; border-radius: 18px; background: var(--orange); box-shadow: 0 12px 22px rgba(0,0,0,.16); transform: rotate(3deg); }
.fit-card { position: absolute; right: 0; bottom: 0; width: 210px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.fit-card strong { display: block; font-size: 1.05rem; }
.fit-card span { color: var(--muted); font-size: .82rem; }

.section { padding: 76px 0; }
.section.tinted { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.05em; }
.section-head p { max-width: 550px; margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(20,46,38,.045); }
.card:hover { border-color: rgba(36,92,77,.45); transform: translateY(-2px); transition: .2s ease; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; color: #fff; background: var(--forest); font-weight: 900; }
.card h3 { margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.025em; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: .94rem; }
.card-link { font-weight: 850; text-decoration: none; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.method-step { min-height: 210px; padding: 28px; background: #fff; }
.step-num { color: var(--orange); font-weight: 900; }
.method-step h3 { margin: 42px 0 8px; }
.method-step p { margin: 0; color: var(--muted); font-size: .9rem; }
.feature-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; padding: 48px; color: #fff; background: var(--forest); border-radius: 32px; }
.feature-band h2 { margin: 0 0 15px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1; letter-spacing: -.05em; }
.feature-band p { color: rgba(255,255,255,.72); }
.fit-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.fit-pill { padding: 15px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.06); font-weight: 700; }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; min-height: 280px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-card .tag { color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { margin: 18px 0 12px; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.035em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .93rem; }
.post-card .read { margin-top: auto; font-weight: 850; text-decoration: none; }
.newsletter { padding: 55px; text-align: center; border-radius: 30px; background: var(--cream); }
.newsletter h2 { margin: 0 0 10px; font-size: clamp(2rem,4vw,3.2rem); letter-spacing: -.05em; }
.newsletter p { max-width: 630px; margin: 0 auto; color: var(--muted); }

.page-hero { padding: 70px 0 46px; background: var(--cream); }
.page-hero h1 { max-width: 900px; margin: 8px 0 14px; font-size: clamp(2.5rem,5vw,4.7rem); line-height: 1; letter-spacing: -.06em; }
.page-hero p { max-width: 740px; color: var(--muted); font-size: 1.1rem; }
.content-wrap { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 70px; align-items: start; padding: 60px 0 90px; }
.prose { font-size: 1.03rem; }
.prose h2 { margin-top: 2.2em; font-size: 2rem; line-height: 1.15; letter-spacing: -.04em; }
.prose h3 { margin-top: 1.8em; font-size: 1.35rem; }
.prose p, .prose li { color: #344039; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--cream); }
.prose blockquote { margin: 30px 0; padding: 20px 24px; border-left: 4px solid var(--orange); background: var(--cream); }
.sidebar-box { position: sticky; top: 105px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.sidebar-box h3 { margin-top: 0; }
.sidebar-box ul { margin: 0; padding-left: 18px; }
.disclosure-box { padding: 18px 20px; border: 1px solid #e3c7b7; border-radius: 14px; background: #fff6ef; font-size: .9rem; }
.contact-form { display: grid; gap: 16px; max-width: 680px; }
.contact-form label { font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.form-status { padding: 14px 16px; border-radius: 12px; background: #e9f6ef; }

.site-footer { padding: 55px 0 26px; color: rgba(255,255,255,.75); background: #102b24; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2,.7fr); gap: 60px; }
.site-footer .brand { color: #fff; }
.site-footer h3 { margin-top: 0; color: #fff; font-size: .95rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 900px) {
  .hero-grid, .feature-band, .content-wrap { grid-template-columns: 1fr; }
  .grid-3, .posts-grid { grid-template-columns: repeat(2,1fr); }
  .method-grid { grid-template-columns: repeat(2,1fr); }
  .nav-list li:nth-child(3), .nav-list li:nth-child(4) { display: none; }
  .pouch-visual { min-height: 320px; }
  .sidebar-box { position: static; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .header-inner { min-height: 66px; }
  .nav-list { gap: 10px; }
  .nav-list li:not(:last-child) { display: none; }
  .hero { padding: 62px 0 55px; }
  .hero-grid { gap: 34px; }
  .pouch-visual { min-height: 270px; }
  .pouch { inset: 18px 25px 28px 0; }
  .grid-3, .posts-grid, .method-grid, .fit-list, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 55px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .feature-band, .newsletter { padding: 30px 23px; }
  .page-hero { padding-top: 50px; }
}

