/* =============================================================================
   PEARL VEIL — STATIC & INFORMATIONAL PAGE STYLES  (css/pages/static-pages.css)
   ─────────────────────────────────────────────────────────────────────────────
   Shared styles for: about.html, contact.html, faq.html, shipping-returns.html,
   privacy-policy.html, terms.html, 404.html.
   Each page adds its own section at the bottom where needed.
   ============================================================================= */

/* ─── SHARED PAGE HERO ─────────────────────────────────────────────────────────
   Compact editorial banner used on all static pages.
----------------------------------------------------------------------------- */

.static-hero {
  padding: var(--space-16) 0 var(--space-12);
  background-color: var(--color-bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.static-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--color-ivory-border) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.static-hero__inner { position: relative; z-index: 1; }

.static-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-5);
}

.static-hero__breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.static-hero__breadcrumb a:hover { color: var(--color-accent); }
.static-hero__breadcrumb svg { width: 10px; height: 10px; }

.static-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  display: block;
}

.static-hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-light);
  color: var(--color-heading);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.static-hero__subtitle {
  max-width: 540px;
  margin: 0 auto;
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

/* ─── PROSE CONTENT (policy pages, about, etc.) ────────────────────────────────  */

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  color: var(--color-body);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  color: var(--color-heading);
  margin: var(--space-10) 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--color-heading);
  margin: var(--space-8) 0 var(--space-3);
}

.prose p { margin-bottom: var(--space-5); }

.prose ul, .prose ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

.prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--color-accent-dark); }

.prose strong {
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}

.prose .last-updated {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-10);
  display: block;
}

/* ─── FAQ ACCORDION ────────────────────────────────────────────────────────────  */

.faq-section { max-width: 760px; margin: 0 auto; }

.faq-category {
  margin-bottom: var(--space-12);
}

.faq-category__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--color-heading);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-of-type { border-top: 1px solid var(--color-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
  transition: color var(--dur-fast);
}

.faq-question:hover { color: var(--color-accent); }

.faq-question__text {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-heading);
  line-height: var(--leading-snug);
  flex: 1;
}

.faq-question:hover .faq-question__text { color: var(--color-accent); }

.faq-question__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform var(--dur-base) var(--ease-out);
}

.faq-item.open .faq-question__icon { transform: rotate(45deg); color: var(--color-accent); }

.faq-answer {
  display: none;
  padding: 0 0 var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  animation: fadeIn var(--dur-base) var(--ease-out);
}

.faq-item.open .faq-answer { display: block; }

/* ─── CONTACT PAGE ─────────────────────────────────────────────────────────────  */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-16);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-panel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-10);
}

@media (max-width: 600px) {
  .contact-form-panel { padding: var(--space-6); }
}

.contact-form-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.contact-form-panel__subtitle {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-8);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
}

/* Contact info sidebar */
.contact-info-sidebar { display: flex; flex-direction: column; gap: var(--space-6); }

.contact-info-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-accent-pale);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.contact-info-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-info-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.contact-info-card__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
}

.contact-info-card__text a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-info-card__text a:hover { text-decoration: underline; }

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-ivory-border) 100%);
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-muted);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  /* REPLACE: Embed your Google Maps iframe here */
}

.map-placeholder svg { width: 32px; height: 32px; color: var(--color-accent); }

/* ─── ABOUT PAGE ──────────────────────────────────────────────────────────────  */

.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 800px) {
  .about-mission { grid-template-columns: 1fr; }
}

.about-mission__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.about-mission__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-mission__content { }

.about-mission__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}

.about-mission__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-light);
  color: var(--color-heading);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-6);
}

.about-mission__text {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 700px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* Team / founder section */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  align-items: center;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
}

@media (max-width: 700px) {
  .founder-card { grid-template-columns: 1fr; text-align: center; }
}

.founder-card__image {
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  overflow: hidden;
  background-color: var(--color-ivory-border);
  max-width: 240px;
  margin: 0 auto;
}

.founder-card__image img { width: 100%; height: 100%; object-fit: cover; }

.founder-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  font-style: italic;
  color: var(--color-heading);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-5);
}

.founder-card__name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  margin-bottom: var(--space-1);
}

.founder-card__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wide);
}

/* ─── SHIPPING & RETURNS TABLE ─────────────────────────────────────────────────  */

.shipping-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.shipping-table th {
  background-color: var(--color-bg-alt);
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-heading);
  border-bottom: 2px solid var(--color-border);
}

.shipping-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-body);
  font-weight: var(--weight-light);
  vertical-align: top;
}

.shipping-table tr:last-child td { border-bottom: none; }

.shipping-table td:first-child {
  font-weight: var(--weight-medium);
  color: var(--color-heading);
}

/* ─── ORDER TRACKING ───────────────────────────────────────────────────────────  */

.tracking-search-card {
  max-width: 560px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
}

.tracking-search-card__icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-accent-pale);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.tracking-search-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.tracking-search-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.tracking-search-card__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.tracking-result {
  margin-top: var(--space-8);
  text-align: left;
  display: none;
}

.tracking-result.visible { display: block; }

.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--color-border);
}

.tracking-event {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  position: relative;
}

.tracking-event__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tracking-event.active .tracking-event__dot {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.tracking-event.completed .tracking-event__dot {
  background-color: var(--color-success);
  border-color: var(--color-success);
}

.tracking-event__dot svg {
  width: 14px;
  height: 14px;
  color: var(--color-muted);
}

.tracking-event.active .tracking-event__dot svg,
.tracking-event.completed .tracking-event__dot svg {
  color: white;
}

.tracking-event__info { padding-top: var(--space-1); }

.tracking-event__status {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  margin-bottom: var(--space-1);
}

.tracking-event.active .tracking-event__status { color: var(--color-accent); }

.tracking-event__date {
  font-size: var(--text-xs);
  color: var(--color-muted);
  letter-spacing: var(--tracking-wide);
}

/* ─── 404 PAGE ─────────────────────────────────────────────────────────────────  */

.not-found-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--container-padding);
}

.not-found-page__number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: var(--weight-light);
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.04em;
  user-select: none;
}

.not-found-page__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: var(--weight-light);
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

.not-found-page__text {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-muted);
  max-width: 480px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}

.not-found-page__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.not-found-page__suggestions {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-10);
}

.not-found-page__suggestions-title {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}
