/* __CULTURE.__ — Shopify-powered build */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #767676;
  --gray-light: #e5e5e5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1280px;
  --hero-max-width: 560px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
}

body.locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}
button:active { transform: scale(0.96); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  height: 72px;
  width: auto;
  filter: invert(1);
  opacity: 0;
  transform: scale(0.85);
  animation: loader-logo-in 1s ease forwards 0.2s;
}
@keyframes loader-logo-in {
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: none; }
  .loader-logo { animation: none; opacity: 1; transform: none; }
}

/* ===== PAGE TRANSITION ===== */
main > section { animation: fade-in 0.25s ease; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== NAV ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.2s ease;
}
.nav-wrap.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo-img { height: 34px; width: auto; transition: transform 0.2s ease; }
.nav-logo:hover .nav-logo-img { transform: scale(1.06); }
.nav-icons { display: flex; align-items: center; gap: 18px; }
.icon-btn { position: relative; display: flex; transition: transform 0.2s ease, color 0.2s ease; }
.icon-btn:hover { transform: translateY(-2px) scale(1.1); color: var(--black); }
.icon-btn:active { transform: scale(0.9); }

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  position: sticky;
  top: 57px;
  z-index: 39;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 15px;
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.mobile-menu a:hover { background: #f5f5f5; padding-left: 28px; }

/* ===== HERO (collection banner) ===== */
.hero { background: var(--black); color: var(--white); text-align: center; padding: 60px 24px; }
.hero-logo { height: 28px; width: auto; margin: 0 auto 24px; filter: invert(1); }
.hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: 0.02em; margin-bottom: 12px; }
.hero p { font-size: 12px; letter-spacing: 0.12em; color: #b3b3b3; }

/* ===== SECTION TITLE ===== */
.section-title { text-align: center; font-size: clamp(24px, 3.2vw, 30px); font-weight: 800; padding: 48px 20px 28px; }

/* ===== SHOPIFY COLLECTION EMBED ===== */
.shopify-collection-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}
@media (min-width: 720px) {
  .shopify-collection-wrap { padding: 0 32px 56px; }
}

/* ===== CAMPAIGN CTA (primary hero) ===== */
.campaign { text-align: center; padding: 40px 20px 48px; }
.campaign-img-wrap {
  position: relative;
  width: 100%;
  max-width: var(--hero-max-width);
  aspect-ratio: 1 / 1;
  background: var(--black);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
  perspective: 800px;
  cursor: pointer;
}
.campaign-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.2s ease-out;
  opacity: 0;
  transform-style: preserve-3d;
  animation: campaign-breathe 6s ease-in-out infinite;
}
.campaign-img-wrap img.loaded { opacity: 1; }
.campaign-img-wrap.tilting img { animation-play-state: paused; }
@keyframes campaign-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .campaign-img-wrap img { animation: none; }
}
.campaign-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.16) 50%, transparent 60%);
  background-size: 250% 250%;
  background-position: 120% 120%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.campaign-img-wrap:hover .campaign-shine {
  opacity: 1;
  animation: shine-sweep 1.1s ease forwards;
}
@keyframes shine-sweep {
  from { background-position: 120% 120%; }
  to { background-position: -20% -20%; }
}
.campaign-tagline { font-size: 12px; letter-spacing: 0.14em; color: var(--gray); margin-bottom: 18px; padding: 0 20px; }
.campaign-btn {
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.campaign-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.campaign-btn:active { transform: translateY(-1px) scale(0.97); }

/* ===== INSTAGRAM CTA ===== */
.instagram-cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
}
.instagram-icon { margin: 0 auto 16px; }
.instagram-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}
.instagram-handle { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin-bottom: 10px; }
.instagram-sub { font-size: 13px; color: #b3b3b3; margin-bottom: 26px; max-width: 380px; margin-left: auto; margin-right: auto; }
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instagram-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.instagram-btn:active { transform: translateY(-1px) scale(0.97); }

/* ===== NEWSLETTER ===== */
.newsletter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-light);
}
.newsletter h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin-bottom: 10px; }
.newsletter p { font-size: 13px; color: var(--gray); margin-bottom: 24px; max-width: 420px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--gray-light);
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 22px;
  transition: opacity 0.15s ease;
}
.newsletter-form button:hover { opacity: 0.85; }

/* ===== FOOTER ===== */
.footer { padding: 56px 32px 30px; border-top: 1px solid var(--gray-light); margin-top: 24px; }
.footer-logo { height: 26px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--gray); margin-bottom: 32px; }
.footer-inner, .footer-bottom-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 860px) {
  .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
  .footer-brand { max-width: 320px; }
  .footer-columns { flex: 1; margin-bottom: 0; }
}
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.25s ease;
}
.footer-col a:hover { color: var(--black); }
.footer-col a:hover::after { width: 100%; }
.footer hr { border: none; border-top: 1px solid var(--gray-light); margin-bottom: 20px; }
.footer-copy { font-size: 12px; color: var(--gray); margin-bottom: 4px; }

/* ===== LIGHTBOX (used for the hero graphic) ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.94);
  z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; transform: scale(0.92); transition: transform 0.25s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  color: var(--white); font-size: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  transition: background 0.15s ease, transform 0.15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }

/* ===== TOASTS ===== */
.toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 90; width: min(360px, 90vw); align-items: center;
}
.toast {
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 14px 20px; border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  display: flex; align-items: center; gap: 10px;
  width: 100%; justify-content: center;
  animation: toast-in 0.25s ease;
}
.toast.toast-error { background: #c62828; }
.toast.toast-out { animation: toast-out 0.25s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(12px); } }
