/* ==========================================================================
   Swift Pixel CAD: emerald & gold.
   Loaded after site.css; re-skins the shared components in the logo's palette:
   deep emerald, champagne gold, ivory, serif display type and fine gold hairlines.
   ========================================================================== */

body { font-size: 15px; color: var(--text); background: #fff; letter-spacing: .005em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.12; }
h3 { font-size: 1.35rem; }
a { color: var(--primary-2); }
a:hover { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }

/* ---------- Buttons: squared, small caps, letter-spaced ---------- */
.btn {
  min-height: 50px; padding: 0 30px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: none;
}
.btn--sm { min-height: 40px; padding: 0 20px; font-size: .7rem; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: none; }
.btn--primary:hover { background: var(--night); border-color: var(--night); color: var(--accent-2); box-shadow: none; }
.btn--gold { background: var(--gold); border: 0; color: var(--night); box-shadow: 0 10px 24px -16px rgba(143, 107, 34, .9); }
.btn--gold:hover { color: var(--night); filter: brightness(1.06); }
.btn--outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost-light { border: 1px solid rgba(217, 185, 104, .6); color: var(--accent-2); background: transparent; }
.btn--ghost-light:hover { border-color: var(--accent-2); background: var(--accent-2); color: var(--night); }
.btn--link { color: var(--primary); letter-spacing: .12em; }
.btn svg { flex: none; }

/* ---------- Eyebrows & ornaments ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px;
  color: var(--accent); font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .32em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-head .eyebrow::after, .page-hero .eyebrow::after, .lux-cta .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--accent-2); }
.section-head { margin-bottom: 56px; }
.section-head p:last-child { color: var(--muted); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--night); color: rgba(246, 239, 220, .78); font-size: .74rem; letter-spacing: .06em; }
.topbar a:hover { color: var(--accent-2); }
.topbar__note { margin: 0; color: rgba(246, 239, 220, .7); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.topbar__note b { color: var(--accent-2); font-weight: 600; }
.site-header { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(7, 42, 33, .6); }
.site-header__inner { min-height: 104px; }
.brand img { height: 84px; width: auto; }
.main-nav a { color: var(--ink); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.main-nav a::after { height: 1px; background: var(--accent); }
.main-nav a:hover, .main-nav a.is-active { color: var(--primary); }
.icon-btn { color: var(--primary); }
.icon-btn:hover { background: var(--mist); color: var(--primary); }
.cart-count { background: var(--accent); color: #fff; }
.search-panel__form input { font-family: var(--font-display); font-size: 1.4rem; }
.mobile-nav__title { font-family: var(--font-display); }
.mobile-nav__links a { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Section backgrounds ---------- */
.section--sand { background: var(--mist); }
.section--cream { background: var(--frost); }

.page-hero { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 0; background: var(--night); color: rgba(246, 239, 220, .75); }
.page-hero h1 { color: #f6efdc; font-weight: 500; }
.page-hero__intro { color: rgba(246, 239, 220, .7); }
.page-hero .eyebrow { color: var(--accent-2); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(246, 239, 220, .55); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.page-hero .breadcrumb a:hover { color: var(--accent-2); }
.page-hero .breadcrumb [aria-current] { color: var(--accent-2); }

/* ---------- Home hero ---------- */
.lux-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0; background: var(--night); color: rgba(246, 239, 220, .78); }
.lux-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 185, 104, .6), transparent); }
.lux-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 96px); }
.lux-hero h1 { margin-bottom: 22px; color: #f6efdc; font-size: clamp(2.7rem, 5.4vw, 4.6rem); font-weight: 500; line-height: 1.04; }
.lux-hero h1 em { color: var(--accent-2); font-style: italic; }
.lux-hero__lead { max-width: 500px; margin-bottom: 34px; color: rgba(246, 239, 220, .72); font-size: 1rem; line-height: 1.85; }
.lux-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lux-hero__media { position: relative; margin: 0; }
.lux-hero__media::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgba(217, 185, 104, .55); }
.lux-hero__media img { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.lux-hero__media figcaption { position: absolute; right: 0; bottom: 0; padding: 12px 18px; background: var(--night); color: var(--accent-2); font-family: var(--font-display); font-size: 1.05rem; font-style: italic; }

/* ---------- Trust strip ---------- */
.lux-trust { border-bottom: 1px solid var(--line); background: var(--frost); }
.lux-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lux-trust__item { display: flex; align-items: center; gap: 16px; padding: 30px 26px; }
.lux-trust__item + .lux-trust__item { border-left: 1px solid var(--line); }
.lux-trust__item svg { flex: none; color: var(--accent); }
.lux-trust__item h3 { margin: 0 0 2px; font-size: 1.15rem; }
.lux-trust__item p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

/* ---------- Collections ---------- */
.lux-collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.lux-collection { display: block; color: var(--ink); text-align: center; }
.lux-collection__img { display: block; position: relative; overflow: hidden; margin-bottom: 18px; background: var(--mist); aspect-ratio: 1; }
.lux-collection__img::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.lux-collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lux-collection:hover img { transform: scale(1.05); }
.lux-collection strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; }
.lux-collection span { color: var(--accent); font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.lux-collection:hover { color: var(--ink); }

/* ---------- Process ---------- */
.lux-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--line); }
.lux-steps li { padding: 34px 28px 6px; }
.lux-steps li + li { border-left: 1px solid var(--line); }
.lux-steps__num { display: block; margin-bottom: 14px; color: var(--accent); font-family: var(--font-display); font-size: 2.6rem; font-style: italic; font-weight: 500; line-height: 1; }
.lux-steps h3 { margin-bottom: 8px; font-size: 1.35rem; }
.lux-steps p { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- Split / about ---------- */
.split__media::before { inset: 22px -22px -22px 22px; border: 1px solid var(--accent-2); border-radius: 0; background: none; }
.split__media img { border-radius: 0; box-shadow: none; aspect-ratio: 1; }
.pillar { padding: 24px; border: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; }
.pillar h3 { font-size: 1.3rem; }
.check-list li { padding-left: 24px; }
.check-list li::before { top: 9px; width: 7px; height: 7px; border-radius: 0; background: var(--accent); transform: rotate(45deg); }

/* ---------- Product cards ---------- */
.product-grid { gap: 40px 26px; }
.product-card { padding: 0; border: 0; background: none; text-align: center; transition: none; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card__media { border-radius: 0; background: var(--mist); }
.product-card__media img.is-placeholder { opacity: .35; }
.product-card__body { align-items: center; padding: 18px 4px 0; }
.product-card__cat { color: var(--accent); font-size: .64rem; letter-spacing: .26em; }
.product-card__title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.25; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--primary-2); }
.product-card__foot { flex-direction: column; justify-content: center; gap: 12px; width: 100%; }
.price__now { color: var(--primary); font-family: var(--font-body); font-size: .98rem; font-weight: 600; letter-spacing: .04em; }
.price__was { font-size: .82rem; }
.badge { border-radius: 0; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.badge--sale { background: var(--primary); color: var(--accent-2); }
.badge--digital { top: auto; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .92); color: var(--primary); }
.cart-btn { height: 40px; border: 1px solid var(--primary); border-radius: var(--radius-sm); background: transparent; color: var(--primary); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.cart-btn:hover { background: var(--primary); color: #fff; box-shadow: none; }

.chip { border-radius: 0; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.chip:hover { border-color: var(--accent); color: var(--primary); }
.chip.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.select select, .field input, .field textarea, .search-inline input { border-radius: var(--radius-sm); }
.select select:focus, .field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(143, 107, 34, .14); }
.pagination a, .pagination span { border-radius: 0; }
.pagination .is-active { border-color: var(--primary); background: var(--primary); }

/* ---------- Product page ---------- */
.gallery__main, .gallery__thumb { border-radius: 0; background: var(--mist); }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--accent); }
.product-info h1 { font-weight: 500; }
.product-info__cat { color: var(--accent); letter-spacing: .26em; font-size: .68rem; }
.save-pill { border-radius: 0; background: var(--accent-soft); color: var(--accent); }
.buy-box { border-radius: 0; background: var(--frost); }
.trust-list li { border: 1px solid var(--line); border-radius: 0; background: var(--frost); }
.trust-list svg { color: var(--accent); }
.tabs__list button { font-family: var(--font-display); font-size: 1.15rem; }
.tabs__list button::after { background: var(--accent); }
.digital-note { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--frost); }
.digital-note__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; background: var(--primary); color: var(--accent-2); }
.digital-note strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; }
.digital-note p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }

/* ---------- Cart, checkout, orders ---------- */
.card { border-radius: 0; }
.tag { border-radius: 0; background: var(--mist); color: var(--primary); letter-spacing: .08em; }
.step { border-radius: 0; background: var(--primary); color: var(--accent-2); font-family: var(--font-display); }
.totals__qty { background: var(--primary); }
.pay-option { border-radius: 0; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--frost); }
.confirm { border: 1px solid var(--line); border-radius: 0; background: var(--frost); }
.confirm__icon { background: var(--primary) !important; color: var(--accent-2) !important; }
.info-card { border-radius: 0; background: var(--frost); }
.info-card__icon { border-radius: 0; background: var(--primary); color: var(--accent-2); }
.account-nav nav a:hover, .account-nav nav a.is-active { background: var(--mist); color: var(--primary); }

.downloads { margin-bottom: 32px; }
.downloads h2 { margin-bottom: 16px; }
.download-list { display: grid; gap: 12px; list-style: none; }
.download-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.download-row__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; background: var(--primary); color: var(--accent-2); }
.download-row__info { flex: 1; min-width: 180px; }
.download-row__info strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; }
.download-row__info small { color: var(--muted); }
.download-locked { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px dashed var(--accent-2); background: #fffaf0; color: #6d4f12; font-size: .9rem; }
.download-locked svg { flex: none; margin-top: 2px; }

/* ---------- CTA ---------- */
.lux-cta { position: relative; padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 64px); background: var(--night); color: rgba(246, 239, 220, .75); text-align: center; }
.lux-cta::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 185, 104, .4); pointer-events: none; }
.lux-cta h2 { color: #f6efdc; font-weight: 500; }
.lux-cta .eyebrow { color: var(--accent-2); }
.lux-cta p { max-width: 560px; margin: 0 auto 30px; }
.lux-cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-card { border-radius: 0; background: var(--night); }
.cta-card--alt { background: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(246, 239, 220, .66); border-top: 1px solid rgba(217, 185, 104, .35); }
/* Three columns: brand | library | contact, with contact pushed to the right edge. */
.footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding-top: 80px; padding-bottom: 64px; }
.footer-grid > :last-child { justify-self: end; max-width: 320px; }
.footer-brand p { max-width: 340px; margin: 22px 0 0; line-height: 1.8; }
.footer-logo { margin: 0; }
.footer-title { margin: 6px 0 22px; }
.footer-links { gap: 12px; }
.footer-contact { gap: 16px; }
.footer-contact li { align-items: flex-start; line-height: 1.6; }
.footer-contact svg { margin-top: 4px; }
.footer-social { margin-top: 26px; }
.footer-bottom__inner { min-height: 68px; }
.footer-logo--plain { padding: 0; border-radius: 0; background: none; }
.footer-logo--plain img { height: 84px; }
.footer-title { color: var(--accent-2); font-family: var(--font-body); font-size: .7rem; letter-spacing: .26em; }
.site-footer a { color: rgba(246, 239, 220, .72); }
.site-footer a:hover, .footer-credit a { color: var(--accent-2); }
.footer-contact svg { color: var(--accent-2); }
.footer-social a { border-color: rgba(217, 185, 104, .35); border-radius: 0; }
.footer-social a:hover { border-color: var(--accent-2); }
.footer-bottom { border-top-color: rgba(217, 185, 104, .2); }
.to-top { border-radius: 0; background: var(--primary); color: var(--accent-2); }
.to-top:hover { background: var(--night); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { justify-self: start; }
}
@media (max-width: 1024px) {
  .lux-hero__inner { grid-template-columns: 1fr; }
  .lux-hero__media { max-width: 560px; }
  .lux-trust__grid { grid-template-columns: 1fr 1fr; }
  .lux-trust__item:nth-child(3) { border-left: 0; }
  .lux-trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lux-steps { grid-template-columns: 1fr 1fr; }
  .lux-steps li:nth-child(3) { border-left: 0; }
  .lux-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-header__inner { min-height: 84px; }
  .brand img { height: 62px; }
}
@media (max-width: 680px) {
  .lux-trust__grid, .lux-steps { grid-template-columns: 1fr; }
  .lux-trust__item + .lux-trust__item, .lux-steps li + li { border-top: 1px solid var(--line); border-left: 0; }
  .lux-hero__media::before { inset: -10px 10px 10px -10px; }
  .topbar__note { display: none; }
  .brand img { height: 54px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .footer-bottom__inner { flex-direction: column; justify-content: center; padding-top: 18px; padding-bottom: 18px; text-align: center; }
}
