@charset "UTF-8";

/* =========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================= */

:root {
  /* Colors */
  --ink: #0D0D0B;
  --ink-mid: #3A3933;
  --ink-light: #7A796F;
  --cream: #F8F5EF;
  --cream-dark: #EDE9E0;
  --gold: #C4A35A;
  --gold-light: #E8D4A0;
  --white: #FDFCF9;
  
  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  
  /* Easing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

::selection {
  background-color: var(--gold);
  color: var(--ink);
}

html { 
  scroll-behavior: initial; /* Using smooth-scrollbar or GSAP ScrollSmoother later if needed, but keeping standard for now */
  font-size: 16px; 
}

body {
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  /* restored native cursor */ /* Custom Cursor */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================================
   2. CUSTOM CURSOR & OVERLAYS
   ========================================================================= */

/* Noise Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}

/* Custom Cursor */
.cursor-dot, .cursor-glow {
  display: none;
  position: fixed;
  top: 0; 
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: opacity 0.3s ease, transform 0.15s ease-out;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--cream);
}

.cursor-glow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(196,163,90,0.4);
  background-color: rgba(196,163,90,0.05);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background-color 0.3s ease;
}

/* Hover effect for cursor */
body.hovering .cursor-glow {
  width: 70px;
  height: 70px;
  background-color: rgba(196,163,90,0.15);
  border-color: transparent;
  mix-blend-mode: difference;
}

/* Preloader / Transition Overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background-color: var(--ink);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.transition-logo {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--cream);
  font-weight: 400;
  opacity: 0;
}

/* =========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 18ch;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.section-eyebrow span {
  display: inline-block;
  width: 30px; 
  height: 1px;
  background: var(--gold);
  margin-right: 15px;
}

/* SplitText Hide */
.char, .word, .line {
  display: inline-block;
  overflow: hidden;
}

/* =========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================= */

section { 
  padding: 8rem 5vw; 
  position: relative;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

/* =========================================================================
   5. NAVIGATION
   ========================================================================= */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5vw;
  border-bottom: 1px solid rgba(196,163,90,0.1);
  background: rgba(13,13,11,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-100%); /* For entrance animation */
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-decoration: none;
  /* restored native cursor */
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.3s;
  /* restored native cursor */
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Buttons */
.magnetic-btn-wrap {
  display: inline-block;
  /* restored native cursor */
}

.btn-primary {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  /* restored native cursor */
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--cream);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 1;
}

.btn-primary:hover::before { transform: translateY(0); }
.btn-primary span { position: relative; z-index: 2; transition: color 0.3s; }
.btn-primary:hover span { color: var(--ink); }

.btn-ghost {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(196,163,90,0.4);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
  /* restored native cursor */
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 1;
}

.btn-ghost:hover::before { transform: translateY(0); }
.btn-ghost span { position: relative; z-index: 2; transition: color 0.3s; }
.btn-ghost:hover span { color: var(--ink); }

/* =========================================================================
   6. HERO SECTION
   ========================================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12rem 5vw 6rem;
  position: relative;
}

.hero-bg {
  position: absolute;
  bottom: 0; right: -10%;
  width: 60vw;
  height: 80vh;
  background: radial-gradient(ellipse at 70% 60%, rgba(196,163,90,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.hero-headline {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 2.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--ink-light);
  max-width: 50ch;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.hero-sub strong { 
  color: var(--cream); 
  font-weight: 400; 
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 6rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(196,163,90,0.15);
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}

.stat-num span { color: var(--gold); }

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 8px;
}

/* =========================================================================
   7. MARQUEE
   ========================================================================= */

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(196,163,90,0.12);
  border-bottom: 1px solid rgba(196,163,90,0.12);
  padding: 1.25rem 0;
  background: rgba(196,163,90,0.02);
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 3rem;
}

.marquee-sep {
  color: var(--ink-light);
  font-size: 0.65rem;
  padding: 0 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   8. COMPONENTS (CARDS, LISTS, FORMS)
   ========================================================================= */

/* Why Us / Lists */
.why-list { list-style: none; margin-top: 3rem; }

.why-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(196,163,90,0.1);
}

.why-list li:first-child { border-top: 1px solid rgba(196,163,90,0.1); }

.why-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: rgba(196,163,90,0.4);
  font-weight: 300;
  min-width: 2.5rem;
  line-height: 1;
}

.why-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.why-text span { 
  font-size: 1rem; 
  color: var(--ink-light); 
  line-height: 1.8; 
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  border: 1px solid rgba(196,163,90,0.15);
  padding: 3rem 2.5rem;
  background: rgba(13,13,11,0.4);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease;
  /* restored native cursor */
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(196,163,90,0.03);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover { border-color: rgba(196,163,90,0.5); transform: translateY(-5px); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.service-name {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
}

/* Detailed expanded service card (for Services Page) */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(196,163,90,0.15);
}

.service-detail-left h3 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.service-detail-right h4 {
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-detail-right ul {
  list-style: none;
  margin-bottom: 2.5rem;
}

.service-detail-right li {
  color: var(--cream);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-detail-right li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 2px;
  color: var(--gold);
  font-size: 0.7rem;
}

/* Forms (Contact Page) */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.8rem;
}

.form-group input, .form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(196,163,90,0.2);
  padding: 0.8rem 0;
  color: var(--cream);
  font-size: 1rem;
  font-family: var(--sans);
  transition: border-color 0.3s;
  /* restored native cursor */
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================================
   9. FOOTER
   ========================================================================= */

footer {
  padding: 4rem 5vw;
  border-top: 1px solid rgba(196,163,90,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  background: rgba(13,13,11,0.5);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.footer-logo span { color: var(--gold); }

.footer-links {
  display: flex; gap: 2.5rem; list-style: none; flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.3s;
  /* restored native cursor */
}

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

/* =========================================================================
   10. RESPONSIVE UTILITIES
   ========================================================================= */

@media (max-width: 1024px) {
  .grid-2, .service-detail-row { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; } /* Mobile menu needed if complex, else just CTA */
}

@media (max-width: 768px) {
  section { padding: 5rem 5vw; }
  .hero { padding-top: 10rem; }
  .contact-form { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-glow { display: none; } /* Disable custom cursor on mobile */
  body { cursor: auto; }
  a, button, input { cursor: pointer; }
}

/* Section specific overrides for consistency */
.about-body {
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.about-body strong { color: var(--cream); font-weight: 400; }

.big-quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  border-left: 2px solid var(--gold);
  padding-left: 2.5rem;
  margin-bottom: 2.5rem;
}

.big-quote em { color: var(--gold); font-style: normal; }
