/* SAGAFIN v3 — production stylesheet (cPanel-ready) */
/* =========================================================================
   SAGAFIN — v3 Stylesheet
   Changes vs v2:
     - Logo enlarged (nav 64 → 96px, footer 52 → 72px)
     - Nav transparency: fully transparent at top, solid+blur on scroll
     - Hero image displayed in full (contain, not cover) so the chandelier
       hallway is never cropped; soft vignette behind for letterboxing.
   ========================================================================= */

/* ─── FONTS ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Europa';
  src: url('../fonts/Europa-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Europa';
  src: url('../fonts/Europa-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Europa';
  src: url('../fonts/Europa-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/Museo Sans 300.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/Museo Sans 500.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../fonts/Museo Sans 700.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

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

:root {
  --amber:       #C47830;
  --amber-light: #D4956A;
  --amber-sand:  #C4A882;
  --bg-deep:     #09090B;
  --bg-dark:     #0D0E11;
  --bg-mid:      #111318;
  --bg-light:    #161820;
  --text-primary:   #F0EDE8;
  --text-secondary: #9B8E82;
  --text-muted:     #5E5650;
  --border:         rgba(196,120,48,0.18);
  --border-subtle:  rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Museo Sans', 'Georgia', serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 48px;
}
.label {
  font-family: 'Europa', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--amber);
  display: block;
  margin: 28px 0;
}
.divider--center { margin: 28px auto; }

/* ─── NAV ──────────────────────────────────────────────────────
   Fully transparent at top; only on scroll does the dark sheet
   + blur appear. No background-color until scrolled.
   ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, padding 0.4s ease,
              border-color 0.4s ease, backdrop-filter 0.4s ease;
}
nav.scrolled {
  background: rgba(9,9,11,0.92);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 48px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ── Logo enlargement: 64px → 96px, with extra glow for presence ── */
.nav-logo img {
  height: 96px;
  width: auto;
  display: block;
  opacity: 1;
  filter: drop-shadow(0 4px 18px rgba(196,120,48,0.32));
  transition: height 0.4s ease, filter 0.4s ease;
}
nav.scrolled .nav-logo img {
  height: 72px;
  filter: drop-shadow(0 2px 12px rgba(196,120,48,0.26));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: 'Europa', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
  transition: color 0.2s, text-shadow 0.4s;
}
nav.scrolled .nav-links a {
  color: var(--text-secondary);
  text-shadow: none;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.nav-cta {
  color: var(--amber);
  border: 1px solid rgba(196,120,48,0.55);
  padding: 9px 22px;
  letter-spacing: 0.16em;
  background: rgba(9,9,11,0.25);
}
nav.scrolled .nav-links a.nav-cta {
  background: transparent;
  border-color: rgba(196,120,48,0.4);
}
.nav-links a.nav-cta:hover {
  background: rgba(196,120,48,0.10);
  color: var(--amber-light);
  border-color: var(--amber);
}

/* ─── HERO ──────────────────────────────────────────────────────
   The chandelier photo (1920×2880, portrait) is shown in full —
   `object-fit: contain` ensures no cropping. Letterbox = bg-deep.
   A soft radial vignette + subtle bottom gradient keeps text legible
   without darkening the photo itself.
   ─────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, #1a1410 0%, var(--bg-deep) 70%),
    var(--bg-deep);
}
.hero-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.hero-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0.78);
}
/* Vignette + bottom darken — keeps the picture intact while making text readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(9,9,11,0) 35%, rgba(9,9,11,0.55) 90%),
    linear-gradient(to bottom, rgba(9,9,11,0.10) 0%, rgba(9,9,11,0.05) 45%, rgba(9,9,11,0.78) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 140px 48px 80px;
}
.hero-label {
  font-family: 'Europa', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
  display: block;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero-title {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.65);
}
.hero-sub {
  font-family: 'Museo Sans', serif;
  font-weight: 500;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.78;
  color: rgba(240,237,232,0.88);
  margin: 0 auto 52px;
  max-width: 620px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.65);
}
.hero-cta {
  display: inline-block;
  font-family: 'Europa', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(196,120,48,0.5);
  padding: 14px 40px;
  text-decoration: none;
  background: rgba(9,9,11,0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}
.hero-cta:hover {
  background: rgba(196,120,48,0.12);
  border-color: var(--amber);
  color: var(--amber-light);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
}
.hero-scroll span {
  font-family: 'Europa', sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-primary), transparent);
}

/* ─── SECTIONS — SHARED ────────────────────────────────────── */
section { padding: 112px 0; }
section.tight { padding: 80px 0; }

/* ─── WHAT WE ARE ──────────────────────────────────────────── */
#what {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.what-left h2 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.16;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.what-left p {
  font-family: 'Museo Sans', serif;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.84;
  margin-bottom: 22px;
  text-align: justify;
}
.what-right { padding-top: 8px; }
.credential-block {
  border-left: 2px solid var(--amber);
  padding: 20px 28px;
  margin-bottom: 28px;
  background: rgba(196,120,48,0.04);
}
.credential-block .cred-label {
  font-family: 'Europa', sans-serif;
  font-weight: 300;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.credential-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
  text-align: justify;
}

/* ─── SERVICES ─────────────────────────────────────────────── */
#services {
  background: var(--bg-mid);
  border-top: 1px solid var(--border-subtle);
}
.section-header { margin-bottom: 72px; }
.section-header h2 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.section-header p {
  font-family: 'Museo Sans', serif;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.78;
  text-align: justify;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--bg-light);
  padding: 44px 36px;
  border-top: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.service-card:hover {
  border-top-color: var(--amber);
  background: rgba(196,120,48,0.04);
}
.service-num {
  font-family: 'Europa', sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.24em;
  color: var(--amber);
  margin-bottom: 22px;
  display: block;
}
.service-card h3 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.32;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.78;
  text-align: justify;
}
.services-grid .service-card:nth-child(4) { grid-column: 1; }
.services-grid .service-card:nth-child(5) { grid-column: 2; }

/* ─── WHO WE SERVE ─────────────────────────────────────────── */
#serve {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}
.serve-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.serve-col {
  padding: 44px 36px;
  border-top: 1px solid var(--border-subtle);
}
.serve-col h3 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.serve-col p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.78;
  text-align: justify;
}

/* ─── NETWORK ──────────────────────────────────────────────── */
#network {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
#network .label { margin-bottom: 32px; display: block; }
#network h2 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 720px;
  margin: 0 auto 28px;
}
#network p {
  font-family: 'Museo Sans', serif;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.82;
  text-align: justify;
}
.geo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
  max-width: 860px;
  margin: 0 auto;
}
.geo-item {
  font-family: 'Europa', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 10px 32px;
  border-right: 1px solid var(--border-subtle);
}
.geo-item:last-child { border-right: none; }

/* ─── DISCRETION ───────────────────────────────────────────── */
#discretion {
  background: var(--bg-mid);
  border-top: 1px solid var(--border-subtle);
}
.discretion-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.discretion-inner h2 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.28;
}
.discretion-inner p {
  font-family: 'Museo Sans', serif;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.84;
  margin-bottom: 20px;
  text-align: justify;
}

/* ─── CONTACT ──────────────────────────────────────────────── */
#contact {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
#contact h2 {
  font-family: 'Europa', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--text-primary);
  margin-bottom: 20px;
}
#contact .contact-sub {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0 auto 56px;
  line-height: 1.72;
  max-width: 500px;
}
.contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.contact-links {
  display: flex;
  gap: 36px;
  margin-top: 8px;
}
.contact-links a {
  font-family: 'Europa', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.contact-links a:hover {
  border-bottom-color: var(--amber);
  color: var(--amber-light);
}

/* ─── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-left img {
  height: 72px;          /* enlarged from 52px */
  width: auto;
  opacity: 0.85;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 10px rgba(196,120,48,0.18));
}
.footer-entity {
  font-family: 'Europa', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.9;
}
.footer-copyright {
  font-family: 'Europa', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 10px;
}
.footer-disclaimer {
  max-width: 580px;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.68;
  text-align: justify;
}
.footer-disclaimer strong {
  font-weight: 500;
  color: var(--text-secondary);
}

/* ─── SCROLL ANIMATIONS ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .container, .container--narrow { padding: 0 28px; }
  nav { padding: 18px 28px; }
  nav.scrolled { padding: 12px 28px; }
  .nav-logo img { height: 72px; }
  nav.scrolled .nav-logo img { height: 56px; }
  .what-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: auto; }
  .serve-cols { grid-template-columns: 1fr; }
  .geo-item { padding: 8px 18px; }
  .footer-inner { flex-direction: column; }
  .footer-left img { height: 60px; }
  .hero-content { padding: 120px 28px 80px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .nav-logo img { height: 60px; }
  nav.scrolled .nav-logo img { height: 48px; }
  .contact-links { flex-direction: column; gap: 16px; align-items: center; }
  /* On phones, full-bleed portrait image looks too small via contain;
     fall back to cover but anchor to the chandeliers (top 30%). */
  .hero-image img { object-fit: cover; height: 100%; width: 100%; filter: brightness(0.62); }
}
