﻿*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --warm-white: #f5f2ec;
  --warm-off: #f8f8f6;
  --warm-darker: #e8e4dc;
  --charcoal: #0a0a0a;
  --ink: #1a1a1a;
  --slate: #7a7a7a;
  --gold: #c4a77d;
  --hairline: #e5e5e5;
  --logo-gray: #b0b0b0;
  --content-pad: clamp(24px, 5vw, 80px);
}

html {
  scroll-behavior: auto;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--warm-white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.loaded {
  opacity: 1;
}

::selection {
  background-color: rgba(196, 167, 125, 0.3);
  color: #1a1a1a;
}

/* ===================== TYPOGRAPHY ===================== */
.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

.text-display {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 6vw, 90px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.text-h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 3.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.text-h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.25;
  font-weight: 400;
}

.text-label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 0;
}

.text-body-small {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: clamp(24px, 3vw, 48px) var(--content-pad);
  transition:
    color 0.4s ease,
    background 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 242, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(16px, 2vw, 24px) var(--content-pad);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.nav a,
.nav button {
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.nav-wordmark {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-wordmark img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* .nav-menu-text removed, no longer needed */

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  transition: transform 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--charcoal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: var(--warm-white);
  text-decoration: none;
  padding: 16px 0;
  opacity: 0;
  transform: translateY(30px);
}

.mobile-menu.open a {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mobile-menu.open a:nth-child(1) {
  animation-delay: 0s;
}
.mobile-menu.open a:nth-child(2) {
  animation-delay: 0.06s;
}
.mobile-menu.open a:nth-child(3) {
  animation-delay: 0.12s;
}
.mobile-menu.open a:nth-child(4) {
  animation-delay: 0.18s;
}
.mobile-menu.open a:nth-child(5) {
  animation-delay: 0.24s;
}
.mobile-menu.open a:nth-child(6) {
  animation-delay: 0.3s;
}
.mobile-menu.open a:nth-child(7) {
  animation-delay: 0.36s;
}

.mobile-close {
  position: absolute;
  top: clamp(24px, 3vw, 48px);
  right: var(--content-pad);
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== CUSTOM CURSOR ===================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0.8;
  will-change: transform;
  transition:
    width 0.3s ease,
    height 0.3s ease,
    margin 0.3s ease;
  margin: -24px 0 0 -24px;
}

.cursor.hover {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-canvas canvas {
  width: 100% !important;
  height: 100% !important;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 0 var(--content-pad) 15vh;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.2) 50%,
    transparent 100%
  );
}

.hero-headline {
  max-width: 800px;
  color: var(--warm-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.hero-headline.revealed {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-sub {
  margin-top: 24px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 242, 236, 0.7);
  transform: translateY(30px);
}

.hero-sub.revealed {
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  transform: translateY(20px);
}

.hero-buttons.revealed {
  transform: translateY(0);
  transition: transform 0.8s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #d4b88e;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(245, 242, 236, 0.5);
  color: var(--warm-white);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--warm-white);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: var(--content-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
}

.scroll-indicator.revealed {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: rgba(245, 242, 236, 0.4);
  animation: pulseOpacity 2s ease-in-out infinite;
}

.scroll-indicator .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 242, 236, 0.4);
  margin-top: -1px;
  animation: pulseOpacity 2s ease-in-out infinite;
}

.scroll-indicator .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.4);
  margin-top: 12px;
}

@keyframes pulseOpacity {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* ===================== WHO WE ARE ===================== */
.who-we-are {
  position: relative;
  background: var(--warm-off);
  padding: 80px var(--content-pad);
  overflow: hidden;
}

.who-we-are-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-we-are-content {
  color: var(--ink);
}

.who-we-are-content .text-label {
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.who-we-are-content .text-h2 {
  color: var(--ink);
  margin-bottom: 24px;
}

.who-we-are-content .text-body {
  color: var(--slate);
}

.who-video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  background: var(--warm-darker);
}

.who-video-wrap video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.who-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196, 167, 125, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  z-index: 3;
}

.who-video-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
}

.who-video-play svg {
  width: 24px;
  height: 24px;
  fill: var(--ink);
  margin-left: 3px;
}

.who-video-play.playing {
  opacity: 0;
  pointer-events: none;
}

/* ===================== MANIFESTO ===================== */
.manifesto {
  position: relative;
  background: var(--warm-white);
  padding: 80px var(--content-pad);
}

.manifesto-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.manifesto-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.manifesto-headline {
  color: var(--ink);
  max-width: 700px;
}

.manifesto-body {
  color: var(--ink);
  max-width: 400px;
  margin-top: 40px;
}

.manifesto-form {
  display: none;
  position: absolute;
  width: 200px;
  height: 300px;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

/* ===================== PORTFOLIO ===================== */
.portfolio {
  background: var(--warm-white);
  padding: 160px var(--content-pad);
}

.portfolio-header {
  margin-bottom: 100px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px 40px;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Asymmetrical layout */
.project-card:nth-child(even) {
  margin-top: 120px;
}

.project-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--warm-darker);
  aspect-ratio: 4/5;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-logo {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.6s ease;
}

.project-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-info {
  margin-top: 32px;
}

.project-category {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  display: block;
  margin-bottom: 12px;
}

.project-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  font-weight: 400;
}

/* Hover Effects */
.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-card:hover .project-logo {
  transform: scale(1.1) translateY(-5px);
}

.project-card:hover .project-name {
  color: var(--gold);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .project-card:nth-child(even) {
    margin-top: 0;
  }

  .project-img-wrap {
    aspect-ratio: 1/1;
  }

  .project-logo {
    width: 48px;
    height: 48px;
    top: 20px;
    left: 20px;
  }

  .project-name {
    font-size: 28px;
  }
}

/* ===================== SERVICES ===================== */
.services {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
  padding: 160px var(--content-pad);
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}

.services-bg canvas {
  width: 100% !important;
  height: 100% !important;
}

.services-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.services-headline {
  color: var(--warm-white);
  max-width: 900px;
}

.service-list {
  margin-top: 100px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-row:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-row:hover .service-name {
  color: var(--gold);
}

.service-row:hover .service-arrow {
  transform: translateX(4px);
}

.service-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.25;
  color: var(--warm-white);
  font-weight: 400;
  transition: color 0.3s ease;
}

.service-arrow {
  font-size: 24px;
  color: var(--warm-white);
  opacity: 0.6;
  transition: transform 0.3s ease;
}

/* ===================== AI SHOWCASE ===================== */
.ai-showcase {
  background: var(--warm-white);
  padding: 140px var(--content-pad);
}

.ai-showcase-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 80px;
}

.ai-card {
  background: var(--warm-off);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 48px;
  transition:
    border-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
}

.ai-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.ai-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, #d4b88e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.ai-card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--ink);
}

.ai-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2vw, 32px);
  color: var(--ink);
  margin-bottom: 16px;
}

.ai-card p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.7;
}

.ai-card-features {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-card-features li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}

.ai-card-features li::before {
  content: "â†’";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===================== WHY CHOOSE US ===================== */
.why-choose {
  background: var(--charcoal);
  padding: 140px var(--content-pad);
}

.why-choose-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.why-card {
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition:
    border-color 0.4s ease,
    transform 0.4s ease;
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.why-card-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 24px;
}

.why-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: var(--warm-white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: rgba(245, 242, 236, 0.6);
  line-height: 1.7;
}

/* ===================== CASE STUDIES ===================== */
.case-studies {
  background: var(--warm-off);
  padding: 140px var(--content-pad);
}

.case-studies-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.case-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.case-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.case-card-body {
  padding: 32px;
}

.case-card-body .text-label {
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.case-card-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}

.case-card-body p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

.case-card-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.case-card-stat .stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  color: var(--ink);
}

.case-card-stat .stat-label {
  font-size: 13px;
  color: var(--slate);
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  background: var(--warm-white);
  padding: 140px var(--content-pad);
}

.testimonials-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.testimonial-card {
  padding: 40px;
  background: var(--warm-off);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--gold);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars span {
  color: var(--gold);
  font-size: 16px;
}

.testimonial-card blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}

.testimonial-author-info .name {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}

.testimonial-author-info .role {
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}

.partnerships {
  background: var(--warm-white);
  padding-top: 20px;
  padding-bottom: 80px;
}

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-item img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.marquee-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partnerships-inner {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 var(--content-pad);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.bento-card {
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  cursor: pointer;
  transition:
    border-color 0.4s ease,
    transform 0.4s ease;
}

.bento-card:nth-child(1) {
  grid-column: span 2;
}

.bento-card:nth-child(2) {
  grid-row: span 2;
}

.bento-card:hover {
  border-color: var(--gold);
  transform: scale(1.01);
}

.bento-card .metric {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 24px;
}

.contact {
  background: var(--warm-white);
  padding: 80px var(--content-pad);
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
}

.contact-input-wrap {
  flex-grow: 1;
}

.contact-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  font-size: 18px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.contact-input::placeholder {
  color: var(--logo-gray);
}

.contact-input:focus {
  border-bottom-color: var(--gold);
}

.contact-submit {
  background: none;
  border: none;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.contact-submit:hover {
  color: var(--gold);
}

.contact-submit:hover .arrow {
  transform: translateX(4px);
}

.contact-submit .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--warm-white);
  border-top: 1px solid var(--hairline);
  padding: 80px var(--content-pad) 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer a {
  text-decoration: none;
  position: relative;
  color: inherit;
  transition: color 0.3s ease;
}

.footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.footer a:hover::after {
  transform: scaleX(1);
}

.footer a:hover {
  color: var(--ink);
}

/* ===================== REVEAL ===================== */
.reveal {
  /* GSAP will handle initial state and animation */
  will-change: transform, opacity;
}

/* ===================== AI CARD FEATURES ===================== */
.ai-card-features {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-card-features li {
  font-size: 14px;
  color: var(--slate);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}

.ai-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
  }

  /* .nav-menu-text removed */

  .scroll-indicator {
    display: none !important;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio-col-right {
    margin-top: 0 !important;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
  }

  .bento-card:nth-child(1) {
    grid-column: span 1 !important;
  }

  .bento-card:nth-child(2) {
    grid-row: span 1 !important;
  }

  .contact-form {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .manifesto-layout {
    flex-direction: column !important;
  }

  .manifesto-headline {
    width: 100% !important;
  }

  .manifesto-body {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .cursor {
    display: none !important;
  }

  .services-bg {
    display: none !important;
  }

  .manifesto-form {
    display: none !important;
  }

  .who-we-are-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .ai-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .why-choose-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .case-studies-grid {
    grid-template-columns: 1fr !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .why-choose-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 769px) {
  .manifesto-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .manifesto-headline {
    width: 55%;
  }

  .manifesto-body {
    width: 35%;
    margin-left: auto;
  }

  .manifesto-form {
    display: block;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .portfolio-grid {
    gap: 24px;
  }
}
/* ===================== MOBILE OVERRIDES ===================== */
@media (max-width: 768px) {
  .mission-values-grid,
  .how-it-works-grid,
  .contact-layout {
    grid-template-columns: 1fr !important;
  }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
