/* ============================================
   PRINORA WEAR — Inner Pages Stylesheet
   pages.css  (loaded on all pages except index)
   ============================================ */

/* ── Nav dropdown ──────────────────────────── */
.has-dropdown { position: relative; }
.drop-arrow { font-size: 9px; opacity: 0.6; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(26,23,18,0.12);
  min-width: 230px;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 600;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 11px 22px;
  font-size: 12.5px;
  color: var(--charcoal) !important;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.dropdown li a:hover {
  background: var(--cream-2);
  color: var(--gold) !important;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white);
}

/* ── Page Hero Banner ──────────────────────── */
.pg-hero {
  position: relative;
  height: 68vh;
  min-height: 480px;
  margin-top: var(--nav-h);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,23,18,0.30) 0%,
    rgba(26,23,18,0.62) 40%,
    rgba(26,23,18,0.62) 60%,
    rgba(26,23,18,0.30) 100%
  );
}
.pg-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: var(--gap-x, 64px);
}
.pg-hero-content .section-label { color: var(--gold-light); margin-bottom: 16px; }
.pg-hero-content .section-label::before { background: var(--gold-light); }

.pg-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}
.pg-hero-title em { font-style: italic; color: var(--gold-light); }

.pg-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.82;
  margin-bottom: 36px;
}

/* ── About Section ─────────────────────────── */
.pg-about {
  background: var(--white);
  padding: 112px var(--gap-x);
}
.pg-about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pg-about-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-top: 18px;
}
.pg-about-img {
  position: relative;
}
.pg-about-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: saturate(0.65) brightness(0.88);
}
.pg-about-img-frame {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 55%;
  height: 55%;
  border-right: 2px solid var(--gold-pale);
  border-bottom: 2px solid var(--gold-pale);
  pointer-events: none;
}

/* ── Products Section ──────────────────────── */
.pg-products {
  background: var(--cream-2);
  padding: 112px var(--gap-x);
}
.pg-products-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.pg-products-header {
  margin-bottom: 56px;
}
.pg-products-header .section-title { margin-top: 8px; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.prod-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px var(--shadow);
  border-color: var(--border);
}
.prod-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.65);
  transition: filter 0.4s, transform 0.5s;
}
.prod-card:hover .prod-img {
  filter: saturate(0.85);
  transform: scale(1.03);
}
.prod-body {
  padding: 32px 28px;
}
.prod-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.prod-body p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}
.prod-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s, gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prod-link:hover { color: var(--dark); }

/* ── Features Section ──────────────────────── */
.pg-features {
  background: var(--dark);
  padding: 112px var(--gap-x);
}
.pg-features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.pg-features-left .section-label { color: var(--gold-light); }
.pg-features-left .section-label::before { background: var(--gold-light); }
.pg-features-left .section-title { color: var(--white); }
.pg-features-left .section-title em { color: var(--gold-light); }

.feats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.feat-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 36px 32px;
  transition: background 0.3s;
}
.feat-item:hover { background: rgba(184,146,42,0.08); }
.feat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.feat-item h4 {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
}
.feat-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
}

/* ── Quote Bar ─────────────────────────────── */
.quote-bar {
  background: var(--gold);
  padding: 40px var(--gap-x);
}
.quote-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.quote-bar p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
}
.quote-bar .btn-primary {
  background: var(--dark);
  flex-shrink: 0;
}
.quote-bar .btn-primary::before { background: var(--white); }
.quote-bar .btn-primary:hover span { color: var(--dark); }

/* ── Projects Page ─────────────────────────── */
.projects-section {
  background: var(--cream);
  padding: 112px var(--gap-x);
}
.projects-intro {
  max-width: var(--max-w);
  margin: 0 auto 72px;
}
.projects-intro p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  max-width: 580px;
  margin-top: 16px;
}

.projects-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.proj-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s;
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px var(--shadow);
  border-color: var(--border);
}
.proj-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.6);
  transition: filter 0.4s, transform 0.5s;
}
.proj-card:hover .proj-img {
  filter: saturate(0.85);
  transform: scale(1.03);
}
.proj-body {
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj-tag {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 4px 10px;
  margin-bottom: 14px;
  width: fit-content;
}
.proj-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.proj-body p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}
.proj-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.proj-meta span {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.proj-meta span::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.projects-cta {
  max-width: var(--max-w);
  margin: 96px auto 0;
  background: var(--dark);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.projects-cta .section-title { color: var(--white); margin-bottom: 0; }
.projects-cta .section-title em { color: var(--gold-light); }
.projects-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  line-height: 1.7;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .pg-about { padding: 80px var(--gap-x); }
  .pg-products { padding: 80px var(--gap-x); }
  .pg-features { padding: 80px var(--gap-x); }
  .projects-section { padding: 80px var(--gap-x); }
  .feats-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .pg-features-inner { grid-template-columns: 1fr; gap: 48px; }
  .feats-list { grid-template-columns: 1fr 1fr; }
  .projects-cta { grid-template-columns: 1fr; gap: 28px; }
  .projects-cta { padding: 48px 32px; }
}

@media (max-width: 768px) {
  .pg-hero { height: 60vh; min-height: 400px; }
  .pg-about-inner { grid-template-columns: 1fr; gap: 40px; }
  .pg-about-img img { height: 320px; }
  .prod-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .feats-list { grid-template-columns: 1fr; }
  .quote-bar-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pg-about { padding: 72px var(--gap-x); }
  .pg-products { padding: 72px var(--gap-x); }
  .pg-features { padding: 72px var(--gap-x); }
  .projects-section { padding: 72px var(--gap-x); }
  .dropdown { left: 0; transform: none; }
  .has-dropdown:hover .dropdown { transform: none; }
}

/* ── Projects Link Strip (on category pages) ── */
.projects-link-strip {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px var(--gap-x, 64px);
}
.projects-link-inner {
  max-width: var(--max-w, 1440px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.projects-link-inner p { margin: 0; font-size: 15px; color: var(--charcoal); }
