/* ============================================================
   DESIGN SYSTEM — Retro-Brutalist Portfolio
   ============================================================ */

:root {
  /* Colors */
  --cream: #F5F1E1;
  --cream-dark: #E8E0C8;
  --charcoal: #1A1A1A;
  --terracotta: #B0544B;
  --terracotta-dark: #8C3F38;
  --terracotta-light: #C97A73;
  --warm-white: #FDFBF5;
  --muted: #6B6459;

  /* Typography */
  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --gap: 2rem;
  --section-pad: 8rem 2rem;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section label pill */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
  border-radius: 50px;
  padding: 0.4rem 1.4rem;
  margin-bottom: 2rem;
}

.section-label.light {
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.4);
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(245, 241, 225, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  transition: background var(--duration) var(--ease);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--charcoal);
}

.logo span {
  color: var(--terracotta);
}

/* Hamburger */
.menu-toggle {
  width: 36px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1100;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  transform-origin: center;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}

.nav-overlay.open {
  transform: translateX(0);
}

.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li {
  overflow: hidden;
}

.nav-links a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--cream);
  letter-spacing: 3px;
  transition: color 0.3s, transform 0.3s var(--ease);
  padding: 0.2rem 0;
}

.nav-links a:hover {
  color: var(--terracotta-light);
  transform: translateX(12px);
}

.nav-socials {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.nav-socials a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-socials a:hover {
  color: var(--cream);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

/* Subtle halftone-dot background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
  font-size: clamp(3rem, 9vw, 7rem);
  opacity: 0;
  transform: translateY(60px);
  animation: heroReveal 0.8s var(--ease) forwards;
}

.hero-title .line-1 {
  animation-delay: 0.1s;
}

.hero-title .line-2 {
  animation-delay: 0.25s;
}

.hero-title .accent {
  color: var(--terracotta);
  -webkit-text-stroke: 0;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video reel button */
.hero-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--charcoal);
  padding: 0.9rem 2.2rem 0.9rem 1.4rem;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-video-btn:hover {
  background: var(--terracotta);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(176, 84, 75, 0.35);
}

.hero-video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-video-btn:hover .hero-video-icon {
  background: rgba(255, 255, 255, 0.25);
}

.hero-video-text {
  padding-right: 0.3rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
  transition: color 0.3s;
}

.scroll-indicator:hover {
  color: var(--terracotta);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Torn edge */
.hero-torn-edge {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--warm-white);
  clip-path: polygon(0% 40%, 3% 55%, 6% 35%, 9% 60%, 12% 30%, 16% 50%, 19% 25%,
      22% 55%, 26% 35%, 29% 60%, 33% 25%, 36% 50%, 40% 30%,
      43% 55%, 47% 20%, 50% 50%, 53% 35%, 57% 55%, 60% 25%,
      63% 50%, 67% 30%, 70% 60%, 73% 20%, 77% 50%, 80% 35%,
      83% 55%, 87% 25%, 90% 50%, 93% 30%, 96% 55%, 100% 35%,
      100% 100%, 0% 100%);
  z-index: 3;
}


/* ============================================================
   ABOUT
   ============================================================ */

.about {
  position: relative;
  background: var(--warm-white);
  padding: var(--section-pad);
  text-align: center;
}

.about-heading {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--charcoal);
}

.about-heading em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 600;
}

.about-text {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.9;
}

.about-torn-edge {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--cream);
  clip-path: polygon(0% 50%, 4% 30%, 8% 55%, 12% 25%, 16% 60%, 20% 35%, 24% 50%,
      28% 20%, 32% 55%, 36% 35%, 40% 60%, 44% 25%, 48% 50%,
      52% 30%, 56% 55%, 60% 20%, 64% 50%, 68% 35%, 72% 55%,
      76% 25%, 80% 60%, 84% 30%, 88% 50%, 92% 20%, 96% 55%, 100% 40%,
      100% 100%, 0% 100%);
  z-index: 3;
}


/* ============================================================
   SERVICES
   ============================================================ */

.services {
  position: relative;
  background: var(--cream);
  padding: var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}

.service-card {
  position: relative;
  background: var(--warm-white);
  border: 2px solid rgba(26, 26, 26, 0.06);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
}

.service-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--terracotta);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-icon {
  color: var(--terracotta);
  opacity: 0.6;
}

.services-torn-edge {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 55px;
  background: var(--warm-white);
  clip-path: polygon(0% 45%, 5% 60%, 10% 30%, 15% 55%, 20% 25%, 25% 50%, 30% 40%,
      35% 65%, 40% 20%, 45% 55%, 50% 35%, 55% 60%, 60% 25%,
      65% 50%, 70% 30%, 75% 60%, 80% 20%, 85% 50%, 90% 40%,
      95% 55%, 100% 30%,
      100% 100%, 0% 100%);
  z-index: 3;
}


/* ============================================================
   WORK / PORTFOLIO
   ============================================================ */

.work {
  position: relative;
  background: var(--warm-white);
  padding: var(--section-pad);
}

.work-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  border: 2px solid var(--charcoal);
  border-radius: 50px;
  color: var(--charcoal);
  background: transparent;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.filter-btn.active {
  background: var(--charcoal);
  color: var(--cream);
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.1);
}

.project-card.hidden {
  display: none;
}

.project-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-image img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-view {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: var(--cream);
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 2px solid var(--cream);
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
}

.project-view:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.project-info {
  padding: 1.4rem 1.6rem 1.6rem;
}

.project-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  margin-top: 0.4rem;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.project-desc strong {
  color: var(--terracotta);
  font-weight: 700;
}

/* Video card */
.video-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.35);
  transition: background 0.4s var(--ease);
}

.project-card:hover .video-play-overlay {
  background: rgba(26, 26, 26, 0.5);
}

.video-play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--terracotta);
  border-radius: 50%;
  color: var(--cream);
  box-shadow: 0 6px 24px rgba(176, 84, 75, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.video-play-circle svg {
  margin-left: 3px;
}

.project-card:hover .video-play-circle {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(176, 84, 75, 0.55);
}

.work-torn-edge {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 55px;
  background: var(--charcoal);
  clip-path: polygon(0% 50%, 3% 35%, 7% 55%, 11% 20%, 15% 50%, 19% 30%, 23% 60%,
      27% 25%, 31% 55%, 35% 35%, 39% 60%, 43% 20%, 47% 50%,
      51% 30%, 55% 60%, 59% 25%, 63% 55%, 67% 35%, 71% 55%,
      75% 20%, 79% 50%, 83% 30%, 87% 60%, 91% 25%, 95% 50%, 100% 40%,
      100% 100%, 0% 100%);
  z-index: 3;
}


/* ============================================================
   THREADS & CONTENT
   ============================================================ */

.threads {
  position: relative;
  background: var(--charcoal);
  padding: var(--section-pad);
  color: var(--cream);
}

.threads .section-label {
  color: var(--terracotta-light);
  border-color: rgba(201, 122, 115, 0.4);
}

.threads-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  color: var(--cream);
}

.thread-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.thread-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cream);
  text-decoration: none;
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.thread-strip:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.thread-strip:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 2rem;
}

.thread-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.thread-body {
  flex: 1;
  min-width: 0;
}

.thread-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
  color: var(--cream);
}

.thread-preview {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(253, 251, 245, 0.5);
  font-style: italic;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-arrow {
  font-size: 1.4rem;
  color: var(--terracotta-light);
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.thread-strip:hover .thread-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.threads-torn-edge {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 55px;
  background: var(--cream);
  clip-path: polygon(0% 45%, 4% 60%, 8% 30%, 13% 55%, 17% 25%, 22% 50%, 26% 40%,
      30% 60%, 34% 20%, 39% 55%, 43% 35%, 48% 55%, 52% 25%,
      57% 50%, 61% 30%, 66% 60%, 70% 20%, 74% 50%, 79% 40%,
      83% 55%, 88% 25%, 92% 50%, 96% 35%, 100% 50%,
      100% 100%, 0% 100%);
  z-index: 3;
}


/* ============================================================
   ARTICLES
   ============================================================ */

.articles {
  position: relative;
  background: var(--cream);
  padding: var(--section-pad);
}

.articles-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  color: var(--charcoal);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border-radius: 14px;
  overflow: hidden;
  color: var(--charcoal);
  text-decoration: none;
  border: 2px solid rgba(26, 26, 26, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.1);
}

.article-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.article-card:hover .article-image img {
  transform: scale(1.06);
}

.article-body {
  padding: 1.5rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
  line-height: 1.2;
}

.article-preview {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: color 0.3s, letter-spacing 0.3s var(--ease);
}

.article-card:hover .article-cta {
  color: var(--terracotta-dark);
  letter-spacing: 2.5px;
}

/* Staggered reveal for article cards */
.articles-grid .article-card.reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.articles-grid .article-card.reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.articles-torn-edge {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 55px;
  background: var(--terracotta);
  clip-path: polygon(0% 40%, 5% 55%, 10% 25%, 15% 50%, 20% 30%, 25% 60%, 30% 20%,
      35% 50%, 40% 35%, 45% 55%, 50% 25%, 55% 50%, 60% 35%,
      65% 60%, 70% 20%, 75% 50%, 80% 30%, 85% 55%, 90% 25%,
      95% 50%, 100% 40%,
      100% 100%, 0% 100%);
  z-index: 3;
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  position: relative;
  background: var(--terracotta);
  padding: 8rem 2rem 6rem;
  color: var(--cream);
  overflow: hidden;
}

.contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.contact-content {
  flex: 1;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.contact-text {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(253, 251, 245, 0.75);
  max-width: 450px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}

.contact-email:hover {
  border-color: var(--cream);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  transition: all 0.3s var(--ease);
}

.btn-light {
  background: var(--cream);
  color: var(--terracotta);
}

.btn-light:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta {
  background: var(--charcoal);
  color: var(--cream);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-cta:hover {
  background: var(--cream);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-deco {
  flex-shrink: 0;
  width: 200px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.phone-svg {
  width: 100%;
  height: auto;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--charcoal);
  color: var(--muted);
  padding: 2.5rem 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--cream);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.services-grid .service-card.reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.services-grid .service-card.reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.project-grid .project-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.project-grid .project-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.project-grid .project-card.reveal:nth-child(4) {
  transition-delay: 0.1s;
}

.project-grid .project-card.reveal:nth-child(5) {
  transition-delay: 0.2s;
}

.project-grid .project-card.reveal:nth-child(6) {
  transition-delay: 0.3s;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-pad: 5rem 1.5rem;
  }

  .header {
    padding: 1rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .contact .container {
    flex-direction: column;
    text-align: center;
  }

  .contact-links {
    justify-content: center;
  }

  .contact-deco {
    width: 140px;
    order: -1;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .filter-tabs {
    justify-content: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-title .line {
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    font-size: 2.2rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
}