/* ─── Brand Tokens ──────────────────────────────────────────── */
:root {
  --color-navy:        #0B1D35;
  --color-navy-mid:    #1A3254;
  --color-navy-light:  #243D5E;
  --color-gold:        #C8A14E;
  --color-gold-dark:   #A8874A;
  --color-gold-light:  #E2C98A;
  --color-cream:       #F5F4F0;
  --color-surface:     #EDECEA;
  --color-slate:       #4A5568;
  --color-mid:         #8896A4;
  --color-white:       #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background-color: var(--color-cream);
  color: var(--color-navy);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Gold Underline Link ───────────────────────────────────── */
.link-gold {
  position: relative;
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-gold::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.link-gold:hover::after { width: 100%; }

/* ─── GDPR Modal ────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 53, 0.8);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

/* ─── Scroll Indicator ──────────────────────────────────────── */
@keyframes slideDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}
.scroll-line {
  animation: slideDown 1.8s ease infinite;
}

/* ─── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── Photo Overlay ─────────────────────────────────────────── */
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 53, 0.75) 0%,
    rgba(11, 29, 53, 0.55) 50%,
    rgba(11, 29, 53, 0.4) 100%
  );
}

.photo-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 53, 0.65);
}

/* ─── Service Card hover border ─────────────────────────────── */
.service-card .top-accent {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover .top-accent {
  transform: scaleX(1);
}
.service-card .icon-box {
  transition: background-color 0.3s ease;
}
.service-card:hover .icon-box {
  background-color: var(--color-navy);
}

/* ─── Split section photo zoom ──────────────────────────────── */
.split-photo img {
  transition: transform 0.7s ease;
}
.split-photo:hover img {
  transform: scale(1.05);
}

/* ─── Nav transition ────────────────────────────────────────── */
#site-header {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
