:root {
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --tech: #2563eb;
  --tech-hover: #1d4ed8;
  --tech-light: #3b82f6;
  --tech-pale: #dbeafe;
  --tech-ghost: #eff6ff;
  --ink: #0f172a;
  --ink-light: #1e293b;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --radius: 8px;
  --header-h: 64px;
  --max: 1200px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.skip-link:focus {
  left: 0.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--line);
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--tech-pale);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--tech);
  outline-offset: 2px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.page-hero {
  padding: 7rem 0 4rem;
  background: var(--surface-alt);
  text-align: center;
}

.bg-surface { background: var(--surface); }
.bg-alt { background: var(--surface-alt); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgb(255 255 255 / .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.brand img {
  height: 2rem;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a:not(.btn) {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color .2s;
}

.nav-desktop a:not(.btn):hover { color: var(--ink); }
.nav-desktop a:not(.btn).is-active { color: var(--tech); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ink);
}

.nav-mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.nav-mobile.is-open { display: block; }

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.nav-mobile a:not(.btn) {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: .5rem 0;
}

.nav-mobile a:not(.btn).is-active { color: var(--tech); }
.nav-mobile .btn { margin-top: .5rem; text-align: center; }
.nav-desktop .btn-primary,
.nav-mobile .btn-primary { box-shadow: none; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all .2s;
  line-height: 1.25;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.btn:hover svg.arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--tech);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgb(37 99 235 / .2), 0 4px 6px -4px rgb(37 99 235 / .2);
}

.btn-primary:hover { background: var(--tech-hover); }

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--tech);
  color: var(--tech);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover { background: var(--ink-light); }

.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-md { padding: .75rem 1.5rem; }
.btn-lg { padding: .875rem 2rem; }
.btn-block { width: 100%; }

.link-tech {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--tech);
  font-weight: 500;
  transition: color .2s;
}

.link-tech:hover { color: var(--tech-hover); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--tech-ghost), var(--surface), rgb(219 234 254 / .3));
}

.blob {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.blob-a {
  top: 5rem;
  right: 10%;
  width: 18rem;
  height: 18rem;
  background: rgb(219 234 254 / .4);
  filter: blur(64px);
}

.blob-b {
  bottom: 5rem;
  left: 5%;
  width: 24rem;
  height: 24rem;
  background: rgb(239 246 255 / .6);
  filter: blur(64px);
}

.dot {
  position: absolute;
  border-radius: 9999px;
  background: var(--tech);
}

.dot-a { top: 15%; right: 15%; width: .5rem; height: .5rem; opacity: .3; }
.dot-b { top: 30%; left: 20%; width: .75rem; height: .75rem; opacity: .2; }
.dot-c { bottom: 25%; right: 25%; width: .5rem; height: .5rem; opacity: .25; }

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .375rem 1rem;
  background: rgb(219 234 254 / .5);
  border: 1px solid rgb(37 99 235 / .1);
  border-radius: 9999px;
  color: var(--tech);
  font-size: .875rem;
  font-weight: 500;
}

.badge .pip {
  width: .375rem;
  height: .375rem;
  background: var(--tech);
  border-radius: 9999px;
}

.eyebrow {
  display: block;
  color: var(--tech);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--tech); }

@media (min-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 48px; }
}

.lead {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.625;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .lead { font-size: 1.125rem; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: .875rem;
  color: var(--ink-muted);
}

.hero-pills span {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pip {
  width: .5rem;
  height: .5rem;
  background: var(--tech);
  border-radius: 9999px;
  flex-shrink: 0;
}

/* Typography helpers */
.h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .h1 { font-size: 3rem; line-height: 1.2; }
}

.h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .h2 { font-size: 2.25rem; line-height: 2.5rem; }
}

.h3 { font-size: 1.125rem; font-weight: 600; }
.muted { color: var(--ink-muted); }
.center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }
.max-xl { max-width: 36rem; margin-left: auto; margin-right: auto; }
.max-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-lg { max-width: 32rem; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .grid-2.md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3.md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3.md-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-stats { grid-template-columns: repeat(4, 1fr); }
  .grid-timeline { grid-template-columns: repeat(2, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.split.top { align-items: start; }

@media (min-width: 1024px) {
  .grid-3.lg-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .split.about { gap: 3rem; }
  .split.method { gap: 4rem; }
  .grid-timeline { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.flip-text { }
.flip-media { }

@media (min-width: 1024px) {
  .flip .flip-text { order: 2; }
  .flip .flip-media { order: 1; }
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s;
}

.card:hover {
  border-color: rgb(37 99 235 / .3);
  box-shadow: 0 10px 15px -3px rgb(37 99 235 / .05), 0 4px 6px -4px rgb(37 99 235 / .05);
}

.platform-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.platform-card .name { font-weight: 600; font-size: 1rem; margin-bottom: .25rem; }
.platform-card .region { font-size: .75rem; color: var(--ink-muted); }

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card .num {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--tech);
  margin-bottom: .5rem;
}

@media (min-width: 768px) {
  .stat-card .num { font-size: 2.25rem; }
}

.stat-card .lbl { font-size: .875rem; color: var(--ink-muted); }

.svc-card {
  padding: 2rem;
  height: 100%;
}

.svc-card:hover { transform: translateY(-2px); }

.icon-box {
  width: 3rem;
  height: 3rem;
  background: var(--tech-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--tech);
  transition: background-color .3s, color .3s;
}

.svc-card:hover .icon-box {
  background: var(--tech);
  color: #fff;
}

.icon-box.lg {
  width: 3.5rem;
  height: 3.5rem;
}

.svc-card h3 { margin-bottom: .75rem; }
.svc-card p { font-size: .875rem; line-height: 1.625; color: var(--ink-muted); }

.case-card {
  display: block;
  overflow: hidden;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: rgb(37 99 235 / .2);
  box-shadow: 0 20px 25px -5px rgb(37 99 235 / .05), 0 8px 10px -6px rgb(37 99 235 / .05);
}

.case-card .thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.case-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.case-card:hover .thumb img { transform: scale(1.05); }

.case-card .body { padding: 1.5rem; }

.tag {
  color: var(--tech);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: .5rem 0 .75rem;
  font-weight: 600;
  transition: color .2s;
}

.case-card:hover h3 { color: var(--tech); }

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .875rem;
  line-height: 1.625;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.result {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--tech);
}

/* Method preview */
.layer-panel {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.layer-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.layer-row + .layer-row { margin-top: 1rem; }

.layer-pct {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}

.layer-pct.p35 { background: var(--tech); }
.layer-pct.p25 { background: rgb(37 99 235 / .8); }
.layer-pct.p15 { background: rgb(37 99 235 / .6); }
.layer-pct.p20 { background: rgb(37 99 235 / .4); }
.layer-pct.p5 { background: rgb(37 99 235 / .2); color: var(--ink); }

.layer-row .t { font-size: .875rem; font-weight: 500; }
.layer-row .d { font-size: .75rem; color: var(--ink-muted); }

.checklist {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
}

.check svg {
  color: var(--tech);
  flex-shrink: 0;
  margin-top: .25rem;
}

.check.tight svg { margin-top: 0; }
.check.center-y { align-items: center; }

.features-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

/* About detail cards */
.detail-card {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-card + .detail-card { margin-top: 1.25rem; }

.detail-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}

.detail-head .pct { color: var(--tech); font-weight: 700; }
.detail-head .ttl { font-weight: 500; }
.detail-card p { font-size: .875rem; color: var(--ink-muted); }

.step-card { padding: 1.5rem; height: 100%; }
.step-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  border-color: rgb(37 99 235 / .2);
}

.step-num {
  font-size: 1.875rem;
  font-weight: 700;
  color: rgb(37 99 235 / .2);
  margin-bottom: .75rem;
}

.step-card h3 { font-weight: 600; margin-bottom: .5rem; }
.step-card p { font-size: .875rem; color: var(--ink-muted); }

.promise {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .promise { padding: 3rem; }
}

/* Services media placeholder */
.svc-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(37 99 235 / .2);
}

.svc-block + .svc-block { margin-top: 4rem; }

.type-card { padding: 2rem; height: 100%; }
.type-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  border-color: rgb(37 99 235 / .2);
}

.type-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .75rem; }
.type-card .desc { font-size: .875rem; color: var(--ink-muted); margin-bottom: 1.5rem; }

/* Cases page */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  background: var(--surface-alt);
  color: var(--ink-muted);
  border: 1px solid var(--line);
  transition: all .2s;
}

.filter-btn:hover {
  color: var(--ink);
  border-color: rgb(37 99 235 / .2);
}

.filter-btn.is-on {
  background: var(--tech);
  color: #fff;
  border-color: var(--tech);
  box-shadow: 0 10px 15px -3px rgb(37 99 235 / .2), 0 4px 6px -4px rgb(37 99 235 / .2);
}

.case-row {
  overflow: hidden;
}

.case-row:hover {
  box-shadow: 0 20px 25px -5px rgb(37 99 235 / .05), 0 8px 10px -6px rgb(37 99 235 / .05);
  border-color: rgb(37 99 235 / .2);
}

.case-row + .case-row { margin-top: 2rem; }

.case-row-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.case-row .thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.case-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-row .info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .case-row-grid { grid-template-columns: 1fr 1fr; }
  .case-row .thumb { aspect-ratio: auto; }
}

.chips {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.chip {
  font-size: .75rem;
  padding: .25rem .5rem;
  border-radius: .25rem;
}

.chip-tech {
  color: var(--tech);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--tech-ghost);
}

.chip-muted {
  color: var(--ink-muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

/* Contact */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item + .contact-item { margin-top: 1.5rem; }

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--tech-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech);
  flex-shrink: 0;
}

.contact-item .lbl { font-size: .875rem; font-weight: 500; margin-bottom: .25rem; }
.contact-item .val { font-size: .875rem; color: var(--ink-muted); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-fields { position: relative; }

@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: .5rem;
}

.req { color: var(--tech); }

.field input,
.field textarea {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .875rem;
  caret-color: var(--tech);
  transition: border-color .2s, box-shadow .2s;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #64748b;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--tech);
  box-shadow: 0 4px 12px -2px rgb(37 99 235 / .18);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #b45309;
  background: #fffbeb;
}

.field-error {
  margin: .4rem 0 0;
  font-size: .75rem;
  color: #b45309;
}

.field-hint {
  margin: .4rem 0 0;
  font-size: .75rem;
  color: var(--ink-muted);
}

.form-banner {
  margin: 0 0 1.25rem;
  padding: .75rem 1rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: var(--radius);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn:disabled,
.btn.is-busy {
  opacity: .65;
  cursor: wait;
  pointer-events: none;
}

.form-ok {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.form-ok.is-show { display: flex; }
.form-card.is-done .form-fields { display: none; }

.ok-icon {
  width: 4rem;
  height: 4rem;
  background: var(--tech-pale);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-brand img {
  height: 2rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-blurb {
  color: rgb(255 255 255 / .6);
  font-size: .875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-size: .875rem;
  color: rgb(255 255 255 / .6);
}

.footer-meta li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-meta svg { color: var(--tech-light); flex-shrink: 0; }

.footer-col h4 {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: .875rem;
  color: rgb(255 255 255 / .6);
  transition: color .2s;
}

.footer-col a + a,
.footer-col p + p { margin-top: .75rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; }
}

.footer-bottom p {
  font-size: .75rem;
  color: rgb(255 255 255 / .4);
}

.legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .75rem;
  color: rgb(255 255 255 / .4);
}

.legal span {
  cursor: pointer;
  transition: color .2s;
}

.legal span:hover { color: rgb(255 255 255 / .7); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .4s cubic-bezier(.4, 0, .2, 1), transform .4s cubic-bezier(.4, 0, .2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 404 */
.notfound {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem;
}

.notfound h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.notfound p { color: var(--ink-muted); margin-bottom: 2rem; }

@media (min-width: 768px) {
  .case-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  .case-showcase-head .link-tech { margin-top: 0 !important; }
}

.hero-pills i.pip { display: inline-block; }
