/* ═══════════════════════════════════════════════════════════
   PRIME MAILS — Main Stylesheet
   Color Palette:
     Navy Dark:   #050D1A
     Navy:        #0A1628
     Navy Mid:    #0F2040
     Gold:        #C9A84C
     Gold Light:  #E2C97E
     Gold Dim:    #8A6F2E
     White:       #FFFFFF
     Off-White:   #F0EDE6
     Text Light:  #A8B4C4
═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy-dark:   #050D1A;
  --navy:        #0A1628;
  --navy-mid:    #0F2040;
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dim:    #8A6F2E;
  --white:       #FFFFFF;
  --off-white:   #F0EDE6;
  --text-light:  #A8B4C4;
  --text-muted:  #5A6A7E;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;
  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background-color: var(--navy-dark);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.br-desktop { display: block; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 10px; }

/* ══════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5, 13, 26, 0.82) 0%,
    rgba(10, 22, 40, 0.70) 50%,
    rgba(5, 13, 26, 0.90) 100%
  );
  z-index: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ── Site Header ──────────────────────────────────────── */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  background: linear-gradient(to bottom, rgba(5,13,26,0.7) 0%, transparent 100%);
}

.logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(201, 168, 76, 0.25));
}

.site-header__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── Hero Content ─────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.eyebrow-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero__subtitle strong {
  color: var(--off-white);
  font-weight: 500;
}

.hero__divider {
  margin: 0 auto 2.5rem;
}

.divider-ornament {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.6;
  letter-spacing: 0.5em;
}

.hero__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.06);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero__contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.hero__contact-btn:hover {
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.2);
}

.hero__contact-btn:hover::before { opacity: 1; }

.btn-icon {
  font-size: 1rem;
  opacity: 0.8;
}

/* ── Scroll Hint ──────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1.8s 0.5s ease forwards;
  opacity: 0;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.1); }
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
}

/* ══════════════════════════════════════════════════════
   SHARED SECTION ELEMENTS
══════════════════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label.left-align {
  justify-content: flex-start;
}

.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.8rem;
  text-align: center;
}

.section-title.left-align {
  text-align: left;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.section-body strong {
  color: var(--off-white);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   IDENTITY SECTION
══════════════════════════════════════════════════════ */
.identity-section {
  padding: 8rem 0 7rem;
  background: var(--navy-dark);
  position: relative;
}

.identity-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim));
}

.identity-section .container {
  text-align: center;
}

.highlight-domain {
  color: var(--gold-light);
  font-style: italic;
}

/* ── Pillars Grid ─────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4.5rem;
}

.pillar-card {
  padding: 2.8rem 2rem;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(15, 32, 64, 0.6), rgba(10, 22, 40, 0.3));
  backdrop-filter: blur(4px);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.pillar-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.06);
}

.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}

.pillar-body {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════
   STATEMENT SECTION
══════════════════════════════════════════════════════ */
.statement-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.statement-section__bg {
  position: absolute;
  inset: 0;
  background: url('../images/section-bg.jpg') center center / cover no-repeat;
  opacity: 0.35;
}

.statement-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--navy-dark) 0%,
    rgba(10, 22, 40, 0.85) 30%,
    rgba(10, 22, 40, 0.85) 70%,
    var(--navy-dark) 100%
  );
  z-index: 1;
}

.statement-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.statement-quote {
  max-width: 780px;
  margin: 0 auto;
}

.quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 1.5rem;
}

.statement-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.quote-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.attr-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ══════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════ */
.about-section {
  padding: 8rem 0 7rem;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* ── About Visual ─────────────────────────────────────── */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual__frame {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual__inner {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  width: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(15,32,64,0.8) 0%, rgba(5,13,26,0.9) 100%);
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.08), inset 0 0 30px rgba(201, 168, 76, 0.04);
}

.av-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.6rem;
}

.av-icon svg {
  width: 100%;
  height: 100%;
}

.av-domain {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.av-tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-visual__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.08);
  animation: ring-rotate linear infinite;
}

.ring-1 {
  width: 260px;
  height: 260px;
  border-color: rgba(201, 168, 76, 0.12);
  animation-duration: 20s;
}

.ring-2 {
  width: 300px;
  height: 300px;
  border-color: rgba(201, 168, 76, 0.07);
  animation-duration: 30s;
  animation-direction: reverse;
}

.ring-3 {
  width: 340px;
  height: 340px;
  border-color: rgba(201, 168, 76, 0.04);
  animation-duration: 45s;
}

@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── About Text ───────────────────────────────────────── */
.about-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-email {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  transition: var(--transition);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 1px;
}

.contact-email:hover {
  color: var(--white);
  border-color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.site-footer__top {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  filter: drop-shadow(0 1px 8px rgba(201, 168, 76, 0.15));
}

.footer-divider-v {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3), transparent);
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.footer-email {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.footer-email:hover {
  color: var(--gold-light);
}

.site-footer__bottom {
  padding: 1.5rem 0;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .about-grid {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .br-desktop { display: none; }

  .site-header {
    padding: 1.5rem 1.5rem;
  }

  .logo-img {
    height: 40px;
  }

  .site-header__badge {
    font-size: 0.62rem;
  }

  .hero__content {
    padding: 0 1.5rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    order: -1;
  }

  .about-visual__frame {
    width: 260px;
    height: 260px;
  }

  .about-visual__inner {
    width: 180px;
    height: 180px;
  }

  .ring-1 { width: 210px; height: 210px; }
  .ring-2 { width: 240px; height: 240px; }
  .ring-3 { width: 270px; height: 270px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-divider-v {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.3), transparent);
  }

  .identity-section,
  .about-section {
    padding: 5rem 0 4rem;
  }

  .statement-section {
    padding: 5rem 0;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .statement-quote p {
    font-size: 1.4rem;
  }
}

/* ══════════════════════════════════════════════════════
   PARTICLE CANVAS
══════════════════════════════════════════════════════ */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
