/* PrintPro — quick marketing site
   Brand colors sourced from the logo (PRINTPRO_ALL_IN_ONE_MERCH_SOLUTION.ai):
   purple #7452A2, near-black #231F20, white. See /brand/printpro-brand-guide.md
   in the project for the fuller open decisions on palette/type. */

:root {
  --purple: #7452A2;
  --purple-light: #9A7EC4;
  --purple-pale: #EFE9F6;
  --ink: #231F20;
  --ink-soft: #353032;
  --paper: #FFFFFF;
  --paper-tint: #FAF8FC;
  --muted-on-dark: #C9C1D1;
  --muted-on-light: #6B6470;
  --border-on-dark: rgba(255,255,255,0.12);
  --border-on-light: rgba(35,31,32,0.1);
  --radius: 14px;
  --wrap: 1160px;
  --font: 'Noto Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Energy accent — used only for glow/motion effects (hover glows, spotlight,
     marquee), NOT the brand's primary purple. Pulled from the Tomorrowland deck's
     brighter violet since it reads better as a "glow" than the muted logo purple.
     See docs/brand-guidelines.md — flag before treating this as canonical. */
  --glow: #7B2FFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(20, 17, 18, 0.85);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border-on-dark);
  box-shadow: 0 8px 30px -16px rgba(0,0,0,0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand-logo { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: #EDE9F1;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.main-nav a:hover { opacity: 1; }
.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 1 !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--purple-light); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* Language switch — small pill toggle next to the nav CTA. Populated/driven by
   i18n.js; see /locales/*.json for the translatable strings. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-on-dark);
  background: rgba(255,255,255,0.04);
}
.lang-switch button {
  border: none;
  background: none;
  color: var(--muted-on-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active { background: var(--purple); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 620px at 26% 48%, rgba(12,10,11,0.88), transparent 68%),
    linear-gradient(100deg, rgba(20,17,18,0.9) 0%, rgba(20,17,18,0.72) 32%, rgba(20,17,18,0.25) 60%, rgba(20,17,18,0.55) 100%),
    linear-gradient(to top, rgba(15,13,14,0.9) 0%, rgba(15,13,14,0.1) 45%, rgba(15,13,14,0.35) 100%),
    url("assets/hero/artist-photoshoot.jpg");
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--x, 50%) var(--y, 30%), rgba(123,47,255,0.28), transparent 65%);
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.hero-credit {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  text-align: right;
}
.hero-grain {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin: 0 0 18px;
  display: block;
}
.eyebrow-dark { color: var(--purple); }
.hero h1 {
  font-size: clamp(46px, 7.2vw, 84px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero h1 .line { display: block; }
.text-purple {
  background: linear-gradient(100deg, var(--purple-light) 10%, var(--glow) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(123,47,255,0);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn-ghost { border: 1px solid var(--border-on-dark); color: #fff; transition: background 0.15s ease, transform 0.15s ease; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-large { font-size: 17px; padding: 16px 32px; }

/* ---------- Marquee ticker ---------- */
.marquee {
  background: var(--purple);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 12px 0;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
  padding: 0 10px;
}
.marquee-track .dot { color: rgba(255,255,255,0.5); padding: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Scroll reveal (JS adds .is-in; CSS default keeps content visible
   if JS fails to load, so nothing is hidden without a fallback) ---------- */
.reveal { opacity: 1; transform: none; }
.js-reveal-ready .reveal { opacity: 0; transform: translateY(24px); }
.js-reveal-ready .reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.section-dark h2 { color: #fff; }
.lede { font-size: 17px; line-height: 1.65; color: var(--muted-on-light); max-width: 720px; }
.lede-light { color: var(--muted-on-dark); }
.fineprint { margin-top: 28px; font-size: 13px; color: var(--muted-on-light); }
.fineprint-light { color: var(--muted-on-dark); }

/* ---------- Showcase gallery ---------- */
.showcase-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.showcase-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-on-dark);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.showcase-item:hover {
  transform: translateY(-4px);
  border-color: rgba(123,47,255,0.55);
  box-shadow: 0 20px 44px -20px var(--glow);
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.showcase-item:hover img { transform: scale(1.06); }
.showcase-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- Story stats ---------- */
.stat-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--border-on-light);
  padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-size: 40px; font-weight: 900; color: var(--purple); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--muted-on-light); line-height: 1.4; }

/* ---------- Ecosystem flow ---------- */
.flow-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.flow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123,47,255,0.5);
  box-shadow: 0 16px 40px -20px var(--glow);
}
.flow-num { font-size: 13px; font-weight: 800; color: var(--purple-light); letter-spacing: 0.08em; }
.flow-card h3 { font-size: 18px; margin: 14px 0 10px; color: #fff; }
.flow-card p { font-size: 14px; line-height: 1.55; color: var(--muted-on-dark); }

/* ---------- Product categories ---------- */
.category-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--paper-tint);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: 0 20px 40px -24px rgba(116,82,162,0.5);
}
.category-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.category-head h3 { font-size: 20px; }
.category-count { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.05em; }
.category-card > p { font-size: 14px; color: var(--muted-on-light); margin-bottom: 20px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-list li {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--purple-pale);
  color: var(--ink-soft);
}
.chip-list-dark li {
  background: rgba(255,255,255,0.07);
  color: var(--muted-on-dark);
  border: 1px solid var(--border-on-dark);
}

/* ---------- Produce intro + jump links ---------- */
.produce-intro { padding-bottom: 48px; }
.produce-jump { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.produce-jump a {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-on-light);
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.produce-jump a:hover { background: var(--purple-pale); border-color: var(--purple); transform: translateY(-2px); }

/* ---------- Category section heading row ---------- */
.category-section { padding-top: 72px; }
.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.category-heading .lede { margin-top: 18px; }
.category-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-on-dark);
  color: var(--muted-on-dark);
  white-space: nowrap;
}
.category-badge-light { background: var(--purple-pale); border-color: var(--border-on-light); color: var(--purple); }

/* ---------- Headwear (light section, split layout) ---------- */
.headwear-section { padding-top: 72px; }
.headwear-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.headwear-text .category-badge { display: inline-block; margin: 20px 0 8px; }
.headwear-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-on-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.headwear-photo:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(116,82,162,0.45); }
.headwear-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 5; }
.headwear-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- Print tech ---------- */
.print-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.print-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.print-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123,47,255,0.5);
  box-shadow: 0 16px 40px -20px var(--glow);
}
.print-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
}
.print-card h3 { font-size: 20px; color: #fff; margin-top: -8px; }
.print-sub strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.print-sub { font-size: 13.5px; line-height: 1.55; color: var(--muted-on-dark); }

/* ---------- Sustainability ---------- */
.sustain-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sustain-card {
  border-top: 3px solid var(--purple);
  padding-top: 18px;
}
.sustain-num { font-size: 13px; font-weight: 800; color: var(--purple); }
.sustain-card h3 { font-size: 16px; margin: 10px 0 8px; }
.sustain-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted-on-light); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.cert-badges span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-on-light);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--ink-soft);
}

/* ---------- Reasons ---------- */
.reasons { margin-top: 48px; display: flex; flex-direction: column; }
.reason {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--border-on-dark);
  transition: padding-left 0.25s ease, border-color 0.25s ease;
}
.reason:last-child { border-bottom: 1px solid var(--border-on-dark); }
.reason:hover { padding-left: 10px; border-color: rgba(123,47,255,0.5); }
.reason-num { font-size: 22px; font-weight: 900; color: var(--purple-light); transition: color 0.25s ease; }
.reason:hover .reason-num { color: var(--glow); }
.reason h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.reason p { font-size: 14.5px; line-height: 1.6; color: var(--muted-on-dark); max-width: 640px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--purple-pale); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-section .lede { margin: 0 auto; text-align: center; }
.contact-section .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 26px; opacity: 0.9; }
.footer-inner p { color: var(--muted-on-dark); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stat-grid, .flow-grid, .category-grid, .print-grid, .sustain-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .headwear-inner { grid-template-columns: 1fr; }
  .headwear-photo { max-width: 380px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border-on-dark);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
  .stat-grid, .flow-grid, .category-grid, .print-grid, .sustain-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reason { grid-template-columns: 40px 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 64px; min-height: auto; background-position: 65% center; }
}
