:root {
  --color-primary: #0079ba;
  --color-navy: #053d75;
  --color-text: #212121;
  --color-white: #ffffff;
  --color-footer: #212121;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Arvo", serif;
  --header-height: 72px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.85);
  color: var(--color-white);
  border: 1px dashed var(--color-white);
}

.skip-link:focus {
  left: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(33, 33, 33, 0.08);
  overflow: visible;
}

main {
  position: relative;
  z-index: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  min-height: var(--header-height);
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 120px;
  height: auto;
  display: block;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: box-shadow var(--transition);
}

.menu-toggle:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2000;
  width: min(320px, 85vw);
  height: 100vh;
  padding: calc(var(--header-height) + 1.5rem) 2rem 2rem;
  background: var(--color-white);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.site-nav.is-open {
  transform: translateX(0);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  border-bottom: 1px solid rgba(33, 33, 33, 0.08);
}

.nav-list a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--color-text);
  transition: color var(--transition);
}

.nav-list > li > a:hover,
.nav-list a.active {
  color: var(--color-primary);
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.has-dropdown > a::after {
  content: "▾";
  font-size: 0.75rem;
  opacity: 0.7;
}

.dropdown-toggle {
  display: none;
}

.has-dropdown .dropdown {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem 1rem;
}

.dropdown a {
  padding: 0.55rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(33, 33, 33, 0.75);
}

.dropdown a:hover,
.dropdown a.active {
  color: var(--color-primary);
}

/* Hero */
.hero,
.welcome {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.hero-bg,
.welcome-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1446840959065-353c3a3731a9?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
}

.welcome-bg {
  background-image: url("https://images.unsplash.com/photo-1460075058201-d3a63e639f68?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
}

.hero::before,
.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
}

.hero-content,
.welcome-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 900px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.welcome-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.welcome-divider {
  width: min(120px, 20vw);
  margin: 0 auto 1.5rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.welcome-email {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.welcome-email a {
  transition: opacity var(--transition);
}

.welcome-email a:hover {
  opacity: 0.8;
}

/* Home & photo pages — full-screen background with overlaid logo and nav */
.home-page,
.photo-page {
  overflow: hidden;
}

.home-page .site-footer {
  display: none;
}

.home-page main,
.photo-page main {
  min-height: 100vh;
  height: 100vh;
}

.home-page .hero,
.photo-page .hero {
  min-height: 100vh;
  height: 100vh;
}

.home-page .hero::before,
.photo-page .hero::before {
  display: none;
}

.hero-video,
.contact-video,
.alejandro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.home-page .hero-top,
.photo-page .hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
}

.home-page .hero-top > *,
.photo-page .hero-top > * {
  pointer-events: auto;
}

.home-page .logo-brand,
.photo-page .logo-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-decoration: none;
}

.home-page .logo-brand .logo-img,
.photo-page .logo-brand .logo-img {
  width: 150px;
  height: auto;
  display: block;
  background: transparent;
}

.home-page .logo-text,
.photo-page .logo-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.6);
  line-height: 1.2;
}

.home-page .site-nav,
.photo-page .site-nav {
  padding-top: calc(4.5rem + 1.5rem);
}

.hero-bg--alejandro {
  background-image: url("https://images.unsplash.com/photo-1502680399259-1a8e7862a1b5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
}

.hero-bg--isabel {
  background-image: url("https://images.unsplash.com/photo-1531727991582-d4b3884d7d0c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
}

.hero-bg--login {
  background-image: url("https://images.unsplash.com/photo-1455763339719-7bfe8b697d6b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
}

.hero-bg--member {
  background-image: url("https://images.unsplash.com/photo-1483925564682-384e0d5a1a63?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000");
}

.login-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 2rem;
  pointer-events: none;
}

.login-form {
  width: min(100%, 360px);
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.login-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-navy);
  text-align: center;
}

.login-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.login-input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(33, 33, 33, 0.18);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
}

.login-input:focus {
  outline: 2px solid rgba(0, 121, 186, 0.35);
  border-color: var(--color-primary);
}

.login-error {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #b42318;
}

.login-submit {
  width: 100%;
  margin-top: 0.25rem;
}

/* Contact page — video background */
.contact-page .logo-text {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.contact-page .logo-brand .logo-img {
  filter: brightness(0) invert(1);
}

.contact-hero {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(5, 61, 117, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.contact-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(920px, 94%);
  margin: 0 auto;
  padding: 5.25rem 1.25rem 1.25rem;
  color: var(--color-white);
  text-align: center;
  pointer-events: auto;
}

.contact-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.contact-email {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.contact-email a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-intro {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.6vw, 0.92rem);
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.contact-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
  text-align: left;
}

.contact-region {
  padding: 0;
}

.contact-region-title {
  margin: 0 0 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.contact-line {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.contact-line + .contact-line {
  margin-top: 0.1rem;
}

.contact-line a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  transition: opacity var(--transition);
}

.contact-line a:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .contact-regions {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .contact-hero {
    overflow-y: auto;
  }
}

/* Alejandro — NVDA chart */
.alejandro-page {
  overflow: auto;
}

.alejandro-page .logo-text {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.alejandro-page .logo-brand .logo-img {
  filter: brightness(0) invert(1);
}

.alejandro-page main,
.alejandro-page .hero {
  min-height: 100vh;
  height: auto;
}

.alejandro-hero {
  position: relative;
  display: flex;
  flex-direction: column;
}

.alejandro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26, 16, 48, 0.15) 0%,
    rgba(5, 61, 117, 0.25) 100%
  );
  pointer-events: none;
}

.chart-panel {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0.5rem 1rem;
  pointer-events: none;
}

.chart-widget {
  width: min(100%, 1280px);
  padding: 0.85rem 0.85rem 0.65rem;
  border-radius: 4px;
  background: #000000;
  border: 1px solid #1a1a1a;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.chart-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.65rem;
  padding: 0 0.15rem;
}

.chart-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #e8e8e8;
}

.chart-meta {
  margin: 0.1rem 0 0;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(180, 180, 180, 0.75);
  letter-spacing: 0.03em;
}

.chart-quote {
  text-align: right;
}

.chart-price {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
}

.chart-change {
  margin: 0.1rem 0 0;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
}

.chart-change--up {
  color: #26a69a;
}

.chart-change--down {
  color: #ef5350;
}

.chart-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
  padding: 0 0.15rem;
}

.chart-range {
  border: none;
  border-radius: 3px;
  padding: 0.3rem 0.65rem;
  background: transparent;
  color: #888888;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.chart-range:hover {
  color: #cccccc;
}

.chart-range.is-active {
  background: #1e6fd9;
  color: #ffffff;
}

.chart-stage {
  position: relative;
  height: min(74vh, 720px);
  min-height: 420px;
}

.tradingview-widget-container {
  width: 100%;
  height: 100%;
}

.tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

.chart-container {
  width: 100%;
  height: min(74vh, 720px);
  min-height: 420px;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: #000000;
}

.chart-status {
  margin: 0.5rem 0 0;
  padding: 0 0.15rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(140, 140, 140, 0.75);
}

@media (max-width: 720px) {
  .chart-panel {
    padding-top: 5rem;
  }

  .chart-quote {
    text-align: left;
  }

  .chart-stage {
    height: min(62vh, 480px);
    min-height: 340px;
  }

  .chart-container {
    height: min(62vh, 480px);
    min-height: 340px;
  }
}

/* Isabel — image background */
.isabel-page {
  overflow: auto;
}

.isabel-page main,
.isabel-page .hero {
  min-height: 100vh;
  height: auto;
}

.isabel-page .logo-text {
  color: #ff69b4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.isabel-page .logo-brand .logo-img {
  filter: brightness(0) saturate(100%) invert(71%) sepia(42%) saturate(5089%) hue-rotate(294deg) brightness(102%) contrast(101%);
}

.isabel-hero {
  position: relative;
  display: flex;
  flex-direction: column;
}

.isabel-bg {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

@media (min-width: 992px) {
  .home-page .hero-top,
  .photo-page .hero-top {
    max-width: 1400px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    padding: 1.5rem 1.5rem;
  }

  .home-page .site-nav,
  .photo-page .site-nav {
    padding-top: 0;
  }

  .home-page .nav-list a,
  .photo-page .nav-list a {
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
  }
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: var(--color-white);
  padding: 3.5rem 1.5rem;
}

.site-footer p {
  margin: 0;
  max-width: 1400px;
  margin-inline: auto;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 400;
}

/* Desktop — visible top-right nav like the original */
@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  .nav-overlay {
    display: none !important;
  }

  .header-inner {
    justify-content: space-between;
  }

  .logo {
    position: static;
    transform: none;
  }

  .site-nav {
    position: static;
    z-index: auto;
    width: auto;
    height: auto;
    padding: 0;
    transform: none !important;
    box-shadow: none;
    overflow: visible;
    background: transparent;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: var(--color-white);
    border-radius: 999px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    overflow: visible;
  }

  .nav-list > li {
    border-bottom: none;
    position: relative;
  }

  .has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 2px);
    height: 0.75rem;
    display: none;
  }

  .nav-list a {
    padding: 0.5rem 0.85rem;
  }

  .nav-list > li.nav-home {
    display: none;
  }

  .has-dropdown .dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: auto;
    right: 0;
    min-width: 210px;
    padding: calc(0.35rem + 2px) 0 0.5rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s;
    pointer-events: none;
    z-index: 2100;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0s linear 0s;
    pointer-events: auto;
  }

  .has-dropdown:hover::after,
  .has-dropdown:focus-within::after {
    display: block;
  }

  .dropdown a {
    padding: 0.6rem 1.25rem;
  }
}

/* Carlos / content pages */
.page-content {
  padding-top: var(--header-height);
  min-height: 100vh;
}

.page-content--bg {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("https://images.unsplash.com/photo-1460075058201-d3a63e639f68?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=2000") center / cover no-repeat fixed;
}

.content-section {
  padding: 3rem 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
}

.intro-text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(33, 33, 33, 0.85);
  max-width: 900px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-card {
  display: block;
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.gallery-card-image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.gallery-card h3 {
  margin: 0;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
}

.btn-primary {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background var(--transition);
}

.btn-primary:hover {
  background: var(--color-navy);
}

.video-section {
  padding: 2rem 0;
}

.video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.video-text h2 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-primary);
}

.video-text p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: rgba(33, 33, 33, 0.85);
}

.video-heading {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.3;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-white);
}

.video-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback-play {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
}

.video-embed--large {
  max-width: 900px;
  margin: 0 auto;
}

.video-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-link:hover {
  color: var(--color-navy);
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--color-navy);
}

.media-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.media-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
  transition: opacity var(--transition);
}

.media-thumb:hover {
  opacity: 0.9;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-white);
  font-size: 2.5rem;
}

.media-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
}

.media-body p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: rgba(33, 33, 33, 0.85);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.art-item {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.art-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

.art-image:hover,
.art-image:focus-visible {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 999px rgba(0, 121, 186, 0.12);
  outline: none;
}

.art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.art-lightbox[hidden] {
  display: none;
}

.art-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.art-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.art-lightbox-caption {
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  text-align: center;
}

.art-lightbox-close,
.art-lightbox-prev,
.art-lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  cursor: pointer;
  transition: background var(--transition);
}

.art-lightbox-close:hover,
.art-lightbox-prev:hover,
.art-lightbox-next:hover,
.art-lightbox-close:focus-visible,
.art-lightbox-prev:focus-visible,
.art-lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.art-lightbox-close {
  top: -0.25rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
}

.art-lightbox-prev,
.art-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.art-lightbox-prev {
  left: -3.25rem;
}

.art-lightbox-next {
  right: -3.25rem;
}

@media (max-width: 768px) {
  .art-lightbox-prev {
    left: 0.25rem;
  }

  .art-lightbox-next {
    right: 0.25rem;
  }

  .art-lightbox-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

.art-item h3 {
  margin: 0;
  padding: 1.25rem 1.25rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
}

.art-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(33, 33, 33, 0.85);
}

.art-item--text {
  padding: 1.25rem;
}

.art-item--text h3 {
  padding: 0 0 0.5rem;
}

.art-item--text p {
  padding: 0;
}

.dropdown a.active,
.nav-list > li > a.active {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .video-row,
  .media-block {
    grid-template-columns: 1fr;
  }

  .media-thumb {
    max-width: 100%;
  }
}
