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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: #1c1c1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', sans-serif;
  --color-bg: #fff;
  --color-text: #1c1c1a;
  --color-muted: #798370;    /* Reseda green */
  --color-border: #BABFAC;   /* Ash gray */
  --color-sage: #9B9D85;     /* Sage */
  --color-reseda: #798370;   /* Reseda green */
  --color-feldgrau: #57695B; /* Feldgrau */
  --footer-bg: #57695B;
  --footer-text: #D8E0D3;
  --max-w: 1400px;
  --px: clamp(24px, 5.5vw, 88px);
  --section-py: clamp(64px, 8vw, 128px);
  --card-radius: 16px;
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 28px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--px);
  background: transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1c1c1a;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 44px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: #1c1c1a;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #1c1c1a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  opacity: 1;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #1c1c1a;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =============================================
   HERO — HOME
   ============================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--px);
  overflow: hidden;
  background-color: #fff;
  background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Animated blobs ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

/* Blob 1 — Ash gray: upper-right, large */
.hero-blob--1 {
  width: clamp(380px, 48vw, 640px);
  height: clamp(380px, 48vw, 640px);
  background: #BABFAC;
  opacity: 0.75;
  top: -100px;
  right: -80px;
  animation: blobDrift1 11s ease-in-out infinite;
}

/* Blob 2 — Reseda green: lower-left, medium */
.hero-blob--2 {
  width: clamp(280px, 36vw, 500px);
  height: clamp(300px, 38vw, 520px);
  background: #798370;
  opacity: 0.45;
  bottom: -60px;
  left: -60px;
  animation: blobDrift2 14s ease-in-out infinite;
}

/* Blob 3 — Feldgrau: centre, accent */
.hero-blob--3 {
  width: clamp(200px, 26vw, 360px);
  height: clamp(220px, 28vw, 380px);
  background: #57695B;
  opacity: 0.38;
  top: 38%;
  left: 35%;
  animation: blobDrift3 17s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%,  100% { transform: translate(0px,   0px)  scale(1);    }
  30%        { transform: translate(-70px, 55px) scale(1.08); }
  65%        { transform: translate(50px, -45px) scale(0.94); }
}

@keyframes blobDrift2 {
  0%,  100% { transform: translate(0px,   0px)   scale(1);    }
  35%        { transform: translate(90px, -70px)  scale(1.12); }
  70%        { transform: translate(-30px, 60px)  scale(0.88); }
}

@keyframes blobDrift3 {
  0%,  100% { transform: translate(0px,  0px)   scale(1);    }
  25%        { transform: translate(60px, 90px)  scale(1.18); }
  55%        { transform: translate(-80px, -55px) scale(0.82); }
  80%        { transform: translate(40px, 30px)  scale(1.05); }
}

/* Subtle grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

.hero-heading {
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #1c1c1a;
  line-height: 1.0;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  color: #1c1c1a;
  letter-spacing: -0.02em;
  line-height: 1.5;
  opacity: 0.7;
}

.hero-sub em {
  font-style: italic;
  opacity: 1;
}

.hero-name {
  display: inline-block;
  background: #D8E0D3;
  border-radius: 0;
  padding: 0 10px 4px;
  margin: 0 2px;
  position: relative;
  line-height: inherit;
  box-shadow: 0 0 0 0 rgba(87, 105, 91, 0);
  animation: heroFrameIn 0.4s ease 0.9s forwards;
}

/* Corner handles of the selection frame */
.hero-caret {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
}

.hero-caret--l { left: 0; }
.hero-caret--r { right: 0; }

.hero-caret::before,
.hero-caret::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 1.5px solid #57695B;
  border-radius: 1px;
  transform: scale(0);
  animation: heroHandleIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-caret--l::before { top: -5px;    left: -5px; animation-delay: 1.15s; }
.hero-caret--l::after  { bottom: -5px; left: -5px; animation-delay: 1.3s; }
.hero-caret--r::before { top: -5px;    right: -5px; animation-delay: 1.225s; }
.hero-caret--r::after  { bottom: -5px; right: -5px; animation-delay: 1.375s; }

@keyframes heroFrameIn {
  to { box-shadow: 0 0 0 1.5px #57695B; }
}

@keyframes heroHandleIn {
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-name,
  .hero-caret::before,
  .hero-caret::after {
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border: 1.5px solid rgba(28, 28, 26, 0.18);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #1c1c1a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, border-color 0.2s;
}

.hero-pill:hover {
  background: #f0f2ee;
  border-color: rgba(28, 28, 26, 0.35);
}

/* =============================================
   ABOUT SNIPPET (homepage)
   ============================================= */
.about-snippet {
  padding: var(--section-py) 0;
}

.about-snippet-text {
  max-width: 980px;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.22;
  font-weight: 300;
  letter-spacing: -0.035em;
  color: #1c1c1a;
}

.about-snippet-text .muted {
  color: var(--color-muted);
}

/* =============================================
   PROJECTS
   ============================================= */
.projects-section {
  padding-bottom: var(--section-py);
}

.project-card {
  display: block;
  color: inherit;
  margin-bottom: 32px;
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: #BABFAC;
}

.project-img-wrap--full {
  aspect-ratio: 16 / 9;
}

.project-img-wrap--half {
  aspect-ratio: 3 / 2;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-arrow {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.28s ease, color 0.28s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.project-card:hover .project-arrow {
  background: #fff;
  color: #111;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

/* Arrow icon swap */
.arrow-icon {
  position: absolute;
  font-size: 17px;
  line-height: 1;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-ne {
  opacity: 1;
  transform: translate(0, 0) rotate(-45deg);
}

.arrow-e {
  opacity: 0;
  transform: translateX(-6px);
}

.project-card:hover .arrow-ne {
  opacity: 0;
  transform: translate(4px, -4px) rotate(-45deg);
}

.project-card:hover .arrow-e {
  opacity: 1;
  transform: translateX(0);
}

.project-meta {
  padding: 18px 0 12px;
}

.project-category {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-title {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #1c1c1a;
  line-height: 1.2;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* =============================================
   CTA SECTIONS
   ============================================= */
.cta-section {
  padding: var(--section-py) 0;
}

.cta-heading {
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 700px;
  margin-bottom: 40px;
  color: #1c1c1a;
}

.cta-heading .muted {
  color: var(--color-muted);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1.5px solid #57695B;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #57695B;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: #57695B;
  color: #D8E0D3;
}

/* =============================================
   SERVICES
   ============================================= */
.services-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--color-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 40px;
}

.service-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #111;
}

.service-list li {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 2.1;
}

/* =============================================
   LOGOS / CLIENTS
   ============================================= */
.logos-section {
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s;
}

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

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #57695B;
  color: #D8E0D3;
  padding: clamp(64px, 7vw, 96px) var(--px) 48px;
}

.footer-top {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(216, 224, 211, 0.55);
  margin-bottom: 24px;
}

.footer-heading {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 48px;
}

.btn-talk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 26px;
  background: #D8E0D3;
  color: #57695B;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease;
  overflow: hidden;
}

.btn-talk:hover {
  background: #BABFAC;
}

.btn-talk .btn-arrow-wrap {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.btn-talk .arrow-icon {
  font-size: 15px;
}

.btn-talk:hover .arrow-ne {
  opacity: 0;
  transform: translate(4px, -4px) rotate(-45deg);
}

.btn-talk:hover .arrow-e {
  opacity: 1;
  transform: translateX(0);
}

.btn-talk--outline {
  background: #f0f0ee;
  color: #1c1c1a;
  border: 1.5px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.btn-talk--outline:hover {
  background: transparent;
  border-color: #1c1c1a;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-nav li,
.footer-social li {
  margin-bottom: 14px;
}

.footer-nav li:last-child,
.footer-social li:last-child {
  margin-bottom: 0;
}

.footer-nav a,
.footer-social a {
  font-size: 15px;
  color: rgba(216, 224, 211, 0.65);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: #D8E0D3;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(216, 224, 211, 0.15);
  font-size: 12px;
  color: rgba(216, 224, 211, 0.35);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro {
  padding: calc(var(--section-py) + 80px) 0 calc(var(--section-py) * 0.7);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.about-photo-wrap {
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  background: #BABFAC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.about-bio {
  padding-top: 8px;
}

.about-bio-heading {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #1c1c1a;
  margin-bottom: 32px;
  margin-top: 24px;
}

.about-bio-body {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.about-bio-body p + p {
  margin-top: 20px;
}

.about-bio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* Skills */
.about-skills {
  padding-bottom: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 48px;
}

.skills-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.skills-list {
  list-style: none;
}

.skills-list li {
  font-size: 15px;
  font-weight: 400;
  color: #1c1c1a;
  line-height: 1.5;
  padding: 5px 0;
}

@media (max-width: 640px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.about-work {
  padding: calc(var(--section-py) * 0.7) 0 var(--section-py);
}

.about-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}

/* =============================================
   WORK PAGE
   ============================================= */
.work-hero {
  padding: calc(var(--section-py) + 80px) 0 var(--section-py);
}

.work-hero-heading {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #111;
}

.work-grid {
  padding-bottom: var(--section-py);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page {
  padding: calc(var(--section-py) + 80px) 0 var(--section-py);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #111;
}

.contact-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-detail {
  font-size: 15px;
  color: #111;
  margin-bottom: 8px;
}

.contact-detail a {
  border-bottom: 1px solid #ddd;
  transition: border-color 0.2s;
}

.contact-detail a:hover {
  border-color: #111;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: #fff;
  color: #1c1c1a;
  transition: border-color 0.2s ease;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #57695B;
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: #57695B;
  color: #D8E0D3;
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.btn-submit:hover {
  background: #47564B;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo-wrap {
    position: static;
  }

  .about-photo-placeholder {
    aspect-ratio: 4 / 3;
  }

  .about-photo-placeholder img {
    object-position: center 20%;
  }
}

@media (max-width: 960px) {
  .services-grid,
  .about-services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .how-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  :root {
    --px: 24px;
    --section-py: 60px;
  }

  .nav.menu-open {
    background: transparent;
  }

  .nav-logo,
  .nav-toggle {
    position: relative;
    z-index: 1;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 80px 0 24px;
    box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    transition: color 0.15s ease;
  }

  .nav-links a:active {
    color: #798370;
  }

  .nav-toggle {
    display: flex;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-img-wrap--half {
    aspect-ratio: 16 / 9;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 540px) {
  .services-grid,
  .about-services-grid,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .logos-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }
}

/* =============================================
   TEXT SELECTION COLOR
   ============================================= */
::selection {
  background: #D8E0D3;
  color: #1c1c1a;
}

/* =============================================
   PAGE TRANSITIONS (View Transitions API)
   ============================================= */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vtFadeOut 0.2s ease both;
}

::view-transition-new(root) {
  animation: vtFadeIn 0.3s ease both;
}

@keyframes vtFadeOut {
  to { opacity: 0; }
}

@keyframes vtFadeIn {
  from { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* =============================================
   CURSOR-FOLLOWING "VIEW CASE STUDY" CHIP
   ============================================= */
.cursor-chip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  pointer-events: none;
  background: #1c1c1a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 11px 18px;
  border-radius: 100px;
  opacity: 0;
  transform: translate(-50%, -120%) scale(0.6);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: left, top;
}

.cursor-chip.is-active {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}

/* On precise pointers the chip replaces the corner arrow */
@media (hover: hover) and (pointer: fine) {
  .project-arrow {
    display: none;
  }
}
