/*
Theme Name: BreenHill Trail
Theme URI: https://sleepingbaglinner.com/
Author: Codex
Description: A custom WordPress theme for BreenHill Sleeping Bag Liner.
Version: 1.0.0
Text Domain: breenhill-trail
*/

:root {
    --forest: #234b3d;
    --pine: #2f6a55;
    --moss: #6e8b78;
    --sand: #f1e5cf;
    --cream: #fbf7ef;
    --mist: #f7f3ea;
    --paper: #fffdf8;
    --ink: #163127;
    --line: rgba(35, 75, 61, 0.1);
    --line-strong: rgba(35, 75, 61, 0.18);
    --shadow: 0 24px 60px rgba(22, 49, 39, 0.12);
    --shadow-soft: 0 16px 38px rgba(22, 49, 39, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(241, 229, 207, 0.85), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(47, 106, 85, 0.12), transparent 24%),
        linear-gradient(180deg, #f5efe3 0%, #fbf8f1 38%, #f2ecdf 100%);
    font-family: "Avenir Next", "Trebuchet MS", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    overflow: hidden;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(251, 247, 239, 0.88);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(22, 49, 39, 0.66);
}

.brand__title {
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 0.95rem;
}

.nav a {
    color: rgba(22, 49, 39, 0.82);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.92rem 1.4rem;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: linear-gradient(180deg, #295845 0%, #1f4637 100%);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    border: 1px solid rgba(14, 35, 28, 0.18);
    box-shadow: 0 14px 30px rgba(35, 75, 61, 0.26);
}

.button--primary:hover {
    background: linear-gradient(180deg, #214a3a 0%, #17372c 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(24, 53, 42, 0.3);
}

.site-header .button--primary {
    background: #1f4b3b;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid rgba(12, 31, 24, 0.28);
    box-shadow: 0 10px 24px rgba(20, 45, 36, 0.22);
    opacity: 1;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.site-header .button--primary:hover {
    background: #173c2f;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(20, 45, 36, 0.28);
}

.button--secondary {
    background: rgba(255, 253, 248, 0.78);
    color: var(--forest);
    border: 1px solid var(--line);
}

.hero {
    padding: 5rem 0 4.1rem;
}

.hero__content {
    position: relative;
    max-width: 27rem;
    padding: 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
    gap: 3.2rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(47, 106, 85, 0.1);
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.section-title,
.content-title {
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    letter-spacing: -0.03em;
    color: var(--forest);
}

.hero h1 {
    margin: 0.9rem 0 0.95rem;
    font-size: clamp(1.72rem, 2.58vw, 2.45rem);
    line-height: 1.14;
    max-width: 11ch;
}

.hero__lede,
.section-copy p,
.details-intro,
.cta-panel p {
    font-size: 1.05rem;
    color: rgba(22, 49, 39, 0.78);
}

.hero__lede {
    max-width: 22rem;
    font-size: 0.94rem;
    line-height: 1.58;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.45rem;
}

.hero__scene {
    position: relative;
}

.hero__scene-frame {
    position: relative;
    min-height: 620px;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(244, 236, 220, 0.75), rgba(231, 222, 205, 0.75));
    border: 1px solid rgba(35, 75, 61, 0.08);
    box-shadow: 0 20px 44px rgba(22, 49, 39, 0.08);
}

.hero__scene-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(247, 241, 231, 0.18) 0%, rgba(247, 241, 231, 0.04) 26%, rgba(247, 241, 231, 0) 46%),
        linear-gradient(180deg, rgba(18, 30, 26, 0.04), rgba(18, 30, 26, 0.1));
    pointer-events: none;
}

.hero__scene-image {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    transform: scale(1.08);
    transform-origin: center center;
    object-position: 84% 50%;
}

.stat,
.card,
.feature,
.review,
.step,
.rating-panel,
.faq-item,
.cta-panel,
.details-panel {
    background: rgba(255, 253, 248, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.stat {
    border-radius: var(--radius-md);
    padding: 1rem;
}

.stat__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--forest);
}

.stat p,
.card p,
.feature p,
.review p,
.step p {
    margin: 0;
    color: rgba(22, 49, 39, 0.76);
}

.section {
    padding: 4.8rem 0;
    scroll-margin-top: 110px;
}

.section--soft {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.46), rgba(241, 229, 207, 0.6));
}

.section--shop {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.section-copy {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.section-copy--tight {
    max-width: 34rem;
}

.section-copy--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin: 0.85rem 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.03;
}

.cards,
.features,
.reviews,
.steps {
    display: grid;
    gap: 1.2rem;
}

.cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature,
.review,
.step {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.kicker {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(22, 49, 39, 0.56);
}

.card h3,
.feature h3,
.review h3,
.step h3 {
    margin: 0.72rem 0 0.42rem;
    font-size: 1.3rem;
    line-height: 1.24;
    color: var(--forest);
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: center;
}

.feature-visual__frame {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, #efe3c9 0%, #ddd0b2 100%);
    border: 1px solid rgba(35, 75, 61, 0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.feature-visual__frame::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 14%;
    bottom: 12%;
    border-radius: 30px;
    background: linear-gradient(180deg, #fefcf6, #f4ebd9);
}

.feature-visual__liner {
    position: absolute;
    left: 16%;
    right: 20%;
    top: 20%;
    bottom: 18%;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(53, 94, 75, 1), rgba(27, 61, 48, 1));
    box-shadow: 0 22px 30px rgba(22, 49, 39, 0.18);
}

.feature-visual__tag {
    position: absolute;
    right: 1.4rem;
    bottom: 1.4rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.92);
    font-weight: 800;
    color: var(--forest);
}

.features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.details-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: center;
}

.details-visual__board {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, #fffaf0 0%, #f1e7d5 100%);
    border: 1px solid rgba(35, 75, 61, 0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.details-visual__liner {
    position: absolute;
    left: 18%;
    right: 18%;
    top: 10%;
    bottom: 10%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(52, 94, 74, 1), rgba(31, 68, 54, 1));
}

.details-visual__measure {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(35, 75, 61, 0.1);
    color: var(--forest);
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(22, 49, 39, 0.08);
}

.details-visual__measure--wide {
    left: 18%;
    right: 18%;
    bottom: 1.4rem;
    text-align: center;
    padding: 0.7rem 1rem;
}

.details-visual__measure--tall {
    top: 16%;
    right: 1rem;
    writing-mode: vertical-rl;
    padding: 1rem 0.6rem;
}

.details-panel {
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.spec-list {
    margin: 1.4rem 0 0;
}

.spec-list__row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(35, 75, 61, 0.08);
}

.spec-list__row:last-child {
    border-bottom: 0;
}

.spec-list dt {
    font-weight: 800;
    color: var(--forest);
}

.spec-list dd {
    margin: 0;
    color: rgba(22, 49, 39, 0.78);
}

.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
    position: relative;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: rgba(47, 106, 85, 0.12);
    color: var(--forest);
    font-weight: 800;
}

.reviews-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
}

.rating-panel {
    min-width: 220px;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.3rem;
}

.rating-panel strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--forest);
}

.rating-panel span {
    color: rgba(22, 49, 39, 0.7);
}

.reviews--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review strong {
    display: inline-block;
    margin-top: 1rem;
    color: var(--forest);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    border-radius: var(--radius-md);
    padding: 1.05rem 1.2rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    color: var(--forest);
    position: relative;
    padding-right: 1.6rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin: 0.8rem 0 0;
    color: rgba(22, 49, 39, 0.76);
}

.cta-panel {
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
}

.cta-panel--final {
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(241, 229, 207, 0.9));
}

.site-footer {
    padding: 2rem 0 3rem;
    color: rgba(22, 49, 39, 0.68);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
}

.content-hero {
    padding: 3rem 0 1rem;
}

.content-layout {
    width: min(calc(100% - 2rem), 860px);
    margin: 0 auto;
}

.content-card {
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.content-meta {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(22, 49, 39, 0.58);
}

.content-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.08;
    margin: 0.75rem 0 1rem;
}

.entry-content {
    font-size: 1.05rem;
}

.entry-content h2,
.entry-content h3 {
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    color: var(--forest);
}

.entry-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-top: 2.2rem;
}

.entry-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
}

.entry-content p,
.entry-content ul,
.entry-content figure {
    margin: 0 0 1.1rem;
}

.entry-content ul {
    padding-left: 1.2rem;
}

.entry-content img {
    width: 100%;
    height: auto;
}

.entry-links {
    margin-top: 1.6rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero__grid,
    .feature-grid,
    .details-grid,
    .faq-layout,
    .cards,
    .reviews--six,
    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .reviews-head,
    .cta-panel,
    .site-footer__inner,
    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-stage,
    .feature-visual__frame,
    .details-visual__board {
        min-height: 420px;
    }
}

@media (max-width: 680px) {
    .nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero {
        padding-top: 2.8rem;
    }

    .hero h1 {
        max-width: none;
    }

    .hero__content {
        max-width: none;
    }

    .section {
        padding: 3.5rem 0;
    }

    .spec-list__row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .hero__scene-frame,
    .hero__scene-image {
        min-height: 460px;
    }
}
