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

:root {
  --bg:        #f4f3f0;
  --bg-card:   #ffffff;
  --ink:       #0f0f0f;
  --ink-muted: #6b6b6b;
  --accent:    #1a1a1a;
  --green:     #bef264;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow:    0 2px 20px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --font-body: 'Inter', sans-serif;
  --font-serif:'Instrument Serif', serif;
  --nav-h:     64px;
  --max-w:     1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.desktop-br { display: block; }

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink-muted);
}
.section-tag--light { color: rgba(255,255,255,.6); }
.section-tag--light::before { background: rgba(255,255,255,.4); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 56px;
}

.section-header { margin-bottom: 0; }

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: #333; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0,0,0,.15);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--full { width: 100%; justify-content: center; }

/* ─── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: opacity .2s;
}
.nav__logo:hover { opacity: .6; }

.nav__menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 9px 18px 9px 20px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
}
.nav__menu-btn:hover { background: #333; }

.nav__menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav__menu-icon span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease;
}

/* Overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  clip-path: circle(0% at calc(100% - 60px) 32px);
  transition: clip-path .6s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.nav__overlay.is-open {
  clip-path: circle(150% at calc(100% - 60px) 32px);
  pointer-events: all;
}

.nav__close-btn {
  position: absolute;
  top: 14px; right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: none;
  padding: 9px 18px 9px 20px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
}
.nav__close-btn:hover { background: rgba(255,255,255,.2); }

.nav__close-icon {
  position: relative;
  width: 16px;
  height: 16px;
}
.nav__close-icon span {
  position: absolute;
  top: 50%; left: 0;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}
.nav__close-icon span:first-child { transform: rotate(45deg); }
.nav__close-icon span:last-child  { transform: rotate(-45deg); }

.nav__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  transition: opacity .2s, transform .2s;
  opacity: .9;
}
.nav__link::before {
  content: attr(data-num);
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.35);
  letter-spacing: 0;
  margin-top: 4px;
}
.nav__link:hover { opacity: 1; transform: translateX(8px); }

.nav__overlay-footer {
  position: absolute;
  bottom: 40px; left: 48px; right: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
}
.nav__socials { display: flex; gap: 24px; }
.nav__socials a {
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.nav__socials a:hover { color: #fff; }

/* nav scroll state */
.nav--scrolled .nav__inner { /* subtle backdrop */ }
.nav--scrolled .nav__logo,
.nav--scrolled .nav__menu-btn { /* style changes handled via JS class */ }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeDown .6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero__headline {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 24px;
  animation: fadeDown .6s .1s ease both;
}
.hero__headline--light { font-weight: 300; }

.hero__sub {
  max-width: 540px;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeDown .6s .2s ease both;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 80px;
  animation: fadeDown .6s .3s ease both;
}

/* Hero visual */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: fadeUp .8s .4s ease both;
}

.hero__device {
  background: var(--ink);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.1);
}

.hero__device-screen {
  background: #1a1a2e;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.device-ui {
  padding: 20px;
  height: 100%;
}

.device-ui__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.device-ui__dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
}

.device-ui__content { display: flex; flex-direction: column; gap: 12px; }

.device-ui__line {
  height: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
}
.device-ui__line.w-60 { width: 60%; }
.device-ui__line.w-40 { width: 40%; }
.device-ui__line.w-80 { width: 80%; }
.device-ui__line.w-50 { width: 50%; }

.device-ui__block {
  height: 100px;
  background: linear-gradient(135deg, rgba(102,126,234,.4), rgba(118,75,162,.4));
  border-radius: 10px;
}

/* Floating cards */
.hero__float {
  position: absolute;
  animation: float 4s ease-in-out infinite;
}
.hero__float--1 { top: 10%; left: -30%; animation-delay: 0s; }
.hero__float--2 { top: 45%; right: -28%; animation-delay: 1.5s; }
.hero__float--3 { bottom: 5%; left: -20%; animation-delay: .8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.float-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  min-width: 160px;
}
.float-card--dark { background: var(--ink); color: #fff; }
.float-card__icon { font-size: 1.3rem; }
.float-card__label { font-size: .7rem; color: var(--ink-muted); font-weight: 500; }
.float-card--dark .float-card__label { color: rgba(255,255,255,.5); }
.float-card__val { font-size: 1rem; font-weight: 700; line-height: 1; margin-top: 2px; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: fadeDown .6s .8s ease both;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--ink-muted));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  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; }
}

/* ─── ABOUT ────────────────────────────────────────────── */
.about {
  background: #fff;
  padding: 100px 32px;
}

.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.about__card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__tag {
  display: inline-block;
  background: rgba(255,255,255,.1);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
}

.about__bio {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  line-height: 1.75;
  flex: 1;
}

.about__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 600;
  font-size: .9rem;
  transition: gap .2s;
}
.about__link:hover { gap: 12px; }

.about__avatars {
  display: flex;
  margin-top: 8px;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-card--highlight {
  background: var(--green);
}
.stat-card__num {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat-card__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.stat-card--highlight .stat-card__label { color: rgba(0,0,0,.5); }
.stat-card__desc {
  font-size: .82rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: 8px;
}
.stat-card--highlight .stat-card__desc { color: rgba(0,0,0,.55); }

/* ─── SERVICES ─────────────────────────────────────────── */
.services {
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  grid-column: span 2;
  background: var(--ink);
  color: #fff;
}

.service-card__icon {
  width: 44px; height: 44px;
  background: rgba(0,0,0,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card--featured .service-card__icon {
  background: rgba(255,255,255,.1);
}
.service-card--featured .service-card__icon svg { stroke: #fff; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--ink-muted);
  font-size: .9rem;
  line-height: 1.65;
}
.service-card--featured p { color: rgba(255,255,255,.6); }

.service-card__list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card__list li {
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}

/* ─── PROJECTS ─────────────────────────────────────────── */
.projects {
  padding: 100px 32px;
  background: #fff;
}

.projects > .section-header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
}

.projects__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-card--large { grid-column: span 2; display: grid; grid-template-columns: 1.4fr 1fr; }
.project-card--dark { background: var(--ink); color: #fff; }

.project-card__visual {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-card--large .project-card__visual { aspect-ratio: auto; }

.project-card__visual--blue   { background: linear-gradient(135deg, #667eea, #764ba2); }
.project-card__visual--green  { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.project-card__visual--amber  { background: linear-gradient(135deg, #f6d365, #fda085); }
.project-card__visual--dark   { background: #1a1a2e; }

/* Mockup */
.project-mockup {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  border: 1px solid rgba(255,255,255,.2);
}
.project-mockup--sm { max-width: 200px; }

.mockup-bar {
  background: rgba(255,255,255,.1);
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.mockup-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
}

.mockup-content { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mockup-hero-block {
  height: 60px;
  background: rgba(255,255,255,.25);
  border-radius: 6px;
}
.mockup-row { display: flex; gap: 8px; }
.mockup-col {
  flex: 1;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 6px;
}
.mockup-stat-row { display: flex; gap: 8px; }
.mockup-stat {
  flex: 1;
  height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 6px;
}

.project-card__info { padding: 28px; }

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.project-card__num {
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: .05em;
}
.project-card--dark .project-card__num { color: rgba(255,255,255,.4); }

.project-tag {
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.project-tag--light {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.project-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.project-card p {
  font-size: .88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.project-card--dark p { color: rgba(255,255,255,.5); }

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-card__stack span {
  background: rgba(0,0,0,.06);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: .76rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.project-card--dark .project-card__stack span {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
}

.projects__cta {
  max-width: var(--max-w);
  margin: 48px auto 0;
  text-align: center;
}

/* ─── TEAM ─────────────────────────────────────────────── */
.team {
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.team-card__info h4 {
  font-size: 1rem;
  font-weight: 600;
}
.team-card__info span {
  font-size: .78rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.team-card > p {
  font-size: .85rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 14px 0;
}

.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-card__skills span {
  background: var(--bg);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ─── CONTACT ──────────────────────────────────────────── */
.contact {
  background: var(--ink);
  color: #fff;
  padding: 100px 32px;
}

.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact__text > p {
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__details > a {
  color: var(--green);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity .2s;
}
.contact__details > a:hover { opacity: .7; }

.contact__socials { display: flex; gap: 20px; }
.contact__socials a {
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  transition: color .2s;
}
.contact__socials a:hover { color: #fff; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #1a1a1a; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
}

.contact__form .btn--primary { background: var(--green); color: var(--ink); }
.contact__form .btn--primary:hover { background: #d4f76e; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ─── FOOTER ───────────────────────────────────────────── */
.footer {
  background: #080808;
  color: rgba(255,255,255,.6);
  padding: 60px 32px 32px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}

.footer__logo {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.footer__brand p { font-size: .88rem; line-height: 1.6; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ─── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }

/* ─── RESPONSIVE ───────────────────────────────────────── */

/* Large laptops / small desktops */
@media (max-width: 1100px) {
  :root { --max-w: 960px; }
  .hero__float--1 { left: -8%; }
  .hero__float--2 { right: -8%; }
  .hero__float--3 { left: 0%; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .nav             { padding: 0 24px; }
  .hero            { padding: calc(var(--nav-h) + 64px) 24px 64px; }
  .about           { padding: 80px 24px; }
  .services        { padding: 80px 24px; }
  .projects        { padding: 80px 24px; }
  .team            { padding: 80px 24px; }
  .contact         { padding: 80px 24px; }
  .footer          { padding: 56px 24px 24px; }

  .team__grid      { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .services__grid  { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-column: span 2; }

  .contact__inner  { gap: 48px; }
  .footer__inner   { gap: 48px; }

  .hero__float--1 { left: -2%; }
  .hero__float--2 { right: -2%; }
  .hero__float--3 { left: 4%; }
}

/* Tablet portrait */
@media (max-width: 880px) {
  .desktop-br      { display: none; }
  .about__inner    { grid-template-columns: 1fr; }
  .projects__grid  { grid-template-columns: 1fr; }
  .project-card--large { grid-column: span 1; grid-template-columns: 1fr; }
  .project-card--large .project-card__visual { aspect-ratio: 16/9; }
  .team__grid      { grid-template-columns: repeat(2, 1fr); }
  .contact__inner  { grid-template-columns: 1fr; gap: 56px; }

  .hero__float     { transform: scale(.9); }
  .hero__float--1  { left: -6%; }
  .hero__float--2  { right: -6%; }
  .hero__float--3  { left: 0; }
}

/* Mobile large */
@media (max-width: 720px) {
  .nav             { padding: 0 20px; }
  .nav__menu-btn   { padding: 8px 14px 8px 16px; font-size: .8rem; }

  .hero            { padding: calc(var(--nav-h) + 48px) 20px 56px; min-height: auto; }
  .hero__headline  { margin-bottom: 20px; }
  .hero__sub       { font-size: .98rem; margin-bottom: 28px; padding: 0 8px; }
  .hero__cta       { margin-bottom: 56px; }
  .hero__visual    { max-width: 280px; }

  .about           { padding: 64px 20px; }
  .about__card     { padding: 32px 28px; }
  .about__stats    { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card       { padding: 22px 20px; }
  .stat-card__num  { font-size: 2.1rem; }

  .services        { padding: 64px 20px; }
  .services__grid  { grid-template-columns: 1fr; gap: 14px; }
  .service-card    { padding: 26px 24px; }
  .service-card--featured { grid-column: span 1; }

  .projects        { padding: 64px 20px; }
  .projects__grid  { gap: 16px; }
  .project-card__info { padding: 24px; }

  .team            { padding: 64px 20px; }
  .team__grid      { gap: 14px; margin-top: 40px; }
  .team-card       { padding: 24px 22px; }

  .contact         { padding: 64px 20px; }
  .footer          { padding: 48px 20px 24px; }
  .footer__inner   { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
  .footer__bottom  { flex-direction: column; gap: 8px; text-align: center; }

  .form-row        { grid-template-columns: 1fr; }

  .nav__overlay         { padding: 80px 28px 40px; }
  .nav__overlay-footer  { left: 28px; right: 28px; flex-direction: column; align-items: flex-start; gap: 14px; bottom: 32px; }
  .nav__close-btn       { right: 20px; }

  .hero__float--1,
  .hero__float--2,
  .hero__float--3 { display: none; }

  .section-title   { margin-bottom: 40px; }
}

/* Mobile small */
@media (max-width: 480px) {
  .nav             { padding: 0 16px; }
  .nav__logo       { font-size: 1rem; }

  .hero            { padding: calc(var(--nav-h) + 32px) 16px 48px; }
  .hero__badge     { font-size: .72rem; padding: 5px 14px; }
  .hero__headline  { line-height: 1.08; }
  .hero__sub       { font-size: .92rem; line-height: 1.65; padding: 0; }
  .hero__cta       { flex-direction: column; width: 100%; gap: 10px; }
  .btn             { justify-content: center; width: 100%; padding: 14px 24px; }
  .hero__visual    { max-width: 240px; }
  .hero__scroll-hint { display: none; }

  .about           { padding: 56px 16px; }
  .about__card     { padding: 28px 24px; border-radius: var(--radius-md); }
  .about__bio      { font-size: .94rem; }
  .about__stats    { grid-template-columns: 1fr; }
  .stat-card       { padding: 24px 22px; }
  .stat-card__num  { font-size: 2.4rem; }

  .services        { padding: 56px 16px; }
  .service-card    { padding: 24px 22px; }
  .service-card h3 { font-size: 1.1rem; }

  .projects        { padding: 56px 16px; }
  .project-card__info { padding: 22px 20px; }
  .project-card h3 { font-size: 1.1rem; }

  .team            { padding: 56px 16px; }
  .team__grid      { grid-template-columns: 1fr; gap: 12px; }
  .team-card       { padding: 24px; }

  .contact         { padding: 56px 16px; }
  .contact__title  { font-size: 2rem; }
  .contact__inner  { gap: 40px; }

  .footer          { padding: 40px 16px 20px; }
  .footer__links   { grid-template-columns: 1fr 1fr; gap: 24px; }

  .nav__overlay        { padding: 80px 24px 32px; }
  .nav__close-btn      { right: 16px; padding: 8px 14px 8px 16px; font-size: .78rem; }
  .nav__link           { font-size: 2.2rem; }
  .nav__overlay-footer { left: 24px; right: 24px; bottom: 28px; }

  .section-title   { font-size: 1.9rem; margin-bottom: 32px; }
  .section-tag     { font-size: .7rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero__headline  { font-size: 2.4rem; }
  .stat-card__num  { font-size: 2.1rem; }
  .nav__link       { font-size: 1.9rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
