/* =============================================================
   Homepage Preview — fresh layout, not the existing shortcodes.
   Scoped under .hp-preview to avoid leaking into other pages.
   ============================================================= */

.hp-preview {
    --hp-bg: #fafaf8;
    --hp-surface: #ffffff;
    --hp-ink: #14110f;
    --hp-ink-muted: #555;
    --hp-line: #e8e4dd;
    --hp-brand: var(--primary-color, #b32b1c);
    --hp-brand-deep: #8a1f15;
    --hp-accent: var(--primary-color, #b32b1c);

    background: var(--hp-bg);
    color: var(--hp-ink);
    font-family: var(--primary-font, 'Work Sans'), sans-serif;
    line-height: 1.5;
}

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

/* Shared eyebrows + buttons */
.hp-eyebrow {
    color: var(--hp-brand);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hp-eyebrow--light { color: rgba(255, 255, 255, 0.85); }

.hp-btn {
    align-items: center;
    border: 1.5px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
    line-height: 1.2;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
    transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hp-btn--primary { background: var(--hp-brand); color: #fff !important; }
.hp-btn--primary:hover { filter: brightness(0.92); color: #fff !important; }
.hp-btn--ghost { background: transparent; border-color: var(--hp-ink); color: var(--hp-ink) !important; }
.hp-btn--ghost:hover { background: var(--hp-ink); color: #fff !important; }
.hp-btn--white { background: #fff; color: var(--hp-brand) !important; border-color: #fff; }
.hp-btn--white:hover { background: rgba(255,255,255,0.92); color: var(--hp-brand) !important; }
.hp-btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

/* Section primitives */
.hp-section {
    margin: 0 auto;
    max-width: 1280px;
    padding: 64px 24px;
}
.hp-section__head {
    margin-bottom: 28px;
    max-width: 720px;
}
.hp-section__head--with-link {
    align-items: end;
    display: flex;
    justify-content: space-between;
    max-width: none;
    flex-wrap: wrap;
    gap: 16px;
}
.hp-section__head--centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.hp-inventory__foot {
    margin-top: 28px;
    text-align: center;
}
.hp-section__title {
    color: var(--hp-ink);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0;
}
.hp-section__link {
    color: var(--hp-brand);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.hp-section__link:hover { text-decoration: underline; }

/* ============ 1. Utility strip ============ */
.hp-utility {
    background: var(--hp-ink);
    color: #fff;
    position: relative;
    z-index: 1;
}

/* When the theme's main header becomes sticky during scroll, hide the
   utility strip so we don't get a duplicate dark band stacked under the
   white sticky header. The strip is only useful at the very top of the
   page; once the user has scrolled past it, the sticky header takes over
   that role. Uses :has() so it scopes only to the homepage-preview. */
body:has(.header.header--sticky) .hp-preview .hp-utility {
    display: none;
}
.hp-utility__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 14px 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1280px;
    padding: 10px 24px;
}
.hp-utility__pill {
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.hp-utility__pill::before {
    background: var(--hp-accent);
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 6px;
    margin-right: 8px;
    width: 6px;
}
.hp-utility__link {
    color: #fff;
    font-weight: 600;
    margin-left: auto;
    text-decoration: none;
}
.hp-utility__link:hover { text-decoration: underline; color: #fff; }

/* ============ 2. Hero ============ */
.hp-hero {
    /* background-color is set inline by the shortcode; the fallback below
       only kicks in if the inline color is missing for any reason. */
    background-color: #14110f;
    overflow: hidden;
    position: relative;
}

/* Solid-color mode: just the inline background-color is shown, no overlay. */
.hp-hero--color {
    /* nothing extra — section's inline bg-color provides the look. */
}

/* Mode: image (default) — single bg layer, inline-styled in markup */
.hp-hero__bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    position: absolute;
    z-index: 0;
}

/* Mode: video — full-bleed muted loop (HTML5 file) */
.hp-hero__media {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: 0;
}

/* Mode: video via YouTube/Vimeo iframe. Iframes can't `object-fit: cover`
   their content, so we scale the iframe up to ~177% of its container
   (16:9 = 177vh wide for full-height fit) and translate to center it.
   This crops the letterboxing on both sides and gives a true background
   effect. The wrapper hides overflow. */
.hp-hero__media-wrap--embed {
    height: 100%;
    inset: 0;
    overflow: hidden;
    pointer-events: none; /* iframe steals clicks otherwise */
    position: absolute;
    width: 100%;
    z-index: 0;
}
.hp-hero__media--embed {
    border: 0;
    height: 56.25vw; /* 16:9 of viewport width */
    left: 50%;
    min-height: 100%;
    min-width: 177.78vh; /* 16:9 of viewport height (100vh * 16/9) */
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
}

/* Mode: slider — stacked layers cross-fading via CSS keyframes
   Each slide is delayed by 6s so the cycle length must equal
   (slides * 6s). 4 slides → 24s loop. Adjust if slide count changes. */
.hp-hero__slider {
    inset: 0;
    position: absolute;
    z-index: 0;
}
.hp-hero__slide {
    animation: hpHeroSlideFade 24s infinite;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    opacity: 0;
    position: absolute;
}
@keyframes hpHeroSlideFade {
    0%, 20%   { opacity: 1; }
    25%, 95%  { opacity: 0; }
    100%      { opacity: 0; }
}

/* Shared darkening overlay — sits above the media but below the text.
   Opacity is driven by --hp-hero-overlay (0-1) set inline on .hp-hero.
   Solid black so 0 = transparent and 100 = fully opaque, with an even,
   linear range in between. */
.hp-hero__overlay {
    background: rgba(0, 0, 0, var(--hp-hero-overlay, 0.6));
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}
.hp-hero__inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 96px 24px 80px;
    position: relative;
    z-index: 2;
}
.hp-hero__title {
    color: #fff;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 920px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}
.hp-hero__title-accent {
    background: linear-gradient(90deg, #ffd56b, #ffb147);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hp-hero__lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 620px;
}
.hp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}
.hp-hero__ctas .hp-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff !important;
    backdrop-filter: blur(2px);
}
.hp-hero__ctas .hp-btn--ghost:hover {
    background: #fff;
    color: var(--hp-ink) !important;
    border-color: #fff;
}
.hp-hero__metrics {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 8px;
}
.hp-metric {
    border-right: 1px solid var(--hp-line);
    padding: 6px 14px;
    text-align: center;
}
.hp-metric:last-child { border-right: 0; }
.hp-metric__num {
    color: var(--hp-ink);
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 4px;
}
.hp-metric__label {
    color: var(--hp-ink-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================================
   Hero — centered layout
   A title-only treatment matching the mycountrycabin.com look:
   single short headline centered over a full-bleed photo.
   ============================================================ */
.hp-hero--centered .hp-hero__inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 56vh;
    padding: 96px 24px;
    text-align: center;
}
.hp-hero--centered .hp-hero__title {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hp-hero--centered .hp-hero__lede,
.hp-hero--centered .hp-hero__ctas {
    margin-left: auto;
    margin-right: auto;
}
.hp-hero--centered .hp-eyebrow {
    align-self: center;
}
@media (max-width: 720px) {
    .hp-hero--centered .hp-hero__inner { min-height: 48vh; padding: 64px 18px; }
    .hp-hero--centered .hp-hero__title { font-size: 32px; }
}

/* ============================================================
   nu-action-cards — 4-up tile row under the hero
   ============================================================ */
.nu-action-cards {
    background: #fff;
    margin: 0 auto;
    max-width: 1280px;
    padding: 36px 24px 24px;
}
.nu-action-cards__grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, 1fr);
}
.nu-action-cards__card {
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    color: #1a1a1a;
    display: block;
    padding: 28px 22px;
    text-align: center;
    text-decoration: none;
}
.nu-action-cards__card:last-child { border-right: 0; }
.nu-action-cards__icon {
    color: var(--primary-color, #8b1f1f);
    display: inline-block;
    font-size: 32px;
    margin-bottom: 12px;
    transition: color 0.18s ease;
}
.nu-action-cards__card:hover .nu-action-cards__icon { color: #14110f; }
.nu-action-cards__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 6px;
    text-transform: uppercase;
}
.nu-action-cards__sub {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}
@media (max-width: 860px) {
    .nu-action-cards__grid { grid-template-columns: repeat(2, 1fr); }
    .nu-action-cards__card { border-bottom: 1px solid rgba(0, 0, 0, 0.10); }
    .nu-action-cards__card:nth-child(2) { border-right: 0; }
    .nu-action-cards__card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
    .nu-action-cards__grid { grid-template-columns: 1fr; }
    .nu-action-cards__card { border-right: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.10); }
    .nu-action-cards__card:last-child { border-bottom: 0; }
}

/* ============================================================
   nu-hero-carousel
   ============================================================ */
.nu-hero-carousel {
    background: #14110f;
    min-height: 64vh;
    overflow: hidden;
    position: relative;
}
.nu-hero-carousel__track {
    inset: 0;
    position: absolute;
}
.nu-hero-carousel__slide {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 800ms ease;
}
.nu-hero-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.nu-hero-carousel__bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    position: absolute;
    z-index: 0;
}
.nu-hero-carousel__overlay {
    background: rgba(0, 0, 0, var(--nu-hero-overlay, 0.4));
    inset: 0;
    position: absolute;
    z-index: 1;
}
.nu-hero-carousel__inner {
    align-items: var(--nu-hero-halign, flex-start);
    bottom: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: var(--nu-hero-valign, center);
    left: 0;
    padding-top: var(--nu-hero-top-pad, 64px);
    padding-right: 64px;
    padding-bottom: var(--nu-hero-bottom-pad, 64px);
    padding-left: 8%;
    position: absolute;
    right: 0;
    text-align: var(--nu-hero-textalign, left);
    top: 0;
    z-index: 2;
}
.nu-hero-carousel__inner > * {
    max-width: 560px;
}
.nu-hero-carousel__headline {
    color: #fff;
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 14px;
    max-width: 820px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.nu-hero-carousel__sub {
    color: rgba(255, 255, 255, 0.92);
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.18em;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.nu-hero-carousel__cta {
    background: #fff;
    border-radius: 2px;
    color: #1a1a1a;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 14px 32px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease;
}
.nu-hero-carousel__cta:hover {
    background: #8b1f1f;
    color: #fff;
}
.nu-hero-carousel__nav {
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 32px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.18s ease;
    width: 44px;
    z-index: 3;
}
.nu-hero-carousel__nav:hover { background: rgba(0, 0, 0, 0.6); }
.nu-hero-carousel__nav--prev { left: 18px; }
.nu-hero-carousel__nav--next { right: 18px; }
.nu-hero-carousel__dots {
    bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 3;
}
.nu-hero-carousel__dot {
    background: rgba(255, 255, 255, 0.45);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: background 0.18s ease, width 0.18s ease;
    width: 8px;
}
.nu-hero-carousel__dot.is-active {
    background: #fff;
    width: 24px;
}
@media (max-width: 720px) {
    .nu-hero-carousel { min-height: 56vh; }
    .nu-hero-carousel__nav { display: none; }
    .nu-hero-carousel__inner { padding: 48px 20px; }
}

/* ============================================================
   nu-centered-band
   ============================================================ */
.nu-centered-band {
    color: var(--nu-band-ink, #1a1a1a);
    overflow: hidden;
    padding: 72px 24px;
    position: relative;
    text-align: center;
}
.nu-centered-band__bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    position: absolute;
    z-index: 0;
}
.nu-centered-band__overlay {
    background: rgba(0, 0, 0, var(--nu-band-overlay, 0.55));
    inset: 0;
    position: absolute;
    z-index: 1;
}
.nu-centered-band--image { color: #fff; }
.nu-centered-band__inner {
    margin: 0 auto;
    max-width: 880px;
    position: relative;
    z-index: 2;
}
.nu-centered-band__eyebrow {
    color: var(--nu-band-ink, #8b1f1f);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.nu-centered-band__title {
    color: var(--nu-band-ink, #1a1a1a);
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin: 0 0 14px;
    text-transform: uppercase;
}
.nu-centered-band__sub {
    color: var(--nu-band-ink, #444);
    font-size: 17px;
    line-height: 1.55;
    margin: 0 auto 24px;
    max-width: 720px;
    opacity: 0.92;
}
.nu-centered-band__cta {
    background: #8b1f1f;
    color: #fff;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 14px 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.18s ease, transform 0.18s ease;
}
.nu-centered-band__cta:hover {
    background: #14110f;
    transform: translateY(-1px);
}

/* split layout: 1-2 side images + text column. Side images stretch to the
   row height; the section itself stays inside a centered max-width container. */
.nu-centered-band--split { padding: 56px 24px; text-align: left; }
.nu-centered-band--split .nu-centered-band__grid {
    align-items: stretch;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 0 auto;
    max-width: 1280px;
    position: relative;
    z-index: 2;
}
.nu-centered-band__side-image {
    display: block;
    overflow: hidden;
    position: relative;
}
.nu-centered-band__side-image img {
    border-radius: 4px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.nu-centered-band--split .nu-centered-band__text {
    padding: 0;
}
.nu-centered-band__text { text-align: left; }
.nu-centered-band--split .nu-centered-band__title {
    text-align: left;
    text-transform: uppercase;
}
.nu-centered-band--split .nu-centered-band__sub {
    margin-left: 0;
    margin-right: 0;
}
@media (max-width: 880px) {
    .nu-centered-band--split .nu-centered-band__grid { grid-template-columns: 1fr; }
    .nu-centered-band--split .nu-centered-band__text { text-align: center; }
    .nu-centered-band--split .nu-centered-band__title { text-align: center; }
}

/* accordion panels inside the split-layout text column */
.nu-centered-band__panels {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}
.nu-centered-band__panel {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}
.nu-centered-band__panel:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.10); }
.nu-centered-band__panel-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    font: inherit;
    justify-content: space-between;
    padding: 16px 0;
    text-align: left;
    width: 100%;
}
.nu-centered-band__panel-eyebrow {
    color: #8b1f1f;
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}
.nu-centered-band__panel-indicator {
    color: #8b1f1f;
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1;
    margin-left: 16px;
    position: relative;
    width: 18px;
    height: 18px;
}
.nu-centered-band__panel-indicator::before,
.nu-centered-band__panel-indicator::after {
    background: currentColor;
    content: '';
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.18s ease;
    width: 18px;
}
.nu-centered-band__panel-indicator::after { transform: translate(-50%, -50%) rotate(90deg); }
.nu-centered-band__panel.is-open .nu-centered-band__panel-indicator::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}
.nu-centered-band__panel-content {
    display: none;
    padding: 0 0 16px;
}
.nu-centered-band__panel.is-open .nu-centered-band__panel-content { display: block; }
.nu-centered-band__panel-heading {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
}
.nu-centered-band__panel-body {
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 12px;
}
.nu-centered-band__panel-cta {
    background: #8b1f1f;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 10px 22px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.18s ease;
}
.nu-centered-band__panel-cta:hover { background: #14110f; color: #fff; }

/* ============================================================
   nu-blog-grid
   ============================================================ */
.nu-blog-grid {
    margin: 0 auto;
    max-width: 1280px;
    padding: 72px 24px;
}
.nu-blog-grid__head {
    margin-bottom: 32px;
    text-align: center;
}
.nu-blog-grid__eyebrow {
    color: #8b1f1f;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.nu-blog-grid__title {
    color: #1a1a1a;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}
.nu-blog-grid__list {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}
.nu-blog-grid[data-cols="4"] .nu-blog-grid__list {
    grid-template-columns: repeat(4, 1fr);
}
.nu-blog-grid__card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.nu-blog-grid__card:hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}
.nu-blog-grid__media {
    aspect-ratio: 16 / 10;
    background-color: #ece7df;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}
.nu-blog-grid__media--placeholder { background-image: linear-gradient(135deg, #e7e1d6, #d8cfbe); }
.nu-blog-grid__body { padding: 18px 20px 22px; }
.nu-blog-grid__date {
    color: #8b1f1f;
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.nu-blog-grid__card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.nu-blog-grid__card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.nu-blog-grid__card-title a:hover { color: #8b1f1f; }
.nu-blog-grid__foot { margin-top: 32px; text-align: center; }
.nu-blog-grid__view-all {
    color: #8b1f1f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}
.nu-blog-grid__view-all:hover { text-decoration: underline; }
.nu-blog-grid__empty,
.hp-inventory__empty {
    background: #faf7f1;
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 15px;
    margin: 0 auto;
    max-width: 1280px;
    padding: 48px 24px;
    text-align: center;
}
.nu-blog-grid__empty p,
.hp-inventory__empty p { margin: 0; }
@media (max-width: 980px) {
    .nu-blog-grid__list,
    .nu-blog-grid[data-cols="4"] .nu-blog-grid__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .nu-blog-grid__list,
    .nu-blog-grid[data-cols="4"] .nu-blog-grid__list { grid-template-columns: 1fr; }
}

/* ============ 3. Use cases ============ */
.hp-usecases__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.hp-usecase {
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    color: var(--hp-ink) !important;
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.hp-usecase:hover {
    border-color: var(--hp-brand);
    box-shadow: 0 12px 30px rgba(20, 17, 15, 0.08);
    transform: translateY(-2px);
    color: var(--hp-ink) !important;
}
.hp-usecase__icon {
    align-items: center;
    background: rgba(179, 43, 28, 0.08);
    border-radius: 10px;
    color: var(--hp-brand);
    display: inline-flex;
    font-size: 22px;
    height: 48px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 14px;
    width: 48px;
}
.hp-usecase:hover .hp-usecase__icon {
    background: var(--hp-brand);
    color: #fff;
}
.hp-usecase__title {
    color: var(--hp-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}
.hp-usecase__blurb {
    color: var(--hp-ink-muted);
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}
.hp-usecase__cta {
    color: var(--hp-brand);
    font-size: 14px;
    font-weight: 700;
}

/* ============ 4. Inventory grid ============ */
.hp-inventory__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}
.hp-inventory__card.ps-product {
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hp-inventory__card.ps-product:hover {
    border-color: var(--hp-brand);
    box-shadow: 0 12px 30px rgba(20, 17, 15, 0.06);
}
.hp-inventory .ps-product__container { padding: 14px 16px 18px; }

/* ============ 5. How it works ============ */
.hp-howitworks { background: var(--hp-surface); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); max-width: none; padding-left: 0; padding-right: 0; }
.hp-howitworks > .hp-section__head { padding: 0 24px; margin: 0 auto 28px; max-width: 1280px; }
.hp-steps {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 24px;
}
.hp-step {
    background: var(--hp-bg);
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    padding: 28px 22px;
    position: relative;
}
.hp-step__num {
    align-items: center;
    background: var(--hp-brand);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    margin-bottom: 16px;
    width: 40px;
}
.hp-step__title {
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}
.hp-step__body {
    color: var(--hp-ink-muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

/* ============ 6. Why us ============ */
.hp-whyus__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}
.hp-whyus__cell {
    background: var(--hp-surface);
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    padding: 22px 22px 24px;
}
.hp-whyus__icon {
    align-items: center;
    background: rgba(45, 106, 79, 0.08);
    border-radius: 10px;
    color: var(--hp-accent);
    display: inline-flex;
    font-size: 22px;
    height: 48px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 14px;
    width: 48px;
}
.hp-whyus__cell h3 {
    color: var(--hp-ink);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}
.hp-whyus__cell p {
    color: var(--hp-ink-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ============ 7. Dealer strip ============ */
.hp-dealer-strip {
    background: linear-gradient(135deg, var(--hp-ink) 0%, #2a221d 100%);
    color: #fff;
}
.hp-dealer-strip__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
    padding: 56px 24px;
}
.hp-dealer-strip__title {
    color: #fff;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 4px 0 8px;
}
.hp-dealer-strip__lede {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    margin: 0;
    max-width: 520px;
}

/* ============ 8. FAQ ============ */
.hp-faq__list {
    list-style: none;
    margin: 0;
    max-width: 880px;
    padding: 0;
}
.hp-faq__item {
    border-bottom: 1px solid var(--hp-line);
    padding: 4px 0;
}
.hp-faq__item:first-child { border-top: 1px solid var(--hp-line); }
.hp-faq__item details { padding: 16px 0; }
.hp-faq__q {
    color: var(--hp-ink);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
    padding-right: 32px;
    position: relative;
}
.hp-faq__q::-webkit-details-marker { display: none; }
.hp-faq__q::after {
    color: var(--hp-brand);
    content: "+";
    font-size: 24px;
    font-weight: 400;
    position: absolute;
    right: 0;
    top: -4px;
    transition: transform 0.15s ease;
}
.hp-faq__item details[open] .hp-faq__q::after { content: "−"; }
.hp-faq__a {
    color: var(--hp-ink-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0 0;
    padding-right: 36px;
}

/* ============ 9. Final CTA ============ */
.hp-final-cta {
    background:
        linear-gradient(135deg, rgba(179, 43, 28, 0.92), rgba(138, 31, 21, 0.92)),
        url('https://staging.nustore.io/storage/nustore-tw/sheds/mrzhBNI9bIej8OyMl~PVUg==.webp') center/cover no-repeat;
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}
.hp-final-cta__title {
    color: #fff;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}
.hp-final-cta__lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin: 0 auto 28px;
    max-width: 520px;
}
.hp-final-cta__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.hp-final-cta .hp-btn--primary {
    background: #fff;
    color: var(--hp-brand) !important;
}
.hp-final-cta .hp-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff !important;
}
.hp-final-cta .hp-btn--ghost:hover {
    background: #fff;
    color: var(--hp-brand) !important;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hp-inventory__grid { grid-template-columns: repeat(3, 1fr); }
    .hp-whyus__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .hp-section { padding: 48px 18px; }
    .hp-section__title { font-size: 26px; }
    .hp-hero__inner { padding: 72px 18px 56px; }
    .hp-hero__title { font-size: 38px; }
    .hp-hero__lede { font-size: 16px; }
    .hp-hero__metrics {
        grid-template-columns: repeat(2, 1fr);
        padding: 14px 6px;
    }
    .hp-metric {
        border-bottom: 1px solid var(--hp-line);
        padding: 12px 8px;
    }
    .hp-metric:nth-last-child(-n+2) { border-bottom: 0; }
    .hp-metric:nth-child(2n) { border-right: 0; }
    .hp-inventory__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-whyus__grid { grid-template-columns: 1fr; }
    .hp-steps { grid-template-columns: 1fr; padding: 0 18px; }
    .hp-howitworks > .hp-section__head { padding: 0 18px; }
    .hp-dealer-strip__inner { padding: 40px 18px; }
    .hp-utility__link { margin-left: 0; }
    .hp-faq__q { font-size: 16px; }
}

/* ---------------------------------------------------------------
   nu-series-compare — two-up product-series comparison
   --------------------------------------------------------------- */
.nu-series-compare__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 32px;
}

.nu-series-compare__card {
    --nu-accent: #6b7280;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--nu-accent);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.nu-series-compare__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.nu-series-compare__media { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f6; }
.nu-series-compare__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nu-series-compare__body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nu-series-compare__name {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #111827;
}

.nu-series-compare__tagline { color: #6b7280; margin: 0 0 18px; font-size: 15px; }

.nu-series-compare__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-top: 1px solid #f3f4f6;
}
.nu-series-compare__bullets li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 15px;
    line-height: 1.45;
}
.nu-series-compare__bullets li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 4px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--nu-accent);
    border-bottom: 2px solid var(--nu-accent);
    transform: rotate(-45deg);
}

.nu-series-compare__price {
    margin: 0 0 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.nu-series-compare__price-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: #6b7280;
}
.nu-series-compare__price-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.nu-series-compare__cta {
    margin-top: auto;
    display: inline-block;
    align-self: flex-start;
    background: var(--nu-accent);
    color: #ffffff;
    padding: 12px 22px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    border-radius: 2px;
    transition: filter 200ms ease;
}
.nu-series-compare__cta:hover { filter: brightness(0.92); color: #ffffff; }

@media (max-width: 767.98px) {
    .nu-series-compare__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 18px;
    }
    .nu-series-compare__body { padding: 22px 20px 26px; }
}

/* ---------------------------------------------------------------
   nu-craft-story — illustrated process storyboard
   --------------------------------------------------------------- */
.nu-craft-story__lede {
    max-width: 720px;
    margin: 6px auto 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.55;
}

.nu-craft-story__list {
    list-style: none;
    padding: 0 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.nu-craft-story__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.nu-craft-story__item--flip { direction: rtl; }
.nu-craft-story__item--flip > * { direction: ltr; }

.nu-craft-story__media { aspect-ratio: 5 / 4; border-radius: 4px; overflow: hidden; background: #f3f4f6; }
.nu-craft-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nu-craft-story__copy { display: flex; flex-direction: column; gap: 12px; }
.nu-craft-story__index {
    font-size: 14px;
    letter-spacing: 0.16em;
    color: #b32b1c;
    font-weight: 700;
}
.nu-craft-story__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.nu-craft-story__body {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.nu-craft-story__cta-row { text-align: center; margin-top: 48px; padding: 0 32px; }
.nu-craft-story__cta {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 13px;
}
.nu-craft-story__cta:hover { background: #1f2937; color: #ffffff; }

@media (max-width: 767.98px) {
    .nu-craft-story__list { padding: 0 18px; gap: 40px; }
    .nu-craft-story__item, .nu-craft-story__item--flip { grid-template-columns: 1fr; direction: ltr; gap: 18px; }
    .nu-craft-story__title { font-size: 22px; }
}

