/* Ayvra Automation — marketing site.
   Tokens from the Ayvra Automation design system (dark-first, one theme):
   deep-black ground, carbon surfaces, graphite lines, chrome-silver type,
   one electric green accent. Orbitron / Rajdhani / Inter. */
/* Metric-matched fallbacks: while the Google fonts load, text is set in a
   local face scaled to the web font's width, so nothing re-wraps or shifts
   when they swap in (measured against Arial: Orbitron 1.17, Rajdhani 0.82,
   Inter 1.05). */
@font-face { font-family: "Orbitron Fallback"; src: local("Arial Bold"), local("Arial"), local("Helvetica"), local("Liberation Sans"); font-weight: 700; size-adjust: 117%; }
@font-face { font-family: "Rajdhani Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 82%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 105%; }

:root {
  --deep-black: #0a0a0a;
  --carbon: #1a1a1a;
  --graphite: #2a2a2a;
  --chrome-silver: #e6e6e5;
  --steel-gray: #a4a4a1;
  --ayvra-green: #6bb513;
  --ayvra-lime: #9fde2d;
  --green-glow-bg: #6bb51326;
  --warning: #f59e0b;

  --font-display: "Orbitron", "Orbitron Fallback", system-ui, sans-serif;
  --font-heading: "Rajdhani", "Rajdhani Fallback", system-ui, sans-serif;
  --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-0-5: 4px; --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 40px; --space-6: 48px; --space-8: 64px; --space-10: 80px;

  --radius-button: 8px; --radius-input: 8px; --radius-card: 12px; --radius-pill: 999px;

  --green-glow: 0 0 20px rgba(107, 181, 19, 0.15);
  --green-glow-strong: 0 0 24px rgba(159, 222, 45, 0.35);

  --gutter: 16px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep-black);
  color: var(--chrome-silver);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ayvra-green); }
a:hover { color: var(--ayvra-lime); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ayvra-lime); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--carbon); padding: 8px 12px; border-radius: var(--radius-button); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ms {
  font-family: "Material Symbols Outlined";
  font-weight: 300; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  display: inline-block; user-select: none;
}

/* ---------- type ---------- */
.hero-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em;
  font-size: clamp(34px, 7.4vw, 72px); line-height: 1.1;
}
h2 {
  font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.01em;
  font-size: clamp(30px, 4.4vw, 40px); line-height: 1.1;
}
h3 { font-family: var(--font-heading); font-weight: 500; letter-spacing: 0.01em; font-size: 28px; line-height: 32px; }
.autopilot { color: var(--ayvra-green); }
.eyebrow {
  font-family: var(--font-heading); font-weight: 300; font-size: 14px; line-height: 20px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--steel-gray);
}
.eyebrow.green { color: var(--ayvra-green); font-weight: 500; }
.lede { font-size: 18px; line-height: 28px; color: var(--steel-gray); max-width: 600px; }
.caption { font-size: 14px; line-height: 20px; font-weight: 300; color: var(--steel-gray); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--carbon); color: var(--chrome-silver); border: 1px solid var(--graphite);
}
.chip.on { background: var(--green-glow-bg); color: var(--ayvra-green); border-color: transparent; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ayvra-green); box-shadow: 0 0 8px var(--ayvra-lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 var(--space-3);
  border-radius: var(--radius-button); border: 1px solid transparent;
  font-family: var(--font-heading); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, border-color 160ms ease;
}
/* The brand spec labels the green button in white (2.5:1); deep-black keeps AA (7.8:1). */
.btn-primary { background: var(--ayvra-green); color: var(--deep-black); box-shadow: var(--green-glow); }
.btn-primary:hover { background: var(--ayvra-lime); color: var(--deep-black); box-shadow: var(--green-glow-strong); }
.btn-secondary { background: transparent; color: var(--chrome-silver); border-color: var(--steel-gray); }
.btn-secondary:hover { color: var(--chrome-silver); border-color: var(--chrome-silver); background: rgba(230, 230, 229, 0.05); }
.btn-ghost { background: none; color: var(--ayvra-green); padding: 0; min-height: 0; }
.btn-ghost:hover { color: var(--ayvra-lime); }
.btn-sm { min-height: 40px; padding: 0 var(--space-2); font-size: 14px; line-height: 16px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 10, 10, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--graphite); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: none; gap: var(--space-4); }
.nav-links a {
  position: relative; padding: 6px 0;
  font-family: var(--font-heading); font-size: 14px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--chrome-silver); text-decoration: none;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ayvra-green); transform: scaleX(0); transition: transform 200ms ease; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ayvra-green); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav .btn .long { display: none; }

/* ---------- sections ---------- */
section { padding: var(--space-5) 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: var(--space-2); max-width: 720px; }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }

/* hero */
.hero {
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: 120px 0 var(--space-6); overflow: hidden; isolation: isolate;
}
.hero .bg { position: absolute; inset: -6% 0 0 0; width: 100%; height: 112%; object-fit: cover; object-position: 60% 40%; z-index: -2; transform: translateY(var(--ppy, 0px)); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.15) 30%, rgba(10,10,10,0.55) 62%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.2) 70%);
}
.hero-copy { display: flex; flex-direction: column; gap: var(--space-3); max-width: 900px; }
.hero .lede { color: var(--chrome-silver); max-width: 560px; }
.hero .eyebrow { color: var(--chrome-silver); font-weight: 500; }
.hero-actions { display: flex; flex-direction: column; gap: var(--space-2); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1); }

/* pillars */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.pillar { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--radius-card); }
.pillar .ms { color: var(--ayvra-green); font-size: 28px; margin-bottom: var(--space-1); }
.pillar h3 { font-size: 24px; line-height: 28px; }
.pillar p { color: var(--steel-gray); font-size: 15px; line-height: 23px; }

/* ---------- the screen ---------- */
.screen-sec { overflow: hidden; }
.screen-sec .glow {
  position: absolute; left: 50%; top: 20%; width: 1100px; height: 700px; margin-left: -550px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(107, 181, 19, 0.14), transparent 70%);
}
.screen-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: center; position: relative; }

.tablet {
  position: relative; padding: 14px; border-radius: 30px;
  background: linear-gradient(145deg, #2c2c2b, #121212 45%, #1d1d1c);
  box-shadow: 0 0 0 1px #3a3a39 inset, 0 40px 80px rgba(0,0,0,0.6), var(--green-glow);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tablet::after { content: ""; position: absolute; left: 50%; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #0b0b0b; box-shadow: 0 0 0 1px #333 inset; transform: translateX(-50%); }
.screen {
  position: relative; border-radius: 18px; overflow: hidden; background: var(--deep-black);
  display: flex; flex-direction: column;
}
.screen-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--graphite);
}
.screen-bar .home { display: flex; align-items: baseline; gap: 10px; }
.screen-bar .home strong { font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: 0.04em; }
.screen-bar .home span { font-size: 12px; color: var(--steel-gray); font-weight: 300; }
.levels { display: flex; gap: 6px; }
.levels .chip { padding: 3px 10px; font-size: 11px; }
.levels .chip.off { color: var(--steel-gray); }
.plan-wrap { position: relative; padding: 10px 14px 6px; }
.plan { position: relative; aspect-ratio: 1600 / 1325; }
.plan img { width: 100%; height: 100%; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(26, 26, 26, 0.92); color: var(--chrome-silver);
  border: 1px solid #4a4a48;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  transition: color 160ms ease, border-color 160ms ease, box-shadow 200ms ease, background 160ms ease;
}
.hotspot .ms { font-size: 22px; }
.hotspot:hover { border-color: var(--chrome-silver); }
.hotspot.on { color: var(--ayvra-green); border-color: var(--ayvra-green); box-shadow: 0 0 0 4px rgba(107,181,19,0.12), 0 0 18px rgba(107,181,19,0.35); }
.hotspot.on .ms { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.hotspot[aria-pressed="true"] { background: var(--carbon); outline: 2px solid var(--ayvra-lime); outline-offset: 3px; }
.hotspot.pulse::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--ayvra-green);
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(1.9); opacity: 0; } }

.room-card {
  position: absolute; left: 18px; bottom: 14px; width: min(250px, 42%);
  padding: 14px 16px; border-radius: var(--radius-card);
  background: rgba(26, 26, 26, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--graphite); box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 8px;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.room-card.swap { opacity: 0; transform: translateY(6px); }
.room-card .rc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.room-card .rc-room { font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-gray); }
.room-card .rc-state { font-family: var(--font-heading); font-size: 22px; line-height: 26px; font-weight: 600; }
.room-card .rc-note { font-size: 12px; line-height: 16px; color: var(--steel-gray); font-weight: 300; }
.meter { height: 4px; border-radius: 4px; background: var(--graphite); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v, 40%); background: linear-gradient(90deg, var(--ayvra-green), var(--ayvra-lime)); transition: width 400ms ease; }
.screen-foot { display: flex; gap: 8px; padding: 10px 14px 14px; overflow-x: auto; scrollbar-width: none; }
.scene {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--graphite); background: var(--carbon);
  font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--chrome-silver);
  cursor: pointer;
}
.scene .ms { font-size: 16px; }
.scene.on { background: var(--green-glow-bg); border-color: transparent; color: var(--ayvra-green); }
.tablet-caption { margin-top: var(--space-2); text-align: center; }

.screen-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.steps-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--graphite); }
.steps-mini li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--graphite); }
.steps-mini .n { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ayvra-green); letter-spacing: 0.04em; }
.steps-mini strong { display: block; font-family: var(--font-heading); font-size: 20px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 2px; }
.steps-mini span { color: var(--steel-gray); font-size: 15px; line-height: 22px; }

.model-fig { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-items: center; }
.model-fig img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); }
.model-fig figcaption { display: flex; flex-direction: column; gap: var(--space-1); }

/* ---------- photo bands ---------- */
.photo-band { min-height: 72svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: var(--space-10) 0; }
.photo-band .bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; z-index: -2; transform: translateY(var(--ppy, 0px)); will-change: transform; }
.photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.15) 100%),
    linear-gradient(180deg, #0a0a0a 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 78%, #0a0a0a 100%);
}
.photo-band.right::before {
  background:
    linear-gradient(270deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.15) 100%),
    linear-gradient(180deg, #0a0a0a 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 78%, #0a0a0a 100%);
}
.photo-band .stack { max-width: 520px; }
.photo-band.right .stack { margin-left: auto; }
.photo-band .lede { color: var(--chrome-silver); }
.moments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.moments li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 22px; }
.moments time { flex-shrink: 0; width: 64px; font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.08em; color: var(--ayvra-green); }

/* ---------- care ---------- */
.care-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.care-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.care-list li { display: flex; gap: var(--space-2); padding: var(--space-3); background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--radius-card); transition: border-color 200ms ease, box-shadow 200ms ease; }
.care-list li:hover { border-color: #3d3d3c; box-shadow: var(--green-glow); }
.care-list .ms { color: var(--ayvra-green); flex-shrink: 0; }
.care-list strong { display: block; font-family: var(--font-heading); font-size: 20px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 4px; }
.care-list span { color: var(--steel-gray); font-size: 15px; line-height: 22px; }
.status-panel { background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--radius-card); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); align-self: start; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--graphite); }
.status-row:last-of-type { border-bottom: 0; }
.status-row .where { display: flex; flex-direction: column; }
.status-row .where strong { font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: 0.02em; }
.status-row .where span { font-size: 12px; line-height: 16px; color: var(--steel-gray); font-weight: 300; }
.powered { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: var(--space-2); border-top: 1px solid var(--graphite); }

/* ---------- discretion ---------- */
.discreet { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.discreet div { padding: var(--space-3) 0; border-top: 1px solid var(--graphite); display: flex; flex-direction: column; gap: var(--space-1); }
.discreet .ms { color: var(--chrome-silver); font-size: 26px; }
.discreet strong { font-family: var(--font-heading); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.discreet span { color: var(--steel-gray); font-size: 15px; line-height: 22px; }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); counter-reset: step; position: relative; }
.process li { position: relative; padding: var(--space-3); background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--radius-card); display: flex; flex-direction: column; gap: var(--space-1); }
.process .n { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: 0.04em; color: transparent; -webkit-text-stroke: 1px var(--ayvra-green); margin-bottom: var(--space-1); }
.process li:last-child .n { color: var(--ayvra-green); -webkit-text-stroke: 0; text-shadow: 0 0 18px rgba(107,181,19,0.45); }
.process strong { font-family: var(--font-heading); font-size: 24px; font-weight: 600; letter-spacing: 0.01em; }
.process span { color: var(--steel-gray); font-size: 15px; line-height: 22px; }
.scoped { margin-top: var(--space-3); display: flex; align-items: center; gap: 10px; color: var(--steel-gray); font-size: 15px; }
.scoped .ms { color: var(--ayvra-green); font-size: 20px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
form.consult { background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--radius-card); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-heading); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-gray); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
input[type=text], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--graphite); border: 1px solid var(--graphite); border-radius: var(--radius-input);
  color: var(--chrome-silver); font-family: var(--font-sans); font-size: 16px; line-height: 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel-gray) 50%), linear-gradient(135deg, var(--steel-gray) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #8a8a87; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ayvra-green); box-shadow: var(--green-glow); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ayvra-lime); outline-offset: 2px; }
.form-note { font-size: 12px; line-height: 16px; color: var(--steel-gray); font-weight: 300; }
.promise { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--chrome-silver); }
.promise .ms { color: var(--ayvra-green); font-size: 20px; margin-top: 1px; }

/* ---------- footer ---------- */
footer { padding: var(--space-6) 0 var(--space-5); border-top: 1px solid var(--graphite); }
footer .wrap { display: flex; flex-direction: column; gap: var(--space-3); }
footer .logo { width: 200px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { font-family: var(--font-heading); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-gray); text-decoration: none; }
.footer-links a:hover { color: var(--chrome-silver); }

/* ---------- motion ---------- */
.fx-canvas { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hotspot.pulse::before { animation: none; }
  .tablet, .room-card, .meter i { transition: none; }
}

@media (max-width: 699px) {
  .room-card { position: static; width: auto; margin-top: 8px; }
  .hotspot { width: 36px; height: 36px; }
  .hotspot .ms { font-size: 19px; }
  .screen-bar .home span { display: none; }
}

/* ---------- ≥ 700px ---------- */
@media (min-width: 700px) {
  :root { --gutter: 40px; }
  section { padding: var(--space-10) 0; }
  .hero { padding-bottom: var(--space-10); }
  .hero-actions { flex-direction: row; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discreet { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  form.consult { padding: var(--space-4); }
  .nav .btn .long { display: inline; }
  .nav .btn .short { display: none; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 64px; }
  .nav { height: 80px; }
  .brand img { height: 36px; }
  .nav-links { display: flex; }
  .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .screen-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--space-8); }
  .model-fig { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-6); }
  .care-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-6); }
  .discreet { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-4); }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; }
  .contact-grid .stack { position: sticky; top: 120px; }
  footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.faq { border-top: 1px solid var(--graphite); }
.faq details { border-bottom: 1px solid var(--graphite); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  padding: var(--space-3) 0; font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: 0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-sans); font-weight: 300; font-size: 26px; color: var(--ayvra-green); transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ayvra-green); }
.faq details p { padding: 0 0 var(--space-3); color: var(--steel-gray); font-size: 16px; line-height: 25px; max-width: 680px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-8); } }

/* ---------- parallax depth layers (site.js drives `translate`) ---------- */
[data-depth], [data-depth-hero] { will-change: translate; }
#care, #process, #consult { overflow: hidden; }
.orb {
  position: absolute; width: 620px; height: 620px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(107, 181, 19, 0.10), rgba(159, 222, 45, 0.03) 55%, transparent 72%);
}
.ghost-word {
  position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; font-size: clamp(90px, 13vw, 200px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(230, 230, 229, 0.09);
}
@media (max-width: 699px) { .ghost-word { display: none; } }
#care > .wrap, #process > .wrap, #consult > .wrap, .screen-sec > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { [data-depth], [data-depth-hero] { translate: none !important; opacity: 1 !important; } }

/* ---------- audiences: residences / businesses ---------- */
.aud-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.aud {
  position: relative; display: flex; align-items: flex-end; min-height: 440px; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-card); border: 1px solid var(--graphite); color: var(--chrome-silver); text-decoration: none;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}
.aud img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.aud::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.95) 100%); }
.aud-body { padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); max-width: 520px; }
.aud-body > .ms { color: var(--ayvra-green); font-size: 28px; }
.aud-body p { color: var(--chrome-silver); font-size: 16px; line-height: 24px; opacity: 0.9; }
.aud-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-1); font-family: var(--font-heading); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ayvra-green); }
.aud-link .ms { font-size: 18px; transition: transform 200ms ease; }
.aud:hover { border-color: #3d3d3c; box-shadow: var(--green-glow); color: var(--chrome-silver); }
.aud:hover img { transform: scale(1.04); }
.aud:hover .aud-link { color: var(--ayvra-lime); }
.aud:hover .aud-link .ms { transform: translateX(4px); }
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } .aud { min-height: 520px; } }
@media (prefers-reduced-motion: reduce) { .aud img, .aud-link .ms { transition: none; } }

/* ---------- commercial: spaces ---------- */
.seg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.seg { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--radius-card); transition: border-color 200ms ease, box-shadow 200ms ease; }
.seg:hover { border-color: #3d3d3c; box-shadow: var(--green-glow); }
.seg .ms { color: var(--ayvra-green); font-size: 28px; margin-bottom: var(--space-1); }
.seg strong { font-family: var(--font-heading); font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: 0.01em; }
.seg span:last-child { color: var(--steel-gray); font-size: 15px; line-height: 22px; }
#systems { overflow: hidden; }
#systems > .wrap { position: relative; z-index: 1; }
@media (min-width: 700px) { .seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .seg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } #systems .care-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } #systems .care-list li { flex-direction: column; } }
.care-list .ms { font-size: 26px; line-height: 1; width: 26px; height: 26px; overflow: hidden; }
.btn-ghost.btn-sm { padding: 0; min-height: 0; }
