/* =========================================
   AIDAN McMURRAY — PORTFOLIO
   Base: Mobile-first, GSAP animated
   ========================================= */

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

:root {
  --accent:       #D55018;
  --accent-dim:   rgba(213, 80, 24, 0.15);
  --bg-dark:      #0D0D0D;
  --bg-surface:   #1A1A1A;
  --bg-light:     #F7F6F3;
  --bg-card:      #111111;
  --text-light:   #EDEDED;
  --text-muted:   #888888;
  --text-dark:    #1C1C1C;
  --border-dark:  #2A2A2A;
  --border-light: #E5E4E0;

  --font-heading: 'Geist', sans-serif;
  --font-body:    'Geist', sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --transition: 0.25s ease;

  --max-w:  1200px;
  --pad-x:  clamp(1.25rem, 5vw, 3rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 1rem;
}

/* ---- FOCUS VISIBLE ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- TOUCH ACTION ---- */
a, button, [role="button"] {
  touch-action: manipulation;
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor, .cursor-follower { display: none !important; }
}

/* =========================================
   CUSTOM CURSOR (desktop only)
   ========================================= */
.cursor,
.cursor-follower {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
  display: none;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(208, 52, 21, 0.5);
  transform: translate(-50%, -50%);
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor,
  .cursor-follower {
    display: block;
  }
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section--dark {
  background: var(--bg-dark);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title--light {
  color: var(--text-light);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #a34011;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn--icon {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem;
  font-size: 1rem;
  justify-content: center;
}

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

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn--full {
  width: 100%;
  justify-content: center;
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem var(--pad-x);
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 24px rgba(0, 0, 0, 0.4);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  padding: 0.75rem var(--pad-x);
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 6px 32px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 1;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}

.nav__logo:hover img {
  opacity: 1;
  outline: 1px solid var(--accent);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.nav__links {
  display: none;
  gap: 2rem;
  margin-left: auto;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light);
  transition: color var(--transition);
}

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

.nav__cta {
  display: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.nav__hamburger {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta   { display: inline-flex; }
  .nav__hamburger { display: none; }
}

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: var(--pad-x);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  transition: color var(--transition);
}

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

/* =========================================
   HERO
   ========================================= */

/* Scroll wrapper — gives the sticky hero room to animate on desktop */
/* =========================================
   HERO
   ========================================= */
.hero-scroll-wrapper {
  position: relative;
  height: 250vh;
}

@media (min-width: 768px) {
  .hero-scroll-wrapper { height: 300vh; }
}

@media (min-width: 1024px) {
  .hero-scroll-wrapper { height: 350vh; }
}

.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

/* Hero inner — left-aligned, title top / links bottom */
.hero__inner {
  position: relative;
  height: 100%;
  max-width: calc(var(--max-w) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 8rem var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__top {
  text-align: left;
  mix-blend-mode: exclusion;
  padding-top: 4rem;
}

.hero__bottom {
  width: fit-content;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  mix-blend-mode: exclusion;
}

/* Canvas — sits between title and links */
.hero__visual {
  display: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

@keyframes hero-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__canvas { animation: none; }
}

.hero__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-bottom: 1.25rem;
}

/* All hero reveal-up elements visible at first paint — GSAP is deferred so LCP must not depend on it */
.hero .reveal-up {
  opacity: 1;
}

h1.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
}

.hero__title--accent {
  color: var(--accent);
}

.hero__sub {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.hero__actions .btn--icon {
  flex: 1;
}

.hero__socials {
  display: flex;
  justify-content: flex-start;
  gap: 0.875rem;
}

.hero__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.hero__socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
  .hero__inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero__top {
    padding-top: 1.5rem;
  }

  .hero__bottom {
    gap: 1rem;
  }

  .hero__bottom .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
  }

  .hero__actions .btn--icon {
    flex: 0;
    padding: 0.5rem 0.75rem;
  }
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  background: var(--bg-light);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about__text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

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

.about__text strong {
  color: var(--accent);
  font-weight: 600;
}

.about__skills-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.skill-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  transition: all var(--transition);
  cursor: default;
}

.skill-tag svg {
  width: 1.375rem;
  height: 1.375rem;
  display: block;
}

.skill-tag::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: none;
  border: 1px solid var(--border-dark);
  z-index: 10;
}

.skill-tag:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  z-index: 20;
}

.skill-tag:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
  }
}

/* =========================================
   PROJECTS
   ========================================= */
.projects__list {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7rem);
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.project-card__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  aspect-ratio: 16/10;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background var(--transition);
  z-index: 1;
}

.project-card__img-wrap:hover .project-card__overlay {
  background: rgba(0, 0, 0, 0.35);
}

.project-card__overlay-arrow {
  display: block;
  color: #ffffff;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card__img-wrap:hover .project-card__overlay-arrow {
  opacity: 1;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card__img-wrap:hover .project-card__img {
  transform: scale(1.03);
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-card__number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.project-card__category {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1rem;
}


.project-card__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #AAAAAA;
  margin-bottom: 1.5rem;
}

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.project-card__stack li {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.project-card__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.project-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--transition), color var(--transition);
}

.project-link:hover {
  gap: 0.625rem;
}

.project-link--ghost {
  color: var(--text-muted);
}

.project-link--ghost:hover {
  color: var(--text-light);
}

@media (max-width: 599px) {
  .projects__list {
    gap: 3rem;
  }

  .project-card {
    gap: 1.25rem;
  }

  .project-card__img-wrap {
    aspect-ratio: 16/9;
    border-radius: var(--radius);
  }

  .project-card__title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
  }

  .project-card__desc {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .project-card__stack {
    margin-bottom: 1.25rem;
  }

  .project-card__links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .project-card {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .project-card--reverse .project-card__img-wrap {
    order: 2;
  }

  .project-card--reverse .project-card__content {
    order: 1;
  }
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  background: var(--bg-light);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.testimonial-card {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(200, 80, 24, 0.35);
  border-radius: 0;
  padding: 0.25rem 0 0.25rem 1.75rem;
  position: relative;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent);
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(200,80,24,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  font-style: normal;
}

.testimonial-card__role {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

@media (min-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================
   CONTACT
   ========================================= */
.contact__sub {
  font-size: 1.0625rem;
  color: #AAAAAA;
  margin-top: -2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.65;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-required-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.form-required {
  color: var(--accent);
  margin-left: 0.125rem;
}

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

.form-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.875rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  resize: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-input::placeholder {
  color: #555;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  font-size: 0.875rem;
  min-height: 1.25rem;
  text-align: center;
  transition: color var(--transition);
}

.form-status.success { color: #4ade80; }
.form-status.error   { color: #f87171; }

.contact__info {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: all var(--transition);
}

.contact__link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(213, 80, 24, 0.5);
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(213, 80, 24, 0.15);
}

.contact__link svg:first-child {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact__link span {
  flex: 1;
}

.contact__link-arrow {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
  }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  position: relative;
  border-top: 1px solid var(--border-dark);
  padding: 2rem 0;
  overflow: hidden;
}

.footer__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.7;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}

.footer__logo:hover img {
  opacity: 1;
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text-light);
}

/* =========================================
   SCROLL REVEAL (initial state — JS animates in)
   ========================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
