/* ============================================================
   HORIZON CRAFTED — Homepage Styles
   hc-homepage.css
   ============================================================ */

/* ---- Shared section utilities ---- */
#hc-homepage { overflow-x: hidden; }

.hc-section-header { text-align: center; margin-bottom: 40px; }
.hc-section-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--hc-ink-900);
    font-weight: 400;
    margin: 10px 0 0;
    line-height: 1.08;
}

.hc-eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--track-eyebrow);
    color: var(--accent-ink);
    display: block;
}
.hc-eyebrow--subtle { color: var(--fg-subtle); }
.hc-eyebrow--gold   { color: var(--hc-gold-400); }

/* ---- Buttons ---- */
.hc-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: var(--r-md);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--dur-base) var(--ease-craft);
    white-space: nowrap;
}
.hc-btn--lg  { padding: 16px 30px; font-size: 12px; }
.hc-btn--md  { padding: 14px 24px; }
.hc-btn--gold {
    background: var(--hc-gold-500);
    color: var(--hc-ink-900);
    box-shadow: var(--shadow-xs);
}
.hc-btn--gold:hover {
    background: var(--hc-gold-600);
    box-shadow: var(--shadow-gold);
    color: var(--hc-ink-900);
    text-decoration: none;
}
.hc-btn--outline {
    background: transparent;
    border-color: var(--hc-ink-800);
    color: var(--hc-ink-800);
}
.hc-btn--outline:hover {
    background: var(--hc-sand-100);
    text-decoration: none;
    color: var(--hc-ink-800);
}
.hc-btn--ghost {
    background: transparent;
    color: var(--hc-gold-700);
    border-radius: 0;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    font-size: 13px;
}
.hc-btn--ghost:hover {
    border-bottom-color: var(--hc-gold-700);
    text-decoration: none;
    color: var(--hc-gold-700);
}

/* ---- Promo bar ---- */
.hc-promo-bar {
    background: var(--hc-ink-800);
    color: var(--hc-ivory);
    padding: 10px 20px;
}
.hc-promo-bar__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hc-promo-bar__text {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hc-ivory);
}
.hc-promo-bar__text i { color: var(--hc-gold-400); font-size: 16px; }
.hc-promo-bar__close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--hc-stone-300);
    padding: 0;
    display: flex;
    align-items: center;
}
.hc-promo-bar__close:hover { color: var(--hc-ivory); }

/* ---- Hero ---- */
.hc-hero {
    background: var(--hc-paper);
    padding: 72px 40px 84px;
}
.hc-hero__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hc-hero__headline {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.005em;
    color: var(--hc-ink-900);
    font-weight: 400;
    margin: 22px 0 0;
}
.hc-hero__sub {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.6;
    color: var(--fg-muted);
    max-width: 440px;
    margin: 24px 0 34px;
}
.hc-hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hc-delivery-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--fg-muted);
    margin-top: 26px;
}
.hc-delivery-note i { color: var(--hc-gold-700); font-size: 18px; }
.hc-delivery-note strong { color: var(--fg); font-weight: 600; }
.hc-hero__image {
    aspect-ratio: 4/5;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: linear-gradient(160deg, var(--hc-sand-100), var(--hc-gold-100));
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hc-hero__image img { opacity: 0.9; }
.hc-hero__image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.hc-hero__image-label {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hc-stone-400);
    position: absolute;
    bottom: 18px;
}

/* ---- Trust strip ---- */
.hc-trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--hc-ivory);
}
.hc-trust-strip__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.hc-trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--fg);
}
.hc-trust-item i { font-size: 24px; color: var(--hc-gold-700); }

/* ---- How it works ---- */
.hc-how-it-works {
    padding: 80px 40px;
    background: var(--bg);
}
.hc-how-it-works__inner {
    max-width: 1240px;
    margin: 0 auto;
}
.hc-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
}
.hc-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 20px;
}
.hc-step__number {
    width: 32px;
    height: 32px;
    border-radius: var(--r-full);
    background: var(--hc-ink-800);
    color: var(--hc-gold-400);
    font-family: var(--font-sans);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.hc-step__icon {
    font-size: 40px;
    color: var(--hc-gold-700);
    margin-bottom: 16px;
}
.hc-step__title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--hc-ink-900);
    font-weight: 400;
    margin-bottom: 12px;
}
.hc-step__desc {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-muted);
}
.hc-step__connector {
    color: var(--hc-gold-500);
    font-size: 24px;
    margin-top: 60px;
    flex-shrink: 0;
}
.hc-how-it-works__custom {
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    color: var(--fg-muted);
    margin-top: 40px;
}
.hc-how-it-works__custom a {
    color: var(--hc-gold-700);
    text-decoration: underline;
}

/* ---- Shop by ---- */
.hc-shop-by {
    padding: 80px 40px 72px;
    background: var(--bg);
}
.hc-shop-by__inner { max-width: 1240px; margin: 0 auto; }
.hc-occasion-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}
.hc-occasion-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 12px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: all var(--dur-base) var(--ease-craft);
}
.hc-occasion-tile:hover {
    background: var(--hc-ivory);
    border-color: var(--hc-gold-400);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}
.hc-occasion-tile i { font-size: 32px; color: var(--hc-gold-700); }
.hc-occasion-tile span {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--hc-ink-900);
    text-align: center;
    line-height: 1.2;
}
.hc-shop-by__secondary {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.hc-shop-by__group { display: flex; flex-direction: column; gap: 16px; }
.hc-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.hc-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: var(--r-full);
    border: 1px solid var(--border-strong);
    background: var(--bg-raised);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--fg);
    text-decoration: none;
    transition: all var(--dur-fast) var(--ease-craft);
}
.hc-pill i { font-size: 18px; color: var(--hc-gold-700); }
.hc-pill:hover {
    background: var(--hc-sand-100);
    border-color: var(--hc-stone-300);
    text-decoration: none;
    color: var(--fg);
}

/* ---- Featured collection ---- */
.hc-featured {
    padding: 80px 40px;
    background: var(--bg);
}
.hc-featured__inner { max-width: 1240px; margin: 0 auto; }
.hc-featured__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}
.hc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.hc-product-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-craft);
    cursor: pointer;
}
.hc-product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.hc-product-card__image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    text-decoration: none;
}
.hc-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-craft);
}
.hc-product-card:hover .hc-product-card__image { transform: scale(1.04); }
.hc-product-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--hc-sand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--hc-stone-400);
}
.hc-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: var(--hc-clay-500);
    color: #fff;
    padding: 5px 9px;
    border-radius: var(--r-sm);
}
.hc-product-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hc-product-card__name {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--hc-ink-900);
    font-weight: 400;
    margin: 0;
}
.hc-product-card__name a {
    color: inherit;
    text-decoration: none;
}
.hc-product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}
.hc-product-card__price {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--fg);
}
.hc-product-card__price .woocommerce-Price-amount { color: var(--fg); }
.hc-product-card__add {
    width: 34px;
    height: 34px;
    border-radius: var(--r-full);
    background: var(--hc-sand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hc-ink-800);
    text-decoration: none;
    font-size: 16px;
    transition: all var(--dur-fast);
    border: none;
}
.hc-product-card__add:hover {
    background: var(--hc-gold-500);
    color: var(--hc-ink-900);
    text-decoration: none;
}

/* ---- Testimonial strip ---- */
.hc-testimonial-strip {
    background: var(--hc-ivory);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 40px;
    text-align: center;
}
.hc-testimonial-strip__inner {
    max-width: 640px;
    margin: 0 auto;
}
.hc-testimonial-strip__quote-icon {
    font-size: 36px;
    color: var(--hc-gold-500);
    display: block;
    margin-bottom: 16px;
}
.hc-testimonial-strip__text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--hc-ink-900);
    margin: 0 0 16px;
}
.hc-testimonial-strip__cite {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--fg-muted);
    display: block;
    margin-bottom: 12px;
    font-style: normal;
}
.hc-testimonial-strip__stars { color: var(--hc-gold-500); font-size: 18px; }

/* ---- Gift Finder ---- */
.hc-gift-finder {
    background: var(--hc-ivory);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 40px;
    text-align: center;
}
.hc-gift-finder__inner { max-width: 1000px; margin: 0 auto; }
.hc-gift-finder .hc-section-title { margin-bottom: 36px; }
.hc-finder-step { display: none; }
.hc-finder-step.is-active { display: block; }
.hc-finder-question {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--hc-ink-900);
    margin-bottom: 22px;
}
.hc-finder-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
.hc-finder-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: var(--r-full);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 14px;
    background: var(--bg-raised);
    color: var(--fg);
    border: 1px solid var(--border-strong);
    transition: all var(--dur-fast) var(--ease-craft);
}
.hc-finder-option i { font-size: 20px; color: var(--hc-gold-700); }
.hc-finder-option:hover,
.hc-finder-option.is-selected {
    background: var(--hc-ink-800);
    color: var(--hc-ivory);
    border-color: var(--hc-ink-800);
}
.hc-finder-option.is-selected i { color: var(--hc-gold-400); }
.hc-finder-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

/* ---- Giftbox promo ---- */
.hc-giftbox-promo {
    background: var(--hc-ink-800);
    color: var(--hc-ivory);
    padding: 84px 40px;
}
.hc-giftbox-promo__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hc-giftbox-promo__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.04;
    color: var(--hc-ivory);
    font-weight: 400;
    margin: 18px 0 20px;
}
.hc-giftbox-promo__desc {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.6;
    color: var(--hc-stone-300);
    max-width: 420px;
    margin-bottom: 30px;
}
.hc-giftbox-promo__visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 14px;
}
.hc-giftbox-promo__slot {
    aspect-ratio: 1;
    border-radius: var(--r-md);
    background: var(--hc-ink-700);
    border: 1px solid var(--hc-ink-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--hc-gold-400);
}
.hc-giftbox-promo__slot--empty {
    background: transparent;
    border-style: dashed;
    color: var(--hc-stone-400);
}

/* ---- Founder quote ---- */
.hc-founder-quote {
    padding: 84px 40px;
    text-align: center;
    background: var(--bg);
}
.hc-founder-quote__inner {
    max-width: 760px;
    margin: 0 auto;
}
.hc-founder-quote__icon {
    font-size: 36px;
    color: var(--hc-gold-500);
    display: block;
    margin-bottom: 18px;
}
.hc-founder-quote__text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.4;
    color: var(--hc-ink-900);
    margin: 0 0 22px;
}
.hc-founder-quote__cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--fg-muted);
    margin-bottom: 24px;
    font-style: normal;
}

/* ============================================================
   RESPONSIVE — Tablet (900px)
   ============================================================ */
@media (max-width: 900px) {
    .hc-hero { padding: 48px 20px 56px; }
    .hc-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hc-hero__image { display: none; }
    .hc-trust-strip__inner { padding: 16px 20px; justify-content: flex-start; gap: 16px 24px; }
    .hc-trust-item { flex: 1 1 40%; }
    .hc-how-it-works { padding: 56px 20px; }
    .hc-steps { flex-direction: column; align-items: center; gap: 32px; }
    .hc-step__connector { display: none; }
    .hc-shop-by { padding: 56px 20px; }
    .hc-occasion-grid { grid-template-columns: repeat(3, 1fr); }
    .hc-shop-by__secondary { grid-template-columns: 1fr; gap: 32px; }
    .hc-featured { padding: 56px 20px; }
    .hc-product-grid { grid-template-columns: repeat(2, 1fr); }
    .hc-gift-finder { padding: 56px 20px; }
    .hc-giftbox-promo { padding: 56px 20px; }
    .hc-giftbox-promo__inner { grid-template-columns: 1fr; gap: 40px; }
    .hc-giftbox-promo__visual { display: none; }
    .hc-founder-quote { padding: 56px 20px; }
}

/* ============================================================
   RESPONSIVE — Mobile (560px)
   ============================================================ */
@media (max-width: 560px) {
    .hc-promo-bar__text { font-size: 10px; letter-spacing: 0.1em; }
    .hc-hero { padding: 40px 20px 48px; }
    .hc-hero__ctas { flex-direction: column; }
    .hc-hero__ctas .hc-btn { width: 100%; justify-content: center; }
    .hc-occasion-grid { grid-template-columns: repeat(2, 1fr); }
    .hc-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hc-featured__header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hc-section-title { font-size: var(--text-xl); }
    .hc-trust-strip__inner { padding: 16px 20px; }
    .hc-trust-item { flex: 1 1 100%; }
    .hc-testimonial-strip { padding: 40px 20px; }
    .hc-testimonial-strip__text { font-size: 18px; }
    .hc-finder-options { gap: 8px; }
    .hc-finder-option { padding: 10px 16px; font-size: 13px; }
}
