/* ==========================================================
   DEFORT 3D SOLUTIONS — Hi-Fi Web Design
   Color DNA pulled from logo: navy #2A2D4A, petrol #3FA0A4, violet #A78BD9
   ========================================================== */

:root {
  --bg: #F7F6F3;
  --bg-alt: #EFEEEA;
  --bg-card: #FFFFFF;
  --ink: #1B1D33;
  --ink-soft: #4A4D6B;
  --ink-mute: #7C7F95;
  --line: #E2E0DA;
  --line-soft: #ECEAE4;

  --navy: #2A2D4A;
  --navy-deep: #1B1D33;
  --petrol: #3FA0A4;
  --petrol-deep: #2D7B7E;
  --violet: #A78BD9;
  --violet-deep: #7E63B5;

  --grad: linear-gradient(135deg, var(--petrol) 0%, var(--violet) 100%);
  --grad-soft: linear-gradient(135deg, rgba(63,160,164,0.12) 0%, rgba(167,139,217,0.12) 100%);

  --shadow-sm: 0 1px 2px rgba(27,29,51,0.05), 0 1px 3px rgba(27,29,51,0.04);
  --shadow-md: 0 4px 12px rgba(27,29,51,0.06), 0 8px 24px rgba(27,29,51,0.04);
  --shadow-lg: 0 12px 32px rgba(27,29,51,0.08), 0 24px 64px rgba(27,29,51,0.06);
  --shadow-glow: 0 8px 32px rgba(63,160,164,0.18), 0 16px 48px rgba(167,139,217,0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* ─── subtle grain + grid backdrop ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(27,29,51,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,29,51,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

main, nav, footer { position: relative; z-index: 1; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; color: var(--navy-deep); font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--petrol-deep);
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--grad);
}

.lead { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; max-width: 56ch; }

/* ─── Layout ─── */
.container { width: min(1240px, 100% - 48px); margin: 0 auto; }

section { padding: clamp(80px, 10vh, 140px) 0; position: relative; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--body); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-deep); color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary .arrow {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent; color: var(--navy-deep);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy-deep); transform: translateY(-1px); }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(1240px, 100% - 32px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px;
  background: rgba(247,246,243,0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 36px; height: 36px; }
.nav-brand .name { font-family: var(--display); font-weight: 600; color: var(--navy-deep); font-size: 1rem; letter-spacing: -0.01em; }
.nav-brand .name b { color: var(--petrol-deep); font-weight: 600; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.92rem;
  padding: 8px 14px; border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--navy-deep); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding-top: 140px; padding-bottom: 80px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero-mesh {
  position: absolute; inset: -10%;
  z-index: 0;
  pointer-events: none;
  filter: blur(60px); opacity: 0.55;
}
.hero-mesh .blob { position: absolute; border-radius: 50%; }
.hero-mesh .b1 { width: 520px; height: 520px; background: radial-gradient(circle, var(--petrol) 0%, transparent 70%); top: 10%; left: -10%; animation: float1 18s ease-in-out infinite; }
.hero-mesh .b2 { width: 460px; height: 460px; background: radial-gradient(circle, var(--violet) 0%, transparent 70%); top: 30%; right: -8%; animation: float2 22s ease-in-out infinite; }
.hero-mesh .b3 { width: 380px; height: 380px; background: radial-gradient(circle, var(--petrol) 0%, transparent 70%); bottom: -5%; left: 35%; animation: float3 26s ease-in-out infinite; opacity: 0.6; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,60px) scale(0.95); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-50px) scale(1.05); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}

.hero-visual-wrap { position: relative; }

/* floating cards around the hero visual */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.float-card .ic-dot {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--petrol-deep);
  flex-shrink: 0;
}
.float-card .stack { display: flex; flex-direction: column; gap: 2px; }
.float-card .lab { color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; }
.float-card .val { color: var(--navy-deep); font-family: var(--display); font-weight: 600; font-size: 0.88rem; letter-spacing: -0.01em; }

.fc-1 { top: 8%; right: -6%; animation: floatA 6s ease-in-out infinite; }
.fc-2 { bottom: 14%; left: -8%; animation: floatB 7s ease-in-out infinite; }
.fc-3 { bottom: -4%; right: 8%; animation: floatA 8s ease-in-out infinite reverse; }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (max-width: 980px) {
  .fc-1 { right: 4%; top: 4%; }
  .fc-2 { left: 4%; bottom: 8%; }
  .fc-3 { right: 4%; bottom: -8%; }
}
@media (max-width: 540px) {
  .float-card { font-size: 0.66rem; padding: 8px 10px; }
  .fc-1, .fc-3 { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy h1 .accent-line {
  display: inline-block; position: relative;
}
.hero-copy h1 .accent-line::after {
  content: ''; position: absolute; left: 0; bottom: 0.05em;
  width: 100%; height: 0.18em;
  background: var(--grad);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-copy .lead { margin-bottom: 36px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-meta {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .stat { }
.hero-meta .num {
  font-family: var(--display); font-size: 1.75rem; font-weight: 600;
  color: var(--navy-deep); letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 4px;
}
.hero-meta .num span { color: var(--petrol-deep); font-size: 1.2rem; }
.hero-meta .lab {
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 4px;
}

/* ─── Hero Visual: animated print scene ─── */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1.05;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2)),
    radial-gradient(circle at 30% 20%, rgba(63,160,164,0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(167,139,217,0.18), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(27,29,51,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,29,51,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hv-corner {
  position: absolute; top: 16px; left: 16px;
  display: flex; gap: 6px; align-items: center;
  font-family: var(--mono); font-size: 0.7rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
  z-index: 5;
}
.hv-corner-r {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 0.7rem; color: var(--petrol-deep);
  z-index: 5;
  display: flex; align-items: center; gap: 6px;
}
.hv-corner-r .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--petrol); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hv-bottom {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.7rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.08em;
  z-index: 5;
}

/* ─── Section eyebrow + heading block ─── */
.sec-head { margin-bottom: 64px; max-width: 760px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 18px; }

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }

.svc {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.svc::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--petrol-deep);
}
.svc h3 { margin-bottom: 6px; }
.svc p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; }
.svc .tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px;
}
.svc .tag {
  font-family: var(--mono); font-size: 0.7rem;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.svc .num {
  position: absolute; top: 28px; right: 30px;
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--ink-mute); letter-spacing: 0.1em;
}

/* ─── Process / Ablauf ─── */
.process {
  background: var(--navy-deep);
  color: white;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
}
.process .glow {
  position: absolute; width: 520px; height: 520px;
  border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.4;
}
.process .glow.g1 { background: var(--petrol); top: -20%; left: -10%; }
.process .glow.g2 { background: var(--violet); bottom: -30%; right: -10%; }

.process .sec-head h2 { color: white; }
.process .sec-head .lead { color: rgba(255,255,255,0.7); }
.process .eyebrow { color: var(--petrol); }
.process .eyebrow::before { background: var(--grad); }

.process-steps {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 880px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px);
}
.step .num {
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--petrol);
  letter-spacing: 0.15em; margin-bottom: 18px;
  display: block;
}
.step h4 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.15rem; color: white; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.55; }
.step .icon { color: var(--petrol); margin-bottom: 14px; opacity: 0.9; }

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }

.gal {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.gal:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-md); }
.gal .label {
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--ink); background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.gal .meta {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.gal-vase    { grid-column: span 4; aspect-ratio: 4 / 5; background: linear-gradient(135deg, #e7eaee, #d3d8e0); }
.gal-gear    { grid-column: span 4; aspect-ratio: 4 / 5; background: linear-gradient(135deg, #efe9f4, #d8cdec); }
.gal-bracket { grid-column: span 4; aspect-ratio: 4 / 5; background: linear-gradient(135deg, #ddeae9, #b9dadc); }
.gal-figure  { grid-column: span 6; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #ece7e0, #d8d1c5); }
.gal-mech    { grid-column: span 6; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #e2e6f0, #c2c9dd); }

@media (max-width: 900px) {
  .gal-vase, .gal-gear, .gal-bracket { grid-column: span 3; }
  .gal-figure, .gal-mech { grid-column: span 6; }
}

/* ─── Materials strip ─── */
.materials {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .materials { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .materials { grid-template-columns: repeat(2, 1fr); } }

.mat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
}
.mat:hover { transform: translateY(-2px); border-color: var(--petrol); }
.mat .swatch {
  width: 100%; aspect-ratio: 2 / 1;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #ddd, #eee);
  position: relative; overflow: hidden;
}
.mat .swatch::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 6px);
}
.mat .name { font-family: var(--display); font-weight: 600; font-size: 0.95rem; }
.mat .spec { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-mute); letter-spacing: 0.05em; }

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-info {
  display: flex; flex-direction: column; gap: 24px;
}
.contact-info h2 { margin-bottom: 12px; }
.contact-row {
  display: flex; gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row .ic {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--grad-soft); color: var(--petrol-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .lab { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.contact-row .val { font-family: var(--display); font-weight: 500; color: var(--navy-deep); font-size: 1.05rem; text-decoration: none; }
.contact-row a.val:hover { color: var(--petrol-deep); }

/* form */
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row.two { grid-template-columns: 1fr; } }

.form-row label {
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--body); font-size: 0.97rem;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(63,160,164,0.15);
}
.form-row textarea { resize: vertical; min-height: 110px; }

.form-row .chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--body); font-size: 0.88rem;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--petrol); color: var(--navy-deep); }
.chip.active {
  background: var(--navy-deep); color: white; border-color: var(--navy-deep);
}

.success {
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--grad-soft); color: var(--petrol-deep);
  font-family: var(--mono); font-size: 0.85rem;
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
}

/* ─── Footer ─── */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(63,160,164,0.15), transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(167,139,217,0.12), transparent 50%);
  pointer-events: none;
}
footer .ft-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { footer .ft-grid { grid-template-columns: 1fr 1fr; } }

footer h5 {
  font-family: var(--mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px; font-weight: 500;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
footer a:hover { color: var(--petrol); }

footer .ft-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
footer .ft-brand img { width: 44px; height: 44px; }
footer .ft-brand .name { font-family: var(--display); font-weight: 600; color: white; font-size: 1.1rem; }

footer .ft-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; font-family: var(--mono);
  color: rgba(255,255,255,0.4);
}

/* ─── Reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s, transform 0.8s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── Marquee technical strip ─── */
.tech-strip {
  background: var(--navy-deep); color: rgba(255,255,255,0.6);
  padding: 18px 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tech-strip .marquee {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.tech-strip span { display: inline-flex; align-items: center; gap: 16px; }
.tech-strip span::before { content: '◆'; color: var(--petrol); font-size: 0.7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
