/* =========================================================
   MORENODEV — Alpine Editorial
   Aesthetic: deep ink + warm bone + electric lime
   ========================================================= */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* LIGHT MODE — default */
  --ink: #f5f1e8;
  --ink-2: #ede9dc;
  --surface: #ffffff;
  --surface-2: #f0ece3;
  --bone: #0d0d10;
  --bone-muted: #3d3d4a;
  --muted: #8a8a98;
  --border: #ddd8cc;
  --border-soft: #e8e3d6;
  --accent: #b45309;
  --accent-soft: #b4530914;
  --accent-glow: #b4530930;
  --warn: #d63b1f;
  --success: #008a5e;
  --nav-blur: rgba(245, 241, 232, 0.88);

  /* Type */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body: 'Geist', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --wrap: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(5rem, 12vw, 9rem);
  --radius: 18px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.4, 0.0, 0.2, 1);

  /* Shadows — light mode */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 4px 14px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
}

/* DARK MODE */
[data-theme="dark"] {
  --ink: #0b0b0e;
  --ink-2: #14141a;
  --surface: #1a1a22;
  --surface-2: #22222c;
  --bone: #f5f1e8;
  --bone-muted: #c8c4ba;
  --muted: #909099;
  --border: #2a2a34;
  --border-soft: #1f1f28;
  --accent: #d4ff3a;
  --accent-soft: #d4ff3a22;
  --accent-glow: #d4ff3a55;
  --warn: #ff5a3c;
  --success: #3affb0;
  --nav-blur: rgba(11, 11, 14, 0.78);

  /* Shadows — dark mode */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.35), 0 4px 14px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.30);
}

/* Smooth theme transition */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* =================== RESET =================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

/* =================== GRAIN OVERLAY =================== */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: overlay;
}
[data-theme="dark"] .grain {
  opacity: 0.05;
}
.grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* =================== CUSTOM CURSOR =================== */
.cursor, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transition: transform 0.2s var(--ease), opacity 0.2s, background 0.2s;
  mix-blend-mode: normal;
  will-change: transform;
}
[data-theme="dark"] .cursor,
[data-theme="dark"] .cursor-dot { mix-blend-mode: difference; }
.cursor {
  width: 32px; height: 32px;
  border: 1px solid var(--bone);
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor.is-hover { transform: translate(-50%, -50%) scale(1.8); background: var(--accent); border-color: var(--accent); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* =================== NAVIGATION =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: var(--nav-blur);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  position: relative; z-index: 100;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
}
.logo-badge { display: block; flex-shrink: 0; }
.logo-badge--lg { display: block; }
.logo-ghost { stroke-opacity: 0.38; }
[data-theme="dark"] .logo-ghost { stroke-opacity: 0.18; }
.logo-text { line-height: 1; }
.logo-brand {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.logo-suffix {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.9rem;
  color: var(--bone-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* ── Theme toggle ── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--bone);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--surface-2); transform: rotate(20deg); }
.theme-toggle svg { width: 16px; height: 16px; }
/* show sun in dark mode, moon in light mode */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.lang__btn {
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500;
  padding: 6px 10px; border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: all 0.25s var(--ease);
}
.lang__btn:hover { color: var(--bone); }
.lang__btn.is-active { background: var(--accent); color: var(--ink); }

.nav__burger { display: none; width: 36px; height: 36px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--bone); transition: transform 0.3s, opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.nav__mobile {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--ink);
  padding: 80px var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  font-family: var(--f-display); font-size: 1.8rem; font-weight: 400;
  transform: translateY(-100%); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
  pointer-events: none;
  z-index: 99;
  border-bottom: 1px solid var(--border);
}
.nav__mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__mobile a:not(.btn) { color: var(--bone); border-bottom: 1px solid var(--border-soft); padding-bottom: 0.8rem; transition: color 0.2s; }
.nav__mobile a:not(.btn):hover { color: var(--accent); }
.nav__mobile .btn { margin-top: 1rem; align-self: flex-start; font-family: var(--f-body); font-size: 0.95rem; font-weight: 500; }
.theme-toggle--mobile { width: auto; border-radius: 999px; padding: 0.6rem 1.2rem; gap: 0.5rem; margin-top: 0.5rem; align-self: flex-start; }
.theme-toggle--mobile span { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; color: var(--bone); }

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), color 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
  background: var(--bone);
  box-shadow: 0 12px 40px -12px var(--accent-glow);
  transform: translate3d(0, -2px, 0);
}
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--bone-muted); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--full { width: 100%; }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 16vh, 11rem) var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero__mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(180, 83, 9, 0.13), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(214, 59, 31, 0.09), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(180, 83, 9, 0.07), transparent 50%);
  filter: blur(60px);
  animation: drift 20s ease-in-out infinite;
}
[data-theme="dark"] .hero__mesh {
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 255, 58, 0.18), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 90, 60, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(212, 255, 58, 0.08), transparent 50%);
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(2%, -3%) scale(1.05); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 55% at 50% 28%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 100% 55% at 50% 28%, black 15%, transparent 70%);
  opacity: 0.5;
}
[data-theme="dark"] .hero__grid {
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.4;
}

.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  z-index: 1;
  padding-bottom: 5rem;
}

.hero__meta {
  display: flex; width: fit-content; align-items: center; gap: 16px;
  padding: 8px 18px 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--bone-muted);
  letter-spacing: 0.02em;
  margin-bottom: 3.5rem;
}
.dot-pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.dot-pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2s ease-out infinite;
}
.dot-pulse--small { width: 6px; height: 6px; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.hero__title span { display: block; }
.hero__italic {
  font-style: italic;
  font-weight: 400;
  padding-left: clamp(1rem, 5vw, 4rem);
}
.hero__accent { color: var(--accent); }

.hero__sub {
  max-width: 580px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--bone-muted);
  margin-bottom: 2.5rem;
  line-height: 1.55;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 4rem; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-top: 1rem;
  max-width: 900px;
}
.stat {
  padding: 1.2rem 2rem 1.2rem 1.8rem;
  border-right: 1px solid var(--border);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 10px;
}
.stat__label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =================== MARQUEE =================== */
.marquee {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex; gap: 2rem;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--bone-muted);
  letter-spacing: 0.08em;
  will-change: transform;
}
.marquee__track span:nth-child(odd) { color: var(--accent); }
@keyframes scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* =================== SECTIONS =================== */
.section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
}
.section--lazy {
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}
.section--alt {
  max-width: none;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 30%, var(--ink-2) 70%, var(--ink) 100%);
  box-shadow: inset 0 1px 0 var(--border), inset 0 -1px 0 var(--border);
}
.section--alt .section__head,
.section--alt .pricing,
.section--alt .testimonials,
.section--alt .faq,
.section--alt .maintenance {
  max-width: var(--wrap); margin-left: auto; margin-right: auto;
}

.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.eyebrow__num { color: var(--muted); }
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 1000px;
}
.section__title span { display: block; }
.section__title .italic {
  font-style: italic; font-weight: 400;
  padding-left: clamp(1rem, 4vw, 3rem);
}
.section__title .accent { color: var(--accent); }

.section__sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--bone-muted);
  max-width: 600px;
}

/* =================== BENTO (services) =================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bento__card {
  grid-column: span 3;
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  overflow: hidden;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.bento__card:hover {
  border-color: var(--accent);
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
}
.bento__card--lg { grid-column: span 4; min-height: 420px; }
.bento__card--wide { grid-column: span 6; }
.bento__card--lg + .bento__card { grid-column: span 2; }

.bento__num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
.bento__title {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  margin-bottom: 0.8rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.bento__desc {
  color: var(--bone-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}
.bento__list { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.bento__list li {
  font-size: 0.85rem;
  color: var(--bone-muted);
  padding-left: 18px;
  position: relative;
}
.bento__list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
}

.tag {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* Bento decorative visuals */
.bento__visual {
  margin-top: 1.5rem;
  flex: 1;
  display: flex;
  align-items: flex-end;
}
.browser {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.browser__bar {
  display: flex; gap: 6px;
  padding: 10px 12px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
}
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser__bar span:first-child { background: var(--warn); }
.browser__bar span:nth-child(2) { background: #d4a574; }
.browser__bar span:nth-child(3) { background: var(--accent); }
.browser__content { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bar { height: 8px; background: var(--surface); border-radius: 2px; }
.bar--w70 { width: 70%; }
.bar--w50 { width: 50%; }
.bar--w90 { width: 90%; }
.bar--accent { background: var(--accent); height: 24px; width: 35%; border-radius: 999px; margin-top: 4px; }
.bar-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px; }
.bar-grid > div { aspect-ratio: 1; background: var(--surface); border-radius: 4px; }
.bar-grid > div:nth-child(2) { background: var(--accent-soft); }

.flow {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: auto 0;
  padding: 1.5rem 0;
}
.flow__node {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ink);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s;
}
.flow__node.accent { background: var(--accent); color: var(--ink); border-color: var(--accent); animation: rotate 6s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.flow__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  position: relative;
}
.flow__line::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: -2.5px;
  animation: travel 2s ease-in-out infinite;
}
@keyframes travel {
  from { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  to { left: 100%; opacity: 0; }
}

.ai-pulse {
  position: relative;
  margin: auto;
  width: 80px; height: 80px;
}
.ai-pulse__core {
  position: absolute; inset: 30%;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--accent-glow);
}
.ai-pulse__ring {
  position: absolute; inset: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: pulseRing 2.4s ease-out infinite;
}
.ai-pulse__ring--2 { animation-delay: 1.2s; }
@keyframes pulseRing {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.maint { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: auto; }
.maint__item {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--f-mono);
  font-size: 1.1rem;
  font-weight: 500;
}
.maint__item span { color: var(--accent); font-size: 1.4rem; }
.maint__item small { font-size: 0.7rem; color: var(--muted); margin-left: 4px; }

/* =================== PRICING =================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 3rem;
}
.price-card {
  position: relative;
  padding: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.price-card:hover { border-color: var(--bone-muted); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border-color: var(--accent);
  transform: translate3d(0, -12px, 0);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent), 0 30px 80px -20px var(--accent-glow);
}
.price-card--featured:hover { border-color: var(--accent); transform: translate3d(0, -16px, 0); }
.price-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card__name {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.price-card__tag {
  margin-top: 0.4rem;
  color: var(--bone-muted);
  font-size: 0.88rem;
}
.price-card__price {
  margin: 1.5rem 0;
  display: flex; align-items: baseline; gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}
.price-card__amount {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-card--featured .price-card__amount { color: var(--accent); }
.price-card__amount--from { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.price-card__amount--from span { font-family: var(--f-body); font-size: 0.7em; color: var(--muted); margin-right: 6px; font-style: italic; }
.price-card__cur {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--bone-muted);
  letter-spacing: 0.05em;
}
.price-card__list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 2rem;
  flex: 1;
}
.price-card__list li {
  font-size: 0.92rem;
  color: var(--bone-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.price-card__list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 600;
}
.price-card__list li strong { color: var(--bone); font-weight: 500; }

.maintenance {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.6rem 2rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.maintenance__icon {
  font-size: 3rem;
  color: var(--accent);
  font-family: var(--f-display);
  font-style: italic;
  line-height: 0.8;
}
.maintenance h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.maintenance p { color: var(--bone-muted); font-size: 0.9rem; }

/* =================== PROJECTS =================== */
.projects { display: flex; flex-direction: column; gap: 5rem; }
.project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.project--reverse { grid-template-columns: 1fr 1.1fr; }
.project--reverse .project__visual { order: 2; }
.project--reverse .project__meta { order: 1; }

.project__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.project__visual--bakery { background: linear-gradient(135deg, #2a1f1a 0%, #3d2419 100%); }
.project__visual--studio { background: linear-gradient(135deg, #0f1a24 0%, #1a2a3d 100%); }
.project__visual--clinic { background: linear-gradient(135deg, #0f2419 0%, #1a3d2a 100%); }
.project__visual--ginda { background: linear-gradient(135deg, #0a1628 0%, #0f2244 100%); }
.project__visual--socialvibe { background: linear-gradient(135deg, #14082a 0%, #22104a 100%); }
.project__visual--magichome { background: linear-gradient(135deg, #0c0e14 0%, #141822 100%); }
.project__visual--hakuna { background: linear-gradient(135deg, #0a1f1a 0%, #0f2d26 100%); }

.browser-frame-wrapper {
  position: relative;
  width: 88%;
  margin-left: auto;
}
.browser-frame-wrapper::before,
.browser-frame-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.browser-frame-wrapper::before {
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) rotate(-3deg) translate(-20px, 12px);
  z-index: 0;
}
.browser-frame-wrapper::after {
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) rotate(-1.5deg) translate(-10px, 6px);
  z-index: 1;
}
.browser-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 70px -16px rgba(0,0,0,0.7);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.project:hover .browser-frame { transform: perspective(1000px) rotateY(-2deg) rotateX(0deg); }
.project:hover .browser-frame-wrapper::before { transform: perspective(1000px) rotateY(-2deg) rotateX(0deg) rotate(-3deg) translate(-16px, 10px); }
.project:hover .browser-frame-wrapper::after  { transform: perspective(1000px) rotateY(-2deg) rotateX(0deg) rotate(-1.5deg) translate(-8px, 5px); }
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #1a1a1f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-frame__dots { display: flex; gap: 5px; flex-shrink: 0; }
.browser-frame__dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-frame__dots span:nth-child(1) { background: #ff5f57; }
.browser-frame__dots span:nth-child(2) { background: #febc2e; }
.browser-frame__dots span:nth-child(3) { background: #28c840; }
.browser-frame__url {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.35);
  overflow: hidden;
  white-space: nowrap;
}
.browser-frame__screen { overflow: hidden; }
.browser-frame__screen img { width: 100%; display: block; }

.project__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.project__link:hover { border-color: var(--accent); }

.mock-site {
  width: 100%;
  background: #f5f1e8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.project:hover .mock-site { transform: perspective(1000px) rotateY(-2deg) rotateX(0deg); }
.mock-site--cold { background: #f0f4f8; }
.mock-site--mint { background: #f4f9f5; }
.mock-site__nav { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.mock-site__nav span { width: 18px; height: 4px; background: rgba(0,0,0,0.2); border-radius: 2px; }
.mock-site__hero { padding: 24px 20px 16px; }
.mock-site__hero--centered { text-align: center; }
.mock-site__title { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: #1a1a1a; font-weight: 500; }
.mock-site__sub { font-size: 0.7rem; color: rgba(0,0,0,0.5); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.mock-site__bar { height: 6px; background: rgba(0,0,0,0.08); width: 60%; margin-top: 10px; border-radius: 2px; }
.mock-site__btn {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: #1a1a1a;
  color: var(--accent);
  font-size: 0.7rem;
  border-radius: 999px;
  font-weight: 500;
}
.mock-site__btn--alt { background: #1a3d2a; color: white; }
.mock-site--cold .mock-site__btn { background: #1a2a3d; color: white; }
.mock-site__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 0 20px 20px; }
.mock-site__grid > div { aspect-ratio: 1; background: rgba(0,0,0,0.06); border-radius: 4px; }
.mock-site--warm .mock-site__grid > div:nth-child(2) { background: #d4a574; }
.mock-site__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 20px 20px; }
.mock-site__gallery > div { aspect-ratio: 16/9; background: rgba(0,0,0,0.08); border-radius: 4px; }
.mock-site__gallery > div:nth-child(2) { background: #1a2a3d; }
.mock-site__cal {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  padding: 0 20px 20px;
}
.mock-site__cal > div { aspect-ratio: 1; background: rgba(0,0,0,0.06); border-radius: 4px; }
.mock-site__cal > div.active { background: var(--accent); }

.project__cat {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}
.project__title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.project__desc { color: var(--bone-muted); margin-bottom: 1.6rem; }
.project__metrics { display: flex; gap: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.project__metrics > div { display: flex; flex-direction: column; gap: 4px; }
.project__metrics strong {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.project__metrics span { font-family: var(--f-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* =================== ABOUT =================== */
.section--about { max-width: var(--wrap); }
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
}
.about__photo {
  width: 100%; height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.about__photo svg { width: 100%; height: 100%; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about__photo-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 18px;
  padding: 6px 14px 6px 10px;
  background: rgba(11,11,14,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #f5f1e8;
}
.about__sticker {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 110px; height: 110px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform 0.6s var(--ease);
  box-shadow: 0 20px 60px -10px var(--accent-glow);
}
.about__sticker svg { width: 100%; height: 100%; }
.about__lead {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
  margin: 1.5rem 0;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.about__body {
  color: var(--bone-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.value__num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.value h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 6px 0 6px;
}
.value p { font-size: 0.85rem; color: var(--bone-muted); }

/* =================== TESTIMONIALS =================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.testimonial {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.testimonial:hover { transform: translate3d(0, -4px, 0); border-color: var(--bone-muted); box-shadow: var(--shadow-md); }
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 4px; }
.testimonial blockquote {
  font-family: var(--f-display);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.005em;
  flex: 1;
}
.testimonial figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial figcaption strong {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
}
.testimonial figcaption span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.avatar--1 { background: linear-gradient(135deg, #d4ff3a, #a8cc2c); }
.avatar--2 { background: linear-gradient(135deg, #ff5a3c, #c84628); }
.avatar--3 { background: linear-gradient(135deg, #f4f1e8, #c8c4ba); }
.avatar--4 { background: linear-gradient(135deg, #3affb0, #2bd690); }
.avatar--5 { background: linear-gradient(135deg, #d4a574, #a87f50); }
.avatar--6 { background: linear-gradient(135deg, #b08fff, #8064cc); }

/* =================== PROCESS =================== */
.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
  z-index: 0;
}
.process__step {
  position: relative;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 1;
}
.process__num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.process__step h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.process__step p { font-size: 0.88rem; color: var(--bone-muted); margin-bottom: 1rem; }
.process__time {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid var(--accent);
  border-radius: 4px;
}

/* =================== FAQ =================== */
.faq {
  display: flex; flex-direction: column;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.faq__item:hover { border-color: var(--bone-muted); box-shadow: var(--shadow-md); }
.faq__item[open] {
  border-color: var(--accent);
  background: var(--surface-2);
}
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq__body {
  display: block;
}
.faq__body p {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.6rem 1.4rem;
  color: var(--bone-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 700px;
}

/* =================== CONTACT =================== */
.section--contact { max-width: var(--wrap); }
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__lead {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--bone);
  margin: 1.5rem 0 2.5rem;
  font-weight: 400;
  line-height: 1.45;
}
.contact__channels { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.contact__channels li {
  display: flex; align-items: center; gap: 14px;
  font-size: 1rem;
  color: var(--bone);
}
.contact__channels a:hover { color: var(--accent); }
.contact__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent);
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input, .field textarea {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--f-body);
  transition: border-color 0.25s, background 0.25s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--ink-2);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.chips input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.chips label {
  font-family: var(--f-body);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--bone-muted);
  padding: 8px 14px;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.chips label:hover { border-color: var(--bone-muted); color: var(--bone); }
.chips input[type="radio"]:checked + label {
  background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 500;
}
.contact__form button { grid-column: 1 / -1; margin-top: 0.5rem; }
.contact__honeypot { display: none; }
.contact__success {
  grid-column: 1 / -1;
  padding: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  text-align: center;
  font-size: 0.92rem;
}

/* =================== FOOTER =================== */
.footer {
  padding: 5rem var(--gutter) 2rem;
  border-top: 1px solid var(--border);
  background: var(--ink-2);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer__claim {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.footer__claim span { display: block; }
.footer__claim .italic { font-style: italic; padding-left: 1rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h3 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer__cols a {
  display: block;
  font-size: 0.92rem;
  color: var(--bone-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--accent); }
.footer__bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

/* =================== REVEAL ANIMATIONS =================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* =================== MOBILE / RESPONSIVE =================== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__card { grid-column: span 2; }
  .bento__card--lg { grid-column: span 4; min-height: 360px; }
  .bento__card--wide { grid-column: span 4; }
  .bento__card--lg + .bento__card { grid-column: span 2; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card--featured { transform: none; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .project, .project--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .project--reverse .project__visual { order: 0; }
  .project--reverse .project__meta { order: 0; }
  .project__visual { aspect-ratio: auto; }
  .about { grid-template-columns: 1fr; }
  .about__visual { max-width: 360px; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.4rem, 13vw, 4rem); }
  .hero__italic { padding-left: 1.5rem; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 0; padding-top: 2rem; }
  .stat { padding: 1.4rem 1rem; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .bento, .testimonials, .process { grid-template-columns: 1fr; }
  .bento__card, .bento__card--lg, .bento__card--wide, .bento__card--lg + .bento__card { grid-column: span 1; min-height: 200px; }
  .contact__form { grid-template-columns: 1fr; padding: 1.6rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom { font-size: 0.7rem; }
  .about__values { grid-template-columns: 1fr; }
  .maintenance { flex-direction: column; align-items: flex-start; padding: 1.4rem; }
  .price-card { padding: 1.8rem; }
  .section__title .italic { padding-left: 1rem; }
  .nav__inner { gap: 0.5rem; }
  .lang { display: none; }
  .nav__mobile .lang { display: inline-flex; align-self: flex-start; }
}

/* =================== 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;
  }
  .reveal { opacity: 1; transform: none; }
}
