/* ============================================
   TONYE GEORGE — POET & CULTURAL ARCHITECT
   Custom CSS — Mobile-First / Responsive
   Design System from Stitch + EFFECTS-LIBRARY
   ============================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Colors */
  --color-primary: #800020;
  --color-primary-light: #a0324d;
  --color-primary-dark: #5c0017;
  --color-accent: #D4AF37;
  --color-accent-muted: #C5A059;
  --color-bg-light: #F9F8F6;
  --color-bg-dark: #1A0F0F;
  --color-bg-card: #f5f0eb;
  --color-text: #1A0F0F;
  --color-text-muted: #6b5e5e;
  --color-text-light: #F9F8F6;
  --color-border: rgba(26, 15, 15, 0.1);

  /* Typography */
  --font-display: 'Manrope', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-signature: 'Great Vibes', cursive;

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

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.3s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-display);
  color: var(--color-text);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Smooth scroll with Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}


/* ---- Accessibility ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

.drop-cap::first-letter {
  float: left;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.7;
  padding-top: 0.6rem;
  padding-right: 0.8rem;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-weight: 700;
}


/* ---- Section Base ---- */
.section {
  position: relative;
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-3xl) var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-3xl) var(--space-3xl);
  }
}


/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: color var(--transition-base), transform var(--transition-base);
  z-index: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Primary Button */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-light);
  border: 1px solid var(--color-primary);
}

.btn--primary::before {
  background: var(--color-primary-dark);
}

.btn--primary:hover {
  color: var(--color-text-light);
}

/* Outline Button */
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline::before {
  background: var(--color-primary);
}

.btn--outline:hover {
  color: var(--color-text-light);
}

/* Small Button (Gallery cards) */
.btn--small {
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
}

.btn--small::before {
  background: var(--color-accent-muted);
}

.btn--small:hover {
  color: var(--color-bg-dark);
}


/* ============================================
   SECTION: HOME / HERO
   ============================================ */
.section--hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
}

.hero__container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .hero__container {
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  .hero__container {
    max-width: 700px;
  }
}

/* Topbar */
.hero__topbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--space-xs);
}

.hero__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Profile Card */
.hero__profile-card {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(128, 0, 32, 0.15);
}

.hero__profile-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero__profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 768px) {
  .hero__profile-card {
    max-width: 380px;
  }
}

/* Hero Heading (above profile card) */
.hero__heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

/* Slogan (below profile card) */
.hero__slogan {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.7;
  max-width: 380px;
}

/* Hero Content */
.hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* Stats */
.hero__stats {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-sm) 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero__stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.hero__email {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
  .hero__email {
    width: 100%;
    text-align: center;
    order: 1;
  }
  .hero__ctas .btn:first-child {
    order: 0;
  }
  .hero__ctas .btn:last-child {
    order: 2;
  }
}


/* ---- Featured In / Marquee (Effect 13) ---- */
.featured-in {
  width: 100%;
  text-align: center;
}

.featured-in__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xl);
  animation: marquee 25s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Featured Icons — Grayscale + Float */
.featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--transition-base), opacity var(--transition-base);
}

.featured-icon:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .featured-icon img {
    width: 80px;
    height: 80px;
  }
}

/* Float Animation for icons */
.float-icon {
  animation: floatIcon 3s ease-in-out infinite;
}

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


/* ============================================
   LINE SEPARATOR (Effect 24)
   ============================================ */
.line-separator {
  width: 100%;
  height: 1px;
  background: var(--color-text);
  opacity: 0.1;
  margin: 0 auto;
}


/* ============================================
   SECTION: ABOUT THE POET
   ============================================ */
.section--about {
  background: var(--color-bg-light);
}

.about__container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Header */
.about__header {
  text-align: center;
}

.about__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text);
}

/* About Card */
.about__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(128, 0, 32, 0.12);
}

.about__card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

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

.about__card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(26, 15, 15, 0.85));
}

.about__card-label h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* Name */
.about__name {
  text-align: center;
}

.about__name-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--color-text);
}

/* Quote */
.about__quote {
  padding: var(--space-md) 0;
}

.about__blockquote {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
}

/* Details */
.about__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.about__detail {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.about__detail-label {
  font-weight: 600;
  color: var(--color-text);
}

/* Signature */
.about__signature {
  text-align: right;
  padding-top: var(--space-sm);
}

.about__sign-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.about__sign-name {
  font-family: var(--font-signature);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--color-primary);
}

/* CTA */
.about__cta {
  text-align: center;
  padding-top: var(--space-sm);
}


/* ============================================
   SECTION: IMMERSIVE GALLERY
   ============================================ */
.section--gallery {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.gallery__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Header */
.gallery__header {
  text-align: center;
}

.gallery__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.gallery__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text-light);
}

.gallery__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-style: italic;
  color: rgba(249, 248, 246, 0.6);
  margin-top: var(--space-xs);
}

/* Gallery Grid */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1200px) {
  .gallery__grid {
    gap: var(--space-xl);
  }
}

/* Gallery Card */
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.gallery-card__link {
  display: block;
}

.gallery-card__img-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.gallery-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

/* Card 4 image title overlay */
.gallery-card__image-title {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--color-text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

/* Hover Overlay */
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(26, 15, 15, 0.85);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 3;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-card__img-wrapper img {
  transform: scale(1.08);
  filter: brightness(0.5);
}

.gallery-card:hover .gallery-card__image-title {
  opacity: 0;
}

.gallery-card__excerpt {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-style: italic;
  line-height: 1.7;
  color: rgba(249, 248, 246, 0.9);
  text-align: center;
  white-space: normal;
}

/* Card Info */
.gallery-card__info {
  padding: var(--space-md);
}

.gallery-card__mention {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 1.4;
}

.gallery-card__date {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(249, 248, 246, 0.5);
  margin-top: 0.3rem;
}


/* ============================================
   SECTION: POEM PAGE
   ============================================ */
.section--poem {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  min-height: 100dvh;
  padding: var(--space-lg) var(--space-md);
}

.poem__container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* -- Poem Navigation Bar -- */
.poem__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poem__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(249, 248, 246, 0.6);
  transition: color var(--transition-fast);
}

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

.poem__back svg {
  transition: transform var(--transition-fast);
}

.poem__back:hover svg {
  transform: translateX(-4px);
}

.poem__site-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.poem__site-name:hover {
  color: var(--color-accent);
}

/* -- Poem Header -- */
.poem__header {
  text-align: center;
  padding: var(--space-md) 0;
}

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

.poem__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.2;
}

.poem__author {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(249, 248, 246, 0.5);
  margin-top: var(--space-sm);
  font-style: italic;
}

/* -- Poem Body -- */
.poem__body {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(249, 248, 246, 0.85);
}

.poem__body p {
  margin-bottom: var(--space-md);
}

.poem__body p:last-child {
  margin-bottom: 0;
}

/* -- Poem CTA (Bottom Button) -- */
.poem__cta {
  text-align: center;
  padding: var(--space-md) 0;
}

/* -- Responsive Adjustments for Poem Page -- */
@media (min-width: 1024px) {
  .poem__container {
    max-width: 800px;
  }
}

/* -- Floating WhatsApp Icon (Poem Pages) -- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(128, 0, 32, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  z-index: 100;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--color-primary-dark);
  box-shadow: 0 6px 28px rgba(128, 0, 32, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-xl) var(--space-md);
}

.footer__container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.footer__content {
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.footer__role {
  font-size: 0.8rem;
  color: rgba(249, 248, 246, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__email {
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.footer__email:hover {
  color: var(--color-accent-muted);
}

/* Footer CTA */
.footer__cta-wrapper {
  text-align: center;
  padding: var(--space-lg) 0;
}

.footer__copy {
  font-size: 0.7rem;
  color: rgba(249, 248, 246, 0.3);
  padding-top: var(--space-md);
}


/* ============================================
   GRAIN OVERLAY (Effect 22)
   ============================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}


/* ============================================
   CURSOR FOLLOWER (Effect 18)
   ============================================ */
.cursor-follower {
  position: fixed;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              background 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              top 0.3s var(--ease-out),
              left 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  opacity: 0;
}

.cursor-follower.is-visible {
  opacity: 1;
}

.cursor-follower.is-active {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Gallery section cursor color */
.section--gallery .cursor-follower.is-active,
.gallery-card:hover ~ .cursor-follower.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}

/* Hide cursor on touch devices */
@media (pointer: coarse) {
  .cursor-follower {
    display: none !important;
  }
}


/* ============================================
   IMAGE ZOOM (Effect 10)
   ============================================ */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform var(--transition-slow);
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* Disable hover effects on touch */
@media (pointer: coarse) {
  .img-zoom:hover img {
    transform: none;
  }
  .gallery-card:hover {
    transform: none;
  }
  .gallery-card:hover .gallery-card__img-wrapper img {
    transform: none;
    filter: none;
  }
  /* Show overlay on touch via active state */
  .gallery-card:active .gallery-card__overlay {
    opacity: 1;
  }
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 7rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --space-2xl: 8rem;
    --space-3xl: 10rem;
  }

  .section--hero {
    padding-top: var(--space-lg);
  }

  .about__container {
    max-width: 800px;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
    margin: 0 auto;
  }
}


/* ============================================
   GALLERY CARDS — MOBILE TOUCH SUPPORT
   ============================================ */
@media (pointer: coarse) {
  .gallery-card__overlay {
    position: relative;
    opacity: 1;
    background: rgba(26, 15, 15, 0.95);
    padding: var(--space-md);
  }

  .gallery-card__image-title {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: var(--space-sm) var(--space-md);
    text-shadow: none;
    color: var(--color-text-light);
  }
}
