:root {
    /* Brand Colours */
    --primary: #E5989B;      /* main accent (buttons, links, underline) */
    --secondary: #FFFFFF;    /* highlight / hover / emphasis */
    --accent: #E5989B;

    /* Text */
    --text-main: #FFFFFF;    /* readable on dark */
    --text-muted: #F4F4F4;   /* paragraph / secondary text */
    --text-inverse: #111111; /* text on light elements */

    /* Backgrounds */
    --bg-main: #0e0f11;      /* page background */
    --bg-soft: #17191c;      /* navbar / cards */
    --border: #2c3136;

    /* Effects */
    --shadow-soft: 0 12px 35px rgba(0,0,0,0.55);

    /* Buttons */
    --btn-bg: var(--primary);
    --btn-text: #ffffff;
    --btn-hover: var(--secondary);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    background: var(--bg-main);
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  transition:
    background-color 0.8s ease,
    color 0.8s ease;
}

/* anything using primary should also animate */
a, button, .highlight {
  transition: color 0.6s ease, background-color 0.6s ease;
}

/* ================= NAVBAR ================= */
.navbar {
    width: 100%;

    /* visual */
    background: rgba(23, 25, 28, 0.85); /* translucent bg-soft */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #2c3136;

    /* layout */
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;

    /* animation performance (prevents white flash) */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;

    /* smoother motion */
    transition: transform 0.38s cubic-bezier(.22,.61,.36,1),
                box-shadow 0.25s ease,
                background-color 0.25s ease;
}

/* Navbar hide on scroll (slide up) */
.navbar {
    transition: transform 0.35s ease, box-shadow 0.25s ease;
}

.navbar.hide {
    transform: translateY(calc(-100% + 1px));
}

/* Inner container */
.nav-inner {
    max-width: 1200px;
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | links | desktop contact */
    align-items: center;
    padding: 0 20px;
}

/* ================= LOGO ================= */
.logo {
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}
.navbar.loaded .logo {
    opacity: 1;
    transform: translateX(0);
}
.logo a {
    font-weight: bold;
    font-size: 22px;
    color: #FFFFFF;
    text-decoration: none;
}

.logo img {
    height: 80px;   /* adjust as needed */
    width: auto;
    display: block;
}

.logo-link {
    position: relative;
    display: inline-block;
}

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

/* STACK THE IMAGES */
.logo-default {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* HOVER SWITCH */
.logo-link:hover .logo-default {
    opacity: 0;
}

.logo-link:hover .logo-hover {
    opacity: 1;
}

/* ================= NAV LINKS ================= */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    transition: color 0.25s ease, transform 0.5s ease, opacity 0.5s ease;
}

/* cascade animation for desktop */
.navbar.loaded .nav-links a:nth-child(1) { transition-delay: 0.1s; opacity:1; transform:translateY(0);}
.navbar.loaded .nav-links a:nth-child(2) { transition-delay: 0.2s; opacity:1; transform:translateY(0);}
.navbar.loaded .nav-links a:nth-child(3) { transition-delay: 0.3s; opacity:1; transform:translateY(0);}
.navbar.loaded .nav-links a:nth-child(4) { transition-delay: 0.4s; opacity:1; transform:translateY(0);}
.navbar.loaded .nav-links a:nth-child(5) { transition-delay: 0.4s; opacity:1; transform:translateY(0);}

/* underline hover */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #E5989B;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ================= ACTIVE LINK ================= */
.nav-links a.active {
    color: #E5989B; /* text always primary */
}

.nav-links a.active::after {
    width: 100%; /* underline always visible */
}

/* Desktop contact */
.contact.contact-desktop {
    display: flex;
    justify-content: flex-end;
}

.contact.contact-desktop .contact-btn {
      display: inline-block;
    padding: 14px 28px;
    background-color: #E5989B;
    color:#ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;

    /* start offscreen right */
    opacity: 0;
    transform: translateX(100px);

    /* slide-in transition only */
    transition: transform 0.6s ease 0s, opacity 0.6s ease 0s, background 0.2s ease 0s;
}

/* slide-in when navbar loads */
.navbar.loaded .contact.contact-desktop .contact-btn {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.6s ease 0.4s, opacity 0.6s ease 0.4s, background 0.2s ease 0s;
}

/* hover background change with short delay */
.contact.contact-desktop .contact-btn:hover {
    background: var(--btn-hover);
    transition: background 0.2s ease 0.1s; /* 0.1s hover delay */
    color: var(--text-inverse);
}

/* Mobile contact (inside nav-links) */
.contact.contact-mobile {
    display: none; /* hidden on desktop */
}

.contact-btn:hover,
.hero-btn:hover {
    color: var(--text-inverse);
}


/* ================= BURGER ================= */
.burger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;

    /* start off-screen right */
    position: absolute;       /* absolute relative to nav-inner */
    right: -60px;             /* offscreen */
    top: 50%;                 /* vertically centered in navbar */
    transform: translateY(-50%); /* true vertical centering */
    opacity: 0;

    transition: transform 0.6s cubic-bezier(.22,.61,.36,1),
                right 0.6s cubic-bezier(.22,.61,.36,1),
                opacity 0.6s ease;

    z-index: 1001;
}

/* slide into place when navbar loaded */
.navbar.loaded .burger {
    right: 20px;   /* proper padding from right */
    opacity: 1;
}

/* burger bars */
.burger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(0, 11px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(0, -11px); }

/* ================= MOBILE ================= */
@media (max-width: 900px) {

    .nav-inner {
        grid-template-columns: auto auto; /* logo + burger */
    }

    /* Dropdown nav */
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 25px 0;
        background: #0e0f11;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        font-weight: bold;
    }
    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* cascade animation for links */
    .nav-links a {
        opacity: 0;
        transform: translateY(-20px);
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; opacity:1; transform:translateY(0);}
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; opacity:1; transform:translateY(0);}
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; opacity:1; transform:translateY(0);}

    /* mobile contact button at bottom of dropdown */
    .contact.contact-desktop { display: none; } /* hide desktop contact */
    .contact.contact-mobile {
        display: flex;
        order: 999; /* bottom */
        width: 100%;
        justify-content: center;
    }
    .contact.contact-mobile .contact-btn {
        opacity: 0;
        transform: translateX(50px);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }
    .nav-links.active .contact.contact-mobile .contact-btn {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.4s;
    }

    /* burger menu */
    .burger {
        display: flex; /* only visible on mobile */
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    height: calc(100svh - 80px);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-inverse);
    background: center/cover no-repeat;
}

/* Default index page hero background */
.page-index .hero {
    background-image: url("/images/homebg.jpeg");
}

/* Work page hero background */
.page-work .hero {
    background-image: url("/images/workbg.jpeg");
}

/* Work page hero background */
.page-freelance .hero {
    background-image: url("/images/freelancebg.jpeg");
}

.page-illustrations .hero {
    background-image: url("/images/ab.jpeg");
}


.page-about .hero {
    background-image: url("/images/me2.jpeg");
}

/* overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* ensures full viewport width */
    height: 100%; /* exactly match .hero height */
    background: rgba(0,0,0,0.65);
}

/* content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-main);
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--text-main);
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;

    transition: background-color 0.35s ease, transform 0.25s ease;
}

.hero-btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        transform 0.7s cubic-bezier(.22,.61,.36,1),
        opacity 0.7s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= FOOTER ================= */
.footer {
    padding-top: 60px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}

/* top section */
.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo img {
    height: 80px;   /* adjust to fit your footer */
    width: auto;
    display: block;
}

.footer-name {
    font-size: 14px;
    color: #ffffff;
}

/* links */
.footer-contact {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease;
}

/* animated underline */
.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #E5989B;
    transition: width 0.25s ease;
}

.footer-link:hover {
    color: #E5989B;
}
.footer-link:hover::after {
    width: 100%;
}

/* bottom copyright */
.footer-bottom {
    text-align: center;
    padding: 18px 10px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: #ffffff;
}

/* icon link */
.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-icon img {
    width: 20px;
    height: 20px;

    /* keep icon white always */
    filter: brightness(0) invert(1);

    /* GPU friendly animation */
    transition: transform 0.25s ease, opacity 0.25s ease;
    will-change: transform;
}

/* subtle interaction instead of recolour */
.footer-icon:hover img {
    transform: scale(1.15);
    opacity: 0.85;
}

/* ===== FOOTER REVEAL FIXED (NO JUMP) ===== */

/* clipping parent prevents layout shift */
.footer-brand,
.footer-contact,
.footer-bottom {
    overflow: hidden;
}

/* animated element */
.footer-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        transform 0.7s cubic-bezier(.22,.61,.36,1),
        opacity 0.7s ease;
}

/* visible */
.footer.visible .footer-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* cascade timing */
.footer.visible .footer-brand .footer-reveal { transition-delay: 0.05s; }
.footer.visible .footer-contact .footer-reveal { transition-delay: 0.18s; }
.footer.visible .footer-bottom .footer-reveal { transition-delay: 0.32s; }

/* ================= SERVICES ================= */
.services {
    padding: 50px 20px;
}

.services-inner {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

/* tablet */
@media (max-width: 1000px) {
    .services-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* mobile */
@media (max-width: 600px) {
    .services-inner {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    height: 260px;

    /* background + text system */
    --card-bg: #f5f5f5;
    --card-title: #111;
    --card-text: #555;

    background: var(--card-bg);

    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* CASCADE + ANIMATION HIDDEN STATE */
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: 
        transform 0.7s cubic-bezier(.22,.61,.36,1),
        opacity 0.7s ease,
        box-shadow 0.35s ease;
}

.service-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Dark card */
.card-pure {
    --card-bg: #383838;
    --card-title: #ffffff;
    --card-text: #d6d6d6;
}

/* Grey */
.card-lariat {
    --card-bg: #A42325;
    --card-title: #ffffff;
    --card-text: #d6d6d6;
}

/* Light warm */
.card-york {
    --card-bg: #339AEE;
    --card-title: #ffffff;
    --card-text: #cfcfcf;
}

/* Mint */
.card-chimp {
    --card-bg: #ffffff;
    --card-title: #000000;
    --card-text: #1d1d1d;
}

/* Sand */
.card-raven {
    --card-bg: #ffffff;
    --card-title: #000000;
    --card-text: #1d1d1d;
}

/* Violet */
.card-coddfrey {
    --card-bg: #ffffff;
    --card-title: #000000;
    --card-text: #1d1d1d;
}

/* Sky */
.card-ljf {
    --card-bg: #A3E7B6;
    --card-title: #000000;
    --card-text: #1d1d1d;
}

/* Pink */
.card-sploinky {
    --card-bg: #ffffff;
    --card-title: #000000;
    --card-text: #1d1d1d;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* text content */
.service-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    transition: transform 0.45s cubic-bezier(.22,.61,.36,1),
                opacity 0.45s ease;
}

.service-logo {
    font-size: 26px;
    margin-bottom: 12px;
}

.service-card h3 {
    margin-bottom: 8px;
     color: var(--card-title);
     transition: color .35s ease;
}

.service-card p {
    font-size: 14px;
    color: var(--card-text);
    transition: color .35s ease;
}

/* IMAGE REVEAL */
.service-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: translateY(100%);
    transition: transform 0.55s cubic-bezier(.22,.61,.36,1);
}

/* hover animation */
.service-card:hover .service-image img {
    transform: translateY(0);
}

/* fade text when image shows */
.service-card:hover .service-content {
    transform: translateY(-20px);
    opacity: 0;
}

.service-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .35s ease, opacity .35s ease;
}

/* subtle hover polish */
.service-card:hover .service-logo img {
    transform: scale(1.08);
}

/* make the card link fill the entire card */
.service-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* above image/content hover layers */
    text-indent: -9999px; /* hide text if any */
}

/* keep hover effects working on the card itself */
.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.service-card .service-image img {
    transform: translateY(100%);
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: translateY(0);
}

.services-header-wrapper {
    text-align: center; /* center the inline-block header */
}

.services-header {
    display: inline-block; /* shrink to text width */
    font-size: 3rem;
    margin-bottom: 100px;
    color: var(--text-main);
    line-height: 1.2;
    position: relative;
}

.services-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;   /* spacing below text */
    width: 100%;     /* match text width */
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* initial hidden state */
.services-header-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* visible state */
.services-header-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* INFO SECTION BASE */
.info-section {
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,56,56,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.info-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.info-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(60px);
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-block.reverse {
  flex-direction: row-reverse;
}

/* IMAGE STYLING */
.info-image {
  flex: 1;
  perspective: 1000px;
}

.info-image img {
  width: 100%;
  border-radius: 24px;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.info-image video {
  width: 100%;
  max-height: 600px;
  border-radius: 24px;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.info-image img:hover,
.info-image video:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}

/* TEXT STYLING */
.info-text {
  flex: 1;
  position: relative;
}

.info-text h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--text-main);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.info-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.info-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 500px;
}

/* ANIMATED STATE */
.info-block.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.info-block .info-image,
.info-block .info-text {
  opacity: 0;
  transform: translateY(40px);
}

.info-block.visible .info-image {
  animation: slideIn 1s ease forwards;
}

.info-block.visible .info-text {
  animation: fadeUp 1s ease forwards 0.4s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .info-block,
  .info-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .info-text h2 {
    font-size: 2rem;
  }

  .info-text p {
    margin: 0 auto;
    font-size: 1.05rem;
  }

  .info-image img,
  .info-image video {
    transform: none;
  }

    .info-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ================= PORTFOLIO GALLERY ================= */

.portfolio-gallery {
    padding: 120px 6vw;
    background: var(--bg-main);
    color: var(--text-main);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.gallery-header p {
    color: var(--text-muted);
    font-size: 16px;
}

/* GRID LAYOUT */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

/* ITEMS */

.gallery-item {
    grid-column: span 4;
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    background: #000;
}

/* VARIATIONS FOR INTEREST */

.gallery-item.wide {
    grid-column: span 8;
}

.gallery-item.tall {
    grid-row: span 2;
}

/* IMAGES */

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

/* HOVER EFFECT */

.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

/* SUBTLE OVERLAY GLOW */

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6));
    opacity: 0;
    transition: opacity 0.4s ease;

    pointer-events: none; /* ← THIS FIXES IT */
}

.gallery-item:hover::after {
    opacity: 1;
}

/* MOBILE */

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item,
    .gallery-item.wide {
        grid-column: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
}

/* ================= GALLERY REVEAL ANIMATION ================= */

.gallery-item {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: all 0.8s cubic-bezier(.2,.65,.3,1);
    will-change: transform, opacity;
}

/* Visible state */
.gallery-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Optional slight hover lift */
.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
}

.gallery-item a img {
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* ================= ABOUT BIO SECTION ================= */

.about-bio {
    padding: 140px 6vw;
    background: var(--bg-main);
    position: relative;
}

.about-bio-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Eyebrow label */

.about-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Title */

.about-bio h2 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.2;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Text styling */

.about-text p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 26px;
}

/* Highlight block */

.about-highlight {
    margin-top: 40px;
    padding: 24px 28px;
    background: #000000;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    font-weight: 500;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ================= FADE UP ANIMATION ================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(.2,.65,.3,1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .about-bio {
        padding: 100px 7vw;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-highlight {
        padding: 20px;
    }
}

/* ================= LARIAT CTA ================= */

.lariat-cta {
    text-align: center;
    margin-top: 80px;
}

/* Button style */
.lariat-btn {
    display: inline-block;
    padding: 16px 34px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: var(--bg-main);
    background: var(--primary);

    border-radius: 999px;
    text-decoration: none;

    transition: all 0.35s ease;
}

/* Hover effect */
.lariat-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #000;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .lariat-cta {
        margin-top: 60px;
    }

    .lariat-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}