:root {
  /* Official Brand Palette */
  --color-bg: #F9F8F6; /* Off-white */
  --color-bg-alt: #FFFFFF; /* White */
  --color-text: #0c1524; /* Navy Blue/Black */
  --color-text-muted: #334155; /* Slate muted */
  --color-accent: #178da6; /* Accent Teal */
  --color-accent-alt: #C2A476; /* Sandy Brown */
  --color-border: #E5E5E5;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Layout */
  --max-width: 1400px;
  --header-height: 110px; /* Increased to accommodate larger logo */
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Swup Transitions */
.transition-fade {
  transition: 0.4s;
  opacity: 1;
}

html.is-animating .transition-fade {
  opacity: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

.text-center {
  text-align: center;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease, color 0.4s ease;
}

.header--light-text:not(.is-scrolled) .nav__logo,
.header--light-text:not(.is-scrolled) .nav__link {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header.is-scrolled {
  background: rgba(249, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.nav__logo img {
  height: 90px; /* Massively increased size for readability */
  width: auto;
  transition: opacity 0.4s ease;
}

/* Default state: show black, hide white */
.nav__logo .logo-white { display: none; }
.nav__logo .logo-black { display: block; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: var(--color-text);
  transition: color 0.4s ease;
  white-space: nowrap;
}

/* Light text mode: show white, hide black */
.header--light-text:not(.is-scrolled) .nav__logo .logo-white { display: block; }
.header--light-text:not(.is-scrolled) .nav__logo .logo-black { display: none; }
.header--light-text:not(.is-scrolled) .nav__logo .logo-text { color: #fff; }

.nav__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-bg-alt);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: flex-end; /* Move text to the bottom */
  justify-content: center;
  text-align: center;
  color: var(--color-bg-alt);
  overflow: hidden;
  padding-bottom: calc(var(--space-xl) * 2);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 100%); /* Gradient instead of solid dark overlay */
}

.hero__content {
  max-width: 800px;
  z-index: 2;
}

.hero__title {
  font-size: clamp(2rem, 3.5vw, 3.5rem); /* Much smaller text */
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: 0;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1), 0 5px 15px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero__subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem); /* Smaller subtitle */
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1), 0 4px 10px rgba(0, 0, 0, 0.9), 0 8px 20px rgba(0, 0, 0, 0.8);
}

/* Introduction Section */
.intro {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-alt);
}

.intro__content {
  max-width: 800px;
  margin: 0 auto;
}

.intro__text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--color-text);
  font-family: var(--font-heading);
}

/* Property Grid */
.collection {
  padding: var(--space-xl) 0;
}

.collection-section__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
  letter-spacing: 1px;
}

.collection-section + .collection-section {
  margin-top: 5rem;
}

.collection__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
}

.property-card {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .collection-section + .collection-section {
    margin-top: 8rem;
  }

  .property-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .property-card {
    grid-column: span 6; /* 2 cards per row by default (for estates) */
  }

  .property-grid--condos .property-card {
    grid-column: span 4; /* 3 cards per row for condos */
  }

  .property-card--featured {
    grid-column: span 12; /* Full width for flagship */
  }

  .property-card--featured .property-card__image-wrapper {
    aspect-ratio: 16/9; /* Cinematic ratio for flagship */
  }
}

.property-card__image-wrapper {
  aspect-ratio: 4/5; /* Uniform portrait ratio for all regular cards */
  overflow: hidden;
  margin-bottom: var(--space-sm);
  background: #eee;
  position: relative;
}

.property-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.property-card:hover .property-card__overlay {
  opacity: 1;
}

.property-card__discover {
  color: #fff;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  border: 1px solid #fff;
  padding: 0.75rem 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-card__discover {
  transform: translateY(0);
  opacity: 1;
}

.property-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-card__image {
  transform: scale(1.05);
}

.property-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.property-card__location {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.property-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.property-card__details {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.property-card__type {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
}

/* Footer */
.footer {
  background-color: var(--color-bg-alt);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.footer__heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Specific Property Detail Pages (Condos) */
.property-hero {
  height: 70vh;
  margin-top: var(--header-height);
  background: #eee;
  position: relative;
  overflow: hidden;
}

.property-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-content {
  padding: var(--space-xl) 0;
  max-width: 900px;
  margin: 0 auto;
}

.property-specs {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.property-gallery__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Make first image span both columns if odd number of images or for emphasis */
.property-gallery__img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21/9; /* Widescreen for first image */
}

/* Availability Badge (property cards) */
.availability-badge {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
  z-index: 2;
}

/* Lease Notice Banner (detail pages) */
.lease-notice {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 1.25rem;
  margin-bottom: var(--space-lg);
  background-color: #f5f0e8;
  border-left: 3px solid var(--color-accent);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.lease-notice p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { height: 70vh; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .property-grid { grid-template-columns: 1fr; }
  .collection__header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .property-specs { flex-wrap: wrap; gap: var(--space-md); }
}

/* Reservation Form */
.reservation-section {
  background-color: var(--color-bg-alt);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

.reservation-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.reservation-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-weight: 500;
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  color: var(--color-text);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-sm);
  background-color: var(--color-text);
  color: var(--color-bg-alt);
  border: none;
}

.form-submit:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.form-status {
  margin-top: var(--space-md);
  text-align: center;
  font-size: 0.95rem;
  padding: 1rem;
  display: none;
}

.form-status:not(:empty) {
  display: block;
}

.form-status--success {
  background-color: #e6f4ea;
  color: #1e8e3e;
  border: 1px solid #1e8e3e;
}

.form-status--error {
  background-color: #fce8e6;
  color: #d93025;
  border: 1px solid #d93025;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== PORTAL HERO (OCEAN POINTE) ========== */
.portal-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: var(--space-xl);
  overflow: hidden;
}

.portal-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.portal-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--header-height);
}

.portal-hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
}

.portal-hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-bottom: var(--space-sm);
}

.portal-hero__description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.6;
}

.portal-hero .btn {
  background-color: #fff;
  color: var(--color-text);
  border: none;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 1.2rem 2.5rem;
  margin-top: var(--space-sm);
  transition: all 0.3s ease;
}

.portal-hero .btn:hover {
  background-color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .portal-hero__title {
    font-size: 5rem;
  }
  .portal-hero__description {
    font-size: 1.25rem;
  }
}

/* ========== DIRECTORY HEADER ========== */
.directory-header {
  padding: calc(var(--header-height) + var(--space-md)) var(--space-xl) var(--space-md);
  text-align: center;
  background-color: var(--color-bg);
}

.directory-header__subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 500;
  display: block;
  margin-bottom: var(--space-sm);
}

.directory-header__title {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.directory-header__description {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .directory-header__title {
    font-size: 3.5rem;
  }
  .directory-header {
    padding: calc(var(--header-height) + var(--space-sm)) var(--space-md) var(--space-sm);
  }
}

/* ========== AIRBNB STYLE LISTING ========== */
/* 5-Image Collage Grid */
.airbnb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.airbnb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.airbnb-img:hover {
  filter: brightness(0.9);
}

/* On Desktop: 2 columns left, 1/1 columns right */
@media (min-width: 768px) {
  .airbnb-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 240px);
  }
  
  .airbnb-img:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
  
  .airbnb-img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .airbnb-img:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .airbnb-img:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .airbnb-img:nth-child(5) { grid-column: 3 / 4; grid-row: 2 / 3; }

  /* Hide images beyond the 5th in the grid */
  .airbnb-img:nth-child(n+6) {
    display: none;
  }
}

.show-all-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: white;
  color: #222;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid #222;
  transition: all 0.2s ease;
  z-index: 10;
}

.show-all-btn:hover {
  background: #f7f7f7;
  transform: scale(1.02);
}

/* Full Screen Photo Modal */
.photo-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: white;
  z-index: 9999;
  overflow-y: auto;
  display: none; /* toggled by JS */
  padding: 80px 24px 40px;
}

.photo-modal.is-active {
  display: block;
}

.photo-modal__close {
  position: fixed;
  top: 24px; left: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 20px;
  cursor: pointer;
  z-index: 10000;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}

.photo-modal__close:hover {
  background: #f0f0f0;
}

.photo-modal__grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-modal__grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Listing Details - Layout */
.listing-section {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.listing-section:last-of-type {
  border-bottom: none;
}

.listing-section h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

/* Bed Layout Cards */
.bed-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.bed-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.bed-card svg {
  width: 32px; height: 32px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bed-card__title {
  font-weight: 500;
  margin-bottom: 4px;
}

.bed-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}

.amenity-item svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ========== MOBILE NAVIGATION ========== */
@media (max-width: 1024px) {
  .logo-text { display: none; }
  .nav__toggle { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1000; }
  .nav__toggle span { width: 30px; height: 2px; background: var(--color-text); transition: all 0.3s linear; transform-origin: 1px; }
  .header--light-text:not(.is-scrolled) .nav__toggle span { background: #fff; }
  .nav__toggle.is-active span:nth-child(1) { transform: rotate(45deg); }
  .nav__toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active span:nth-child(3) { transform: rotate(-45deg); }
  .nav__links { position: fixed; top: 0; right: -100%; height: 100vh; width: 100%; background: var(--color-bg); flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease; z-index: 999; }
  .nav__links.is-active { right: 0; }
  .nav__link { font-size: 1.5rem; color: var(--color-text); }
  .header--light-text:not(.is-scrolled) .nav__link { color: var(--color-text); }
}

@media (min-width: 1025px) { .nav__toggle { display: none; } }

/* Article Table Styles */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  background-color: var(--color-bg-alt);
  border-radius: var(--space-xs);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.article-table th {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.article-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: left;
}

.article-table td:nth-child(1),
.article-table td:nth-child(2) {
  text-align: center;
}

.article-table td strong {
  color: var(--color-text);
  font-weight: 600;
}

.article-table tr:last-child td {
  border-bottom: none;
}


/* Journal Article Grid */
.journal-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 768px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
.journal-article { display: flex; flex-direction: column; gap: var(--space-sm); }
.journal-article__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #eee; }
.journal-article__meta { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-accent); margin-top: var(--space-sm); }
.journal-article__title { font-size: 1.5rem; margin-bottom: var(--space-xs); }
