/* ============================================================
   PROVENIO — Design System & Styles
   Colors: #FF2D2D (red) · #FFFFFF (white) · #8A8A8A (gray) · #0C0F14 (black)
   Fonts: Satoshi (headings) · General Sans (body) · Instrument Serif (accents)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

body {
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
  background: #0C0F14;
  overflow-x: hidden;
  cursor: none;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
  cursor: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: text;
}

select { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--red);
}

::selection {
  background: #FF2D2D;
  color: #FFFFFF;
}

/* Skip link — visible on focus for keyboard nav */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 99999;
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Scroll margin for anchor targets */
section[id] {
  scroll-margin-top: 80px;
}

/* --- DESIGN TOKENS --- */
:root {
  --red: #FF2D2D;
  --white: #FFFFFF;
  --gray: #8A8A8A;
  --black: #0C0F14;
  --font-heading: 'Satoshi', 'General Sans', sans-serif;
  --font-body: 'General Sans', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --radius-btn: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- SVG NOISE FILTER --- */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: -100px;
  left: -100px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-circle {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  position: fixed;
  top: -100px;
  left: -100px;
  pointer-events: none;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.4s var(--ease), border-color 0.3s ease, margin 0.4s var(--ease);
  mix-blend-mode: difference;
}

.cursor-circle.hover-portfolio {
  width: 80px;
  height: 80px;
  margin-left: -20px;
  margin-top: -20px;
  background: var(--red);
  border-color: var(--red);
  mix-blend-mode: normal;
}

.cursor-circle.hover-btn {
  width: 56px;
  height: 56px;
  margin-left: -8px;
  margin-top: -8px;
  border-color: var(--red);
  opacity: 0.5;
}

.cursor-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-circle.hover-portfolio .cursor-label {
  opacity: 1;
}

/* --- UTILITY --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.text-red { color: var(--red); }

.section-dark {
  background: var(--black);
  color: var(--white);
  position: relative;
}

/* Grain texture on dark sections */
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  filter: url(#grain);
  background: var(--white);
  mix-blend-mode: overlay;
}

.section-dark > * {
  position: relative;
  z-index: 1;
}

.section-light {
  background: var(--white);
  color: var(--black);
}

/* Hard geometric cut between sections */
.section-cut {
  height: 1px;
  background: var(--red);
  opacity: 0.3;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255, 45, 45, 0.35);
}

.btn-nav {
  background: var(--red);
  color: var(--white);
  padding: 10px 24px;
  font-size: 14px;
}

.btn-nav:hover {
  box-shadow: 0 6px 20px rgba(255, 45, 45, 0.3);
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 10001;
  transition: none;
}

/* --- SECTION HEADLINES --- */
.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  position: relative;
  padding-top: 28px;
  text-wrap: balance;
}

.section-headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--red);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.navbar.on-light {
  color: var(--black);
}

.navbar.on-light.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav-logo-black {
  display: none;
}

.navbar.on-light .nav-logo-white {
  display: none;
}

.navbar.on-light .nav-logo-black {
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: auto;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

/* Red underline slide on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

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

.navbar.on-light .nav-links a {
  color: rgba(12, 15, 20, 0.6);
}

.navbar.on-light .nav-links a:hover {
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- LANGUAGE SWITCHER --- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 24px;
}

.lang-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 6px;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s ease;
  cursor: none;
}

.lang-btn:hover {
  color: rgba(255,255,255,0.7);
}

.lang-btn.active {
  color: var(--white);
}

.lang-sep {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
  user-select: none;
}

.navbar.on-light .lang-btn {
  color: rgba(12, 15, 20, 0.3);
}

.navbar.on-light .lang-btn:hover {
  color: rgba(12, 15, 20, 0.6);
}

.navbar.on-light .lang-btn.active {
  color: var(--black);
}

.navbar.on-light .lang-sep {
  color: rgba(12, 15, 20, 0.2);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 32px;
  text-transform: uppercase;
}

/* Line-by-line clip reveal */
.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line-inner {
  display: block;
  transform: translateY(110%);
  animation: line-reveal 1.2s var(--ease) forwards;
}

.hero-line:nth-child(2) .hero-line-inner {
  animation-delay: 0.15s;
}

.hero-line:nth-child(3) {
  padding-bottom: 0.1em;
}

.hero-line:nth-child(3) .hero-line-inner {
  animation-delay: 0.3s;
}

@keyframes line-reveal {
  to { transform: translateY(0); }
}

/* Fade-in for subtitle and CTA */
.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 0.8s var(--ease) forwards;
  animation-delay: 0.5s;
}

.hero-fade:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes hero-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.15em;
  margin-bottom: 48px;
}

/* Hero serif accent — third line */
.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  color: rgba(255,255,255,0.4);
}

.scroll-indicator span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-dot {
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: 0.3; }
}

/* ============================================================
   SERVICES — Horizontal rows
   ============================================================ */
.services {
  padding: 140px 0 120px;
}

.services-list {
  border-top: 1px solid #E2E4E8;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 220px 1fr 40px;
  align-items: center;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid #E2E4E8;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.5s var(--ease);
}

.service-row:hover {
  padding-left: 24px;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.06em;
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--black);
  transition: color 0.3s ease;
}

.service-row:hover .service-title {
  color: var(--red);
}

.service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray);
}

.service-arrow {
  font-size: 24px;
  color: var(--red);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.service-row:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   PORTFOLIO — Asymmetric project rows (NOT masonry)
   ============================================================ */
.portfolio {
  padding: 120px 0 140px;
}

/* Portfolio header — headline + inline stats */
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

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

.portfolio-stats {
  display: flex;
  gap: 40px;
  padding-bottom: 8px;
}

.portfolio-stat {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  color: var(--red);
  font-weight: 800;
}

.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* Project list */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Hero-size project row (full width, tall) */
.project-row {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: none;
  overflow: hidden;
}

.project-row--hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 420px;
}

.project-row--hero .project-media {
  position: relative;
  overflow: hidden;
}

.project-row--hero .project-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: rgba(255,255,255,0.03);
  transition: background 0.5s ease;
}

.project-row--hero:hover .project-info {
  background: rgba(255,255,255,0.06);
}

/* Half-width project rows (pair side by side) */
.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.project-row--half {
  min-height: 320px;
  position: relative;
}

.project-row--half .project-media {
  position: absolute;
  inset: 0;
}

.project-row--half .project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
  background: rgba(12, 15, 20, 0.8);
}

/* Shared project styles */
.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s ease;
}

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

/* Placeholder backgrounds — replace with real project screenshots */
/* Note: position: absolute is inherited from .project-img — that already
   creates a containing block for the ::before / ::after pseudo-elements */
.project-placeholder {
  background: #12151e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Geometric accent — diagonal line + corner marks */
.project-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48.5%, rgba(255, 45, 45, 0.08) 48.5%, rgba(255, 45, 45, 0.08) 51.5%, transparent 51.5%);
  z-index: 1;
  pointer-events: none;
}

.project-placeholder::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-right: 1px solid rgba(255, 45, 45, 0.2);
  border-bottom: 1px solid rgba(255, 45, 45, 0.2);
  z-index: 1;
  pointer-events: none;
}

/* Vary placeholder tones per project */
.project-list > a:nth-child(1) .project-placeholder { background: #11141e; }
.project-pair:nth-child(2) .project-row:nth-child(1) .project-placeholder { background: #1a1418; }
.project-pair:nth-child(2) .project-row:nth-child(2) .project-placeholder { background: #141a16; }
.project-list > a:nth-child(3) .project-placeholder { background: #18141e; }
.project-pair:nth-child(4) .project-row:nth-child(1) .project-placeholder { background: #141a1a; }
.project-pair:nth-child(4) .project-row:nth-child(2) .project-placeholder { background: #1a1814; }

.project-index {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  z-index: 2;
}

.project-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.project-name {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.project-brief {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 20px;
  max-width: 360px;
}

.project-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  transition: letter-spacing 0.3s ease;
}

.project-row:hover .project-cta {
  letter-spacing: 0.1em;
}

/* ============================================================
   TESTIMONIALS — Single featured quote with rotation
   ============================================================ */
.testimonials {
  padding: 120px 0 140px;
}

.testimonial-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: end;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.45;
  color: var(--black);
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--red);
  min-height: 120px;
}

.testimonial-meta-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 8px;
}

.testimonial-attribution strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.testimonial-attribution span {
  font-size: 14px;
  color: var(--gray);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-prev,
.testimonial-next {
  width: 44px;
  height: 44px;
  border: 1px solid #E2E4E8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: border-color 0.3s ease, color 0.3s ease;
  cursor: none;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  border-color: var(--red);
  color: var(--red);
}

.testimonial-counter {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.testimonial-counter span:first-child {
  color: var(--black);
}

/* ============================================================
   CONTACT — Floating labels, two-column name/email
   ============================================================ */
.contact {
  padding: 140px 0 120px;
}

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

.contact-headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 40px;
  position: relative;
  padding-top: 28px;
}

.contact-headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.contact-headline em {
  font-family: var(--font-serif);
  font-weight: 400;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.contact-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 15px;
}

/* Form — floating labels, underline-only inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
  pointer-events: none;
  transition: transform 0.3s var(--ease), font-size 0.3s var(--ease), color 0.3s ease;
  transform-origin: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(138, 138, 138, 0.3);
  border-radius: 0;
  padding: 16px 0 12px;
  color: var(--white);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(138, 138, 138, 0.3);
  border-radius: 0;
  padding: 16px 0 12px;
  color: var(--white);
  font-size: 16px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A8A8A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

/* Float label up when input has content or focus */
/* Select labels always float — select always shows text */
.form-group select + label {
  transform: translateY(-24px);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label {
  transform: translateY(-24px);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

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

.btn-submit {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================================
   FOOTER — Asymmetric two-column
   ============================================================ */
.site-footer {
  background: var(--black);
  padding: 0 0 80px;
  position: relative;
}

.footer-divider {
  height: 1px;
  background: rgba(138, 138, 138, 0.1);
  margin-bottom: 0;
}

/* Scrolling marquee — branded footer presence */
.footer-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 48px 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  user-select: none;
  margin-bottom: 60px;
}

.footer-marquee span {
  display: inline-block;
  animation: marquee-scroll 20s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

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

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(138, 138, 138, 0.5);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(138, 138, 138, 0.4);
}

/* ============================================================
   SCROLL ANIMATIONS — Varied types
   ============================================================ */

/* Default fade-up */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-list .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.services-list .animate-on-scroll:nth-child(3) { transition-delay: 0.24s; }

.project-pair .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }

.contact-form .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.contact-form .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.contact-form .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.contact-form .animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }

.form-row .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }

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

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-line-inner {
    transform: none;
    animation: none;
  }

  .hero-fade {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .service-desc,
  .service-arrow {
    display: none;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .portfolio-stats {
    gap: 32px;
  }

  .project-row--hero {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .project-row--hero .project-media {
    position: absolute;
    inset: 0;
  }

  .project-row--hero .project-info {
    position: relative;
    z-index: 2;
    background: rgba(12, 15, 20, 0.85);
    min-height: 360px;
  }

  .project-pair {
    grid-template-columns: 1fr;
  }

  .project-row--half {
    min-height: 280px;
  }

  .testimonial-featured {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .testimonial-card {
    flex: 0 0 340px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Restore default cursor on touch devices */
  html, body, a, button, select {
    cursor: auto !important;
  }

  .cursor-dot, .cursor-circle {
    display: none !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 24px;
    color: var(--white) !important;
  }

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

  .btn-nav {
    display: none;
  }

  .lang-switch {
    margin-right: 16px;
  }

  .nav-toggle {
    display: flex;
    cursor: auto;
  }

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

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

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

  .hero-headline {
    font-size: clamp(40px, 11vw, 72px);
    letter-spacing: 0.06em;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .section-headline {
    font-size: clamp(28px, 7vw, 40px);
    margin-bottom: 48px;
  }

  .services {
    padding: 80px 0;
  }

  .service-row {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .service-title {
    font-size: 20px;
  }

  .portfolio {
    padding: 80px 0;
  }

  .project-row--hero {
    min-height: 300px;
  }

  .project-row--half {
    min-height: 240px;
  }

  .project-name {
    font-size: 20px;
  }

  .project-brief {
    display: none;
  }

  .portfolio-stat {
    font-size: 22px;
  }

  .portfolio-stats {
    gap: 24px;
  }

  .testimonials {
    padding: 80px 0;
  }

  .testimonial-quote {
    font-size: clamp(20px, 5vw, 28px);
    padding-left: 24px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-headline {
    font-size: clamp(28px, 7vw, 40px);
  }

  .contact-grid {
    gap: 48px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-right {
    align-items: flex-start;
  }
}
