/* =============================================
   SHARED STYLES — Priority Press Shop
   Used across all pages
============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES
============================================= */
:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --off-white: #f2f0ec;
  --mist: #e8e4de;
  --stone: #b0a89a;
  --bark: #6b5e52;
  --forest: #2c3b2d;
  --moss: #4a5c3a;

  --font-display: 'Caveat', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'DM Mono', monospace;
  --font-body: 'DM Sans', sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* =============================================
   UTILITIES
============================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

.section { padding: 100px 0; }

.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }

.divider {
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.2;
  margin: 24px 0;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* =============================================
   NAVIGATION
============================================= */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease;
}
#nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.08); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .top-line {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.logo-text .main-line {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--black);
  line-height: 1.1;
}

/* Desktop nav links */
.nav-links { display: none; align-items: center; gap: 36px; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--black);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { font-weight: 500; }

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

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--black); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 48px 24px;
  flex-direction: column;
  gap: 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 20px;
}

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.55) saturate(0.6) contrast(1.1);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* =============================================
   MARQUEE
============================================= */
.marquee-strip {
  background: var(--black);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 22s linear infinite; }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0 40px;
}
.marquee-dot { color: var(--stone); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   PRODUCT CARDS
============================================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.12);
}
.product-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--mist);
}
.product-image-wrap img {
  transition: transform 0.6s ease;
  filter: brightness(0.92) saturate(0.8);
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}
.product-body { padding: 22px 24px 28px; }
.product-collection {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.product-desc { font-size: 0.83rem; color: var(--bark); margin-bottom: 16px; line-height: 1.6; }
.product-price { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; margin-bottom: 18px; }

/* Shopify Buy Button Placeholder */
.shopify-placeholder {
  background: var(--off-white);
  border: 1.5px dashed var(--mist);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
}
.shopify-placeholder .placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.shopify-placeholder .placeholder-hint { font-size: 0.72rem; color: var(--bark); }

/* =============================================
   WHY US
============================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px; }
.why-num { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.18em; color: var(--stone); margin-bottom: 20px; }
.why-icon { font-size: 1.8rem; margin-bottom: 16px; }
.why-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.why-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  padding: 36px 32px;
  border: 1px solid var(--mist);
  border-radius: 6px;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.star {
  width: 14px; height: 14px;
  background: var(--black);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--black);
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem; font-style: italic; flex-shrink: 0;
}
.author-name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.author-location { font-size: 0.75rem; color: var(--stone); margin-top: 2px; }

/* =============================================
   EMAIL SIGNUP
============================================= */
#signup {
  background: var(--forest);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.signup-inner { position: relative; z-index: 1; text-align: center; max-width: 580px; margin: 0 auto; }
.signup-inner .section-label { color: rgba(255,255,255,0.45); }
.signup-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.signup-sub { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 40px; }
.signup-form { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 560px) { .signup-form { flex-direction: row; } }
.signup-form input[type="email"] {
  flex: 1; width: 100%;
  padding: 14px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.signup-form input::placeholder { color: rgba(255,255,255,0.4); }
.signup-form input:focus { border-color: rgba(255,255,255,0.5); }
.signup-disclaimer { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-top: 16px; }

/* =============================================
   CONTACT FORM
============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.6fr; } }
.contact-info .section-title { margin-bottom: 20px; }
.contact-info p { font-size: 0.9rem; color: var(--bark); line-height: 1.8; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-detail-label {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone); width: 60px; flex-shrink: 0; padding-top: 2px;
}
.contact-detail-value { font-size: 0.88rem; color: var(--black); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone);
}
.form-group input, .form-group textarea {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--black); }
.form-group textarea { height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-text .top-line { color: rgba(255,255,255,0.35); }
.footer-brand .logo-text .main-line { color: var(--white); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); transition: color 0.3s;
}
.footer-social a:hover { color: var(--white); }

/* Oregon SVG */
.oregon-svg { fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linejoin: round; }
.footer-brand .oregon-svg { stroke: rgba(255,255,255,0.6); }

/* =============================================
   ANIMATE ON SCROLL
============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* =============================================
   BRAND IMAGE
============================================= */
.brand-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
}

/* =============================================
   LOGO IMAGE
============================================= */
.logo .site-logo-image {
  height: 46px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.footer-brand .logo .site-logo-image {
  height: 52px;
}

@media (max-width: 480px) {
  .logo .site-logo-image {
    height: 40px;
    max-width: 100px;
  }
}

/* =============================================
   HERO LOGO — CLEAN WHITE VERSION
   Uses logo-white.png in the homepage hero only.
============================================= */
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  max-width: 560px;
  width: 100%;
  height: auto;
  opacity: 0.96;
  filter: none !important;
}

@media (max-width: 899px) {
  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    max-width: 280px;
  }
}
