/* BLOG PAGE - YOUR COLORS, YOUR STYLE */
/* Typography system: Space Grotesk (Architect), Sora (Human), Satoshi (Whisper) */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap');

/* YOUR COLOR PALETTE - EXACTLY AS ESTABLISHED */
:root {
  --fg: #006400; /* Forest Green - Structure */
  --mg: #7DC5C4; /* Morning Glory - Air */
  --ol: #6B8E23; /* Olivetone - Earth */
  --wb: #F5F1E6; /* Warm Beige - Light */
  --nt: #003D38; /* Navy Teal - Depth */

  /* Font role variables - YOUR SYSTEM */
  --font-architect: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-human: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-whisper: 'Satoshi', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* RESET & BASE - USING YOUR SYSTEM */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-whisper); /* Satoshi - The Whisperer */
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: var(--nt); /* Navy Teal for depth */
  color: var(--ol); /* Olivetone default text */
  position: relative;
  overflow-x: hidden;
  padding-top: 80px !important; /* Space for fixed navigation - increased and forced */
}

/* Paper Grain Texture - YOUR SIGNATURE ELEMENT */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><defs><filter id="paperGrain"><feTurbulence type="fractalNoise" baseFrequency="0.04" numOctaves="5" result="noise" seed="1"/><feDiffuseLighting in="noise" lighting-color="%23F5F1E6" surfaceScale="1"><feDistantLight azimuth="45" elevation="60"/></feDiffuseLighting></filter></defs><rect width="100%" height="100%" filter="url(%23paperGrain)" opacity="0.01"/></svg>');
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: multiply;
}

/* SECTION 1: MODERN HERO - INNOVATION HUB STYLE */
.modern-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: #FFFFFF;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.modern-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header Section */
.modern-hero__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E5E5E5;
}

.modern-hero__brand {
  font-family: var(--font-architect);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.modern-hero__location {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-whisper);
  font-size: 0.875rem;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modern-hero__city {
  color: #000000;
  font-weight: 500;
}

.modern-hero__divider {
  width: 40px;
  height: 1px;
  background: #E5E5E5;
}

.modern-hero__coordinates {
  color: #999999;
}

/* Navigation Bar */
.modern-hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1rem 0;
}

.modern-hero__nav-left,
.modern-hero__nav-right {
  display: flex;
  align-items: center;
}

.modern-hero__nav-text {
  font-family: var(--font-whisper);
  font-size: 0.875rem;
  color: #666666;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Main Content */
.modern-hero__content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
}

.modern-hero__left,
.modern-hero__right {
  position: relative;
  overflow: hidden;
}

.modern-hero__urban-image,
.modern-hero__interior-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* GRAB ANIMATION STYLES */
.grab-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
}

.grab-container:active {
  cursor: grabbing;
}

.grabbable {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  will-change: transform;
}

.grab-container:hover .grabbable {
  transform: scale(1.05);
}

.grab-container.dragging .grabbable {
  transform: scale(1.1) rotate(2deg);
  transition: none;
}

/* Grab Overlay */
.grab-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.9) 0%, rgba(0, 61, 56, 0.9) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.grab-container:hover .grab-overlay,
.grab-container.dragging .grab-overlay {
  opacity: 1;
  transform: translateY(0);
}

.grab-info {
  text-align: center;
  padding: 2rem;
  max-width: 100%;
}

.grab-badge {
  display: inline-block;
  background: rgba(125, 197, 196, 0.3);
  color: var(--mg);
  font-family: var(--font-whisper);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--mg);
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.grab-title {
  font-family: var(--font-architect);
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mg);
  margin-bottom: 1rem;
}

.grab-text {
  font-family: var(--font-whisper);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--wb);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.grab-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.grab-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-whisper);
  font-size: 0.9rem;
  color: var(--wb);
  opacity: 0.9;
}

.grab-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.grab-stats {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1.5rem;
}

.grab-stat {
  text-align: center;
  flex: 1;
}

.grab-number {
  display: block;
  font-family: var(--font-architect);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--mg);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.grab-label {
  font-family: var(--font-whisper);
  font-size: 0.8rem;
  color: var(--wb);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Grab Hint */
.grab-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-family: var(--font-whisper);
  font-size: 0.8rem;
  color: var(--nt);
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: grabHintPulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.grab-container:hover .grab-hint,
.grab-container.dragging .grab-hint {
  opacity: 0;
  transform: scale(0.8);
}

.grab-cursor {
  font-size: 1rem;
  animation: grabCursorBounce 1s ease-in-out infinite;
}

.grab-text-hint {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Grab Animations */
@keyframes grabHintPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes grabCursorBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes grabShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

.grab-container.shake {
  animation: grabShake 0.5s ease-in-out;
}

/* Mobile Responsive for Grab */
@media (max-width: 768px) {
  .grab-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .grab-text {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
  
  .grab-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .grab-features {
    gap: 0.6rem;
    margin: 1rem 0;
  }
  
  .grab-feature {
    font-size: 0.85rem;
    gap: 0.6rem;
  }
  
  .grab-icon {
    font-size: 1rem;
  }
  
  .grab-number {
    font-size: 2rem;
  }
  
  .grab-label {
    font-size: 0.75rem;
  }
  
  .grab-info {
    padding: 1.5rem;
  }
  
  .grab-hint {
    bottom: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .grab-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
  
  .grab-text {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .grab-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    margin-bottom: 0.6rem;
  }
  
  .grab-features {
    gap: 0.4rem;
    margin: 0.8rem 0;
  }
  
  .grab-feature {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .grab-icon {
    font-size: 0.9rem;
  }
  
  .grab-number {
    font-size: 1.8rem;
  }
  
  .grab-label {
    font-size: 0.7rem;
  }
  
  .grab-stats {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .grab-info {
    padding: 1rem;
  }
  
  .grab-hint {
    bottom: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 360px) {
  .grab-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .grab-text {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .grab-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .grab-features {
    gap: 0.3rem;
    margin: 0.6rem 0;
  }
  
  .grab-feature {
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  
  .grab-icon {
    font-size: 0.8rem;
  }
  
  .grab-number {
    font-size: 1.5rem;
  }
  
  .grab-label {
    font-size: 0.65rem;
  }
  
  .grab-stats {
    gap: 0.6rem;
  }
  
  .grab-info {
    padding: 0.8rem;
  }
  
  .grab-hint {
    bottom: 8px;
    right: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .grab-container {
    cursor: pointer;
  }
  
  .grab-container:active {
    cursor: pointer;
  }
  
  .grab-hint {
    display: none;
  }
}

/* Tagline Section */
.modern-hero__tagline-section {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.modern-hero__color-bar {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FF4444 0%, #9944FF 25%, #44FF44 50%, #FFFF44 75%, #FF4444 100%);
  margin-bottom: 1.5rem;
}

.modern-hero__tagline {
  font-family: var(--font-whisper);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  letter-spacing: -0.01em;
}


/* Mobile Responsive */
@media (max-width: 1024px) {
  .modern-hero__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .modern-hero__location {
    gap: 1rem;
  }
  
  .modern-hero__content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
  }
  
  .modern-hero__left,
  .modern-hero__right {
    width: 100%;
    min-height: 50vh;
  }
  
  .grab-container {
    width: 100%;
    height: 100%;
    min-height: 50vh;
  }
  
  .grabbable {
    width: 100%;
    height: 100%;
    min-height: 50vh;
  }
  
  .modern-hero__tagline-section {
    position: static;
    margin-top: 2rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .modern-hero {
    padding: 1rem;
    height: auto;
    min-height: 100vh;
  }
  
  .modern-hero__brand {
    font-size: clamp(2rem, 8vw, 4rem);
  }
  
  .modern-hero__nav {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .modern-hero__content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    min-height: 70vh;
  }
  
  .modern-hero__left,
  .modern-hero__right {
    width: 100%;
    min-height: 35vh;
    overflow: hidden;
  }
  
  .grab-container {
    width: 100%;
    height: 100%;
    min-height: 35vh;
  }
  
  .grabbable {
    width: 100%;
    height: 100%;
    min-height: 35vh;
    object-fit: cover;
    object-position: center;
  }
  
  .modern-hero__nav-center {
    order: -1;
  }
  
  .modern-hero__footer {
    position: static;
    margin-top: 2rem;
  }
  
  .modern-hero__tagline-section {
    position: static;
    margin-top: 1rem;
    max-width: none;
    bottom: auto;
    right: auto;
    left: auto;
  }
}

@media (max-width: 480px) {
  .modern-hero {
    padding: 0.5rem;
    height: auto;
    min-height: 100vh;
  }
  
  .modern-hero__content {
    min-height: 80vh;
  }
  
  .modern-hero__left,
  .modern-hero__right {
    min-height: 40vh;
  }
  
  .grab-container {
    min-height: 40vh;
  }
  
  .grabbable {
    min-height: 40vh;
  }
}

@media (max-width: 360px) {
  .modern-hero__left,
  .modern-hero__right {
    min-height: 45vh;
  }
  
  .grab-container {
    min-height: 45vh;
  }
  
  .grabbable {
    min-height: 45vh;
  }
}

/* SECTION 2: FEATURED POST - "THE CENTERPIECE" */
.featured {
  background: var(--mg); /* Morning Glory - Air */
  padding: 15vh 0;
  position: relative;
}

.featured__container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.featured__image {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.featured__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured__content {
  background: var(--wb); /* Warm Beige */
  padding: 4rem;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border: 1px solid var(--mg);
}

.featured__meta {
  font-family: var(--font-whisper);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg); /* Forest Green */
  position: absolute;
  top: 2rem;
  right: 2rem;
  letter-spacing: 0.05em;
}

.featured__title {
  font-family: var(--font-human); /* Sora - The Human */
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: normal;
  line-height: 1.2;
  color: var(--ol); /* Olivetone */
  margin-bottom: 2rem;
}

.featured__excerpt {
  font-family: var(--font-whisper);
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ol);
  margin-bottom: 3rem;
}

.featured__cta {
  font-family: var(--font-architect);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--fg); /* Forest Green */
  color: var(--mg); /* Morning Glory */
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease-out;
  align-self: flex-start;
}

.featured__cta:hover {
  background: var(--nt);
  transform: scale(1.02);
}

/* SECTION 3: RECENT STORIES - ASYMMETRICAL GRID */
.stories {
  background: var(--nt); /* Navy Teal - Depth */
  padding: 15vh 0;
  position: relative;
}

.stories__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  grid-template-areas: 
    "large medium"
    "large small";
}

.story-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.story-card:hover {
  transform: scale(1.02);
}

.story-card--large {
  grid-area: large;
  height: 600px;
}

.story-card--medium {
  grid-area: medium;
  height: 290px;
  background: var(--wb); /* Warm Beige */
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mg);
}

.story-card--small {
  grid-area: small;
  height: 290px;
}

.story-card__image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.story-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__overlay {
  position: absolute;
  inset: 0;
  /* No background overlay - let the photo show clearly */
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.story-card__title {
  font-family: var(--font-architect);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mg); /* Morning Glory */
  line-height: 1.2;
}

.story-card__title--dark {
  color: var(--ol); /* Olivetone */
}

.story-card__content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card__excerpt {
  font-family: var(--font-whisper);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ol);
  margin: 1rem 0;
}

.story-card__meta {
  font-family: var(--font-whisper);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg); /* Forest Green */
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

.story-card__meta--dark {
  color: var(--fg);
  margin-top: auto;
}

/* SECTION 4: CLIENT VOICES */
.voices {
  background: var(--wb); /* Warm Beige */
  padding: 15vh 0;
  position: relative;
}

.voices__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.voices__title {
  font-family: var(--font-architect);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg); /* Forest Green */
  margin-bottom: 4rem;
  text-align: left;
}

.voices__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  grid-template-areas: 
    "large medium"
    "large small";
}

.voice-card {
  background: var(--wb);
  border: 1px solid var(--mg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease-out;
}

.voice-card:hover {
  transform: scale(1.02);
}

.voice-card--large {
  grid-area: large;
}

.voice-card--medium {
  grid-area: medium;
}

.voice-card--small {
  grid-area: small;
}

.voice-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.voice-card__name {
  font-family: var(--font-human);
  font-size: 0.875rem;
  color: var(--ol);
  font-weight: 500;
}

.voice-card__icon {
  font-size: 1rem;
  color: var(--mg);
}

.voice-card__quote {
  font-family: var(--font-whisper);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ol);
  margin-bottom: 1.5rem;
  border: none;
}

.voice-card__context {
  font-family: var(--font-whisper);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg); /* Forest Green */
  letter-spacing: 0.02em;
}

/* SECTION 5: PHOTO ESSAY WITH SWIPER */
.photo-essay {
  background: var(--mg); /* Morning Glory */
  padding: 15vh 0;
  position: relative;
}

.photo-essay__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.photo-essay__title {
  font-family: var(--font-architect);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg); /* Forest Green */
  margin-bottom: 4rem;
  text-align: left;
}

/* Swiper Styles */
.photo-swiper {
  width: 100%;
  height: 500px;
  position: relative;
}

.photo-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-essay__item {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.photo-essay__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-essay__item:hover .photo-essay__image {
  transform: scale(1.05);
}

/* Photo Overlay */
.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.photo-essay__item:hover .photo-overlay {
  transform: translateY(0);
}

.photo-title {
  font-family: var(--font-architect);
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mg);
  margin-bottom: 0.5rem;
}

.photo-description {
  font-family: var(--font-whisper);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--wb);
  opacity: 0.9;
}

/* Swiper Navigation Buttons */
.photo-swiper .swiper-button-next,
.photo-swiper .swiper-button-prev {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: -25px;
  transition: all 0.3s ease;
}

.photo-swiper .swiper-button-next:hover,
.photo-swiper .swiper-button-prev:hover {
  background: var(--fg);
  color: var(--mg);
  transform: scale(1.1);
}

.photo-swiper .swiper-button-next::after,
.photo-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination */
.photo-swiper .swiper-pagination {
  bottom: -50px;
}

.photo-swiper .swiper-pagination-bullet {
  background: var(--fg);
  opacity: 0.3;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.photo-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--fg);
  transform: scale(1.2);
}

/* Mobile Responsive for Swiper */
@media (max-width: 768px) {
  .photo-swiper {
    height: 400px;
  }
  
  .photo-essay__item {
    height: 350px;
  }
  
  .photo-overlay {
    padding: 1.5rem;
  }
  
  .photo-title {
    font-size: 1.2rem;
  }
  
  .photo-description {
    font-size: 0.9rem;
  }
  
  .photo-swiper .swiper-button-next,
  .photo-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  
  .photo-swiper .swiper-button-next::after,
  .photo-swiper .swiper-button-prev::after {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .photo-swiper {
    height: 300px;
  }
  
  .photo-essay__item {
    height: 250px;
  }
  
  .photo-overlay {
    padding: 1rem;
  }
  
  .photo-title {
    font-size: 1rem;
  }
  
  .photo-description {
    font-size: 0.8rem;
  }
}

/* SECTION 6: CALL TO ACTION */
.cta {
  background: var(--nt); /* Navy Teal */
  padding: 15vh 0;
  text-align: center;
  position: relative;
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta__title {
  font-family: var(--font-human);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: normal;
  line-height: 1.2;
  color: var(--mg); /* Morning Glory */
  margin-bottom: 1.5rem;
}

.cta__subtitle {
  font-family: var(--font-whisper);
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--wb); /* Warm Beige */
  margin-bottom: 3rem;
}

.cta__button {
  font-family: var(--font-architect);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--fg); /* Forest Green */
  color: var(--mg); /* Morning Glory */
  border: none;
  padding: 1.5rem 3rem;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.cta__button:hover {
  background: var(--mg);
  color: var(--fg);
  transform: scale(1.02);
}

/* SECTION 7: FOOTER */
.footer {
  background: var(--ol); /* Olivetone */
  padding: 4rem 0;
}

.footer__nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.footer__link {
  font-family: var(--font-whisper);
  font-size: 1rem;
  font-weight: 500;
  color: var(--mg); /* Morning Glory */
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--wb);
}

/* ARCHITECTURAL ELEMENTS - YOUR SIGNATURE STYLE */
.rhythm-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--mg);
  transform-origin: left;
  animation: gentle-pulse 3s ease-in-out infinite;
  z-index: 10;
}

.architectural-lines::before,
.architectural-lines::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 1px;
  background: var(--mg);
  z-index: 5;
}

.architectural-lines::before {
  top: 20px;
  left: 20px;
  transform: rotate(45deg);
}

.architectural-lines::after {
  bottom: 20px;
  right: 20px;
  transform: rotate(45deg);
}

/* BREATHING ANIMATION - YOUR SIGNATURE */
@keyframes gentle-pulse {
  0%, 100% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* SUBTITLE GLOW ANIMATION */
@keyframes subtitle-glow {
  0%, 100% {
    text-shadow: 0 0 5px var(--fg), 0 0 10px var(--fg);
    opacity: 0.9;
  }
  50% {
    text-shadow: 0 0 10px var(--fg), 0 0 20px var(--fg), 0 0 30px var(--fg);
    opacity: 1;
  }
}

/* HERO TITLE ANIMATION */
.hero__title {
  animation: title-rise 1.5s ease-out;
}

@keyframes title-rise {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FLOATING ANIMATION FOR CARDS */
.story-card,
.voice-card {
  animation: gentle-float 6s ease-in-out infinite;
}

.story-card:nth-child(2) {
  animation-delay: -2s;
}

.story-card:nth-child(3) {
  animation-delay: -4s;
}

.voice-card:nth-child(2) {
  animation-delay: -1.5s;
}

.voice-card:nth-child(3) {
  animation-delay: -3s;
}

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* PHOTO ESSAY STAGGER ANIMATION */
.photo-essay__item {
  animation: photo-reveal 1s ease-out;
}

.photo-essay__item--top-left {
  animation-delay: 0.1s;
}

.photo-essay__item--top-center {
  animation-delay: 0.2s;
}

.photo-essay__item--top-right {
  animation-delay: 0.3s;
}

.photo-essay__item--bottom-right {
  animation-delay: 0.4s;
}

@keyframes photo-reveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* BUTTON PULSE ANIMATION */
.featured__cta,
.cta__button {
  animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 100, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 100, 0, 0);
  }
}

/* SECTION TITLES SLIDE IN */
.featured__title,
.voices__title,
.photo-essay__title,
.cta__title {
  animation: slide-in-left 1s ease-out;
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* META TAGS FADE IN */
.featured__meta,
.story-card__meta {
  animation: meta-fade 1.5s ease-out;
}

@keyframes meta-fade {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FADE IN ANIMATION - YOUR STYLE */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .featured__container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .featured__image {
    height: 400px;
  }
  
  .featured__content {
    height: auto;
    padding: 3rem 2rem;
  }
  
  .stories__container {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "large"
      "medium"
      "small";
  }
  
  .story-card--large,
  .story-card--medium,
  .story-card--small {
    height: 400px;
  }
  
  .voices__grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "large"
      "medium"
      "small";
  }
  
  .photo-essay__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "top-left top-center"
      "top-right bottom-right";
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px !important; /* Adjusted for mobile navigation - increased */
  }
  
  .hero__title {
    font-size: clamp(2rem, 10vw, 4rem);
  }
  
  .featured__content {
    padding: 2rem 1.5rem;
  }
  
  .featured__meta {
    position: static;
    margin-bottom: 1rem;
  }
  
  .stories,
  .voices,
  .photo-essay,
  .cta {
    padding: 8rem 0;
  }
  
  .photo-essay__grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "top-left"
      "top-center"
      "top-right"
      "bottom-right";
  }
  
  .footer__nav {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

/* Additional mobile responsive padding */
@media (max-width: 480px) {
  body {
    padding-top: 60px !important; /* Very small devices - increased */
  }
}

@media (max-width: 360px) {
  body {
    padding-top: 90px !important; /* Ultra small - stacked navigation - increased */
  }
}