/*
 * GRACE & CO. PRIVATE OFFICE
 * Premium Design System
 * Matte Dark Luxury Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --color-navy: #0B1220;
  --color-navy-dark: #070B14;
  --color-charcoal: #111111;
  --color-gold: #C8A96B;
  --color-gold-hover: #dec286;
  --color-gold-dim: rgba(200, 169, 107, 0.2);
  --color-gold-glow: rgba(200, 169, 107, 0.08);
  --color-ivory: #EAE7DF;
  --color-ivory-dim: #b8b6b0;
  --font-serif: 'Cinzel', 'Trajan', 'Playfair Display', serif;
  --font-sans: 'Cormorant Garamond', 'Georgia', serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-navy-dark);
  overflow-x: hidden !important;
  max-width: 100% !important;
}

body {
  font-family: var(--font-sans);
  background-color: transparent !important; /* Transparent body lets negative z-index background elements render! */
  color: var(--color-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}

p {
  font-family: var(--font-sans);
  font-weight: 400; /* Bolder weight for highly visible serifs */
  color: var(--color-ivory); /* Lighter warm-white color */
  font-size: 1.25rem; /* Enlarge to highly visible 1.25rem */
  letter-spacing: 0.03em;
  line-height: 1.85; /* Generous spacing to breathe */
}

a {
  color: var(--color-ivory);
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --- STRUCTURAL LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  flex-grow: 1;
  padding-top: var(--header-height);
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
}

.section-divider .divider-crest {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin: 0 1.5rem;
  opacity: 0.7;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(200, 169, 107, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background: rgba(7, 11, 20, 0.95);
  border-bottom: 1px solid rgba(200, 169, 107, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Logo handling */
.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  height: 40px;
}

.logo-text {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.logo-subtext {
  font-family: var(--font-sans);
  color: var(--color-ivory);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: -2px;
}

.logo-words {
  display: flex;
  flex-direction: column;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ivory);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px auto;
  background-color: var(--color-ivory);
  transition: var(--transition-smooth);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1.1rem 2.2rem;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  box-shadow: 0 0 10px rgba(200, 169, 107, 0.05);
}

.btn-primary:hover {
  background-color: var(--color-gold);
  color: var(--color-charcoal);
  box-shadow: 0 0 25px rgba(200, 169, 107, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(17, 17, 17, 0.6);
  color: var(--color-ivory);
  border: 1px solid rgba(234, 231, 223, 0.15);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(17, 17, 17, 0.85);
  transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-network-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 107, 0.03) 0%, transparent 70%);
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-monogram-wrap {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-monogram {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gold-dim);
  position: relative;
  padding: 1.5rem;
  background: rgba(17, 17, 17, 0.4);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.hero-monogram:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 40px rgba(200, 169, 107, 0.1);
}

.hero-monogram svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-tagline {
  font-family: var(--font-sans);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--color-ivory);
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-statement {
  font-size: 1.5rem; /* Generous 1.5rem for striking visibility */
  color: var(--color-ivory); /* Full light warm-white */
  margin-bottom: 3.5rem;
  line-height: 1.8;
  font-weight: 400; /* Bolder weight */
  letter-spacing: 0.02em;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

.hero-appointment-text {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-top: 0.5rem;
}

/* --- GLASS CARD SECTION --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-subtitle {
  font-family: var(--font-serif); /* Command serif (Cinzel) */
  font-size: 0.95rem; /* Increased size for high visibility */
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  display: block;
  font-weight: 700; /* Fully bolded section subtitles */
}

.section-title {
  font-size: 2.5rem; /* Enlarge to highly visible 2.5rem */
  font-weight: 700; /* Fully bolded headings */
  color: var(--color-ivory);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
}

.section-desc {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

/* --- WHO WE ARE (HOMEPAGE) --- */
.whoweare-block {
  background: rgba(17, 17, 17, 0.45);
  border: 1px solid rgba(200, 169, 107, 0.1);
  padding: 4.5rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.whoweare-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-ivory);
  line-height: 1.8;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.whoweare-subtext {
  font-size: 1.35rem; /* Large, highly visible 1.35rem */
  color: var(--color-ivory); /* Full warm-white */
  line-height: 1.8;
  font-weight: 400; /* Thicker serif stroke */
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Responsive Desktop 6-Column layout: Split bottom row 50/50 to fill the page perfectly */
@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3) {
    grid-column: span 2;
  }
  
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: span 3;
  }
}

/* Tablet 2-column layout: Let the 5th card fill the bottom row full-width */
@media (min-width: 768px) and (max-width: 1024px) {
  .services-grid .service-card:nth-child(5) {
    grid-column: span 2;
  }
}

.service-card {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid rgba(200, 169, 107, 0.12);
  padding: 3rem 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 169, 107, 0.45);
  background: rgba(17, 17, 17, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px var(--color-gold-glow);
}

.service-icon-crest {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
  opacity: 0.6;
  letter-spacing: 0.2em;
}

.service-card-title {
  font-size: 1.15rem;
  color: var(--color-ivory);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.service-card-desc {
  font-size: 1.12rem;
  line-height: 1.7;
}

/* --- PILLARS / WHY CHOOSE US --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.pillar-item {
  display: flex;
  gap: 1.25rem;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  opacity: 0.4;
  line-height: 1;
  font-weight: 600;
}

.pillar-content-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-ivory);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.pillar-content-desc {
  font-size: 1.12rem;
  line-height: 1.7;
}

/* --- FOUNDER PREVIEW --- */
.founder-preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.founder-brand-crest-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(17, 17, 17, 0.4);
  border: 1px solid rgba(200, 169, 107, 0.1);
  padding: 2.5rem; /* Reduced padding to give the larger logo space */
  height: 500px; /* Increased height from 450px to 500px */
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.founder-brand-crest-inner {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(200, 169, 107, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.founder-large-monogram {
  width: 140px;
  height: 140px;
  opacity: 0.95;
}

.founder-large-monogram svg {
  width: 100%;
  height: 100%;
}

.founder-crest-label {
  font-family: var(--font-serif);
  font-size: 1.1rem; /* Substantially larger size */
  color: var(--color-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700; /* Fully bolded Cinzel serif */
}

.founder-crest-sublabel {
  font-family: var(--font-sans);
  font-size: 0.85rem; /* Substantially larger size */
  color: var(--color-ivory);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600; /* Bolder serif font weight */
  margin-top: -0.5rem; /* Balanced spacing under the logo */
}

.founder-preview-content .section-subtitle {
  margin-bottom: 0.5rem;
}

.founder-preview-content .section-title {
  margin-bottom: 2rem;
}

.founder-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-ivory);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* --- CONTACT PORTAL & FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-title {
  font-size: 1.8rem;
  color: var(--color-ivory);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.contact-info-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-details-item {
  display: flex;
  flex-direction: column;
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-gold);
}

.contact-details-label {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.35rem;
}

.contact-details-val {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--color-ivory);
  letter-spacing: 0.03em;
}

.contact-details-val a:hover {
  color: var(--color-gold);
}

.contact-nationwide-crest {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-nationwide-crest::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: var(--color-gold-dim);
}

/* Contact Form Box */
.contact-form-box {
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 169, 107, 0.4);
  padding: 3.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.65rem;
}

.form-input {
  width: 100%;
  background: rgba(7, 11, 20, 0.75);
  border: 1px solid rgba(200, 169, 107, 0.3);
  color: var(--color-ivory);
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(7, 11, 20, 0.95);
  box-shadow: 0 0 20px rgba(200, 169, 107, 0.1);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8A96B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
}

.form-checkbox-group {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(234, 231, 223, 0.25);
  background: rgba(7, 11, 20, 0.6);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
  transition: var(--transition-smooth);
}

.form-checkbox:checked {
  border-color: var(--color-gold);
  background: var(--color-gold);
}

.form-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: var(--color-charcoal);
  font-size: 0.7rem;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-checkbox-label {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-ivory);
  cursor: pointer;
}

/* Contact disclaimer & CAPTCHA */
.form-disclaimer {
  background: rgba(200, 169, 107, 0.08);
  border-left: 3px solid var(--color-gold);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-ivory);
  margin-bottom: 2rem;
  font-style: italic;
}

.form-recaptcha-placeholder {
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.recaptcha-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid rgba(234, 231, 223, 0.1);
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-ivory);
  text-transform: uppercase;
}

.recaptcha-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* Form status states */
.form-submit-wrapper {
  margin-top: 2rem;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(200, 169, 107, 0.1);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.form-status.error {
  display: block;
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff8888;
}

/* --- EDITORIAL INTERIOR PAGES --- */
.page-intro {
  padding: 6rem 0 4rem 0;
  text-align: center;
}

.page-intro-monogram {
  width: 80px;
  height: 80px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.8;
}

.page-intro-monogram svg {
  width: 100%;
  height: 100%;
}

.page-title {
  font-size: 2.8rem;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.page-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Editorial Block Layouts */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.editorial-block {
  background: rgba(17, 17, 17, 0.4);
  border: 1px solid rgba(200, 169, 107, 0.1);
  padding: 4rem;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.editorial-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

.editorial-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 30px;
  background: var(--color-gold);
}

.editorial-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  display: block;
}

.editorial-title {
  font-size: 1.4rem;
  color: var(--color-ivory);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.editorial-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Services Detail Page Layout */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-item {
  background: rgba(17, 17, 17, 0.45);
  border: 1px solid rgba(200, 169, 107, 0.12);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 3rem;
  align-items: center;
  transition: var(--transition-smooth);
}

.service-detail-item:hover {
  border-color: rgba(200, 169, 107, 0.35);
  background: rgba(17, 17, 17, 0.6);
}

.service-detail-left {
  display: flex;
  flex-direction: column;
}

.service-detail-num {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-detail-name {
  font-size: 1.15rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.service-detail-right {
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Compliance Banner block */
.compliance-block {
  max-width: 900px;
  margin: 6rem auto 0 auto;
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--color-gold-dim);
  padding: 3.5rem 4rem;
  text-align: center;
}

.compliance-crest {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.compliance-title {
  font-size: 1.35rem;
  color: var(--color-ivory);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.compliance-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-ivory);
}

/* Philosophy Page Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 950px;
  margin: 0 auto;
}

.philosophy-card {
  background: rgba(17, 17, 17, 0.45);
  border: 1px solid rgba(200, 169, 107, 0.1);
  padding: 3.5rem 3rem;
  position: relative;
}

.philosophy-crest {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: block;
}

.philosophy-card-title {
  font-size: 1.25rem;
  color: var(--color-ivory);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.philosophy-card-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 400;
}

.philosophy-quote-block {
  max-width: 800px;
  margin: 6rem auto 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(200, 169, 107, 0.1);
}

.philosophy-quote-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold);
  line-height: 1.8;
  font-style: italic;
}

/* Legal text formatting styles */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(17, 17, 17, 0.35);
  border: 1px solid rgba(200, 169, 107, 0.08);
  padding: 4.5rem;
}

.legal-section {
  margin-bottom: 3.5rem;
}

.legal-section-title {
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(200, 169, 107, 0.15);
  padding-bottom: 0.5rem;
}

.legal-text {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--color-ivory);
  font-weight: 400;
}

.legal-list {
  list-style: none;
  margin: 1.5rem 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-list-item {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--color-ivory);
  font-weight: 400;
  line-height: 1.7;
}

.legal-list-item::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.75rem;
}

/* --- FOOTER --- */
footer {
  background-color: var(--color-navy-dark);
  border-top: 1px solid rgba(200, 169, 107, 0.12);
  padding: 5rem 0 3rem 0;
  font-family: var(--font-sans);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.footer-fallback-text {
  font-family: var(--font-serif);
  color: var(--color-gold);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-fallback-sub {
  font-family: var(--font-sans);
  color: var(--color-ivory);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-moto {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-moto-sub {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-ivory);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-item a {
  font-size: 0.8rem;
  color: var(--color-ivory);
  letter-spacing: 0.05em;
}

.footer-links-item a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-compliance-box {
  background: rgba(17, 17, 17, 0.3);
  border: 1px solid rgba(200, 169, 107, 0.06);
  padding: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-ivory);
}

.footer-bottom {
  border-top: 1px solid rgba(234, 231, 223, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.95rem;
  color: var(--color-ivory);
}

.footer-reg {
  font-size: 0.9rem;
  color: rgba(234, 231, 223, 0.4);
  letter-spacing: 0.05em;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.95rem;
  color: var(--color-ivory);
}

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



/* --- STATIC BACKGROUND IMAGE --- */
.site-bg-container {
  position: fixed;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  z-index: -999999;
  overflow: hidden;
  background-color: var(--color-navy-dark);
  background-image: linear-gradient(rgba(11, 18, 32, 0.73), rgba(7, 11, 20, 0.81)), url('../assets/images/wb-bg-image.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* Micro 1.5px blur for maximum crispness while softening sharp pixel edges */
  filter: blur(1.5px);
  /* GPU-Accelerated Ken Burns zoom and drift animation */
  animation: kenBurnsDrift 90s ease-in-out infinite;
  transform: scale(1.05) translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
}

@keyframes kenBurnsDrift {
  0% {
    transform: scale(1.05) translate(0, 0);
  }
  50% {
    transform: scale(1.12) translate(1%, -0.5%);
  }
  100% {
    transform: scale(1.05) translate(0, 0);
  }
}

/* --- SIDE PAGINATION --- */
.side-pagination {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
}

.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--color-gold-dim);
  background: transparent;
  transition: var(--transition-smooth);
}

.pagination-dot:hover,
.pagination-dot.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .side-pagination {
    display: none; /* Hide side pagination on mobile/tablets for clean space */
  }
}

/* --- SCROLL REVEAL STYLES --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .founder-preview-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-brand-crest-box {
    height: 350px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-top > *:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-statement {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    right: -100%;
    top: var(--header-height);
    flex-direction: column;
    background: rgba(7, 11, 20, 0.98);
    border-left: 1px solid rgba(200, 169, 107, 0.15);
    width: 280px;
    height: calc(100vh - var(--header-height));
    padding: 4rem 2rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-box {
    padding: 2rem;
  }
  
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .legal-container {
    padding: 2.5rem 2rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-top > *:last-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-legal-links {
    justify-content: center;
  }
}

.founder-preview-logo {
  width: 280px; /* At least twice the visual size as before! */
  height: 280px;
  object-fit: contain;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

/* --- GLASSMORPHIC CTA BANNER --- */
.cta-banner {
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid rgba(200, 169, 107, 0.15);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--color-ivory);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}


/* --- UNIFIED FOOTER STYLING REFINE --- */
.footer-links-item a {
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: var(--color-ivory) !important;
  letter-spacing: 0.03em !important;
}

.footer-contact-details p {
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: var(--color-ivory) !important;
  margin-bottom: 0.85rem !important;
  letter-spacing: 0.03em !important;
}

.footer-contact-details p strong {
  font-family: var(--font-serif) !important;
  font-size: 0.75rem !important;
  color: var(--color-gold) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

.footer-contact-details a {
  color: var(--color-ivory) !important;
  text-decoration: underline !important;
  transition: var(--transition-smooth) !important;
}

.footer-contact-details a:hover {
  color: var(--color-gold) !important;
}

/* --- UNIFIED MOBILE RESPONSIVENESS OPTIMIZATIONS --- */
@media (max-width: 768px) {
  /* 1. Container and spacing adjustments */
  .container {
    padding: 0 1.25rem !important;
  }
  
  /* 2. Page Typography scaling */
  .page-title {
    font-size: 2rem !important;
    letter-spacing: 0.12em !important;
  }
  
  .page-subtitle {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    letter-spacing: 0.1em !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    letter-spacing: 0.2em !important;
  }

  .hero-statement {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }

  .section-title {
    font-size: 1.8rem !important;
    letter-spacing: 0.1em !important;
  }

  p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }

  /* 3. Header branding logo scaling to prevent overlap */
  .logo-text {
    font-size: 0.95rem !important;
    letter-spacing: 0.12em !important;
  }
  
  .logo-subtext {
    font-size: 0.6rem !important;
    letter-spacing: 0.25em !important;
  }

  .hamburger {
    padding: 12px 8px !important; /* Make it a robust 48px tap target */
  }

  /* 4. Blocks and Padding scale down */
  .whoweare-block {
    padding: 2.5rem 1.5rem !important;
  }

  .editorial-block {
    padding: 2.5rem 1.5rem !important;
  }

  /* 5. Founder brand box overflow prevention */
  .founder-brand-crest-box {
    height: 380px !important;
    padding: 1.5rem !important;
  }
  
  .founder-preview-logo {
    width: 180px !important;
    height: 180px !important;
  }
  
  .founder-crest-label {
    font-size: 0.95rem !important;
    letter-spacing: 0.25em !important;
  }
  
  .founder-crest-sublabel {
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
  }

  /* 6. Glassmorphic CTA banner mobile padding */
  .cta-banner {
    padding: 2.5rem 1.5rem !important;
    margin: 0 0.5rem !important;
  }
  
  .cta-title {
    font-size: 1.5rem !important;
    letter-spacing: 0.1em !important;
  }
  
  .cta-desc {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }

  /* 7. Footer branding logo centering & scaling */
  .footer-logo {
    height: 180px !important;
    margin: 0 auto 2rem auto !important;
  }
  
  .footer-brand {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-contact-details {
    text-align: center !important;
  }

  .footer-links {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-nav-title {
    text-align: center !important;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  width: calc(100% - 4rem);
  max-width: 900px;
  background: rgba(7, 11, 20, 0.95);
  border: 1px solid rgba(200, 169, 107, 0.25);
  padding: 1.5rem 2rem;
  z-index: 999999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-ivory);
  line-height: 1.6;
  text-align: left;
  letter-spacing: 0.02em;
}

.cookie-content a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-content a:hover {
  color: var(--color-gold-hover);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-family: var(--font-serif) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cookie-btn-accept {
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: #070B14;
}

.cookie-btn-accept:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid rgba(200, 169, 107, 0.35);
  color: var(--color-ivory);
}

.cookie-btn-decline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* Tablet & Mobile responsive banner layout */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    bottom: 1.5rem;
    width: calc(100% - 2rem);
    text-align: center;
  }
  
  .cookie-content {
    text-align: center;
    font-size: 0.9rem;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 150px;
    text-align: center;
  }
}

/* Custom JS Select Styling */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-wrapper select {
  display: none !important;
}

.custom-select-trigger {
  width: 100%;
  background: rgba(7, 11, 20, 0.75);
  border: 1px solid rgba(200, 169, 107, 0.3);
  color: var(--color-ivory);
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.custom-select-trigger.open,
.custom-select-trigger:hover {
  border-color: var(--color-gold);
  background: rgba(7, 11, 20, 0.95);
  box-shadow: 0 0 20px rgba(200, 169, 107, 0.1);
}

.custom-select-arrow {
  color: var(--color-gold);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.custom-select-trigger.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: rgba(7, 11, 20, 0.98);
  border: 1px solid rgba(200, 169, 107, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 0.85rem 1rem;
  color: rgba(234, 231, 223, 0.7);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(200, 169, 107, 0.1);
}

.custom-select-option:last-child {
  border-bottom: none;
}

.custom-select-option:hover,
.custom-select-option.selected {
  background: rgba(200, 169, 107, 0.1);
  color: var(--color-ivory);
}
