/* ============================================================
   VB Events — Premium Design System
   Warm editorial dark: deep backgrounds, cream text, gold accents
   ============================================================ */

/* --- Custom Properties ------------------------------------- */
:root {
  --bg-deep: #111014;
  --bg-body: #17161b;
  --bg-card: #1e1d23;
  --bg-card-hover: #25242b;
  --bg-surface: #222128;
  --bg-cta: #1c1b21;

  --text-cream: #f2ece4;
  --text-body: #c4bdb3;
  --text-muted: #7d776e;
  --gold: #c9a84c;
  --gold-light: #dbbe68;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --gold-border: rgba(201, 168, 76, 0.25);

  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(201, 168, 76, 0.2);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --max-w: 1200px;
  --max-w-narrow: 800px;
  --header-h: 80px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 168, 76, 0.04), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201, 168, 76, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; background: none; border: none; outline: none; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-cream);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p { max-width: 60ch; }

.overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

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

/* --- Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: var(--max-w-narrow); }

section { padding: var(--space-3xl) 0; position: relative; z-index: 1; }

.section--alt { background: var(--bg-deep); }

/* --- Divider ----------------------------------------------- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-md) 0;
  opacity: 0.5;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero--short { min-height: 55vh; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(17, 16, 20, 0.5) 0%,
      rgba(17, 16, 20, 0.3) 30%,
      rgba(17, 16, 20, 0.6) 70%,
      rgba(23, 22, 27, 1) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: var(--space-xl) var(--space-lg);
}

.hero__content h1 {
  margin-bottom: var(--space-md);
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(242, 236, 228, 0.8);
  margin: 0 auto var(--space-lg);
  max-width: 550px;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost {
  border: 1px solid var(--gold-border);
  color: var(--gold);
}

.btn--ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Cards ------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 16, 20, 0.4));
  pointer-events: none;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card:hover .card__image img { transform: scale(1.06); }

.card__body { padding: var(--space-md) var(--space-lg); }

.card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-cream);
}

.card__text {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
  color: var(--text-body);
}

.card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.card__link::after { content: '\2192'; transition: transform 0.3s ease; }
.card__link:hover { gap: 0.75rem; }

/* --- Grids -------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

/* --- Split ------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.split__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  pointer-events: none;
}

.split__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split__image:hover img { transform: scale(1.03); }

.split__text h2 { margin-bottom: var(--space-md); }
.split__text p { margin-bottom: var(--space-sm); }

/* --- Bullet List ------------------------------------------- */
.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-body);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- Testimonials ------------------------------------------ */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-xl);
  position: relative;
  transition: border-color 0.3s ease;
}

.testimonial:hover { border-color: var(--border-accent); }

.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -0.2rem;
  left: 0.8rem;
  line-height: 1;
}

.testimonial__text {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  font-style: italic;
  color: var(--text-body);
}

.testimonial__author {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.03em;
}

/* --- Section Headers --------------------------------------- */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { margin: 0 auto; }

/* --- CTA Section ------------------------------------------- */
.cta-section {
  text-align: center;
  background: var(--bg-cta);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section h2 { margin-bottom: var(--space-sm); }
.cta-section p { margin: 0 auto var(--space-lg); }

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --header-h: 65px; }
  section { padding: var(--space-2xl) 0; }
  .container { padding: 0 var(--space-md); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .hero--short { min-height: 50vh; }
  .btn-group { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .btn { padding: 0.875rem 2rem; font-size: 0.75rem; }
}


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(17, 16, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  transition: color 0.4s var(--ease);
}

.header.scrolled .header__logo-name { color: var(--text-cream); }

.header__logo-tag {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-links {
  display: flex;
  gap: var(--space-lg);
}

.header__nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.header__nav-link:hover,
.header__nav-link.active { color: #fff; }
.header__nav-link:hover::after,
.header__nav-link.active::after { width: 100%; }

.header.scrolled .header__nav-link { color: var(--text-muted); }
.header.scrolled .header__nav-link:hover,
.header.scrolled .header__nav-link.active { color: var(--text-cream); }

.header__cta { margin-left: var(--space-sm); }

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header.scrolled .header__hamburger span { background: var(--text-cream); }

.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile Menu */
.header__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 16, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.header__mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.header__mobile-menu .header__nav-link {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--text-cream);
}

.header__mobile-menu .btn { margin-top: var(--space-md); }

@media (max-width: 900px) {
  .header__nav-links, .header__cta { display: none; }
  .header__hamburger { display: flex; }
  .header__inner { padding: 0 var(--space-md); }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  font-size: 0.92rem;
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-cream);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer__contact-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer__contact-item a { color: var(--text-muted); }
.footer__contact-item a:hover { color: var(--gold); }

.footer__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: var(--space-lg);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__socials { display: flex; gap: var(--space-sm); }

.footer__socials a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer__socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }


/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold-border);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-body);
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-cream);
}

.timeline__content p {
  font-size: 0.92rem;
  line-height: 1.7;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  color: var(--text-cream);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237d776e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option { background: var(--bg-card); color: var(--text-cream); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
}

.form-success__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.form-success h3 { margin-bottom: 0.75rem; }

.contact-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.contact-detail-item { margin-bottom: 1.25rem; }
.contact-detail-item:last-child { margin-bottom: 0; }

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

.contact-detail-item p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-detail-item a {
  color: var(--text-body);
  transition: color 0.3s ease;
}

.contact-detail-item a:hover { color: var(--gold); }

.contact-map { margin-bottom: var(--space-lg); }

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrapper iframe { display: block; }

.contact-reassurance {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
}

.contact-reassurance p {
  font-size: 0.88rem;
  color: var(--gold);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   PREMIUM MICRO-INTERACTIONS
   ============================================================ */

/* --- Selection Color --------------------------------------- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #fff;
}

/* --- Scroll Progress Bar ----------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
}

/* --- Card base positioning --------------------------------- */
.card {
  position: relative;
}

/* --- Animated Link Underline ------------------------------- */
.link-underline {
  position: relative;
  display: inline;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Nav Link padding -------------------------------------- */
.header__nav-link {
  padding: 0.25rem 0;
}

/* --- Split Image base -------------------------------------- */
.split__image {
  overflow: hidden;
}

/* --- Focus Visible ------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (scripting: none) {
  .hero__content > * { opacity: 1; transform: none; }
}

/* --- Responsive -------------------------------------------- */
@media (scripting: none) {
  .hero__content > * { opacity: 1; transform: none; }
}

/* --- Smooth Anchor Scroll ---------------------------------- */
html {
  scroll-padding-top: var(--header-h);
}

/* --- Card Link Arrow Bounce -------------------------------- */
.card__link:hover::after {
  animation: arrow-bounce 0.4s ease;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* --- Footer Social Hover ----------------------------------- */
.footer__socials a {
  transition: all 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer__socials a:hover {
  transform: translateY(-2px);
}

/* --- Smooth Page Load -------------------------------------- */
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Reduced Motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__bg img { transform: none !important; }
}
