/* ==========================================================================
   AETERNA CLUB RESIDENCES — DESIGN SYSTEM & LUXURY TOKENS
   Aesthetic: Quiet Luxury, Alabaster White, German Jura Stone, Italian Serif
   Philosophy: Zero Emojis, Emil Kowalski Motion, Tactile Curves
   ========================================================================== */

:root {
  /* Quiet Luxury Palette */
  --v-bg: #FAF9F6;
  --v-stone-subtle: #F4F1EA;
  --v-stone-light: #ECE7DE;
  --v-stone-mid: #D9D2C5;
  --v-charcoal: #1C1917;
  --v-charcoal-muted: #57534E;
  --v-charcoal-subtle: #78716C;
  --v-gold: #C5A869;
  --v-gold-dark: #9E7D47;
  --v-border: rgba(28, 25, 23, 0.08);
  --v-border-strong: rgba(28, 25, 23, 0.16);

  /* Emil Kowalski Motion Tokens */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-normal: 320ms;
  --dur-slow: 600ms;
}

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

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

body.aeterna-body {
  background-color: var(--v-bg);
  color: var(--v-charcoal);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Magnetic Cursor (Desktop Only) */
@media (hover: hover) and (pointer: fine) {
  body.aeterna-body { cursor: default; }
  .v-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--v-charcoal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  }
  .v-cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(28, 25, 23, 0.35);
    border-radius: 50%;
    pointer-events: none !important;
    z-index: 9998;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease;
  }
  .v-cursor-circle.hovered-link {
    width: 58px;
    height: 58px;
    border-color: var(--v-gold);
    background-color: rgba(197, 168, 105, 0.08);
    pointer-events: none !important;
  }
  .v-cursor-circle.hovered-photo {
    width: 90px;
    height: 90px;
    background-color: rgba(28, 25, 23, 0.85);
    border-color: transparent;
    pointer-events: none !important;
  }
  .v-cursor-text {
    display: none;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #FFFFFF;
    font-weight: 600;
    pointer-events: none !important;
    user-select: none;
  }
  .v-cursor-circle.hovered-photo .v-cursor-text {
    display: block;
  }
}
@media (hover: none), (pointer: coarse) {
  .v-cursor-dot, .v-cursor-circle { display: none !important; }
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--v-charcoal);
}

.v-container {
  width: min(92%, 1360px);
  margin-inline: auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.v-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--v-border);
  transition: padding var(--dur-fast) ease;
}

.v-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  width: min(94%, 1440px);
  margin-inline: auto;
}

.v-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--v-charcoal);
}

.v-brand-mono {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--v-charcoal);
  border: 1px solid var(--v-charcoal);
  padding: 4px 8px;
  border-radius: 2px;
}

.v-brand-info {
  display: flex;
  flex-direction: column;
}

.v-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.v-brand-sub {
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--v-charcoal-subtle);
  font-weight: 600;
}

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

.v-nav-link {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v-charcoal-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur-fast) ease;
  position: relative;
  padding: 8px 0;
}

.v-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--v-charcoal);
  transition: width var(--dur-normal) var(--ease-out);
}

.v-nav-link:hover { color: var(--v-charcoal); }
.v-nav-link:hover::after { width: 100%; }

.v-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.v-header-tel {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--v-charcoal);
  text-decoration: none;
}

.v-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--v-border);
  cursor: pointer;
  padding: 10px;
}

.v-burger span {
  width: 100%;
  height: 1.5px;
  background-color: var(--v-charcoal);
  transition: transform 0.2s ease;
}

/* Mobile Drawer */
.v-drawer {
  position: fixed;
  inset: 0;
  background: rgba(250, 249, 246, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
}

.v-drawer.open { transform: translateY(0); }

.v-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--v-charcoal);
}

.v-drawer-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--v-gold-dark);
  font-weight: 700;
  margin-bottom: 24px;
  display: block;
}

.v-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v-drawer-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--v-charcoal);
  text-decoration: none;
}

.v-drawer-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v-drawer-tel {
  font-size: 18px;
  font-weight: 700;
  color: var(--v-charcoal);
  text-decoration: none;
}

/* ==========================================================================
   BUTTONS & TACTILE RESPONSES
   ========================================================================== */
.v-btn-solid, .v-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0px;
  cursor: pointer;
  min-height: 48px;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform 0.15s ease;
}

.v-btn-solid {
  background-color: var(--v-charcoal);
  color: #FFFFFF;
  border: 1px solid var(--v-charcoal);
}

.v-btn-solid:hover {
  background-color: #332F2C;
}

.v-btn-solid:active, .v-btn-outline:active {
  transform: scale(0.97);
}

.v-btn-outline {
  background-color: transparent;
  color: var(--v-charcoal);
  border: 1px solid var(--v-charcoal);
}

.v-btn-outline:hover {
  background-color: var(--v-charcoal);
  color: #FFFFFF;
}

.v-btn-block { width: 100%; }

.v-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--v-charcoal);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
}

.v-btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--v-charcoal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.v-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--v-border);
  overflow: hidden;
}

.v-hero-bg-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.v-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.v-hero:hover .v-hero-img {
  transform: scale(1.05);
}

.v-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.2) 0%, rgba(250, 249, 246, 0.85) 65%, rgba(250, 249, 246, 1) 100%);
}

.v-hero-container {
  position: relative;
  z-index: 2;
  width: min(92%, 1360px);
  margin-inline: auto;
}

.v-hero-header-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.v-line-decor {
  width: 48px;
  height: 1px;
  background-color: var(--v-gold-dark);
}

.v-meta-caps {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--v-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.v-hero-title {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 960px;
  letter-spacing: -0.01em;
}

.v-hero-lead {
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--v-charcoal-muted);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.v-hero-action-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.v-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--v-border);
}

.v-metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 46px);
  color: var(--v-charcoal);
  display: block;
  line-height: 1.1;
  font-weight: 400;
}

.v-metric-lbl {
  font-size: 12px;
  color: var(--v-charcoal-subtle);
  margin-top: 4px;
  display: block;
}

.v-scroll-indicator {
  position: absolute;
  bottom: 24px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.v-scroll-txt {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--v-charcoal-subtle);
  font-weight: 700;
}

.v-scroll-bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--v-gold-dark) 0%, transparent 100%);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.v-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--v-border);
}

.v-sec-header {
  margin-bottom: 60px;
}

.v-subhead {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--v-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.v-title-h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.v-sec-desc {
  font-size: 15px;
  color: var(--v-charcoal-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ==========================================================================
   MONOGRAPH SECTION
   ========================================================================== */
.v-monograph-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.v-interactive-photo {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #1A1918;
}

.v-photo-view-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.v-interactive-photo:hover .v-photo-view-badge {
  transform: scale(1.05);
  background: var(--v-charcoal);
  border-color: var(--v-gold);
}

.v-mono-media-frame {
  height: 560px;
  border: 1px solid var(--v-border);
}

.v-mono-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), opacity 0.3s ease;
}

.v-mono-media-frame:hover .v-mono-img {
  transform: scale(1.04);
}

.v-mono-stamp {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 24px 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 25, 23, 0.85) 100%);
  width: 100%;
  color: #FFFFFF;
  pointer-events: none;
}

.v-stamp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  display: block;
  letter-spacing: 0.05em;
}

.v-stamp-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--v-gold);
  font-weight: 600;
  text-transform: uppercase;
}

.v-mono-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v-mono-item {
  padding: 24px 28px;
  border: 1px solid var(--v-border);
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.v-mono-item:hover {
  border-color: var(--v-stone-mid);
  transform: translateX(4px);
}

.v-mono-item.active {
  border-color: var(--v-charcoal);
  background-color: var(--v-stone-subtle);
}

.v-mono-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.v-mono-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--v-gold-dark);
  font-weight: 600;
}

.v-mono-status {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--v-charcoal-subtle);
  text-transform: uppercase;
}

.v-mono-name {
  font-size: 22px;
  margin-bottom: 4px;
}

.v-mono-location {
  font-size: 12px;
  color: var(--v-charcoal-subtle);
  margin-bottom: 12px;
}

.v-mono-detail-row {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--v-charcoal-muted);
  border-top: 1px solid var(--v-border);
  padding-top: 10px;
}

/* ==========================================================================
   STANDARDS SECTION
   ========================================================================== */
.v-std-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.v-std-btn {
  flex: 1;
  min-width: 240px;
  padding: 18px 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--v-border);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--dur-fast) var(--ease-out);
}

.v-std-btn:hover { border-color: var(--v-stone-mid); }
.v-std-btn.active {
  border-color: var(--v-charcoal);
  background-color: var(--v-charcoal);
  color: #FFFFFF;
}

.v-std-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--v-gold-dark);
}
.v-std-btn.active .v-std-num { color: var(--v-gold); }

.v-std-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.v-std-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.v-std-media-frame {
  position: relative;
  height: 480px;
  border: 1px solid var(--v-border);
  overflow: hidden;
}

.v-std-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), opacity 0.3s ease;
}

.v-std-media-frame:hover .v-std-img {
  transform: scale(1.04);
}

.v-std-origin-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(28, 25, 23, 0.85);
  color: #FFFFFF;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding: 6px 14px;
  pointer-events: none;
}

.v-std-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--v-gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.v-std-title {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.v-std-desc {
  font-size: 14.5px;
  color: var(--v-charcoal-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.v-std-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
  padding: 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--v-border);
}

.v-spec-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  display: block;
  color: var(--v-charcoal);
  font-weight: 600;
}

.v-spec-lbl {
  font-size: 11px;
  color: var(--v-charcoal-subtle);
  margin-top: 2px;
  display: block;
}

/* 4 Engineering Cards */
.v-engineering-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.v-eng-card {
  padding: 32px 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--v-border);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) ease;
}

.v-eng-card:hover {
  border-color: var(--v-stone-mid);
  transform: translateY(-4px);
}

.v-eng-icon-wrap {
  color: var(--v-gold-dark);
  margin-bottom: 20px;
}

.v-eng-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.v-eng-desc {
  font-size: 13px;
  color: var(--v-charcoal-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ADVISOR & PRIVATE OFFICE
   ========================================================================== */
.v-advisor-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--v-border);
  padding: 48px;
}

.v-advisor-photo-box {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.v-advisor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-advisor-name {
  font-size: 38px;
  margin-bottom: 6px;
}

.v-advisor-role {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--v-gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.v-advisor-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--v-charcoal-muted);
  margin-bottom: 36px;
  border-left: 2px solid var(--v-gold);
  padding-left: 24px;
}

.v-advisor-contacts {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.v-advisor-tel {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--v-charcoal);
  text-decoration: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.v-footer {
  background-color: var(--v-charcoal);
  color: #FFFFFF;
  padding: 48px 0;
}

.v-footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.v-f-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 6px;
}

.v-f-copy {
  font-size: 11px;
  color: #A8A29E;
}

.v-f-links {
  display: flex;
  gap: 24px;
}

.v-f-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #D6D3D1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.v-f-links a:hover { color: #FFFFFF; }

/* ==========================================================================
   LIGHTBOX PHOTO GALLERY (POINT 3 FIX)
   ========================================================================== */
.v-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(12, 11, 10, 0.95);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
}

.v-lightbox-overlay.open {
  opacity: 1;
}

.v-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.v-lightbox-shell {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v-lightbox-core {
  width: 100%;
  background: #141312;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.v-lightbox-img-wrap {
  position: relative;
  width: 100%;
  height: min(65vh, 650px);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.v-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out);
}

.v-lightbox-footer {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #181716;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.v-lightbox-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--v-gold);
  text-transform: uppercase;
}

.v-lightbox-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: #FAF9F6;
  margin: 4px 0;
}

.v-lightbox-desc {
  font-size: 13px;
  color: #A8A29E;
  max-width: 600px;
}

.v-lightbox-counter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--v-gold);
  letter-spacing: 0.1em;
}

.v-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.v-lightbox-close:hover { transform: scale(1.15); }

.v-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.v-lightbox-arrow:hover {
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-50%) scale(1.08);
}

.v-lightbox-prev { left: -70px; }
.v-lightbox-next { right: -70px; }

/* ==========================================================================
   CONFIDENTIAL DOSSIER MODAL & TOAST
   ========================================================================== */
.v-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) ease;
}

.v-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.v-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(92%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  background-color: #FFFFFF;
  padding: 48px;
  z-index: 9995;
  border: 1px solid var(--v-stone-mid);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transition: transform var(--dur-normal) var(--ease-spring), opacity var(--dur-normal) ease;
}

.v-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.v-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v-charcoal);
}

.v-modal-kicker {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--v-gold-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.v-modal-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.v-modal-sub {
  font-size: 13px;
  color: var(--v-charcoal-muted);
  margin-bottom: 28px;
}

.v-form-group {
  margin-bottom: 20px;
}

.v-form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--v-charcoal-muted);
}

.v-input, .v-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--v-border-strong);
  background-color: var(--v-bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--v-charcoal);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.v-input:focus, .v-select:focus {
  border-color: var(--v-charcoal);
}

.v-form-note {
  display: block;
  font-size: 11px;
  color: var(--v-charcoal-subtle);
  margin-top: 16px;
  line-height: 1.5;
  text-align: center;
}

/* Toast */
.v-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--v-charcoal);
  color: #FFFFFF;
  padding: 18px 24px;
  border-left: 3px solid var(--v-gold);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 400px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
  pointer-events: none;
}

.v-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.v-toast-gold {
  color: var(--v-gold);
  flex-shrink: 0;
}

.v-toast-text {
  display: flex;
  flex-direction: column;
}

.v-toast-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.v-toast-desc {
  font-size: 12px;
  color: #D6D3D1;
  margin-top: 2px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ERGONOMICS (Strict Kowalski Guidelines)
   ========================================================================== */
* { -webkit-tap-highlight-color: transparent; }
button, a, input, select { touch-action: manipulation; }

@media (max-width: 1024px) {
  .v-nav { display: none; }
  .v-burger { display: flex; }
  .v-monograph-layout { grid-template-columns: 1fr; }
  .v-std-showcase { grid-template-columns: 1fr; }
  .v-engineering-grid { grid-template-columns: repeat(2, 1fr); }
  .v-advisor-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .v-container { width: 90%; }
  .v-header-inner { height: 70px; }
  .v-header-tel { display: none; }
  .v-header-actions .v-btn-outline { display: none; }
  .v-hero { padding: 60px 0 40px; }
  .v-hero-metrics { grid-template-columns: 1fr; gap: 20px; }
  .v-std-nav { flex-direction: column; }
  .v-engineering-grid { grid-template-columns: 1fr; }
  .v-advisor-card { padding: 28px 20px; }
  .v-advisor-photo-box { height: 320px; }
  .v-modal { padding: 36px 20px; }
  .v-footer-layout { flex-direction: column; align-items: flex-start; }
  .v-f-links { flex-wrap: wrap; }
  
  .v-lightbox-overlay { padding: 12px; }
  .v-lightbox-prev { left: 10px; width: 42px; height: 42px; }
  .v-lightbox-next { right: 10px; width: 42px; height: 42px; }
  .v-lightbox-img-wrap { height: 40vh; }
  .v-lightbox-footer { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  
  .v-hero-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .v-hero-action-row .v-btn-solid { width: 100%; }
}


/* ==========================================================================
   DRAWER & RESPONSIVE FIXES (AETERNA)
   ========================================================================== */

/* Drawer default hidden on desktop */
.v-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.v-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #FAF9F6;
  border-left: 1px solid var(--v-border-strong);
  z-index: 9999;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  visibility: hidden;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.v-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.v-drawer-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.v-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--v-border);
}

.v-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-drawer-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--v-charcoal);
}

.v-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--v-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.v-drawer-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.v-drawer-body {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
}

.v-drawer-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--v-gold);
  margin-bottom: 24px;
}

.v-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v-drawer-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--v-charcoal);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.v-drawer-links a:hover {
  color: var(--v-gold);
  transform: translateX(4px);
}

.v-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--v-border);
}

.v-drawer-tel {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--v-charcoal);
  text-decoration: none;
}

/* Strict Desktop Hiding */
@media (min-width: 1025px) {
  .v-drawer,
  .v-drawer-backdrop,
  .v-burger {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Mobile & Tablet */
@media (max-width: 1024px) {
  .v-nav { display: none !important; }
  .v-header-tel { display: none !important; }
  .v-header-actions .v-btn-outline { display: none !important; }
  .v-burger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--v-border);
    cursor: pointer;
    padding: 10px;
  }
  .v-burger span {
    width: 100%;
    height: 2px;
    background-color: var(--v-charcoal);
    transition: transform 0.2s ease;
  }
  .v-drawer-backdrop { display: block; }
  .v-drawer { display: flex; }
}

@media (max-width: 640px) {
  .v-hero-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.15 !important;
  }
  .v-hero-lead {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .v-btn-solid, .v-btn-outline {
    min-height: 48px;
    padding: 14px 20px;
  }
  .v-input, .v-select {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    min-height: 48px;
  }
}


/* ==========================================================================
   PHOTO BADGE & OVERLAY NON-COLLISION SYSTEM (AETERNA)
   ========================================================================== */
.v-std-origin-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--v-charcoal);
  color: #FAF9F6;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 7px 14px;
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 3;
}

.v-std-media-frame .v-photo-view-badge {
  top: auto !important;
  bottom: 16px !important;
  right: 16px !important;
  z-index: 3;
}

@media (max-width: 768px) {
  .v-std-origin-tag {
    top: 12px !important;
    left: 12px !important;
    font-size: 9px !important;
    padding: 5px 10px !important;
    max-width: calc(100% - 24px) !important;
  }
  .v-std-media-frame .v-photo-view-badge {
    bottom: 12px !important;
    right: 12px !important;
    font-size: 9.5px !important;
    padding: 6px 11px !important;
  }
}


/* ==========================================================================
   SMOOTH BURGER & DRAWER ANIMATIONS (AETERNA)
   ========================================================================== */
.v-burger {
  position: relative;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.v-burger span {
  width: 20px;
  height: 1.5px;
  background-color: var(--v-charcoal);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  transform-origin: center;
}
.v-burger.active span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}
.v-burger.active span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.v-drawer {
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.42s ease !important;
}

.v-drawer-backdrop {
  transition: opacity 0.38s ease, visibility 0.38s ease !important;
}

.v-drawer-close {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
}
.v-drawer-close:hover {
  transform: rotate(90deg);
  color: var(--v-gold);
}

/* Staggered Links Cascade */
.v-drawer.open .v-drawer-links a {
  animation: aLinkCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.v-drawer.open .v-drawer-links a:nth-child(1) { animation-delay: 0.08s; }
.v-drawer.open .v-drawer-links a:nth-child(2) { animation-delay: 0.14s; }
.v-drawer.open .v-drawer-links a:nth-child(3) { animation-delay: 0.20s; }
.v-drawer.open .v-drawer-links a:nth-child(4) { animation-delay: 0.26s; }
.v-drawer.open .v-drawer-links a:nth-child(5) { animation-delay: 0.32s; }
.v-drawer.open .v-drawer-footer {
  animation: aLinkCascade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

@keyframes aLinkCascade {
  0% {
    opacity: 0;
    transform: translateX(26px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.v-drawer-links a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
}
.v-drawer-links a:active {
  transform: scale(0.97);
}
