/* Tipping Naturals — static brand site
   Display: Prata. Body: Outfit. */

:root {
    --bg: #f3eee6;
    --bg-deep: #e7dfd2;
    --paper: #fbf8f3;
    --ink: #1c1916;
    --muted: #5c564e;
    --forest: #24382c;
    --forest-deep: #18261e;
    --line: #ddd4c6;
    --brass: #6e5232;
    --shadow: 0 24px 50px rgba(28, 25, 22, 0.08);
    --serif: "Prata", "Palatino Linotype", Palatino, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --header: 4.5rem;
    --ease: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 1rem);
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
}

img {
    max-width: 100%;
    min-width: 0;
    height: auto;
    display: block;
}

figure {
    margin: 0;
}

a {
    color: inherit;
}

h1, h2, h3, .logo, .contact-mail {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

h1, h2, h3, h4, p {
    margin: 0 0 0.85rem;
}

h1 {
    font-size: clamp(2.7rem, 7vw, 5.15rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    margin-bottom: 0.85rem;
}

h3 {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

h4 {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 1.4rem 0 0.7rem;
}

.container {
    width: min(1120px, calc(100% - 2.5rem));
    min-width: 0;
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    background: var(--forest);
    color: var(--paper);
    padding: 0.6rem 0.9rem;
    z-index: 30;
}

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

.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;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass);
}

.eyebrow::before {
    content: "";
    width: 1.6rem;
    height: 1px;
    background: currentColor;
    flex: 0 0 auto;
}

.lede,
.section-head p,
.story-copy p,
.sku-body > p,
.shop-card p,
.contact-panel p {
    color: var(--muted);
}

.fine {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(243, 238, 230, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), background-color var(--ease);
}

.header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(251, 248, 243, 0.96);
}

.nav {
    width: min(1120px, calc(100% - 2.5rem));
    min-height: var(--header);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-size: 1.35rem;
    letter-spacing: 0;
    text-decoration: none;
    color: var(--forest);
    margin-right: auto;
    line-height: 1;
}

.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.35rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--forest);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background-size: 100% 1px;
}

.btn,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.nav-cta,
.btn-primary {
    background: var(--forest);
    color: #f7f3ec;
    border: 1px solid var(--forest);
}

.nav-cta:hover,
.btn-primary:hover {
    background: var(--forest-deep);
    border-color: var(--forest-deep);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: #f7f3ec;
}

.nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: var(--forest);
    position: relative;
    content: "";
    transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    top: 0;
    transform: rotate(40deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    top: 0;
    transform: rotate(-40deg);
}

.nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.4rem;
    gap: 0.2rem;
}

.nav-links.is-open a {
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
    padding: 0.35rem 0;
    background-image: none;
}

.hero-grid {
    display: grid;
}

.hero-copy {
    padding: 2.25rem 1.25rem 1.4rem;
}

.hero-copy-inner {
    max-width: 38rem;
}

.hero-copy .lede {
    max-width: 36rem;
    font-size: 1.08rem;
}

.hero-figure {
    background: #e7d4bc;
    min-width: 0;
    order: -1;
}

.hero-figure img {
    width: 100%;
    aspect-ratio: 5 / 4;
    max-height: 13.75rem;
    object-fit: cover;
    object-position: center 40%;
}

.hero-line {
    margin: 0.15rem 0 0;
}

.hero-line a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.12rem;
}

.availability {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--forest);
}

.specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.35rem;
    padding: 0;
    list-style: none;
}

.specs li {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--forest);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0 0 0.9rem;
}

.trust {
    border-block: 1px solid var(--line);
    background: var(--paper);
}

.trust-list {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0.9rem 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1rem;
}

.trust-list li {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
}

.story,
.line,
.shop {
    padding: 4.25rem 0;
}

.story-grid,
.shop-grid {
    display: grid;
    gap: 1.5rem;
}

.story-figure,
.sku {
    background: var(--paper);
    border: 1px solid var(--line);
    min-width: 0;
}

.story-figure img,
.sku img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.sku img,
.story-figure img,
.hero-figure img {
    transition: transform 0.7s ease;
}

.sku:hover img {
    transform: scale(1.03);
}

.section-head {
    max-width: 38rem;
    margin-bottom: 2rem;
}

.line {
    background: linear-gradient(180deg, transparent, rgba(255, 252, 247, 0.7) 4%, rgba(255, 252, 247, 0.7) 96%, transparent);
}

.line .section-head {
    max-width: 44rem;
    margin-bottom: 1rem;
}

.line-note {
    max-width: 44rem;
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.line-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.5rem;
}

.line-index a {
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--forest);
}

.line-index a:hover {
    border-color: var(--forest);
}

.line-grid {
    display: grid;
    gap: 1.15rem;
    align-items: start;
}

.sku {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scroll-margin-top: calc(var(--header) + 0.75rem);
    transition: border-color var(--ease);
}

.sku:hover {
    border-color: #c9bba6;
}

.sku img {
    background: #efe6d8;
}

.sku-body {
    padding: 1.05rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.sku-body > p {
    margin: 0 0 0.55rem;
}

.sku h3 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin: 0 0 0.35rem;
}

.sku-kicker,
.sku-meta {
    margin: 0 0 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
}

.sku-meta {
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 500;
    font-size: 0.84rem;
    color: var(--muted);
}

.sku-body > .sku-kicker {
    color: var(--brass);
}

.sku-body > .coming-soon {
    margin: 0.85rem 0 0;
    color: var(--ink);
}

.sku-ings {
    color: var(--muted);
    font-size: 0.88rem;
}

.sku-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.sku-actions .btn {
    width: 100%;
}

.coming-soon {
    margin: 0.85rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.92rem;
}

.text-link {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest);
    text-decoration: none;
    width: fit-content;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
}

.text-link:hover {
    color: var(--forest-deep);
}

.shop {
    background: var(--bg-deep);
}

.shop-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--forest);
    padding: 1.4rem 1.25rem 1.45rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shop-card-muted {
    border-top-color: var(--brass);
}

.shop-label {
    margin: 0 0 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--forest);
}

.shop-card-muted .shop-label {
    color: var(--brass);
}

.shop-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.contact {
    padding: 0 0 4rem;
}

.contact-panel {
    background: var(--forest);
    color: #f6f1e8;
    padding: clamp(1.8rem, 5vw, 3.4rem);
}

.contact-panel .eyebrow,
.contact-panel .fine,
.contact-panel p {
    color: #e4d8c6;
}

.contact-panel h1 {
    font-size: clamp(2.15rem, 5vw, 3.3rem);
    color: #f7f3ec;
}

.btn-light {
    background: #f7f3ec;
    color: var(--forest);
    border: 1px solid #f7f3ec;
}

.btn-light:hover {
    background: #fff;
}

.missing {
    padding-top: 4.5rem;
}

.contact-mail {
    display: inline-block;
    max-width: 100%;
    margin: 0.2rem 0 0.8rem;
    color: #fff;
    font-size: clamp(1.45rem, 4vw, 2.35rem);
    text-underline-offset: 0.14em;
    overflow-wrap: anywhere;
}

.footer {
    padding: 2.5rem 0 1.5rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

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

.footer .logo {
    display: block;
    margin: 0 0 0.4rem;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer a {
    color: var(--forest);
    text-decoration: none;
    display: inline-block;
    padding: 0.18rem 0;
}

.footer a:hover,
.contact-mail:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
}

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

@media (max-width: 719px) {
    .nav-cta { display: none; }
    .cta-row .btn { flex: 1 1 100%; }
}

@media (max-width: 540px) {
    .trust-list { grid-template-columns: 1fr; }
}

@media (min-width: 720px) {
    .trust-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .line-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-grid,
    .shop-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 2.5rem;
    }

    .story-copy {
        padding-inline: 0.4rem;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .nav-toggle { display: none; }

    .nav-links,
    .nav-links.is-open {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        align-items: center;
    }

    .nav-links.is-open a,
    .nav-links a {
        font-family: var(--sans);
        font-size: 0.92rem;
        font-weight: 500;
        letter-spacing: 0;
        padding: 0;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        min-height: calc(100svh - var(--header));
        align-items: stretch;
    }

    .hero-copy {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 4rem 3.25rem;
    }

    .hero-figure {
        order: 0;
        position: relative;
        min-height: 100%;
    }

    .hero-figure img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
    }

    .story,
    .line,
    .shop {
        padding: 6rem 0;
    }

    .line-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sku img,
    .story-figure img,
    .hero-figure img,
    .btn,
    .nav-cta,
    .nav-links a {
        transition: none;
    }
    .sku:hover img {
        transform: none;
    }
}

/* ---- Polish pass: cleaner grid, trust row, shop band ---- */
.line-grid { align-items: stretch; }
.sku img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; display: block; }
.sku-body { padding: 1.25rem 1.2rem 1.35rem; }
.sku h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.25; }
.sku-ings { font-size: 0.84rem; line-height: 1.55; }
.sku-actions { padding-top: 0.75rem; }
.coming-soon { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.trust-list { padding: 1.25rem 0; text-align: center; }
.trust-list li { letter-spacing: 0.12em; }
.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.line-index { margin-bottom: 2rem; }
.shop { background: var(--bg-deep); }
.shop-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 2rem; background: var(--paper); }
.shop-card .btn { margin-top: auto; align-self: flex-start; }
.contact-panel { text-align: center; }
.footer-bottom p { font-size: 0.8rem; }
@media (min-width: 720px) {
    .shop-grid { align-items: stretch; }
}
@media (min-width: 1080px) {
    .line-grid { grid-template-columns: repeat(4, 1fr); }
    .story, .line, .shop { padding: 6rem 0; }
}
@media (max-width: 719px) {
    .story, .line, .shop { padding: 3.25rem 0; }
    .trust-list { grid-template-columns: 1fr 1fr; text-align: left; }
}

/* ---- Round 2: brand, hero, even cards ---- */
.header .logo { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: 0.01em; }
.hero-brand { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--forest); margin: 0 0 0.6rem; letter-spacing: 0.02em; }
.hero-grid, .hero-grid { display: block !important; min-height: 0 !important; }
.hero-copy { padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 1.5rem !important; text-align: center; }
.hero-copy-inner { max-width: 44rem; margin: 0 auto; }
.hero .eyebrow { justify-content: center; }
.hero .specs, .hero .cta-row { justify-content: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
.hero-figure { margin: 0 !important; height: auto !important; position: static !important; background: #efe8dd; }
.hero-figure img { width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain !important; display: block; aspect-ratio: 2400 / 902; }
.sku-badge { align-self: flex-start; margin: 0 0 0.5rem !important; padding: 0.2rem 0.6rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); border: 1px solid var(--forest); }
.sku-kicker + .sku-badge { margin-top: -0.2rem !important; }
.sku-body > p:not(.sku-kicker):not(.sku-badge) { min-height: 7.6em; }
details.sku-ings { margin: 0 0 0.75rem; font-size: 0.84rem; color: var(--muted); }
details.sku-ings summary { cursor: pointer; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; color: var(--forest); }
details.sku-ings p { margin: 0.5rem 0 0; }
.sku h3 { min-height: 2.5em; }
@media (max-width: 719px) { .sku h3, .sku-body > p:not(.sku-kicker):not(.sku-badge) { min-height: 0; } }
.hero-figure img { position: static !important; inset: auto !important; }
.hero-copy { display: block !important; }
.sku { position: relative; }
.sku-body > .sku-kicker, .sku-body > .sku-badge { position: absolute; top: 0.75rem; margin: 0 !important; z-index: 1; background: var(--paper); padding: 0.25rem 0.6rem; border: 1px solid var(--line); font-size: 0.66rem; }
.sku-body > .sku-kicker { left: 0.75rem; color: var(--brass); }
.sku-body > .sku-badge { right: 0.75rem; left: auto; border-color: var(--forest); }
.sku-body > p:not(.sku-kicker):not(.sku-badge) { min-height: 8.3em; }
.sku-body > .sku-badge { right: auto; left: 0.75rem; top: 2.6rem; }
