/*
  AESTHETIC — Dark Editorial Luxury
  Palette — Warm black · Gold · Cream
  Type    — Cormorant Garamond · JetBrains Mono · Outfit
*/

/* ═══════════════════════════════════════
   TOKENS
═══════════════════════════════════════ */
:root {
  --bg:          #09090A;
  --bg-2:        #0F0F10;
  --surface:     #141415;
  --surface-2:   #1C1C1E;

  --border:       rgba(200,169,110,0.12);
  --border-hover: rgba(200,169,110,0.45);
  --rule:         rgba(200,169,110,0.18);

  --text:    #EDE8DF;
  --text-2:  rgba(237,232,223,0.58);
  --text-3:  rgba(237,232,223,0.32);

  --gold:       #C8A96E;
  --gold-2:     #A8893E;
  --gold-light: #D9BF8A;
  --gold-glow:  rgba(200,169,110,0.14);
  --gold-shine: rgba(200,169,110,0.06);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --font-body:    'Outfit', system-ui, sans-serif;

  --ease:      cubic-bezier(0.4,0,0.2,1);
  --ease-out:  cubic-bezier(0,0,0.2,1);
  --dur:       0.3s;
  --dur-slow:  0.65s;

  --radius:    10px;
  --header-h: 68px;
  --container: 1200px;
}

[data-theme="light"] {
  --bg:        #F0EBE2;
  --bg-2:      #F8F4EE;
  --surface:   #FFFFFF;
  --surface-2: #F0EBE2;

  --border:       rgba(100,75,20,0.1);
  --border-hover: rgba(154,111,42,0.4);
  --rule:         rgba(100,75,20,0.15);

  --text:   #1A1714;
  --text-2: rgba(26,23,20,0.58);
  --text-3: rgba(26,23,20,0.32);

  --gold:       #8A6020;
  --gold-2:     #6B4910;
  --gold-light: #8A6020;
  --gold-glow:  rgba(138,96,32,0.1);
  --gold-shine: rgba(138,96,32,0.05);
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }
@media (hover: none) { button { cursor: auto; } }

/* ═══════════════════════════════════════
   GRAIN TEXTURE
═══════════════════════════════════════ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ═══════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  will-change: transform;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.cursor-ring {
  width: 26px; height: 26px;
  border: 1px solid rgba(200,169,110,0.55);
  border-radius: 50%;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 44px; height: 44px;
  border-color: var(--gold);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 112px 0; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

/* ═══════════════════════════════════════
   TYPOGRAPHY SYSTEM
═══════════════════════════════════════ */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow-num {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}

.section__head { margin-bottom: 64px; }

.section-sub {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 300;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #0C0B09;
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 28px var(--gold-glow);
}
.btn--outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(9,9,10,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
[data-theme="light"] .header.is-scrolled {
  background: rgba(240,235,226,0.9);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo-first { color: var(--gold); }
.logo-last  { color: var(--text); }

.header__nav {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 8px 16px;
  border-radius: 2px;
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.header__controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Lang */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px;
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 5px 9px;
  border-radius: 2px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-btn:hover { color: var(--text-2); }
.lang-btn.active { background: var(--gold); color: #0C0B09; }

/* Theme */
.theme-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-3);
  background: var(--surface);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.theme-btn:hover { color: var(--gold); border-color: var(--border-hover); }
.theme-btn svg { width: 15px; height: 15px; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: none;  }
[data-theme="light"] .icon-sun  { display: none;  }
[data-theme="light"] .icon-moon { display: block; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.burger span {
  display: block;
  width: 18px; height: 1px;
  background: var(--text);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════
   MOBILE NAV
═══════════════════════════════════════ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mobile-nav.is-open { opacity: 1; pointer-events: all; transform: none; }
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-2);
  padding: 10px 32px;
  transition: color var(--dur) var(--ease);
}
.mobile-nav__link:hover { color: var(--gold); }

.mobile-nav__lang {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 4px;
}
.mobile-nav__lang .lang-btn {
  font-size: 11px;
  padding: 7px 14px;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 80px;
}

/* Text */
.hero__text { flex: 1; min-width: 0; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero__eyebrow .eyebrow-num { color: var(--text-3); }
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 100px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
}
.name-line--indent { padding-left: 0.25em; font-style: italic; }

.hero__tagline {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 400px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stack {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.stack-logo {
  height: 55px;
  width: auto;
}

/* Photo */
.hero__visual {
  flex-shrink: 0;
  width: clamp(260px, 32vw, 400px);
}
.hero__photo-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%) contrast(1.04);
  transition: filter var(--dur-slow) var(--ease);
}
.hero__photo-frame:hover .hero__photo { filter: grayscale(0%) contrast(1); }

.photo-rule {
  position: absolute;
  background: var(--gold);
  opacity: 0.4;
}
.photo-rule--h {
  left: 0; right: 0; height: 1px;
  bottom: 28%;
}
.photo-rule--v {
  top: 0; bottom: 0; width: 1px;
  right: 20%;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: hidden;
  height: 48px;
}
.scroll-hint__line {
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about { border-bottom: 1px solid var(--rule); }

.about__lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 580px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  transition: background var(--dur) var(--ease);
  position: relative;
}
.feature:last-child { border-right: none; }
.feature:hover { background: var(--gold-shine); }

.feature__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.feature__text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
.portfolio { border-bottom: 1px solid var(--rule); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.app-card {
  background: var(--bg);
  padding: 32px;
  position: relative;
  --mx: 50%;
  --my: 50%;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
[data-theme="light"] .app-card { background: var(--surface); }

.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(200,169,110,0.13) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .app-card::before {
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(138,96,32,0.09) 0%,
    transparent 65%
  );
}
.app-card > * { position: relative; z-index: 1; }

.app-card:hover {
  background: var(--gold-shine);
  box-shadow: inset 0 0 0 1px rgba(200,169,110,0.22);
}
[data-theme="light"] .app-card:hover {
  box-shadow: inset 0 0 0 1px rgba(138,96,32,0.18);
}
.app-card:hover::before { opacity: 1; }

.app-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.app-card__icon-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}
.app-card__icon { width: 100%; height: 100%; object-fit: cover; }

.app-card__meta { flex: 1; min-width: 0; }

.app-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.1;
}

.app-card__badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* Store badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.store-badge:hover { border-color: var(--gold); color: var(--gold); }
.store-badge svg { width: 12px; height: 12px; fill: currentColor; }
.badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.badge-text small { font-size: 7px; opacity: 0.6; }
.badge-text strong { font-size: 10px; font-weight: 500; }

/* Description */
.app-card__desc-wrap { margin-bottom: 16px; }
.app-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
}

/* Toggle / Learn more */
.app-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.app-card__toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.toggle-chevron { display: none; }

/* ═══════════════════════════════════════
   APP MODAL
═══════════════════════════════════════ */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.app-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.app-modal {
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  width: min(680px, 100%);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s var(--ease-out);
  overflow: hidden;
}
.app-modal-overlay.is-open .app-modal {
  transform: scale(1) translateY(0);
}
.app-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  z-index: 1;
  cursor: pointer;
}
.app-modal__close svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; pointer-events: none; }
.app-modal__close:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.app-modal__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.app-modal__icon-wrap {
  width: 64px; height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.app-modal__icon { width: 100%; height: 100%; object-fit: cover; }
.app-modal__meta { flex: 1; min-width: 0; padding-right: 44px; }
.app-modal__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.1;
}
.app-modal__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.app-modal__body {
  overflow-y: auto;
  padding: 24px 28px 28px;
  flex: 1;
}
.app-modal__body::-webkit-scrollbar { width: 3px; }
.app-modal__body::-webkit-scrollbar-track { background: transparent; }
.app-modal__body::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 2px; }
.app-modal__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.9;
  white-space: pre-line;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact__inner {
  display: flex;
  gap: 100px;
  align-items: flex-start;
  margin-top: 40px;
}
.contact__left { flex: 1; }
.contact__sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 360px;
  margin-top: 4px;
}

.contact__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-item {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
[data-theme="light"] .contact-item { background: var(--surface); }
.contact-item:hover { background: var(--gold-shine); color: var(--gold); }
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-item--tg  svg { fill: #229ED9; }
.contact-item--wa  svg { fill: #25D366; }
.contact-item--email svg { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.contact-item.is-copied { color: var(--gold); }
.contact-item.is-copied .contact-item__label { letter-spacing: 0; text-transform: none; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy,
.footer__made {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

.features-grid .feature:nth-child(1) { transition-delay: 0.04s; }
.features-grid .feature:nth-child(2) { transition-delay: 0.10s; }
.features-grid .feature:nth-child(3) { transition-delay: 0.16s; }
.features-grid .feature:nth-child(4) { transition-delay: 0.22s; }

.apps-grid .app-card:nth-child(1) { transition-delay: 0.04s; }
.apps-grid .app-card:nth-child(2) { transition-delay: 0.09s; }
.apps-grid .app-card:nth-child(3) { transition-delay: 0.14s; }
.apps-grid .app-card:nth-child(4) { transition-delay: 0.19s; }
.apps-grid .app-card:nth-child(5) { transition-delay: 0.24s; }
.apps-grid .app-card:nth-child(6) { transition-delay: 0.29s; }

.contact__links .contact-item:nth-child(1) { transition-delay: 0.05s; }
.contact__links .contact-item:nth-child(2) { transition-delay: 0.12s; }
.contact__links .contact-item:nth-child(3) { transition-delay: 0.19s; }

/* ═══════════════════════════════════════
   RESPONSIVE — 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: none; }
  .feature:nth-child(3) { border-top: 1px solid var(--rule); }
  .feature:nth-child(4) { border-top: 1px solid var(--rule); border-right: none; }

  .apps-grid { grid-template-columns: repeat(2, 1fr); }

  .hero__inner { gap: 48px; }
  .hero__visual { width: clamp(220px, 28vw, 320px); }

  .contact__inner { flex-direction: column; gap: 40px; margin-top: 28px; }
  .contact__left { width: 100%; }
  .contact__links { width: 100%; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header__inner { justify-content: space-between; }
  .header__nav { display: none; }
  .header__controls .lang-switcher { display: none; }
  .burger { display: flex; }

  .hero__inner {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 80px;
  }
  .hero__visual { width: 200px; }
  .hero__tagline { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stack { justify-content: center; }
  .hero__eyebrow { justify-content: center; }
  .name-line--indent { padding-left: 0; }

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

  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--rule); }
  .feature:last-child { border-bottom: none; }
  .feature:nth-child(3),
  .feature:nth-child(4) { border-top: none; }

  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero__name { font-size: 44px; }
  .btn { padding: 12px 22px; font-size: 11px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .app-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════
   WIDE — 1440px+
═══════════════════════════════════════ */
@media (min-width: 1440px) {
  .hero__visual { width: 420px; }
  .section { padding: 130px 0; }
}

/* ═══════════════════════════════════════
   LANDSCAPE MOBILE
═══════════════════════════════════════ */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero__inner { flex-direction: row; text-align: left; padding-top: 24px; }
  .hero__visual { width: 140px; }
  .hero__eyebrow { justify-content: flex-start; }
  .hero__actions { justify-content: flex-start; }
  .hero__tagline { margin-left: 0; margin-right: 0; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
