/* SniffQuest canonical editorial stylesheet (Phase 0).
 * Source of truth: assets/editorial.css
 * Sync: python scripts/sync_editorial_css.py
 * Do not edit pages/styles.css — legacy affiliate palette.
 */

:root{
    /* Premium field-guide palette (paper/ink + restrained depth) */
    --sq-bg: #F5EFE6;            /* Bone Paper */
    --sq-surface: #FFF9EF;       /* Warm Ceramic */
    --sq-elevated: #FFFFFF;
    /* Dark green-ink body (field guide, readable on cream) */
    --sq-text: #1e2a23;
    --sq-text2: #756858;
    --sq-divider: rgba(33,27,22,0.10);
    /* Controlled accent system (muted amber / moss gold) */
    --sq-accent: #B8792E;        /* Moss Gold (muted amber) */
    --sq-accent-deep: #7A4A23;   /* Burnt Amber (hover/borders) */
    --sq-depth: #171614;         /* Charcoal depth accent */
    /* Restrained natural greens (outdoor editorial, not “green theme”) */
    --sq-forest: #1E3228;        /* deep forest */
    --sq-moss: #2F4A3C;          /* muted moss */
    --sq-pine: #5C6E64;          /* faded pine */
    --sq-sage: #8F9F94;          /* weathered sage */
    --sq-danger: #C94A35;
    --sq-radius-lg: 22px;
    --sq-radius-md: 16px;
    /* Maintainable “two-family system” using safe fallbacks */
    --sq-serif: Georgia, "Times New Roman", Times, serif;
    --sq-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --sq-mono: ui-monospace, Menlo, Consolas, monospace;
}
body {
    margin: 0;
    font-family: var(--sq-sans);
    color: var(--sq-text);
    background:
        radial-gradient(900px 520px at 15% -10%, rgba(47,74,60,0.10), transparent 55%),
        radial-gradient(820px 480px at 8% 40%, rgba(30,50,40,0.06), transparent 50%),
        radial-gradient(720px 420px at 95% 0%, rgba(184,121,46,0.12), transparent 60%),
        linear-gradient(180deg, rgba(23,22,20,0.06), transparent 220px),
        /* subtle “paper grain” without images */
        repeating-linear-gradient(0deg, rgba(33,27,22,0.010) 0px, rgba(33,27,22,0.010) 1px, transparent 1px, transparent 7px),
        var(--sq-bg);
    line-height: 1.65;
}
a { color: var(--sq-depth); text-decoration: none; }
a:hover { text-decoration: underline; }
.sq-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 18px 72px;
    background: transparent;
}
header {
    border-bottom: 1px solid var(--sq-divider);
    margin-bottom: 28px;
    padding-bottom: 18px;
    box-shadow: 0 10px 28px rgba(23,22,20,0.05);
}
.sq-brand {
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--sq-depth);
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
}
h1, h2, h3 {
    line-height: 1.16;
    margin: 0 0 10px 0;
}
h1 {
    font-family: var(--sq-serif);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.06;
    color: var(--sq-forest);
}
h2 {
    font-family: var(--sq-serif);
    margin-top: 34px;
    font-size: 28px;
    font-weight: 700;
    color: var(--sq-text);
}
h3 {
    font-family: var(--sq-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--sq-text);
}
.sq-meta, .sq-microcopy, .sq-muted {
    color: var(--sq-text2);
    font-size: 14px;
}
.sq-deck {
    font-size: 15px;
    line-height: 1.55;
    max-width: 72ch;
}
.sq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.sq-button-secondary {
    background: rgba(255,255,255,0.78);
    color: var(--sq-depth);
    border: 1px solid var(--sq-divider);
    box-shadow: 0 10px 22px rgba(23,22,20,0.08);
}
.sq-button-secondary:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(23,22,20,0.20);
    box-shadow: 0 14px 28px rgba(23,22,20,0.10);
}
.sq-button:focus-visible {
    outline: 3px solid rgba(184,121,46,0.32);
    outline-offset: 2px;
}
.sq-intro-block {
    background:
        linear-gradient(180deg, rgba(23,22,20,0.03), rgba(255,255,255,0.0) 48px),
        var(--sq-surface);
    border: 1px solid var(--sq-divider);
    padding: 20px;
    border-radius: var(--sq-radius-lg);
    margin-bottom: 28px;
    box-shadow: 0 18px 60px rgba(23,22,20,0.12);
}
.sq-intro-block + .sq-intro-block {
    margin-top: 34px;
}
.sq-intro-block:before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(143,159,148,0.35) 35%,
        rgba(184,121,46,0.28) 65%,
        transparent
    );
    margin: 0 0 14px 0;
}
.sq-intro-meta {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--sq-divider);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 16px;
}
.sq-hero-product, .sq-product-card, .sq-lifestyle, .sq-comparison, .sq-disclaimer, .sq-final-verdict {
    border: 1px solid var(--sq-divider);
    border-radius: var(--sq-radius-lg);
    padding: 22px;
    margin: 28px 0;
    background: var(--sq-surface);
    box-shadow: 0 18px 60px rgba(23,22,20,0.14);
}
.sq-hero-product {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: center;
    background:
        radial-gradient(560px 260px at 15% 0%, rgba(201,141,67,0.12), transparent 55%),
        radial-gradient(560px 260px at 90% 10%, rgba(47,74,60,0.10), transparent 60%),
        var(--sq-surface);
}
.sq-hero-product-no-image { grid-template-columns: 1fr; }
.sq-hero-image {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sq-divider);
}
.sq-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: var(--sq-text2);
    font-weight: 800;
}
.sq-eyebrow:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, rgba(143,159,148,0.55), rgba(184,121,46,0.45));
    margin-left: 10px;
    transform: translateY(-3px);
}
.sq-button {
    display: inline-block;
    background: linear-gradient(180deg, #355445 0%, var(--sq-moss) 48%, #284036 100%);
    color: #FFF9EF;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    margin-top: 10px;
    border: 1px solid rgba(30,50,40,0.55);
    box-shadow: 0 14px 28px rgba(30,50,40,0.22);
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.sq-button:hover {
    background: linear-gradient(180deg, #3d5f4d 0%, #355445 45%, #2f4a3c 100%);
    border-color: rgba(184,121,46,0.45);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(30,50,40,0.26);
    text-decoration: none;
}
.sq-lifestyle-image-block { margin: 28px 0; }
.sq-lifestyle-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--sq-radius-lg);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sq-divider);
}
.sq-comparison { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--sq-divider);
    vertical-align: top;
}
th {
    background: rgba(23,22,20,0.03);
    color: var(--sq-text2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}
.sq-recommended-products { display: grid; gap: 22px; }
.sq-product-card {
    margin-bottom: 12px;
    border: none;
    box-shadow: none;
    padding: 10px 0;
    position: relative;
}
.sq-badge {
    display: inline-block;
    background: rgba(201,141,67,0.14);
    color: var(--sq-text);
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 12px;
    border: 1px solid rgba(201,141,67,0.26);
}
.sq-product-image-wrap {
    width: 100%;
    min-height: 190px;
    background: linear-gradient(165deg, rgba(255,255,255,0.55) 0%, rgba(245,239,230,0.85) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--sq-divider);
    position: relative;
}
.sq-product-image-wrap:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(220px 160px at 30% 25%, rgba(201,141,67,0.08), transparent 65%),
        radial-gradient(220px 160px at 70% 65%, rgba(92,110,100,0.06), transparent 70%),
        repeating-linear-gradient(135deg, rgba(33,27,22,0.035) 0px, rgba(33,27,22,0.035) 1px, transparent 1px, transparent 9px);
    opacity: 0.38;
    pointer-events: none;
}
.sq-product-image {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}
.sq-product-image-missing { color: var(--sq-text2); font-weight: 700; }
.sq-trust-list { padding-left: 20px; }
.sq-disclaimer {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--sq-divider);
    font-size: 14px;
}
.affiliate-disclosure {
    text-align: center;
    font-size: 13px;
    color: var(--sq-text2);
    margin: 24px auto 40px;
    max-width: 980px;
    padding: 0 18px;
}
.sq-preview-topnav a { color: var(--sq-depth); font-weight: 700; }
/* Intent-aware preview: shallow breadcrumbs + authority recall indexes (1810265) */
.sq-crumb {
    font-size: 13px;
    color: var(--sq-text2);
    margin: 0 0 16px 0;
    max-width: 72ch;
    line-height: 1.45;
}
.sq-crumb--hub { margin-bottom: 12px; }
.sq-crumb__link { color: var(--sq-depth); font-weight: 700; text-decoration: none; }
.sq-crumb__link:hover { text-decoration: underline; }
.sq-crumb__sep { color: var(--sq-text2); font-weight: 500; }
.sq-crumb__here { color: var(--sq-text); font-weight: 600; }
.sq-authority-lenses {
    border: 1px solid var(--sq-divider);
    border-radius: var(--sq-radius-lg);
    padding: 16px 18px;
    margin: 22px 0 28px 0;
    background: rgba(255,255,255,0.03);
    box-shadow: 0 12px 36px rgba(23,22,20,0.08);
}
.sq-authority-lenses__kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 800;
    color: var(--sq-text2);
    margin: 0 0 8px 0;
}
.sq-authority-lenses__body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sq-text);
    margin: 0 0 10px 0;
    max-width: 68ch;
}
.sq-authority-lenses__list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.45;
}

article.sq-article a { color: var(--sq-depth); font-weight: 700; }
article.sq-article hr {
    border: none;
    border-top: 1px solid var(--sq-divider);
    margin: 28px 0;
}
article.sq-article code {
    font-family: var(--sq-mono);
    font-size: 0.9em;
    background: rgba(255,255,255,0.04);
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid var(--sq-divider);
}
article.sq-article ul, article.sq-article ol { padding-left: 22px; }
/* Article body: measure, rhythm, chapter breaks (field guide, not CMS dump) */
article.sq-article {
    font-size: 17px;
}
article.sq-article > p,
article.sq-article > ul,
article.sq-article > ol {
    max-width: 68ch;
}
article.sq-article > p {
    margin: 0 0 1.15em 0;
}
article.sq-article > ul > li,
article.sq-article > ol > li {
    margin: 0.35em 0;
}
article.sq-article .sq-article-chapter,
article.sq-article .sq-article-chapter-lede,
article.sq-article .sq-chapter-heading {
    font-family: var(--sq-serif);
    font-weight: 700;
    color: var(--sq-text);
    margin: 2.35rem 0 0.85rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(33,27,22,0.08);
    font-size: 1.45rem;
    line-height: 1.2;
}
article.sq-article .sq-article-chapter-lede {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    font-size: 1.55rem;
    color: var(--sq-forest);
}
article.sq-article .sq-chapter-heading {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    font-size: 1.35rem;
}
article.sq-article .sq-guide-callout {
    margin: 2rem 0;
    padding: 1.25rem 1.35rem 1.35rem;
    border-radius: var(--sq-radius-md);
    border: 1px solid rgba(33,27,22,0.12);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72) 0%, rgba(255,249,239,0.55) 100%);
    box-shadow: 0 12px 40px rgba(23,22,20,0.06);
}
article.sq-article .sq-guide-callout--checklist {
    border-left: 4px solid rgba(47,74,60,0.45);
}
article.sq-article .sq-guide-callout--reading {
    border-left: 4px solid rgba(184,121,46,0.45);
}
article.sq-article .sq-guide-callout--summary {
    border-left: 4px solid rgba(92,110,100,0.4);
    background: rgba(255,255,255,0.5);
}
article.sq-article .sq-guide-callout-kicker {
    margin: 0 0 0.5rem 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sq-pine);
}
article.sq-article .sq-guide-callout .sq-chapter-heading {
    margin-bottom: 0.75rem;
}
article.sq-article .sq-guide-callout ul {
    margin: 0.5rem 0 0 0;
}
article.sq-article > h2.sq-article-chapter + p,
article.sq-article > h2.sq-chapter-heading + p {
    margin-top: 0.4em;
}
article.sq-article .sq-reading-pause {
    margin: 1.85rem auto 1.65rem;
    max-width: 68ch;
    height: 0;
    border: none;
    border-top: 1px solid rgba(33,27,22,0.07);
}
.sq-article-intro {
    background:
        linear-gradient(180deg, rgba(23,22,20,0.025), rgba(255,255,255,0.0) 40%),
        var(--sq-surface);
    border: 1px solid var(--sq-divider);
    border-radius: var(--sq-radius-lg);
    padding: 1.35rem 1.5rem 1.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 14px 44px rgba(23,22,20,0.08);
}
.sq-article-intro-kicker {
    margin: 0 0 0.45rem 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-article-intro-deck {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--sq-text);
    max-width: 68ch;
}
.sq-recommendation-region {
    margin: 2.75rem 0 2rem;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: var(--sq-radius-lg);
    border: 1px solid rgba(33,27,22,0.12);
    background:
        radial-gradient(520px 240px at 0% 0%, rgba(184,121,46,0.08), transparent 55%),
        radial-gradient(480px 220px at 100% 20%, rgba(47,74,60,0.06), transparent 55%),
        var(--sq-elevated);
    box-shadow: 0 20px 56px rgba(23,22,20,0.1);
}
.sq-recommendation-region--soft {
    margin: 3rem 0 2.25rem;
    padding: 1.35rem 1.25rem 1.25rem;
    border-color: rgba(33,27,22,0.09);
    background: rgba(255,255,255,0.42);
    box-shadow: 0 10px 32px rgba(23,22,20,0.06);
}
.sq-commerce-field-note {
    margin: 0 0 1.15rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(47,74,60,0.14);
    border-left: 3px solid rgba(47,74,60,0.28);
    background: rgba(255,255,255,0.5);
    font-size: 13px;
    line-height: 1.5;
    color: var(--sq-text2);
    max-width: 62ch;
}
.sq-commerce-field-note p { margin: 0; }
.sq-article-chapter--soft {
    font-size: 1.05rem;
}
.sq-recommendation-region-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(33,27,22,0.08);
}
.sq-recommendation-kicker {
    margin: 0 0 0.35rem 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sq-accent-deep);
}
.sq-recommendation-title {
    margin: 0 0 0.5rem 0;
    font-family: var(--sq-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--sq-forest);
    line-height: 1.15;
}
.sq-recommendation-deck {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--sq-text2);
    max-width: 62ch;
}
.sq-recommendation-stack > .sq-at-a-glance {
    margin-bottom: 1.75rem;
}
.sq-decision-checkpoint {
    margin: 0 0 0.85rem 0;
    padding: 0.45rem 0.65rem 0.48rem;
    border-radius: 10px;
    border: 1px dashed rgba(33,27,22,0.12);
    background: rgba(255,255,255,0.32);
    font-size: 12px;
    line-height: 1.42;
    color: var(--sq-text2);
    max-width: 68ch;
}
.sq-decision-checkpoint-k {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-ops-rail {
    margin: 0 0 1rem 0;
    padding: 0.5rem 0.65rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(33,27,22,0.08);
    border-left: 3px solid rgba(47,74,60,0.28);
    background: rgba(255,255,255,0.38);
    max-width: 72ch;
}
.sq-ops-rail-k {
    margin: 0 0 0.35rem 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-ops-rail-ul {
    margin: 0;
    padding-left: 1.05rem;
    font-size: 12px;
    line-height: 1.42;
    color: var(--sq-text);
}
.sq-ops-rail-ul li { margin: 0.28rem 0; }
.sq-recommendation-subhead {
    margin: 0 0 0.5rem 0;
    font-family: var(--sq-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sq-text);
}
.sq-at-a-glance {
    padding: 1rem 1.1rem 1.1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(33,27,22,0.08);
}
.sq-at-a-glance-kicker {
    margin: 0 0 0.35rem 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sq-text2);
}
.sq-at-a-glance .sq-preview-quick-picks {
    margin: 0.35rem 0 0 0;
}
.sq-comparison-shell {
    margin: 1.75rem 0;
    padding: 0.5rem 0.65rem 0.85rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(33,27,22,0.08);
    overflow-x: auto;
}
.sq-comparison-shell .sq-recommendation-subhead {
    margin: 0.35rem 0.35rem 0.65rem;
}
/* Pre-card synthesis: contrasts from structured fields only */
.sq-picks-differ {
    margin: 0 0 1.75rem 0;
    padding: 1rem 1.1rem 1.15rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(33,27,22,0.08);
}
.sq-picks-differ .sq-recommendation-subhead {
    margin-top: 0;
}
.sq-synthesis-lead {
    margin: 0 0 0.85rem 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sq-text);
    max-width: 68ch;
}
.sq-synthesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1.25rem;
    margin: 0 0 0.85rem 0;
}
.sq-synthesis-cluster {
    margin: 0;
    padding: 0.65rem 0.75rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(33,27,22,0.07);
    background: rgba(255,255,255,0.55);
}
.sq-synthesis-cluster-kicker {
    margin: 0 0 0.35rem 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-synthesis-cluster-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--sq-text2);
}
.sq-synthesis-bullets {
    margin: 0.25rem 0 0 0;
    padding-left: 1.15rem;
    color: var(--sq-text);
    font-size: 14px;
    line-height: 1.5;
    max-width: 72ch;
}
.sq-synthesis-bullets li { margin: 0.35rem 0; }
.sq-synthesis-summaries {
    margin: 0.5rem 0 0 0;
    padding-left: 1.15rem;
    color: var(--sq-text);
    font-size: 14px;
    line-height: 1.5;
    max-width: 72ch;
}
.sq-synthesis-summaries li { margin: 0.4rem 0; }
.sq-synthesis-tradeoffs {
    margin: 0.75rem 0 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sq-text2);
    max-width: 68ch;
}
.sq-synthesis-scope {
    margin: 0 0 0.75rem 0;
    max-width: 68ch;
    font-size: 13px;
}
.sq-synthesis-matrix-wrap {
    margin: 0.5rem 0 0.65rem 0;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(33,27,22,0.08);
    background: rgba(255,255,255,0.45);
    -webkit-overflow-scrolling: touch;
}
.sq-synthesis-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    min-width: 380px;
}
.sq-synthesis-matrix caption {
    caption-side: top;
    text-align: left;
    padding: 0.4rem 0.55rem 0.3rem;
    font-size: 10px;
    color: var(--sq-text2);
    max-width: none;
    line-height: 1.35;
}
.sq-synthesis-matrix th,
.sq-synthesis-matrix td {
    border: 1px solid rgba(33,27,22,0.08);
    padding: 0.32rem 0.45rem;
    vertical-align: top;
    text-align: left;
    line-height: 1.38;
}
.sq-synthesis-matrix thead th {
    background: rgba(30,50,40,0.08);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-synthesis-matrix tbody th[scope="row"] {
    font-weight: 750;
    color: var(--sq-text2);
    white-space: nowrap;
    width: 5.5rem;
    background: rgba(255,255,255,0.72);
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 0 rgba(33,27,22,0.06);
}
.sq-synthesis-matrix tbody tr:nth-child(even) td {
    background: rgba(255,255,255,0.28);
}
.sq-synthesis-matrix tbody tr:nth-child(even) th[scope="row"] {
    background: rgba(252,250,247,0.92);
}
.sq-synthesis-matrix .sq-synth-corner {
    background: rgba(30,50,40,0.06);
    position: sticky;
    left: 0;
    z-index: 2;
}
.sq-synthesis-caution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.4rem 0.5rem;
    margin: 0.5rem 0 0 0;
}
.sq-synth-caution-card {
    margin: 0;
    padding: 0.42rem 0.5rem 0.48rem;
    border-radius: 8px;
    border: 1px solid rgba(33,27,22,0.09);
    background: rgba(255,253,250,0.75);
}
.sq-synth-caution-name {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sq-danger);
    margin-bottom: 0.25rem;
}
.sq-synth-caution-txt {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--sq-text);
}
.sq-synthesis-tradeoffs-heading {
    margin: 0.75rem 0 0.35rem 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sq-text2);
}
.sq-preview-index li { margin: 10px 0; }
.sq-image-placeholder {
    width: 100%;
    height: 220px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sq-text2);
    font-size: 14px;
    margin: 20px 0;
    border: 1px solid var(--sq-divider);
}
.sq-hub-visual {
    margin: 20px 0 24px 0;
}
.sq-hub-visual__img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--sq-divider);
    display: block;
    background: var(--sq-surface);
}
article.sq-article div.sq-product-image {
    width: 100%;
    height: 120px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--sq-text2);
    margin: 10px 0 20px 0;
    border: 1px solid var(--sq-divider);
}
/* Recommended product cards */
.sq-preview-rec-card {
    border: 1px solid var(--sq-divider);
    border-radius: 16px;
    padding: 18px 20px;
    margin: 16px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.sq-preview-rec-card h3 {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 700;
}
.sq-preview-rec-tagline {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 650;
    color: var(--sq-text2);
    line-height: 1.35;
}
.sq-preview-rec-features {
    margin: 0 0 14px 0;
    padding-left: 1.2rem;
    color: var(--sq-text2);
    font-size: 14px;
    line-height: 1.4;
}
.sq-preview-rec-features li { margin: 5px 0; }
.sq-preview-rec-reason {
    margin: 0 0 12px 0;
    color: var(--sq-text2);
    font-size: 15px;
    line-height: 1.45;
}
.sq-preview-rec-cta { margin: 0; }
.sq-preview-rec-link {
    font-weight: 750;
    color: var(--sq-depth);
    text-decoration: none;
}
.sq-preview-rec-link:hover { text-decoration: underline; }
.sq-preview-rec-fallback { margin-top: 8px; color: var(--sq-text2); }
.sq-preview-rec-fallback ul { margin: 8px 0 0 0; }
.sq-preview-quick-picks {
    margin: 0 0 20px 0;
    padding-left: 1.2rem;
    color: var(--sq-text2);
    font-size: 15px;
    line-height: 1.45;
}
.sq-preview-quick-picks li { margin: 6px 0; }
.sq-preview-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
}
.sq-preview-comparison th,
.sq-preview-comparison td {
    border: 1px solid var(--sq-divider);
    padding: 0.85rem 0.9rem;
    text-align: left;
    vertical-align: top;
}
.sq-preview-comparison thead th {
    background: rgba(30,50,40,0.06);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-preview-comparison tbody tr:nth-child(even) td {
    background: rgba(255,255,255,0.35);
}
.sq-preview-comparison tbody td.sq-comparison-practice {
    color: var(--sq-text);
    line-height: 1.45;
}
.sq-preview-comparison caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 10px 0;
    max-width: 65ch;
}
.sq-recommendation-stack .sq-preview-comparison th,
.sq-recommendation-stack .sq-preview-comparison td {
    padding: 0.55rem 0.65rem;
    font-size: 14px;
}
/* Article: field-guide product picks (1:1 wells, data-sourced notes) */
.sq-article-product-pick {
    margin: 18px 0 0 0;
    padding: 0.85rem 0.95rem 0.9rem;
    border-radius: var(--sq-radius-md);
    border: 1px solid rgba(33,27,22,0.08);
    background: rgba(255,255,255,0.38);
    box-shadow: 0 4px 16px rgba(23,22,20,0.04);
}
.sq-recommendation-region--soft .sq-article-product-pick {
    margin-top: 1.25rem;
}
.sq-article-product-pick--lead {
    border-left: 3px solid rgba(47,74,60,0.22);
    background: rgba(255,255,255,0.44);
}
.sq-recommendation-stack .sq-article-product-pick:last-of-type {
    margin-bottom: 0.5rem;
}
.sq-article-product-pick .sq-eyebrow { margin-bottom: 6px; }
.sq-article-product-pick-grid {
    display: grid;
    grid-template-columns: minmax(112px, 172px) minmax(0, 1fr);
    gap: 12px 14px;
    align-items: start;
}
.sq-cabinet-product-well--article {
    max-width: 172px;
    margin: 0 auto;
    padding: 10px;
    min-height: 0;
}
.sq-cabinet-product-well--article:before {
    opacity: 0.22;
}
.sq-cabinet-product-well--article img {
    max-width: 84%;
    max-height: 84%;
    object-fit: contain;
    object-position: center;
}
.sq-article-product-pick-copy h3 {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 1.12rem;
    line-height: 1.2;
}
.sq-pick-meta-line {
    margin: 0 0 5px 0;
    font-size: 11px;
    line-height: 1.38;
    color: var(--sq-text2);
    font-weight: 600;
}
.sq-pick-meta-dl {
    margin: 0 0 10px 0;
    display: grid;
    gap: 6px 16px;
    grid-template-columns: auto 1fr;
    font-size: 13px;
    max-width: 42ch;
}
.sq-pick-meta-dl dt {
    margin: 0;
    font-weight: 750;
    color: var(--sq-text2);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sq-pick-meta-dl dd {
    margin: 0;
    color: var(--sq-text);
    font-weight: 600;
}
.sq-trait-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem 0.35rem;
    margin: 0 0 7px 0;
    max-width: 52ch;
}
.sq-trait-chip {
    display: inline-block;
    padding: 0.15rem 0.42rem 0.17rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--sq-text);
    background: rgba(47,74,60,0.08);
    border: 1px solid rgba(33,27,22,0.08);
}
.sq-decision-lane {
    margin: 0 0 7px 0;
    padding: 6px 8px 8px;
    border-radius: 10px;
    border: 1px solid rgba(33,27,22,0.08);
    background: rgba(255,255,255,0.4);
}
.sq-decision-lane--fit {
    border-left: 3px solid rgba(47,74,60,0.35);
}
.sq-decision-lane--caution {
    border-left: 3px solid rgba(180,80,60,0.45);
    background: rgba(255,252,250,0.65);
}
.sq-decision-lane-k {
    margin: 0 0 4px 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sq-text2);
}
.sq-decision-lane--fit .sq-decision-lane-k { color: var(--sq-moss); }
.sq-decision-lane--caution .sq-decision-lane-k { color: var(--sq-danger); }
.sq-decision-lane .sq-pick-callout:first-of-type { margin-top: 0; }
.sq-pick-callout {
    margin: 8px 0 0 0;
    padding: 6px 8px;
    border-radius: 9px;
    border: 1px solid var(--sq-divider);
    background: rgba(255,255,255,0.45);
}
.sq-pick-callout--compact {
    padding: 5px 7px;
    margin-top: 5px;
}
.sq-pick-callout-title {
    margin: 0 0 4px 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sq-moss);
}
.sq-pick-callout--compact .sq-pick-callout-title {
    font-size: 10px;
    margin-bottom: 3px;
}
.sq-pick-callout--why .sq-pick-callout-title { color: var(--sq-forest); }
.sq-pick-callout--best .sq-pick-callout-title { color: var(--sq-accent-deep); }
.sq-pick-callout--avoid .sq-pick-callout-title { color: var(--sq-danger); }
.sq-pick-callout--ideal .sq-pick-callout-title,
.sq-pick-callout--fit .sq-pick-callout-title { color: var(--sq-moss); }
.sq-pick-callout-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--sq-text);
}
.sq-pick-callout--compact .sq-pick-callout-body {
    font-size: 13px;
    line-height: 1.42;
}
.sq-pick-summary {
    margin: 0 0 6px 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--sq-text);
    padding: 6px 8px;
    border-left: 3px solid rgba(184,121,46,0.55);
    background: rgba(255,255,255,0.35);
    border-radius: 0 9px 9px 0;
}
.sq-field-notes {
    margin: 6px 0 0 0;
    padding-left: 0.95rem;
    font-size: 11px;
    line-height: 1.42;
    color: var(--sq-text2);
    max-width: 52ch;
}
.sq-field-notes li { margin: 0.2rem 0; }
.sq-pick-facts-dl {
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
    font-size: 12px;
    max-width: 48ch;
    color: var(--sq-text2);
}
.sq-pick-facts-dl dt {
    margin: 0;
    font-weight: 700;
    color: var(--sq-text2);
}
.sq-pick-facts-dl dd {
    margin: 0;
    color: var(--sq-text);
    font-weight: 550;
}
.sq-comparison-fit {
    font-size: 14px;
    line-height: 1.45;
    max-width: 28ch;
}
.sq-article-pick-cta {
    margin: 10px 0 0 0;
    font-weight: 600;
    font-size: 13px;
}
.sq-recommendation-region--soft .sq-article-pick-cta a {
    font-weight: 500;
    border-bottom-width: 1px;
    font-size: 13px;
}

/* Phase 3B — quiet recommendation cards */
.sq-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sq-article-product-pick--quiet {
    padding: 0.75rem 0.85rem 0.8rem;
    box-shadow: none;
    border-color: rgba(33, 27, 22, 0.06);
    background: rgba(255, 255, 255, 0.32);
}
.sq-recommendation-region--soft .sq-article-product-pick--quiet {
    margin-top: 1.1rem;
}
.sq-article-product-pick--quiet.sq-article-product-pick--lead {
    border-left-width: 2px;
    border-left-color: rgba(47, 74, 60, 0.18);
}
.sq-article-product-pick--quiet .sq-eyebrow {
    display: none;
}
.sq-article-product-pick--quiet .sq-article-product-pick-grid {
    grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
    gap: 10px 12px;
}
.sq-article-product-pick--quiet .sq-cabinet-product-well--article {
    max-width: 128px;
    padding: 8px;
}
.sq-article-product-pick--quiet .sq-article-product-pick-copy h3 {
    font-size: 1.05rem;
    font-weight: 650;
    margin-bottom: 0.2rem;
    line-height: 1.25;
}
.sq-pick-byline {
    margin: 0 0 0.35rem 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--sq-text2);
    font-weight: 500;
}
.sq-pick-note {
    margin: 0 0 0.55rem 0;
    font-size: 14px;
    line-height: 1.52;
    color: var(--sq-text);
    max-width: 42ch;
}
.sq-pick-note--muted {
    color: var(--sq-text2);
    font-size: 13px;
}
.sq-article-product-pick--quiet .sq-pick-callout,
.sq-article-product-pick--quiet .sq-decision-lane,
.sq-article-product-pick--quiet .sq-trait-chip-row,
.sq-article-product-pick--quiet .sq-pick-summary,
.sq-article-product-pick--quiet .sq-pick-meta-line,
.sq-article-product-pick--quiet .sq-field-notes,
.sq-article-product-pick--quiet .sq-pick-facts-dl {
    display: none;
}
.sq-article-product-pick--quiet .sq-article-pick-cta {
    margin-top: 0.35rem;
    font-size: 13px;
    font-weight: 500;
}
.sq-recommendation-region--soft .sq-article-product-pick--quiet .sq-article-pick-cta a {
    font-weight: 500;
}
.sq-affiliate-aside {
    margin: 1.75rem 0 0 0;
    padding: 1.15rem 1.2rem 1.1rem;
    border-radius: var(--sq-radius-md);
    border: 1px solid rgba(184,121,46,0.22);
    background: rgba(255,255,255,0.38);
}
.sq-affiliate-aside h2 {
    margin: 0 0 8px 0;
    font-family: var(--sq-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sq-forest);
}
/* Homepage “cabinet” cards (reusable scent-card-ish pattern) */
.sq-cabinet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.sq-cabinet {
    border: 1px solid var(--sq-divider);
    border-radius: var(--sq-radius-lg);
    padding: 16px 16px 14px;
    background:
        radial-gradient(220px 120px at 20% 0%, rgba(184,121,46,0.10), transparent 70%),
        linear-gradient(180deg, rgba(23,22,20,0.03), rgba(255,255,255,0.0) 56px),
        var(--sq-elevated);
    box-shadow: 0 18px 60px rgba(23,22,20,0.12);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    position: relative;
}
.sq-cabinet:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--sq-radius-lg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
    pointer-events: none;
}
.sq-cabinet:hover {
    transform: translateY(-2px);
    border-color: rgba(23,22,20,0.18);
    box-shadow: 0 22px 74px rgba(23,22,20,0.15);
}
.sq-cabinet.sq-cabinet--featured:hover {
    box-shadow: 0 18px 52px rgba(23,22,20,0.11);
}
.sq-cabinet-title {
    font-family: var(--sq-serif);
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--sq-text);
}
.sq-cabinet-meta {
    color: var(--sq-text2);
    font-size: 13px;
    margin: 0;
}
/* Homepage: product-first featured cards (consistent framing, no scenic bands) */
.sq-cabinet.sq-cabinet--featured {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 15px 15px 13px;
    box-shadow: 0 14px 48px rgba(23,22,20,0.095);
}
.sq-cabinet-product-well {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    margin: 0 0 13px 0;
    padding: 14px;
    border: 1px solid var(--sq-divider);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.55), transparent 55%),
        linear-gradient(165deg, rgba(255,255,255,0.88) 0%, rgba(245,239,230,0.94) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.85),
        0 1px 0 rgba(23,22,20,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
.sq-cabinet-product-well:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(33,27,22,0.02) 0px,
            rgba(33,27,22,0.02) 1px,
            transparent 1px,
            transparent 10px
        );
    opacity: 0.4;
    pointer-events: none;
}
.sq-cabinet-product-well img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 76%;
    max-height: 76%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.sq-cabinet-product-placeholder {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 12px 14px;
    max-width: 100%;
    box-sizing: border-box;
}
.sq-cabinet-pick-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sq-text2);
    margin: 0 0 8px 0;
}
.sq-cabinet-pick-name {
    font-family: var(--sq-serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--sq-text);
    margin: 0;
}
.sq-cabinet-pick-hint {
    margin: 10px 0 0 0;
    font-size: 12px;
    color: var(--sq-text2);
    line-height: 1.4;
}
.sq-cabinet-product-placeholder--article {
    padding: 6px 8px;
}
.sq-cabinet-product-placeholder--article .sq-cabinet-pick-label {
    font-size: 8px;
    margin-bottom: 3px;
    letter-spacing: 0.08em;
    opacity: 0.65;
}
.sq-cabinet-product-placeholder--article .sq-cabinet-pick-name {
    font-family: inherit;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.35;
    color: var(--sq-text2);
}
.sq-cabinet-product-placeholder--article .sq-cabinet-pick-hint {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.35;
    opacity: 0.82;
}
.sq-cabinet-product-placeholder--article code {
    font-size: 9px;
}
.sq-home-pillars {
    list-style: none;
    margin: 18px 0 0 0;
    padding: 16px 18px;
    border: 1px solid var(--sq-divider);
    border-radius: 14px;
    background: rgba(255,255,255,0.35);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 20px;
}
.sq-home-pillars li {
    margin: 0;
    font-size: 13px;
    color: var(--sq-text2);
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}
.sq-home-pillars li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(184,121,46,0.75);
}
.sq-home-pillars strong {
    color: var(--sq-text);
    font-weight: 750;
}
.sq-cabinet--hub .sq-cabinet-meta {
    margin-top: 4px;
}
/* Homepage: curated collection previews (short lists; full depth on hub pages) */
.sq-home-collection-preview {
    margin: 28px 0 0 0;
    padding: 0 0 22px 0;
    border-bottom: 1px solid var(--sq-divider);
}
.sq-home-collection-preview:first-of-type { margin-top: 12px; }
.sq-home-collection-preview:last-of-type { border-bottom: none; padding-bottom: 0; }
.sq-home-collection-preview h3 {
    font-family: var(--sq-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.25;
}
.sq-home-collection-preview h3 a {
    color: var(--sq-text);
    text-decoration: none;
}
.sq-home-collection-preview h3 a:hover { text-decoration: underline; }
.sq-home-collection-preview .sq-home-collection-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 14px;
}
.sq-home-collection-preview .sq-home-collection-actions .sq-button { margin: 0; }
.sq-home-unassigned { margin-top: 28px; }
.sq-home-unassigned summary {
    cursor: pointer;
    color: var(--sq-text2);
    font-size: 15px;
    line-height: 1.45;
}
.sq-home-unassigned[open] summary { margin-bottom: 10px; }
@media (max-width: 720px) {
    h1 { font-size: 34px; }
    .sq-hero-product { grid-template-columns: 1fr; }
    .sq-cabinet-grid { grid-template-columns: 1fr; }
    .sq-page { padding: 24px 14px 54px; }
    .sq-home-pillars { grid-template-columns: 1fr; }
    .sq-article-product-pick-grid { grid-template-columns: 1fr; }
    .sq-cabinet-product-well--article { max-width: none; }
}


/* --- Guided trail homepage (canonical index) --- */
/* SniffQuest homepage — Guided Trail composition (polish pass) */

:root {
  --ph-bg: #e8e2d6;
  --ph-paper: #f7f4ee;
  --ph-ink: #14261c;
  --ph-body: #3a403c;
  --ph-muted: #5c635e;
  --ph-green: #174633;
  --ph-green-deep: #123528;
  --ph-line: #d2c9b8;
  --ph-accent: #c2562e;
  --ph-mist: #e6ebe3;
  --ph-max: min(94vw, 50rem);
  --ph-wide: min(96vw, 66rem);
  --ph-measure: 34rem;
  --ph-measure-wide: 38rem;
  --ph-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --ph-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
main.sq-trail-home { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
main.sq-trail-home {
  margin: 0;
  font-family: var(--ph-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ph-body);
  background: var(--ph-bg);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(20, 38, 28, 0.025) 3px,
    rgba(20, 38, 28, 0.025) 4px
  );
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ph-green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 70, 51, 0.28);
}
a:hover { color: var(--ph-green-deep); border-bottom-color: rgba(18, 53, 40, 0.45); }

.ph-header {
  max-width: var(--ph-wide);
  margin: 0 auto;
  padding: 0.9rem 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.ph-brand {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ph-muted);
}

.ph-header a.ph-brand-link {
  border: 0;
  color: inherit;
  font-weight: inherit;
}

.ph-header-meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ph-muted);
}

.ph-header-meta a {
  font-weight: 500;
  border-bottom-color: rgba(23, 70, 51, 0.18);
}

/* —— Arrival —— */
.ph-arrival {
  max-width: var(--ph-wide);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.25rem) 1.25rem clamp(3.25rem, 8vw, 5.25rem);
}

.ph-arrival-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: end;
}

@media (min-width: 880px) {
  .ph-arrival-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2.25rem, 4.5vw, 3.25rem);
  }
}

.ph-arrival-copy {
  max-width: var(--ph-measure);
}

.ph-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-muted);
}

.ph-arrival h1 {
  margin: 0 0 1.1rem;
  font-family: var(--ph-serif);
  font-size: clamp(1.95rem, 4.6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ph-ink);
}

.ph-lead {
  margin: 0 0 1.65rem;
  font-size: clamp(1.02rem, 1.55vw, 1.125rem);
  line-height: 1.62;
  color: var(--ph-body);
  max-width: 31rem;
}

.ph-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--ph-green);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease;
}
.ph-cta-primary:hover {
  background: var(--ph-green-deep);
  color: #fff !important;
}

.ph-cta-note {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--ph-muted);
  max-width: 28rem;
}

.sq-hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.25rem;
}
.sq-cta-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ph-green-deep);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(23, 70, 51, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(20, 38, 28, 0.06);
}
.sq-cta-secondary:hover{
  color: var(--ph-green-deep);
  background: rgba(255,255,255,0.74);
  border-color: rgba(23, 70, 51, 0.32);
}

.ph-photo {
  margin: 0;
  border-radius: clamp(12px, 1.8vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(210, 201, 184, 0.7);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 36px rgba(20, 38, 28, 0.05);
}

.ph-photo--hero {
  box-shadow: 0 14px 40px rgba(20, 38, 28, 0.055);
  align-self: end;
  width: 100%;
  background: #e7e1d8;
}

.ph-photo--hero .ph-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 62%;
}

.ph-photo--hero figcaption {
  padding: 0.7rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.ph-photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(14rem, 38vw, 22rem);
  padding: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
  color: var(--ph-muted);
  border: 1px dashed rgba(23, 70, 51, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.5) 0%, rgba(230, 235, 227, 0.35) 100%);
}

.ph-photo figcaption {
  margin: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ph-muted);
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--ph-line);
}

/* —— Section shells —— */
.ph-band {
  margin: 0;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
}

.ph-band--paper {
  background: linear-gradient(168deg, #faf8f4 0%, var(--ph-paper) 55%, #f0ebe2 100%);
  border-top: 1px solid rgba(210, 201, 184, 0.45);
}

.ph-band--mist {
  background: linear-gradient(180deg, var(--ph-mist) 0%, var(--ph-bg) 100%);
}

.ph-band--trail {
  background: linear-gradient(175deg, #e8ede6 0%, var(--ph-bg) 72%);
  border-top: 1px solid rgba(210, 201, 184, 0.35);
}

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

.ph-inner--wide {
  max-width: var(--ph-wide);
}

.ph-section-title {
  margin: 0 0 0.75rem;
  font-family: var(--ph-serif);
  font-size: clamp(1.32rem, 2.5vw, 1.72rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ph-ink);
}

.ph-section-lead {
  margin: 0 0 1.65rem;
  font-size: 1rem;
  line-height: 1.64;
  color: var(--ph-body);
  max-width: var(--ph-measure-wide);
}

/* —— Relief —— */
.ph-relief-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .ph-relief-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.ph-prose p {
  margin: 0 0 1.1rem;
  max-width: var(--ph-measure-wide);
  line-height: 1.64;
}

.ph-field-note {
  margin: 0;
  padding: 1rem 1.1rem 1.05rem 1.15rem;
  border-left: 3px solid var(--ph-accent);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 12px 12px 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* —— Week one narrative —— */
.ph-week-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

@media (min-width: 768px) {
  .ph-week-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.25rem;
    align-items: start;
  }
}

.ph-photo--week-one {
  max-width: 28rem;
}

.ph-week-spine {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(23, 70, 51, 0.16);
}

.ph-week-beat {
  margin: 0 0 1.65rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid rgba(210, 201, 184, 0.65);
}

.ph-week-beat:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ph-week-beat h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ph-green);
}

.ph-week-beat p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ph-body);
  max-width: 34rem;
}

.ph-week-close {
  margin: 2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ph-muted);
  max-width: var(--ph-measure);
}

/* —— Guided trail waypoints —— */
.ph-trail-intro {
  max-width: var(--ph-measure-wide);
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.64;
}

.ph-waypoint {
  display: grid;
  gap: 1.35rem;
  margin: 0 0 clamp(2.75rem, 6vw, 3.75rem);
  align-items: center;
}

@media (min-width: 800px) {
  .ph-waypoint {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
  .ph-waypoint--flip .ph-waypoint-copy { order: 2; }
  .ph-waypoint--flip .ph-waypoint-visual { order: 1; }
}

.ph-waypoint-marker {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-muted);
}

.ph-waypoint h3 {
  margin: 0 0 0.5rem;
  font-family: var(--ph-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--ph-ink);
}

.ph-waypoint p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.58;
  max-width: 30rem;
}

.ph-waypoint a.ph-trail-link {
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom-color: rgba(23, 70, 51, 0.22);
}

.ph-photo--indoor .ph-photo-slot,
.ph-photo--backyard .ph-photo-slot,
.ph-photo--outdoor .ph-photo-slot,
.ph-photo--week-one .ph-photo-slot,
.ph-photo--field-note .ph-photo-slot {
  min-height: clamp(12rem, 32vw, 17rem);
}

.ph-waypoint-visual .ph-photo-slot {
  min-height: clamp(11rem, 28vw, 16rem);
}

/* —— Quiet gear —— */
.ph-gear-quiet {
  max-width: var(--ph-measure);
}

.ph-gear-quiet p {
  margin: 0 0 1.05rem;
  font-size: 0.94rem;
  line-height: 1.62;
}

.ph-gear-aside {
  margin: 1.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ph-muted);
}

.ph-gear-aside a {
  font-weight: 600;
}

/* —— Closing —— */
.ph-close {
  text-align: left;
  max-width: var(--ph-measure);
}

.ph-close p {
  margin: 0 0 1.05rem;
  font-size: 0.94rem;
  line-height: 1.62;
}

.ph-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin-top: 1.35rem;
  align-items: center;
}

.ph-cta-text {
  font-size: 0.84rem;
  font-weight: 600;
}

/* —— Footer —— */
.ph-footer {
  max-width: var(--ph-wide);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.75rem;
  border-top: 1px solid rgba(210, 201, 184, 0.55);
}

.ph-footer-quiet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
}

.ph-footer-quiet a {
  font-weight: 600;
  color: var(--ph-muted);
  border-bottom-color: rgba(23, 70, 51, 0.16);
}

.ph-footer-tagline {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-size: 0.84rem;
  line-height: 1.58;
  color: var(--ph-muted);
}

.ph-footer-affiliate {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ph-muted);
}

.ph-footer-legal {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ph-muted);
}

.ph-footer-legal a {
  margin-right: 0.75rem;
  font-weight: 600;
  border-bottom-color: rgba(23, 70, 51, 0.16);
}

@media (max-width: 767px) {
  .ph-arrival {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
  }

  .ph-arrival-grid {
    gap: 2rem;
  }

  .ph-arrival-copy {
    max-width: none;
  }

  .ph-lead {
    max-width: none;
  }

  .ph-band {
    padding: 2.75rem 1.15rem;
  }

  .ph-relief-grid {
    gap: 1.5rem;
  }

  .ph-field-note {
    margin-top: 0.25rem;
  }

  .ph-week-layout {
    gap: 1.75rem;
  }

  .ph-photo--week-one {
    max-width: none;
  }

  .ph-waypoint {
    margin-bottom: 2.5rem;
  }

  .ph-close-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .ph-arrival { padding-top: 1.5rem; }
}

main.sq-trail-home .sq-trail-home__hub-grid { margin-top: 1.5rem; }
main.sq-trail-home .sq-trail-home__inside-collections { margin-top: 2rem; }
main.sq-trail-home .sq-home-collection-preview { max-width: var(--ph-wide, 66rem); margin-left: auto; margin-right: auto; }

/* —— Phase 1 homepage repositioning blocks —— */
.sq-trust-strip{
  max-width: var(--ph-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.sq-trust-strip .ph-inner{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.sq-trust-strip__text{
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(23, 70, 51, 0.16);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(20, 38, 28, 0.05);
  color: var(--ph-body);
  font-size: 0.95rem;
}
.sq-trust-strip__text strong{ color: var(--ph-ink); }

.sq-weekly-grid{
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 860px){
  .sq-weekly-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
.sq-weekly-card{
  border-radius: 16px;
  border: 1px solid rgba(210, 201, 184, 0.75);
  background: rgba(255,255,255,0.48);
  box-shadow: 0 12px 28px rgba(20, 38, 28, 0.045);
  padding: 1rem 1rem 0.95rem;
}
.sq-weekly-card__kicker{
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.sq-weekly-card__title{
  margin: 0 0 0.45rem;
  font-family: var(--ph-serif);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ph-ink);
}
.sq-weekly-card__body{
  margin: 0 0 0.65rem;
  color: var(--ph-body);
  max-width: 60ch;
}
.sq-weekly-card__links{
  margin: 0;
  font-size: 0.85rem;
  color: var(--ph-muted);
}
.sq-weekly-card__links a{ font-weight: 650; }
.sq-weekly-card__links a:hover{ text-decoration: none; }

.sq-puppy-grid{
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 860px){
  .sq-puppy-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
.sq-puppy-card{
  border-radius: 16px;
  border: 1px solid rgba(210, 201, 184, 0.75);
  background: rgba(255,255,255,0.52);
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 12px 28px rgba(20, 38, 28, 0.04);
}
.sq-puppy-card__title{
  margin: 0 0 0.45rem;
  font-family: var(--ph-serif);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ph-ink);
}
.sq-puppy-card__body{
  margin: 0 0 0.6rem;
  color: var(--ph-body);
}
.sq-puppy-card__links{
  margin: 0;
  font-size: 0.85rem;
  color: var(--ph-muted);
}

.sq-explore-grid{
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 720px){
  .sq-explore-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
}
.sq-explore-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 70, 51, 0.22);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 22px rgba(20, 38, 28, 0.04);
  color: var(--ph-green-deep);
  font-weight: 700;
}
.sq-explore-pill:hover{
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(23, 70, 51, 0.32);
}

/* —— Phase 2.1: Field Notes + seasonal strip (homepage) —— */
.sq-field-notes-surface{
  max-width: var(--ph-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.sq-field-notes-grid{
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 860px){
  .sq-field-notes-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
.sq-field-note{
  border-radius: 16px;
  border: 1px solid rgba(210, 201, 184, 0.75);
  background: rgba(255,255,255,0.50);
  box-shadow: 0 12px 28px rgba(20, 38, 28, 0.04);
  padding: 1rem 1rem 0.95rem;
}
.sq-field-note__title{
  margin: 0 0 0.45rem;
  font-family: var(--ph-serif);
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--ph-ink);
}
.sq-field-note__body{
  margin: 0 0 0.6rem;
  color: var(--ph-body);
  max-width: 64ch;
}
.sq-field-note__meta{
  margin: 0 0 0.45rem;
  color: var(--ph-muted);
  font-size: 0.82rem;
}
.sq-field-note__link{
  margin: 0;
  font-size: 0.85rem;
  color: var(--ph-muted);
}

.sq-season-strip{
  max-width: var(--ph-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.sq-season-grid{
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 860px){
  .sq-season-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
}
.sq-season-card{
  border-radius: 16px;
  border: 1px solid rgba(210, 201, 184, 0.75);
  background: rgba(255,255,255,0.44);
  box-shadow: 0 12px 28px rgba(20, 38, 28, 0.035);
  padding: 0.9rem 0.95rem 0.85rem;
}
.sq-season-card__kicker{
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.sq-season-card__title{
  margin: 0;
  color: var(--ph-body);
}

/* —— Start Here / beginner journey (sq-trail-journey) —— */
main.sq-trail-journey .ph-arrival--start {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
main.sq-trail-journey .ph-arrival-grid--solo {
  max-width: var(--ph-measure-wide, 40rem);
}
main.sq-trail-journey .ph-progression-spine {
  position: relative;
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(23, 70, 51, 0.16);
}
main.sq-trail-journey .ph-trailhead-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.5rem;
}
@media (min-width: 720px) {
  main.sq-trail-journey .ph-trailhead-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
main.sq-trail-journey .ph-trailhead-card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: clamp(10px, 1.5vw, 14px);
  border: 1px solid rgba(210, 201, 184, 0.75);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 24px rgba(20, 38, 28, 0.04);
}
main.sq-trail-journey .ph-trailhead-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--ph-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ph-ink);
}
main.sq-trail-journey .ph-trailhead-card p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ph-body);
  max-width: none;
}
main.sq-trail-journey .ph-trailhead-card .ph-trail-link {
  font-size: 0.84rem;
}
main.sq-trail-journey .ph-gear-quiet--solo {
  max-width: var(--ph-measure-wide, 40rem);
}

/* —— Identity hubs (sq-trail-identity-hub) —— */
main.sq-trail-identity-hub .ph-band--compact {
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
main.sq-trail-identity-hub .ph-cross-trails-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.35rem;
}
main.sq-trail-identity-hub .ph-cross-trail-link {
  font-size: 0.875rem;
  font-weight: 600;
}
main.sq-trail-identity-hub .ph-editorial-reads {
  max-width: var(--ph-measure-wide, 40rem);
}
main.sq-trail-identity-hub .ph-editorial-reads-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
main.sq-trail-identity-hub .ph-editorial-read {
  display: inline-block;
  margin: 0 0 0.55rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  border-bottom-color: rgba(23, 70, 51, 0.22);
}
main.sq-trail-identity-hub .ph-walk-arc {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  main.sq-trail-identity-hub .ph-walk-arc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
main.sq-trail-identity-hub .ph-walk-arc-step {
  margin: 0;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: clamp(10px, 1.5vw, 14px);
  border: 1px solid rgba(210, 201, 184, 0.7);
  background: rgba(255, 255, 255, 0.4);
}
main.sq-trail-identity-hub .ph-walk-arc-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-green);
}
main.sq-trail-identity-hub .ph-walk-arc-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ph-body);
}

/* —— Phase 3A cornerstone articles —— */
.sq-article-intro--cornerstone {
  margin-bottom: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(33, 27, 22, 0.08);
}
.sq-trail-links {
  margin: 0 0 1.35rem 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(47, 74, 60, 0.12);
  background: rgba(255, 255, 255, 0.38);
  max-width: 62ch;
}
.sq-trail-links-kicker {
  margin: 0 0 0.35rem 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sq-moss, #2f4a3c);
}
.sq-trail-links-inner {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--sq-text2);
}
.sq-trail-links-inner a {
  font-weight: 600;
}
.sq-trail-links-inner a.sq-trail-links__primary {
  color: var(--sq-forest, #2f4a3c);
}
article.sq-article .sq-article-field-note {
  margin: 1.25rem 0 1.5rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(47, 74, 60, 0.14);
  border-left: 3px solid rgba(47, 74, 60, 0.32);
  background: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  line-height: 1.55;
  color: var(--sq-text2);
  max-width: 62ch;
}
article.sq-article .sq-article-field-note p {
  margin: 0;
}
article.sq-article .sq-article-ritual {
  margin: 2rem 0 2.25rem 0;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: var(--sq-radius-md, 12px);
  border: 1px solid rgba(33, 27, 22, 0.09);
  background: rgba(255, 255, 255, 0.35);
}
article.sq-article .sq-article-ritual-kicker {
  margin: 0 0 0.35rem 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sq-moss);
}
article.sq-article .sq-article-ritual-title {
  margin: 0 0 1rem 0;
  font-family: var(--sq-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sq-forest);
  line-height: 1.2;
}
article.sq-article .sq-article-ritual-steps {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  article.sq-article .sq-article-ritual-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
article.sq-article .sq-article-ritual-step {
  margin: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 9px;
  border: 1px solid rgba(33, 27, 22, 0.07);
  background: rgba(255, 255, 255, 0.45);
}
article.sq-article .sq-article-ritual-step h3 {
  margin: 0 0 0.3rem 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sq-accent-deep);
}
article.sq-article .sq-article-ritual-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--sq-text);
}
article.sq-article .sq-article-subhead--soft {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--sq-text2);
}

/* —— Phase 3: Quick Answer panels + utility trust rails —— */
.sq-qa-panel {
  margin: 0 0 1.75rem 0;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: var(--sq-radius-md, 12px);
  border: 1px solid rgba(33, 27, 22, 0.1);
  border-left: 3px solid rgba(180, 120, 60, 0.55);
  background: rgba(255, 255, 255, 0.42);
  max-width: 62ch;
}
.sq-qa-panel__kicker {
  margin: 0 0 0.35rem 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sq-moss, #2f4a3c);
}
.sq-qa-panel__answer {
  margin: 0 0 0.5rem 0;
  font-family: var(--sq-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--sq-forest, #2f4a3c);
}
.sq-qa-panel__verdict {
  margin: 0 0 1rem 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sq-text2);
}
.sq-qa-panel__verdict--urgent .sq-qa-panel__verdict-label {
  color: #8a4a2a;
}
.sq-qa-panel__block {
  margin: 0 0 0.85rem 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(33, 27, 22, 0.07);
}
.sq-qa-panel__block-kicker {
  margin: 0 0 0.25rem 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sq-moss);
}
.sq-qa-panel__block-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sq-text);
}
.sq-qa-panel__block--vet .sq-qa-panel__block-kicker {
  color: #7a4a32;
}
.sq-qa-panel__field-note {
  margin: 0.5rem 0 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.5;
  color: var(--sq-text2);
}
.sq-qa-panel__field-note p {
  margin: 0;
}

.sq-utility-trust {
  margin: 0 0 1.35rem 0;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(47, 74, 60, 0.12);
  background: rgba(255, 255, 255, 0.35);
  max-width: 62ch;
}
.sq-utility-trust__byline {
  margin: 0 0 0.25rem 0;
  font-size: 13px;
}
.sq-utility-trust__dates {
  margin: 0 0 0.35rem 0;
}
.sq-utility-trust__note {
  margin: 0 0 0.5rem 0;
}

.sq-trustrail {
  margin: 0 0 1.25rem 0;
  max-width: 62ch;
}
.sq-trustrail--byline {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(47, 74, 60, 0.12);
  background: rgba(255, 255, 255, 0.35);
}
.sq-byline__name {
  font-weight: 700;
}
.sq-byline__role {
  color: var(--sq-text2);
}
.sq-byline__bio {
  margin: 0.35rem 0 0 0;
}
.sq-dateline {
  margin: 0.5rem 0 0.75rem 0;
}
.sq-trust-strips {
  margin: 0.75rem 0 0 0;
}
.sq-trust-strip {
  margin: 0 0 0.5rem 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.45);
}
.sq-trust-strip--safety {
  border-left: 3px solid rgba(180, 120, 60, 0.45);
}
.sq-trust-strip--affiliate {
  border-left: 3px solid rgba(47, 74, 60, 0.25);
}
.sq-sources-mini,
.sq-editorial-note,
.sq-correction-note {
  margin: 1.25rem 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(33, 27, 22, 0.08);
  background: rgba(255, 255, 255, 0.38);
  max-width: 62ch;
}
.sq-sources-mini__kicker,
.sq-editorial-note__kicker,
.sq-correction-note__kicker {
  margin: 0 0 0.35rem 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sq-moss);
}

.sq-vet-escalation {
  margin: 1.25rem 0 1.5rem 0;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(122, 74, 50, 0.18);
  border-left: 3px solid rgba(122, 74, 50, 0.4);
  background: rgba(255, 255, 255, 0.4);
  max-width: 62ch;
}
.sq-vet-escalation__kicker {
  margin: 0 0 0.35rem 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a4a32;
}
.sq-vet-escalation__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.sq-vet-escalation--compact {
  border: none;
  border-left: 3px solid rgba(122, 74, 50, 0.35);
  padding-left: 0.75rem;
  background: transparent;
}

ul.sq-food-check-list li {
  margin-bottom: 0.65rem;
}

/* —— Phase 3.1: Strategic editorial figures —— */
.sq-editorial-figure {
  margin: 0 0 1.5rem 0;
  max-width: min(100%, 42rem);
}
.sq-editorial-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--sq-radius-md, 12px);
  border: 1px solid rgba(33, 27, 22, 0.08);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.35);
}
.sq-editorial-figure--hero {
  max-width: min(100%, 36rem);
  margin-left: auto;
}
.sq-editorial-figure--hero .sq-editorial-figure__img {
  aspect-ratio: 3 / 2;
}
.sq-editorial-figure--utility .sq-editorial-figure__img,
.sq-editorial-figure--safety .sq-editorial-figure__img {
  aspect-ratio: 3 / 2;
  max-height: 280px;
  object-fit: cover;
}
.sq-editorial-figure--hub .sq-editorial-figure__img {
  aspect-ratio: 16 / 9;
  max-height: 320px;
}
.sq-editorial-figure--field-note .sq-editorial-figure__img {
  aspect-ratio: 8 / 5;
  max-height: 240px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.5);
}
.sq-editorial-figure figcaption {
  margin-top: 0.45rem;
  font-size: 12px;
  line-height: 1.45;
  color: var(--sq-text2);
}
article.sq-article .sq-editorial-figure--utility {
  float: none;
}
.ph-photo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(33, 27, 22, 0.08);
  object-fit: cover;
}
.ph-photo--hero .ph-photo-img {
  aspect-ratio: 3 / 2;
}
.ph-photo--week-one .ph-photo-img,
.ph-photo--waypoint .ph-photo-img {
  aspect-ratio: 3 / 2;
  max-height: 260px;
}

/* ============================================================
   Homepage visual layout fix — overflow guard + hero/week-one
   framing. Scoped to main.sq-trail-home so article pages are
   untouched. Visual polish only; no content/strategy changes.
   ============================================================ */

/* 1 — Horizontal overflow guard (no element exceeds the viewport) */
html { overflow-x: hidden; }
body:has(main.sq-trail-home) { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; }
main.sq-trail-home { max-width: 100%; overflow-x: clip; }
main.sq-trail-home img,
main.sq-trail-home svg,
main.sq-trail-home video { max-width: 100%; height: auto; }
main.sq-trail-home .ph-arrival-grid > *,
main.sq-trail-home .ph-week-layout > * { min-width: 0; }

/* 2 — Hero: wider editorial frame, balanced 42 / 58 columns on desktop */
main.sq-trail-home .ph-arrival {
  max-width: min(94vw, 78rem); /* ~1240px — constrained, not full-bleed */
}
@media (min-width: 880px) {
  main.sq-trail-home .ph-arrival-grid {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}
main.sq-trail-home .ph-arrival-copy { max-width: 36rem; }

/* 3 — Hero image: visually strong but capped; intentional crop; no spill */
main.sq-trail-home .sq-editorial-figure--hero {
  max-width: 100%;
  width: 100%;
  margin: 0;
  border-radius: clamp(12px, 1.8vw, 18px);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(20, 38, 28, 0.07);
  background: #e7e1d8;
}
main.sq-trail-home .sq-editorial-figure--hero .sq-editorial-figure__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 560px;
  object-fit: cover;
  object-position: 58% 42%; /* keep the dog's head/eye framed */
  border: 0;
  border-radius: 0; /* figure clips the corners */
}
main.sq-trail-home .sq-editorial-figure--hero figcaption {
  margin-top: 0;
  padding: 0.7rem 0.95rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ph-muted);
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--ph-line);
}

/* 4 — Week-one image: stable wider crop that keeps the dog framed */
main.sq-trail-home .ph-photo--week-one { max-width: 30rem; }
main.sq-trail-home .ph-photo--week-one .ph-photo-img {
  aspect-ratio: 16 / 10;
  max-height: 320px;
  object-fit: cover;
  object-position: 55% 45%;
}

/* Mobile (single column): stack cleanly, let media breathe but not balloon */
@media (max-width: 879px) {
  main.sq-trail-home .sq-editorial-figure--hero { margin: 0 auto; }
  main.sq-trail-home .sq-editorial-figure--hero .sq-editorial-figure__img {
    max-height: 420px;
  }
  main.sq-trail-home .ph-photo--week-one { max-width: none; }
}
