/* ==========================================================================
   11AI — site styles
   ========================================================================== */

:root {
  --navy: #152b5e;
  --navy-700: #0f2049;
  --teal: #3dd6b0;
  --teal-600: #1fa888;
  --ink: #0b1220;
  --ink-2: #111a2e;
  --ink-3: #1a2540;

  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --text: #0f1a33;
  --text-muted: #56627a;
  --border: #e2e7f0;
  --card: #ffffff;
  --brand: var(--navy);
  --accent-text: #137a63;

  --on-dark: #eef2f9;
  --on-dark-muted: #9aa7c0;
  --border-dark: rgba(255, 255, 255, 0.1);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 26, 51, 0.06), 0 8px 24px rgba(15, 26, 51, 0.06);
  --shadow-lg: 0 30px 80px rgba(3, 8, 20, 0.45);
  --container: 1180px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-soft: #0f1829;
    --text: #e8edf6;
    --text-muted: #9aa7c0;
    --border: #1f2a42;
    --card: #111a2e;
    --brand: #8fb0ff;
    --accent-text: var(--teal);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 40em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.text-accent { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #5ce3c2; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; opacity: .92; }
.btn-ghost:hover { opacity: 1; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-dark);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.02em; }
.brand img { width: 42px; height: 42px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 0.96rem;
  padding: 8px 14px; border-radius: 8px; color: var(--on-dark-muted);
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-links .nav-cta {
  margin-left: 10px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); color: var(--on-dark); font-size: 0.9rem;
  transition: border-color .2s ease, color .2s ease;
}
.nav-links .nav-cta:hover { border-color: var(--teal); color: var(--teal); }

/* Platforms dropdown */
.has-menu { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 500; font-size: 0.96rem;
  padding: 8px 14px; color: var(--on-dark-muted); transition: color .2s ease;
}
.menu-btn svg { width: 15px; height: 15px; transition: transform .2s ease; }
.menu-btn:hover, .has-menu.active .menu-btn { color: #fff; }
.has-menu.active .menu-btn { box-shadow: inset 0 -2px 0 var(--teal); }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 310px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: rgba(14, 22, 40, 0.98); border: 1px solid var(--border-dark); border-radius: 14px;
  padding: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .menu-btn svg, .has-menu.open .menu-btn svg { transform: rotate(180deg); }
.nav-links .menu-item { display: block; padding: 12px 14px; border-radius: 10px; }
.nav-links .menu-item:hover, .nav-links .menu-item[aria-current="page"] { background: rgba(255, 255, 255, 0.05); box-shadow: none; border-radius: 10px; }
.menu-item strong { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-head); font-size: 0.98rem; }
.menu-item span { display: block; font-size: 0.85rem; color: var(--on-dark-muted); margin-top: 2px; }
.mini-badge { font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f5b446; border: 1px solid rgba(245, 180, 70, 0.35); border-radius: 999px; padding: 2px 7px; }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 18, 32, 0.98);
    padding: 12px 24px 28px;
    border-top: 1px solid var(--border-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .25s ease;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: rgba(11, 18, 32, 0.98); }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border-dark); }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--teal); }
  .nav-links .nav-cta { margin: 18px 0 0; text-align: center; border: 1px solid rgba(255, 255, 255, 0.22); }
  .menu-btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border-dark); }
  .menu-btn svg { display: none; }
  .has-menu.active .menu-btn { box-shadow: none; }
  .menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; padding: 4px 0 4px 12px; }
  .has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { transform: none; }
  .nav-links .menu-item { border-bottom: 0; padding: 10px 0; }
  .nav-links { max-height: calc(100vh - 76px); overflow-y: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--ink); color: var(--on-dark);
  --text-muted: var(--on-dark-muted); --border: var(--border-dark); --card: var(--ink-2); --accent-text: var(--teal); --brand: #8fb0ff;
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(61, 214, 176, 0.12), transparent 60%),
              radial-gradient(900px 600px at 10% 90%, rgba(21, 43, 94, 0.55), transparent 60%),
              var(--ink);
  color: var(--on-dark);
  padding: 150px 0 110px;
  --text-muted: var(--on-dark-muted); --accent-text: var(--teal);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero .lead { color: var(--on-dark-muted); }
.hero-sm { padding: 160px 0 90px; }
.hero-sm .hero-grid { grid-template-columns: 1fr; }
.hero-sm h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16em; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; font-family: var(--font-head);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(61, 214, 176, 0.1); color: var(--teal);
  border: 1px solid rgba(61, 214, 176, 0.3);
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(61, 214, 176, 0.18); animation: pulse 2.4s ease-in-out infinite; }
.badge-amber { background: rgba(245, 180, 70, 0.1); color: #f5b446; border-color: rgba(245, 180, 70, 0.3); }
.badge-amber .dot { background: #f5b446; box-shadow: 0 0 0 4px rgba(245, 180, 70, 0.18); }
@keyframes pulse { 50% { opacity: .45; } }

/* Product frame */
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #0a0f1a; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(61, 214, 176, 0.06), 0 0 80px rgba(61, 214, 176, 0.08);
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.frame-bar b { margin-left: 10px; font: 600 0.74rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.frame img { width: 100%; height: auto; }
.frame-tilt { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transition: transform .6s ease; }
.frame-tilt:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.frame-overlay::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 26, 0.85));
}
.frame-caption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.8rem var(--font-head); color: var(--on-dark); letter-spacing: 0.04em;
}
.frame-caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------- Pillars / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(61, 214, 176, 0.45); }
.card p { color: var(--text-muted); margin: 0; }
.section-dark .card { box-shadow: none; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(61, 214, 176, 0.12); color: var(--accent-text); margin-bottom: 22px;
}
.icon svg { width: 26px; height: 26px; }
.pillar-num { font: 800 0.8rem var(--font-head); letter-spacing: .14em; color: var(--text-muted); margin-bottom: 6px; display: block; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: rgba(61, 214, 176, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233dd6b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.stack { position: relative; }
.stack .frame + .frame { position: absolute; width: 62%; right: -4%; bottom: -12%; }

/* ---------- Origin band ---------- */
.origin { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.origin-mark { width: 150px; height: 150px; opacity: .95; }
.origin blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.origin p { color: var(--text-muted); margin-top: 16px; max-width: 46em; }

/* ---------- TwinCraft teaser ---------- */
.teaser {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-700), var(--ink) 70%);
  color: var(--on-dark); padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  --text-muted: var(--on-dark-muted);
}
.teaser p { color: var(--on-dark-muted); }
.teaser h2 { margin-bottom: 14px; }

/* Wireframe world visual */
.world { width: 100%; height: auto; overflow: visible; }
.world .grid-line { stroke: rgba(143, 176, 255, 0.22); stroke-width: 1; }
.world .edge { stroke: rgba(61, 214, 176, 0.55); stroke-width: 1.4; fill: none; }
.world .face { fill: rgba(61, 214, 176, 0.06); stroke: rgba(61, 214, 176, 0.5); stroke-width: 1.2; }
.world .node { fill: var(--teal); }
.world .node-ring { fill: none; stroke: var(--teal); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }
.world .link { stroke: rgba(245, 180, 70, 0.75); stroke-width: 1.4; stroke-dasharray: 5 6; fill: none; animation: dash 2.4s linear infinite; }
.world .agent { fill: #f5b446; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--border); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -2px; left: 0; padding-top: 12px;
  border-top: 2px solid var(--teal); width: 48px;
  font: 800 0.85rem var(--font-head); letter-spacing: .1em; color: var(--accent-text);
}
.step h3 { margin-top: 18px; }
.step p { color: var(--text-muted); margin: 0; }

/* ---------- Audience tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); font-weight: 600; font-size: 0.95rem;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-left: 48px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--teal);
}
.timeline li.now::before { background: var(--teal); box-shadow: 0 0 0 6px rgba(61, 214, 176, 0.18); }
.timeline .when { font: 700 0.78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.timeline h3 { margin: 4px 0 6px; }
.timeline p { color: var(--text-muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(61, 214, 176, 0.18), transparent 70%), var(--navy);
  color: #fff; padding: clamp(64px, 8vw, 100px) 0;
}
.cta-band h2 { max-width: 18em; margin: 0 auto 14px; }
.cta-band p { color: #c5d0e6; max-width: 36em; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.field .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--card); border: 1.5px solid var(--border); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(61, 214, 176, 0.18);
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-600); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-status { grid-column: 1 / -1; font-weight: 600; margin: 0; min-height: 1.5em; }
.form-status.ok { color: var(--accent-text); }
.form-status.err { color: #e5484d; }
.info-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.info-card h3 { margin-bottom: 12px; }
.info-card p, .info-card li { color: var(--text-muted); }
.info-card ul { padding-left: 18px; margin: 0 0 24px; }
.info-card a { color: var(--accent-text); font-weight: 600; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text-muted); }
.prose a { color: var(--accent-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 36px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--teal); }
.footer-legal {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.84rem;
}
.social { display: inline-flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border-dark); }
.social svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  .frame-tilt { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  body { font-size: 16px; }
  .hero { padding: 120px 0 80px; }
  .hero-sm { padding: 130px 0 64px; }
  .hero-grid, .split, .teaser, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > :first-child { order: 0; }
  .frame-tilt, .frame-tilt:hover { transform: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .stack .frame + .frame { position: relative; width: 100%; right: auto; bottom: auto; margin-top: 20px; }
  .origin { grid-template-columns: 1fr; gap: 28px; }
  .origin-mark { width: 96px; height: 96px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .grid-4, .grid-2, .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .btn-row .btn { flex: 1 1 100%; }
}
.site-footer .brand img { width: 56px; height: 56px; }

/* ---------- Projects ---------- */
.inline-link { color: var(--accent-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.badge-navy { background: rgba(21, 43, 94, 0.08); color: var(--brand); border-color: rgba(21, 43, 94, 0.2); }
.badge-navy .dot { background: var(--teal-600); box-shadow: 0 0 0 4px rgba(61, 214, 176, 0.18); animation: none; }
.project { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.project h2 { margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 36px 0 44px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--bg-soft); padding: 18px 20px; }
.facts dt { font: 700 0.72rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; }
.project-body { gap: 36px 56px; }
.project-body p { color: var(--text-muted); margin: 0; }
@media (max-width: 880px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .project-body { gap: 28px; } }
