/* ============================================
   MachVizyon — Production stylesheet
   ============================================ */

:root {
  --blue:         #0984E3;
  --blue-dark:    #0670C4;
  --blue-deeper:  #0557A0;
  --blue-soft:    #E8F4FD;
  --blue-mid:     #74B9FF;
  --navy:         #0A1628;
  --navy-mid:     #122040;
  --navy-light:   #1E3A5F;
  --cloud:        #F5F7FB;
  --cloud-dark:   #EDF0F7;
  --white:        #FFFFFF;
  --text-dark:    #0D1B2A;
  --text-muted:   #4A6080;
  --text-light:   #7A95B0;
  --border:       #D8E4F0;
  --border-soft:  #E8EEF6;
  --radius:       10px;
  --shadow-sm: 0 2px 8px rgba(9,132,227,0.08);
  --shadow-md: 0 8px 30px rgba(9,132,227,0.12);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark); background: var(--cloud);
  overflow-x: hidden; line-height: 1.5; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo svg { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links li a {
  color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  padding: 0 1rem; display: flex; align-items: center; transition: color 0.15s;
}
.nav-links li a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta {
  background: var(--blue); color: #fff; font-size: 0.875rem; font-weight: 600;
  padding: 0.45rem 1.1rem; border-radius: 6px; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(9,132,227,0.3); }

/* HERO */
.hero {
  min-height: 100vh; padding: 120px 5vw 0;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #0A1628 0%, #0D2241 30%, #0F3060 55%, #0670C4 80%, #0984E3 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(9,132,227,0.3) 0%, transparent 65%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(116,185,255,0.12); border: 1px solid rgba(116,185,255,0.3);
  color: var(--blue-mid); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 1.1rem; border-radius: 100px; margin-bottom: 2rem;
  animation: fadeUp 0.7s ease both;
}
.hero-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: #74B9FF; animation: pulseD 2s ease infinite; }
@keyframes pulseD { 0%,100% { opacity:1; } 50% { opacity:0.35; } }
.hero h1 {
  font-weight: 800; font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.06; letter-spacing: -0.03em; color: #fff;
  margin-bottom: 1.5rem; animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 span { color: var(--blue-mid); }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.1rem); color: rgba(245,247,251,0.62);
  max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.75; font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; margin-bottom: 4rem; }
.btn-hero-primary {
  background: var(--blue); color: #fff; border: none; font-family: inherit;
  font-weight: 700; font-size: 0.9rem; padding: 0.8rem 1.8rem; border-radius: 6px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 24px rgba(9,132,227,0.4);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(9,132,227,0.55); background: var(--blue-dark); }
.btn-hero-ghost {
  background: rgba(255,255,255,0.08); color: rgba(245,247,251,0.88); border: 1px solid rgba(255,255,255,0.22);
  font-family: inherit; font-weight: 500; font-size: 0.9rem; padding: 0.8rem 1.8rem; border-radius: 6px;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.hero-stats {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 2rem 0; background: transparent; border: none; border-radius: 0;
  animation: fadeUp 0.7s 0.5s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.hero-stat-label { font-size: 0.73rem; color: rgba(245,247,251,0.42); margin-top: 0.3rem; font-weight: 400; }
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* SECTIONS */
section { padding: 100px 5vw; }
.section-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.875rem; }
h2.section-title {
  font-weight: 700; font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.13; letter-spacing: -0.025em; color: var(--text-dark); margin-bottom: 1rem;
}
.section-body { color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 460px; font-weight: 400; }
.blue-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: gap 0.2s; }
.blue-link:hover { gap: 10px; color: var(--blue-dark); }
.blue-link::after { content: '→'; }

/* SOLUTIONS */
.solutions { background: var(--cloud-dark); }
.solutions-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.bento-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5px;
  background: var(--border); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.bento-card { background: var(--white); padding: 2.25rem; position: relative; overflow: hidden; transition: background 0.2s; }
.bento-card:hover { background: #FAFCFF; }
.bento-card.wide { grid-column: span 2; }
.bento-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0; background: linear-gradient(90deg, var(--blue), var(--blue-mid)); transition: opacity 0.2s; }
.bento-card:hover::before { opacity: 1; }
.bento-icon { width: 40px; height: 40px; border-radius: 9px; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--blue-soft); }
.bento-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--text-dark); letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.bento-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.bento-card .blue-link { margin-top: 1.25rem; }

/* INDUSTRIES */
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ind-accordion { margin-top: 2rem; border-top: 1px solid var(--border); }
.ind-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.ind-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; cursor: pointer; background: none; border: none; font-family: inherit; text-align: left; }
.ind-trigger:hover .ind-trigger-name { color: var(--blue); }
.ind-trigger-left { display: flex; align-items: center; gap: 1rem; }
.ind-emoji { font-size: 1.25rem; width: 38px; text-align: center; }
.ind-trigger-name { font-size: 1rem; font-weight: 600; color: var(--text-dark); transition: color 0.15s; }
.ind-trigger-arrow { color: var(--text-light); font-size: 1.1rem; transition: transform 0.3s; }
.ind-item.open .ind-trigger-arrow { transform: rotate(90deg); color: var(--blue); }
.ind-item.open .ind-trigger-name { color: var(--blue); }
.ind-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 0 0 3.5rem; }
.ind-item.open .ind-body { max-height: 280px; padding: 0 0 1.5rem 3.5rem; }
.ind-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.ind-metrics-row { display: flex; gap: 1.5rem; }
.ind-metric-val { font-size: 1.5rem; font-weight: 700; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.ind-metric-lbl { font-size: 0.72rem; color: var(--text-light); margin-top: 0.2rem; }
.ind-panel-wrap { position: sticky; top: 100px; }
.ind-panel { background: var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(116,185,255,0.1); }
.ind-panel-header { padding: 1.5rem 1.75rem; border-bottom: 1px solid rgba(116,185,255,0.1); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.ind-panel-badge { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 0.25rem 0.65rem; border-radius: 100px; }
.ind-panel-title { font-size: 0.95rem; font-weight: 500; color: rgba(245,247,251,0.85); }
.ind-panel-body { padding: 1.75rem; }
.ind-panel-body p { font-size: 0.85rem; color: rgba(245,247,251,0.48); line-height: 1.7; margin-bottom: 1.5rem; }
.ind-panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(116,185,255,0.1); border: 1px solid rgba(116,185,255,0.1); border-radius: 8px; overflow: hidden; }
.ind-pstat { background: rgba(9,132,227,0.05); padding: 1rem 1.25rem; }
.ind-pstat-val { font-size: 1.6rem; font-weight: 700; color: var(--blue-mid); letter-spacing: -0.02em; }
.ind-pstat-lbl { font-size: 0.72rem; color: rgba(245,247,251,0.32); margin-top: 0.2rem; }

/* TECH */
.tech-bg { background: var(--navy-mid); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tech-grid > *, .industries-grid > * { min-width: 0; } /* let the code panel scroll instead of widening the page */
.tech-grid .section-label { color: var(--blue-mid); }
.tech-grid h2.section-title { color: #fff; }
.tech-grid .section-body { color: rgba(245,247,251,0.48); max-width: 400px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tech-tag { font-size: 0.77rem; font-weight: 500; padding: 0.38rem 0.8rem; border-radius: 100px; background: rgba(9,132,227,0.08); border: 1px solid rgba(9,132,227,0.2); color: rgba(245,247,251,0.6); transition: background 0.2s, border-color 0.2s, color 0.2s; cursor: default; }
.tech-tag:hover { background: rgba(9,132,227,0.18); border-color: rgba(9,132,227,0.45); color: var(--blue-mid); }
.arch-diagram { margin-top: 2rem; }
.arch-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.arch-node { font-size: 0.72rem; font-weight: 500; padding: 0.5rem 0.9rem; border-radius: 6px; border: 1px solid; white-space: nowrap; font-family: 'Courier New', monospace; }
.arch-node.a { background: rgba(9,132,227,0.12); border-color: rgba(9,132,227,0.3); color: var(--blue-mid); }
.arch-node.b { background: rgba(116,185,255,0.08); border-color: rgba(116,185,255,0.22); color: #A8D4F8; }
.arch-node.c { background: rgba(52,152,219,0.08); border-color: rgba(52,152,219,0.2); color: #7EC8F0; }
.arch-arr { color: rgba(245,247,251,0.18); font-size: 0.8rem; }
.tech-panel { background: #080F1C; border: 1px solid rgba(9,132,227,0.12); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.tech-panel-bar { background: rgba(9,132,227,0.05); padding: 0.65rem 1.25rem; border-bottom: 1px solid rgba(9,132,227,0.1); display: flex; align-items: center; gap: 0.5rem; }
.dot-r { width:10px;height:10px;border-radius:50%;background:#ff5f57; }
.dot-y { width:10px;height:10px;border-radius:50%;background:#ffbd2e; }
.dot-g { width:10px;height:10px;border-radius:50%;background:#28c840; }
.panel-filename { font-size: 0.72rem; color: rgba(116,185,255,0.35); margin-left: 0.5rem; font-family: 'Courier New', monospace; }
.tech-panel pre { padding: 1.5rem; font-family: 'Courier New', Courier, monospace; font-size: 0.78rem; line-height: 1.8; color: rgba(245,247,251,0.62); overflow-x: auto; }
.c-kw   { color: #74B9FF; }
.c-str  { color: #55EFC4; }
.c-num  { color: #FDCB6E; }
.c-fn   { color: #81ECEC; }
.c-cm   { color: rgba(245,247,251,0.28); }

/* CONTACT */
.contact-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.contact-form-box { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2.5rem; box-shadow: var(--shadow-md); text-align: left; margin-top: 3rem; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--cloud); border: 1.5px solid var(--border); border-radius: 6px;
  color: var(--text-dark); padding: 0.65rem 0.9rem; font-family: inherit; font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s; outline: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(9,132,227,0.12); background: #fff;
}
.form-group input.error, .form-group select.error, .form-group textarea.error {
  border-color: #E04E4E; box-shadow: 0 0 0 3px rgba(224,78,78,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-status { font-size: 0.85rem; padding: 0.5rem 0; min-height: 1.6em; }
.form-status.error { color: #C8351F; }
.form-status.success { color: #0670C4; }
.form-submit { width: 100%; padding: 0.85rem; background: var(--blue); color: #fff; border: none; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 0.95rem; font-weight: 700; transition: background 0.15s, transform 0.1s, box-shadow 0.15s; box-shadow: 0 4px 16px rgba(9,132,227,0.28); }
.form-submit:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(9,132,227,0.42); }
.form-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

/* BOTTOM CTA */
.bottom-cta { background: var(--navy); padding: 80px 5vw; text-align: center; }
.bottom-cta h2 { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; letter-spacing: -0.025em; margin-bottom: 2rem; line-height: 1.15; }
.bottom-cta h2 span { color: var(--blue-mid); }
.bottom-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-dark { background: var(--blue); color: #fff; font-family: inherit; font-weight: 700; font-size: 0.9rem; padding: 0.75rem 1.75rem; border-radius: 6px; border: none; cursor: pointer; transition: transform 0.1s, box-shadow 0.2s, background 0.15s; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(9,132,227,0.4); background: var(--blue-dark); }
.btn-border { background: none; color: rgba(245,247,251,0.7); border: 1.5px solid rgba(116,185,255,0.25); font-family: inherit; font-weight: 500; font-size: 0.9rem; padding: 0.75rem 1.75rem; border-radius: 6px; cursor: pointer; transition: border-color 0.15s, color 0.15s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-border:hover { border-color: var(--blue-mid); color: var(--blue-mid); }

/* FOOTER */
footer { background: #060D1A; padding: 55px 5vw 36px; border-top: 1px solid rgba(116,185,255,0.08); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(116,185,255,0.08); margin-bottom: 1.75rem; }
.footer-brand-col { flex: 0 0 210px; min-width: 160px; }
.footer-brand-col p { font-size: 0.8rem; color: rgba(245,247,251,0.32); line-height: 1.65; max-width: 200px; margin-top: 0.75rem; }
.footer-col { flex: 1 1 140px; min-width: 130px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(116,185,255,0.38); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: rgba(245,247,251,0.42); font-size: 0.83rem; text-decoration: none; transition: color 0.15s; }
.footer-col ul a:hover { color: var(--blue-mid); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: rgba(245,247,251,0.22); }
.footer-links-bottom { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links-bottom a { font-size: 0.78rem; color: rgba(245,247,251,0.22); text-decoration: none; transition: color 0.15s; cursor: pointer; }
.footer-links-bottom a:hover { color: rgba(245,247,251,0.5); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 300; max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  animation: cookieSlideUp 0.4s ease both;
}
@keyframes cookieSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.cookie-banner-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; flex: 1; min-width: 240px; }
.cookie-banner-text strong { color: var(--text-dark); margin-right: 0.25rem; }
.cookie-banner-text a { color: var(--blue); text-decoration: none; font-weight: 500; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-btn { font-family: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1.1rem; border-radius: 6px; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.cookie-btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.cookie-btn-ghost:hover { color: var(--text-dark); border-color: var(--text-light); }
.cookie-btn-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.cookie-btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* LEGAL PAGES */
.legal-page { padding: 120px 5vw 80px; max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.5rem; color: var(--text-dark); }
.legal-page .legal-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 0.75rem; color: var(--text-dark); }
.legal-page h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text-dark); }
.legal-page p, .legal-page li { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 0.75rem; }
.legal-page ul, .legal-page ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-page a { color: var(--blue); text-decoration: none; font-weight: 500; }
.legal-page a:hover { text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
.legal-page th, .legal-page td { border: 1px solid var(--border); padding: 0.65rem 0.85rem; text-align: left; vertical-align: top; }
.legal-page th { background: var(--cloud-dark); font-weight: 600; color: var(--text-dark); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .industries-grid, .tech-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; padding: 1.5rem; }
  .ind-panel-wrap { position: static; }
}
@media (max-width: 600px) {
  section { padding: 70px 5vw; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 1rem; }
  .cookie-banner-actions { width: 100%; justify-content: stretch; }
  .cookie-btn { flex: 1; }
  .contact-form-box { padding: 1.5rem; }
  .arch-node { white-space: normal; }
  .legal-page table { display: block; overflow-x: auto; }
  .nav-cta { padding: 0.45rem 0.85rem; }
}

/* MOTION-SAFE */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* <picture> wrappers (WebP + PNG fallback) must not change image layout */
picture { display: contents; }
