/* ============================================
   Byzantine Glam, LLC -- Parent Company Site
   ============================================ */

:root {
  --midnight: #0F1729;
  --midnight-soft: #1a2238;
  --ivory: #FAF7F2;
  --ivory-warm: #F5EFE5;
  --byzantine-gold: #C9A368;
  --byzantine-gold-bright: #D8B47A;
  --charcoal: #3A3A40;
  --charcoal-soft: #5A5A62;
  --mist: #E8E4DD;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 41, 0.10);
  --shadow-lg: 0 16px 48px rgba(15, 23, 41, 0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--transition), backdrop-filter var(--transition),
    box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  transition: color var(--transition);
}

.nav.scrolled .nav-brand {
  color: var(--midnight);
}

.nav-brand .glyph {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-brand .wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ivory);
  transition: color var(--transition);
  position: relative;
}

.nav.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav-links a:hover {
  color: var(--byzantine-gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ivory);
}

.nav.scrolled .nav-toggle {
  color: var(--midnight);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80vw, 320px);
    background: var(--midnight);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a,
  .nav.scrolled .nav-links a {
    color: var(--ivory);
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background: var(--midnight);
  color: var(--ivory);
  padding: 180px 0 140px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 163, 104, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 163, 104, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--byzantine-gold);
  margin-bottom: 24px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--byzantine-gold);
  opacity: 0.7;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  color: var(--ivory);
}

.hero h1 .accent {
  color: var(--byzantine-gold);
  font-style: italic;
  font-weight: 500;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(250, 247, 242, 0.78);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--byzantine-gold);
  color: var(--midnight);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.hero-cta:hover {
  background: var(--byzantine-gold-bright);
  transform: translateY(-2px);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--byzantine-gold), transparent);
  display: block;
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 100px;
  }
  .hero-scroll-cue {
    display: none;
  }
}

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 120px 0;
}

.section-soft {
  background: var(--ivory-warm);
}

.section-dark {
  background: var(--midnight);
  color: var(--ivory);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--byzantine-gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--midnight);
  margin-bottom: 18px;
}

.section-dark .section-title {
  color: var(--ivory);
}

.section-subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
  max-width: 640px;
}

.section-dark .section-subtitle {
  color: rgba(250, 247, 242, 0.75);
}

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

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section-header {
    margin-bottom: 44px;
  }
}

/* ============================================
   About
   ============================================ */
.about-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-body p {
  font-size: 1.13rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 22px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-signature {
  display: inline-block;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--mist);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--midnight);
}

/* ============================================
   Products grid (the centerpiece)
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--byzantine-gold), var(--byzantine-gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--byzantine-gold);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.product-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Subtle drop shadow so transparent logos still feel grounded on the card */
  filter: drop-shadow(0 4px 12px rgba(15, 23, 41, 0.08));
}

.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--byzantine-gold);
  margin-bottom: 10px;
}

.product-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.product-card p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--midnight);
  padding: 12px 24px;
  border: 1.5px solid var(--midnight);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.product-link:hover {
  background: var(--midnight);
  color: var(--ivory);
}

/* ============================================
   Mission section (dark)
   ============================================ */
.mission-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.mission-intro p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(250, 247, 242, 0.85);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.pillar {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid rgba(201, 163, 104, 0.3);
}

.pillar-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--byzantine-gold);
  margin-bottom: 14px;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.7);
}

/* ============================================
   Contact section
   ============================================ */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 32px 24px;
  }
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--midnight);
  background: var(--ivory-warm);
  transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--byzantine-gold);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  font-family: 'Inter', sans-serif;
}

.form-submit {
  width: 100%;
  background: var(--midnight);
  color: var(--ivory);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.form-submit:hover:not(:disabled) {
  background: var(--midnight-soft);
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.form-message.success {
  display: block;
  background: rgba(201, 163, 104, 0.12);
  color: #6e5828;
  border: 1px solid rgba(201, 163, 104, 0.4);
}

.form-message.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--midnight);
  color: rgba(250, 247, 242, 0.6);
  padding: 64px 0 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
}

.footer-brand .glyph {
  width: 26px;
  height: 26px;
}

.footer-brand .wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.footer-sister {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-sister-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--byzantine-gold);
}

.footer-sister-logos {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-sister-logos a {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}

.footer-sister-logos a:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.footer-sister-logos img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.footer-bottom-links {
  display: flex;
  gap: 28px;
}

.footer-bottom-links a {
  color: rgba(250, 247, 242, 0.6);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--byzantine-gold);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
