/* =========================================================
   Printerade — printerade.com
   Custom 3D-printed gifts, gadgets & tap-to-pay magic.
   ========================================================= */

:root {
  --cream: #faf7f2;
  --cream-deep: #f1e8d8;
  --ink: #211b13;
  --ink-soft: #5b5546;
  --gold: #d4af37;
  --gold-deep: #a9832a;
  --gold-light: #f3e2ab;
  --pink: #ff85dc;
  --violet: #8b5cf6;
  --white: #ffffff;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-full: 999px;

  --shadow-card: 0 6px 18px -10px rgba(33, 27, 19, 0.28), 0 2px 6px -2px rgba(33, 27, 19, 0.12);
  --shadow-card-hover: 0 18px 34px -14px rgba(33, 27, 19, 0.32), 0 4px 10px -2px rgba(33, 27, 19, 0.16);
  --shadow-soft: 0 20px 50px -20px rgba(33, 27, 19, 0.25);

  --max-width: 1240px;
  --font-body: "Avenir Next", "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p, ul, blockquote, figure {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

section[id] {
  scroll-margin-top: 84px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--cream-deep);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-sub {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(212, 175, 55, 0.7);
}

.btn-gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(212, 175, 55, 0.8);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(33, 27, 19, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-weight: 700;
  font-size: 0.96rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--gold-deep);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 340px;
  height: 340px;
  background: var(--pink);
  top: -120px;
  right: -80px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: var(--violet);
  bottom: -140px;
  left: -100px;
  opacity: 0.25;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.trust-row li:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: var(--gold-deep);
  font-weight: 700;
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.collage-link {
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.15s ease;
}

.collage-link:hover {
  transform: scale(1.02);
}

.hero-collage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--white);
}

@media (min-width: 900px) {
  .hero-collage .collage-link:nth-child(2) {
    transform: translateY(22px);
  }
  .hero-collage .collage-link:nth-child(2):hover {
    transform: translateY(22px) scale(1.02);
  }
  .hero-collage .collage-link:nth-child(3) {
    transform: translateY(-10px);
  }
  .hero-collage .collage-link:nth-child(3):hover {
    transform: translateY(-10px) scale(1.02);
  }
  .hero-collage .collage-link:nth-child(4) {
    transform: translateY(14px);
  }
  .hero-collage .collage-link:nth-child(4):hover {
    transform: translateY(14px) scale(1.02);
  }
}

/* ---------- Product grid & cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 640px) {
  .grid-best {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-shop {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid-shop {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid {
    gap: 22px;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.card.is-hidden {
  display: none;
}

.card-link {
  display: block;
  height: 100%;
}

.card-media {
  position: relative;
  background: var(--cream-deep);
}

.card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.35);
}

.card-body {
  padding: 14px 16px 18px;
}

.card-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  min-height: 2.6em;
}

.card-body .price {
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 1.02rem;
}

/* ---------- Filter chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.chip {
  background: var(--white);
  border: 2px solid rgba(33, 27, 19, 0.14);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-light);
}

/* ---------- Amazon strip ---------- */

.amazon-strip {
  background: linear-gradient(90deg, var(--ink) 0%, #2b2418 100%);
  color: var(--cream);
  padding: 28px 0;
}

.amazon-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.amazon-strip p {
  font-weight: 700;
  font-size: 1rem;
}

.amazon-strip strong {
  color: var(--gold-light);
}

.amazon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: background 0.15s ease, transform 0.15s ease;
}

.pill:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ---------- About ---------- */

.about-copy {
  max-width: 720px;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-top: 16px;
}

.about-copy p.eyebrow {
  color: var(--gold-deep);
  font-size: 0.78rem;
  margin-top: 0;
}

/* ---------- Reviews marquee ---------- */

.reviews-strip {
  padding: 0 0 26px;
}

.marquee-heading {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.marquee-heading .gold-star {
  color: var(--gold);
}

.marquee {
  overflow: hidden;
  padding: 6px 0 14px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
}

.review-card {
  width: 290px;
  flex-shrink: 0;
  margin-right: 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 20px 16px;
  box-shadow: var(--shadow-card);
}

.review-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.review-quote {
  font-size: 0.92rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-meta {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .marquee-track {
    animation: none;
  }
  .marquee-set[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Follow ---------- */

.follow-inner {
  text-align: center;
}

.follow-inner .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.social-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--white);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 10px 22px -12px rgba(33, 27, 19, 0.4);
}

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.social-instagram {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
}

.social-tiktok {
  background: #010101;
  box-shadow: inset 0 0 0 2px #25f4ee, 0 10px 22px -12px rgba(33, 27, 19, 0.4);
}

.social-facebook {
  background: #1877f2;
}

.social-youtube {
  background: #ff0000;
}

.social-threads {
  background: #101010;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-weight: 700;
  font-size: 0.94rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold-light);
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-fine {
  color: rgba(250, 247, 242, 0.55);
  font-size: 0.82rem;
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  padding-top: 22px;
  width: 100%;
}

/* ---------- Focus visibility ---------- */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}
