:root {
    --ink-950: #0f1821;
    --ink-900: #13212d;
    --ink-800: #1f3444;
    --ink-700: #345064;
    --sand-50: #f7f3ea;
    --sand-100: #efe5d2;
    --sand-200: #e1d1b4;
    --sage-100: #d7e7de;
    --teal-400: #53a9a1;
    --teal-500: #2f887f;
    --ember-400: #ef7d37;
    --ember-500: #d76526;
    --gold-300: #ffd497;
    --rose-200: #efc0c0;
    --shadow: 0 22px 50px rgba(15, 24, 33, 0.12);
    --shadow-soft: 0 12px 28px rgba(15, 24, 33, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --shell: min(1180px, calc(100vw - 2rem));
    --shell-wide: min(1280px, calc(100vw - 2rem));
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at top left, rgba(239, 125, 55, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(83, 169, 161, 0.12), transparent 26%),
        linear-gradient(180deg, #fbf8f1 0%, #f4ecdf 100%);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--ember-400);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    background: var(--sand-50);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    z-index: 999;
}

.skip-link:focus {
    left: 1rem;
}

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

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: rgba(247, 243, 234, 0.88);
    border-bottom: 1px solid rgba(31, 52, 68, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand__text {
    display: grid;
    gap: 0.1rem;
}

.brand__text strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand__text small {
    color: var(--ink-700);
    font-size: 0.8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--ink-700);
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink-900);
}

.site-nav__cta {
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 0;
    background: transparent;
    color: var(--ink-900);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform var(--transition), opacity var(--transition);
    content: "";
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before {
    position: absolute;
    top: -6px;
}

.nav-toggle__bars::after {
    position: absolute;
    top: 6px;
}

body.nav-open .nav-toggle__bars {
    background: transparent;
}

body.nav-open .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

.button,
.text-link {
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--ember-400), var(--ember-500));
    color: white;
    box-shadow: 0 12px 24px rgba(215, 101, 38, 0.22);
}

.button-secondary {
    background: rgba(19, 33, 45, 0.06);
    color: var(--ink-900);
    border-color: rgba(19, 33, 45, 0.08);
}

.button-ghost {
    background: transparent;
    color: var(--ink-900);
    border-color: rgba(19, 33, 45, 0.16);
}

.text-link {
    color: var(--teal-500);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--ink-900);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero,
.page-hero {
    position: relative;
    overflow: clip;
}

.hero {
    padding: 4.5rem 0 2.25rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.hero__content h1,
.page-hero h1,
.section-heading h2,
.split-callout h2,
.legal-copy h1,
.product-summary h1 {
    font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
    letter-spacing: 0.02em;
    line-height: 0.95;
}

.hero__content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin: 0 0 1rem;
}

.hero__lede,
.page-hero p {
    font-size: 1.1rem;
    max-width: 42rem;
    color: var(--ink-700);
}

.section-kicker {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--teal-500);
}

.hero__bullets {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 1.25rem 0 0;
    list-style: none;
    color: var(--ink-800);
}

.hero__bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__bullets li::before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal-400), var(--ember-400));
}

.hero__visual {
    position: relative;
    min-height: 27rem;
}

.hero__panel {
    position: absolute;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.4rem;
}

.hero__panel span {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero__panel strong {
    font-size: 1.8rem;
    line-height: 1;
}

.hero__panel small {
    color: rgba(19, 33, 45, 0.74);
}

.hero__panel--large {
    inset: 1rem 5rem 6rem 0;
    background:
        linear-gradient(160deg, rgba(19, 33, 45, 0.98), rgba(52, 80, 100, 0.96)),
        linear-gradient(135deg, rgba(239, 125, 55, 0.28), rgba(83, 169, 161, 0.2));
    color: white;
}

.hero__panel--large small,
.hero__panel--large span {
    color: rgba(255, 255, 255, 0.78);
}

.hero__panel--accent {
    right: 0;
    bottom: 2.5rem;
    width: 17rem;
    background: linear-gradient(135deg, var(--gold-300), var(--ember-400));
    color: var(--ink-900);
}

.hero__panel--mini {
    left: 2rem;
    bottom: 0;
    width: 12rem;
    background: var(--sand-50);
}

.value-bar {
    padding: 1.5rem 0 0;
}

.value-bar__grid,
.icon-grid,
.content-grid,
.prose-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-bar article,
.icon-grid article,
.content-grid article,
.prose-grid article,
.contact-card,
.filter-panel,
.product-summary,
.product-gallery__frame,
.legal-copy,
.mini-deal,
.category-card,
.faq-list details {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(19, 33, 45, 0.07);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.value-bar article,
.icon-grid article,
.content-grid article,
.prose-grid article {
    padding: 1.25rem;
}

.section {
    padding: 2.75rem 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.section-heading h2,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(19, 33, 45, 0.08);
    box-shadow: var(--shadow-soft);
    min-height: 100%;
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(19, 33, 45, 0.08), rgba(239, 125, 55, 0.08));
}

.product-card__media img,
.product-gallery__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__body {
    display: grid;
    gap: 0.85rem;
    padding: 1.2rem;
}

.product-card__eyebrow,
.product-summary__badges,
.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.category-chip,
.badge,
.status-pill,
.save-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.category-chip {
    background: rgba(83, 169, 161, 0.14);
    color: var(--teal-500);
}

.badge {
    background: rgba(19, 33, 45, 0.06);
    color: var(--ink-700);
}

.badge-alt {
    background: rgba(239, 125, 55, 0.12);
    color: var(--ember-500);
}

.status-pill.status-available {
    background: rgba(83, 169, 161, 0.14);
    color: var(--teal-500);
}

.status-pill.status-limited {
    background: rgba(255, 212, 151, 0.44);
    color: #7e4b13;
}

.status-pill.status-pending {
    background: rgba(239, 192, 192, 0.44);
    color: #8b3c3c;
}

.status-pill.status-sold {
    background: rgba(19, 33, 45, 0.12);
    color: var(--ink-700);
}

.save-pill {
    background: linear-gradient(135deg, var(--ember-400), #ff9d54);
    color: white;
}

.product-card__title {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.15;
}

.product-card__title a {
    text-decoration: none;
}

.product-card__title a:hover,
.product-card__title a:focus-visible {
    color: var(--ember-500);
}

.product-card__condition,
.product-card__summary,
.product-summary__notice,
.mini-deal p,
.category-card p,
.results-copy,
.legal-copy p,
.faq-list p {
    margin: 0;
    color: var(--ink-700);
}

.product-card__pricing,
.product-summary__pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-card__price,
.product-summary__pricing strong {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.product-card__retail,
.product-summary__pricing span {
    display: block;
    color: var(--ink-700);
    font-size: 0.9rem;
}

.product-card__actions {
    margin-top: auto;
}

.product-card__overlay,
.product-card__demo {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-card__overlay {
    background: rgba(19, 33, 45, 0.86);
    color: white;
}

.product-card__demo {
    top: auto;
    bottom: 1rem;
    background: rgba(239, 125, 55, 0.92);
    color: white;
}

.product-card__demo--detail {
    top: 1rem;
    bottom: auto;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    padding: 1.4rem;
    display: grid;
    gap: 0.75rem;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    opacity: 0.18;
}

.category-card a {
    font-weight: 700;
    color: var(--ink-900);
}

.category-card__count {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.category-card--ember::after { background: var(--ember-400); }
.category-card--teal::after { background: var(--teal-400); }
.category-card--gold::after { background: var(--gold-300); }
.category-card--copper::after { background: #cb7a4b; }
.category-card--sage::after { background: #92c0a4; }
.category-card--steel::after { background: #8fa8ba; }
.category-card--sunset::after { background: #ff9c6d; }
.category-card--berry::after { background: #d7687b; }
.category-card--forest::after { background: #7aa174; }
.category-card--rose::after { background: #efc0c0; }
.category-card--ink::after { background: #7f91a0; }
.category-card--clay::after { background: #c5926a; }
.category-card--pine::after { background: #6ea17f; }
.category-card--plum::after { background: #9d7ac2; }
.category-card--sand::after { background: #d7c19a; }

.split-callout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    background: linear-gradient(145deg, rgba(19, 33, 45, 0.96), rgba(47, 136, 127, 0.92));
    color: white;
    border-radius: calc(var(--radius-lg) + 4px);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.split-callout p {
    color: rgba(255, 255, 255, 0.82);
}

.stacked-cards {
    display: grid;
    gap: 0.9rem;
}

.mini-deal {
    padding: 1rem 1.1rem;
}

.mini-deal__label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal-500);
    font-weight: 700;
}

.page-hero {
    padding: 2.4rem 0 0.4rem;
}

.page-hero--compact h1 {
    margin: 0 0 0.6rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--ink-700);
    font-size: 0.92rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: rgba(52, 80, 100, 0.46);
}

.breadcrumbs a {
    text-decoration: none;
}

.deals-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 6.4rem;
    padding: 1.2rem;
}

.filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-panel__header h2,
.contact-card h2,
.legal-copy h2,
.faq-list summary {
    margin: 0;
}

.filter-panel__close {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink-700);
}

.filter-form,
.contact-form {
    display: grid;
    gap: 1rem;
}

.filter-form label,
.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.filter-form input,
.filter-form select,
.contact-form input,
.contact-form textarea {
    min-height: 3rem;
    border-radius: 14px;
    border: 1px solid rgba(19, 33, 45, 0.14);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 0.9rem;
    color: var(--ink-900);
}

.contact-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.checkbox input {
    min-height: auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.filter-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.deals-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.deals-toolbar__filters {
    display: none;
}

.product-grid__item[hidden] {
    display: none;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    border: 1px dashed rgba(19, 33, 45, 0.18);
}

.product-detail {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
}

.product-gallery__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.product-gallery__thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.product-gallery__thumb {
    width: 6rem;
    height: 4.5rem;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    background: transparent;
}

.product-gallery__thumb.is-active {
    border-color: var(--ember-400);
}

.product-summary {
    padding: 1.4rem;
    display: grid;
    gap: 1rem;
}

.detail-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.detail-list div {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(19, 33, 45, 0.08);
}

.detail-list dt {
    font-weight: 700;
}

.detail-list dd {
    margin: 0;
    color: var(--ink-700);
}

.product-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.2fr 0.8fr;
}

.contact-card {
    padding: 1.35rem;
}

.contact-card--aside {
    align-self: start;
}

.contact-status {
    min-height: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form__help {
    margin: -0.15rem 0 0;
    color: var(--ink-700);
}

.required-mark {
    color: var(--ember-500);
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-weight: 700;
}

.alert-success {
    background: rgba(83, 169, 161, 0.16);
    color: var(--teal-500);
}

.alert-error {
    background: rgba(239, 192, 192, 0.28);
    color: #8b3c3c;
}

.alert-warning {
    background: rgba(255, 212, 151, 0.34);
    color: #7e4b13;
}

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

.faq-list details {
    padding: 1.1rem 1.2rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
}

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

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--ember-500);
}

.faq-list details[open] summary::after {
    content: "−";
}

.legal-copy,
.check-list {
    padding: 1.4rem;
}

.legal-copy h2 + p,
.legal-copy p + h2 {
    margin-top: 0.75rem;
}

.check-list,
.footer-links,
.footer-notes,
.social-links {
    padding-left: 1.1rem;
}

.check-list li,
.footer-links li,
.footer-notes li,
.social-links li {
    margin-bottom: 0.45rem;
}

.site-footer {
    margin-top: 2rem;
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, rgba(19, 33, 45, 0.98), rgba(15, 24, 33, 1));
    color: rgba(255, 255, 255, 0.84);
}

.site-footer__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1.2fr 0.8fr 1fr;
}

.site-footer h2 {
    margin-top: 0;
    color: white;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer__location {
    color: var(--gold-300);
    font-weight: 700;
}

.site-footer__bottom,
.site-footer__disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1.5rem;
    padding-top: 1rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

code {
    padding: 0.1rem 0.35rem;
    border-radius: 8px;
    background: rgba(19, 33, 45, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
