/* ========================================
   Krasnikova Agency — Premium Wedding Landing
   ======================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
img, picture, svg, video { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
html { scroll-behavior: auto; }

/* ---------- ROOT TOKENS ---------- */
:root {
  /* Palette */
  --bg:           #F4EDE4;
  --bg-alt:       #EBE0D0;
  --bg-deep:     #E5D9C5;
  --text:        #1A1A1A;
  --text-muted:  #6B5F52;
  --text-soft:   #8B7E70;
  --line:        rgba(26,26,26,0.16);
  --line-soft:   rgba(26,26,26,0.08);
  --accent:      #6E2435;
  --accent-soft: #C7A688;
  --white:       #FFFCF7;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max:     1440px;
  --container-pad:     clamp(1.25rem, 5vw, 4.5rem);
  --section-py:        clamp(96px, 14vw, 180px);

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --t-base:      0.4s var(--ease);
  --t-slow:      0.9s var(--ease-out);
}

/* ---------- BASE ---------- */
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}
.eyebrow__line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: rgba(255,252,247,0.7); }

.section-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 24px;
  max-width: 18ch;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.section--alt { background: var(--bg-alt); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 999px;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { transition: transform var(--t-base); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--text);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 24px;
  font-size: 12px;
}
.btn--ghost:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.btn--link {
  padding: 8px 0;
  border-radius: 0;
  background: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.btn--link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.btn--large {
  padding: 22px 42px;
  font-size: 14px;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  display: flex;
  gap: 0.4em;
  opacity: 0;
  animation: preloaderIn 1.2s var(--ease-out) forwards;
}
.preloader__brand--italic {
  font-style: italic;
  color: var(--accent);
}
@keyframes preloaderIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ========================================
   NAVBAR
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: background var(--t-base), padding var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 237, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom-color: var(--line-soft);
}

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

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--t-base);
}
.nav__logo:hover { opacity: 0.7; }
.nav__logo-mark {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-heading);
  font-size: 18px;
}
.nav__logo-text em {
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

.nav__menu {
  display: flex;
  gap: 38px;
}
.nav__menu a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-base);
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav__menu a:hover { color: var(--accent); }
.nav__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__burger {
  display: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: all var(--t-base);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu__list a {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__list a:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu__list a:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu__list a:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu__list a:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu__list a:nth-child(5) { transition-delay: 0.34s; }
.mobile-menu__list a:nth-child(6) { transition-delay: 0.40s; }
.mobile-menu__list a:hover { color: var(--accent); font-style: italic; }
.mobile-menu__cta {
  margin-top: 12px;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  padding: 14px 32px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  width: 100%;
}

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-top: 28px;
  max-width: 13ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.hero__lead {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42ch;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
}
.hero__meta-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}
.hero__meta-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.hero__meta-divider {
  width: 1px; height: 36px;
  background: var(--line);
}

/* Hero media */
.hero__media {
  position: relative;
}
.hero__media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
}
.hero__media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.6s var(--ease-out);
}
.hero.is-loaded .hero__media-frame {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.4s var(--ease-out) 0.3s;
}
.hero.is-loaded .hero__media-frame img {
  transform: scale(1);
}
.hero__media-caption {
  position: absolute;
  bottom: -28px;
  right: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: var(--container-pad);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* ========================================
   PROMISE / PHILOSOPHY
   ======================================== */
.promise { text-align: center; }
.promise__grid {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise__col {
  padding: 56px clamp(20px, 3vw, 48px);
  text-align: left;
  border-left: 1px solid var(--line);
  position: relative;
}
.promise__col:first-child { border-left: none; }
.promise__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 24px;
}
.promise__h {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.promise__col p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   ABOUT
   ======================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about__media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.about__media:hover .about__media-frame img { transform: scale(1.04); }
.about__media-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
}

.about__content > * + * { margin-top: 24px; }
.about__content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 52ch;
}
.about__quote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--text);
  margin-top: 32px !important;
}

/* ========================================
   SERVICES
   ======================================== */
.services__head { max-width: 720px; }
.services__intro {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.services__list {
  margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.service--reverse .service__media { order: 2; }

.service__media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.service:hover .service__media img { transform: scale(1.05); }

.service__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.service__h {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 24px;
}
.service__body p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 48ch;
}
.service__list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.service__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 18px;
}
.portfolio__item {
  position: relative;
  overflow: hidden;
  display: block;
  height: 100%;
}
.portfolio__item--tall { grid-row: span 2; }
.portfolio__item--wide { grid-column: span 2; }

.portfolio__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.portfolio__item:hover img { transform: scale(1.08); }

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0) 60%);
  color: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__overlay span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
}
.portfolio__overlay em {
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.8;
}

/* ========================================
   PROCESS
   ======================================== */
.process { text-align: center; }
.process__timeline {
  position: relative;
  margin-top: 96px;
}
.process__line {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out);
}
.process__line.is-visible { transform: scaleX(1); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process__step { text-align: center; padding: 0 8px; }
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.process__step h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
  margin-top: 24px;
  margin-bottom: 12px;
}
.process__step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 26ch;
  margin: 0 auto;
}

/* ========================================
   STATS
   ======================================== */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats__item {
  padding: 32px 16px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.stats__item:first-child { border-left: none; }
.stats__num {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--text);
  display: inline-block;
}
.stats__plus {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--accent);
  vertical-align: top;
}
.stats__label {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials__slider {
  margin-top: 88px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.testimonials__track {
  display: flex;
  transition: transform 0.8s var(--ease-out);
}
.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding: 0 24px;
}
.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 36px;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}
.testimonial__quote em { font-style: italic; }
.testimonial__author {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
}
.testimonial__meta {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.testimonials__controls {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.testimonials__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--t-base);
}
.testimonials__btn:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.testimonials__dots {
  display: flex;
  gap: 10px;
}
.testimonials__dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--t-base), width var(--t-base);
}
.testimonials__dots button.is-active {
  background: var(--accent);
  width: 26px;
  border-radius: 4px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  background: var(--accent);
  color: var(--white);
  padding: clamp(96px, 14vw, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,252,247,0.12);
  border-radius: 50%;
}
.cta::before { top: -120px; left: -120px; }
.cta::after { bottom: -160px; right: -120px; width: 420px; height: 420px; }

.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 1.1;
  margin: 28px auto 24px;
  max-width: 18ch;
}
.cta__title em {
  font-style: italic;
  color: var(--accent-soft);
}
.cta__lead {
  max-width: 48ch;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,252,247,0.75);
}
.cta .btn--primary {
  background: var(--white);
  color: var(--text);
}
.cta .btn--primary:hover {
  background: var(--accent-soft);
  color: var(--text);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-deep);
  padding: 96px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.footer__logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
}
.footer__logo em {
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.footer__brand p {
  margin-top: 24px;
  color: var(--text-muted);
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.7;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text);
  margin-bottom: 12px;
}
.footer__col a, .footer__text {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-base);
}
.footer__col a:hover { color: var(--accent); }

.footer__dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.footer__dev-credit strong {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--t-base);
}
.footer__dev-credit svg {
  transition: transform 0.3s var(--ease-out), color var(--t-base);
  flex-shrink: 0;
}
.footer__dev-credit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.footer__dev-credit:hover { color: var(--text-muted); }
.footer__dev-credit:hover strong { color: var(--accent); }
.footer__dev-credit:hover svg { transform: translateX(3px); color: var(--accent); }
.footer__dev-credit:hover::after { width: 100%; }

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__media-frame { aspect-ratio: 4 / 3; }
  .hero__scroll { display: none; }

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

  .service { grid-template-columns: 1fr; }
  .service--reverse .service__media { order: 0; }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .portfolio__item--wide { grid-column: span 2; }

  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 56px; }
  .process__line { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(3) { border-left: none; }

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

@media (max-width: 720px) {
  .promise__grid { grid-template-columns: 1fr; }
  .promise__col { border-left: none; border-top: 1px solid var(--line); }
  .promise__col:first-child { border-top: none; }

  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .portfolio__item--tall, .portfolio__item--wide { grid-row: auto; grid-column: auto; }

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

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero__meta { flex-wrap: wrap; gap: 20px; }
  .hero__meta-divider { display: none; }

  .btn { padding: 16px 24px; font-size: 12px; }
}

@media (max-width: 480px) {
  .section-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__actions .btn { justify-content: center; }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media-frame { clip-path: inset(0 0 0 0); }
  .hero__media-frame img { transform: scale(1); }
}
