/* ==========================================================================
   NoMatch — Design System
   Black/white base, flame-orange accent (#FE4119), signature motif: the
   broken circular arc from the brand mark, used as a scan/loading bracket
   for section dividers, focus states, and hover accents.
   ========================================================================== */

:root {
  /* Color */
  --color-bg: #0a0a0a;
  --color-bg-raised: #141414;
  --color-bg-raised-2: #1c1c1c;
  --color-line: #2a2a2a;
  --color-fg: #f2f1ec;
  --color-fg-muted: #a8a8a3;
  --color-accent: #fe4119;
  --color-accent-hi: #ff7a3d;
  --color-accent-dim: #7a2210;
  --color-on-accent: #0a0a0a;

  /* Type scale (major third-ish, mobile-first) */
  --font-display: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.8rem + 2.8vw, 4rem);
  --step-5: clamp(3rem, 2rem + 4.5vw, 5.5rem);

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.25rem;
  --space-6: 5.25rem;
  --space-7: 8.5rem;

  --radius-s: 4px;
  --radius-m: 8px;
  --max-w: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; }

html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { max-width: 62ch; }
p.lede { font-size: var(--step-1); color: var(--color-fg-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

a.link {
  color: var(--color-fg);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-dim);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}
a.link:hover { text-decoration-color: var(--color-accent); }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
@media (min-width: 720px) {
  .wrap { padding-inline: var(--space-4); }
}

.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }

.grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   Signature motif — the broken arc from the mark, used as a corner bracket
   ------------------------------------------------------------------------- */
.arc-frame {
  position: relative;
}
.arc-frame::before,
.arc-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-accent);
  opacity: 0.85;
}
.arc-frame::before {
  top: -10px; left: -10px;
  border-right: none;
  border-bottom: none;
}
.arc-frame::after {
  bottom: -10px; right: -10px;
  border-left: none;
  border-top: none;
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0 48px, var(--color-line) 48px 100%);
  margin-block: var(--space-5);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.btn--primary:hover { background: var(--color-accent-hi); }
.btn--ghost {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-line);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent-hi); }

/* -------------------------------------------------------------------------
   Site header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-0);
  letter-spacing: 0.02em;
  color: var(--color-fg);
}
.brand img {
  height: 34px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 3px;
}
.brand strong { color: var(--color-accent); }

.nav {
  display: none;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--step--1);
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .nav a {
    text-decoration: none;
    color: var(--color-fg-muted);
    position: relative;
    padding-block: 0.4em;
    transition: color 0.2s var(--ease);
  }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--color-fg); }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--color-accent);
    transition: right 0.25s var(--ease);
  }
  .nav a:hover::after { right: 0; }

  .nav .has-dropdown { position: relative; }
  .nav .dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    margin-top: var(--space-2);
    padding: var(--space-2);
    background: var(--color-bg-raised);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    display: none;
    flex-direction: column;
    gap: 0.2em;
  }
  .nav .has-dropdown:hover .dropdown,
  .nav .has-dropdown:focus-within .dropdown {
    display: flex;
  }
  .nav .dropdown a { padding: 0.6em 0.7em; border-radius: var(--radius-s); }
  .nav .dropdown a:hover { background: var(--color-bg-raised-2); }
  .nav .dropdown a::after { display: none; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-s);
  color: var(--color-fg);
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-3);
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-raised);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.85em 0.2em;
  text-decoration: none;
  color: var(--color-fg-muted);
  border-bottom: 1px solid var(--color-line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .submenu {
  display: flex;
  flex-direction: column;
  padding-left: var(--space-3);
}
@media (min-width: 900px) {
  .nav-mobile { display: none !important; }
}

.header-cta { display: none; }
@media (min-width: 900px) {
  .header-cta { display: inline-flex; }
}

/* -------------------------------------------------------------------------
   Site footer
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-raised);
  padding-block: var(--space-5) var(--space-4);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-grid h4 {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-fg-muted);
  margin-bottom: var(--space-2);
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.6em; }
.footer-grid a {
  text-decoration: none;
  color: var(--color-fg);
  font-size: var(--step--1);
}
.footer-grid a:hover { color: var(--color-accent-hi); }

.footer-brand { margin-bottom: var(--space-3); }
.footer-blurb { color: var(--color-fg-muted); font-size: var(--step--1); max-width: 40ch; }
.footer-social { margin-top: var(--space-4); }

.social-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-fg);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-row a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-hi);
  transform: translateY(-2px);
}
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--1);
  color: var(--color-fg-muted);
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-bottom a { text-decoration: none; color: var(--color-fg-muted); }
.footer-bottom a:hover { color: var(--color-fg); }

/* -------------------------------------------------------------------------
   Cards (services / posts)
   ------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: var(--space-4);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: var(--color-accent-dim); transform: translateY(-3px); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--space-1); }
.card p { color: var(--color-fg-muted); }

/* -------------------------------------------------------------------------
   FAQ (native disclosure — no JS needed)
   ------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding-block: var(--space-2);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  padding-block: 0.4em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.3em;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-top: var(--space-1); color: var(--color-fg-muted); }

/* -------------------------------------------------------------------------
   Media embeds — explicit aspect ratio to prevent layout shift
   ------------------------------------------------------------------------- */
.embed-frame {
  aspect-ratio: 352 / 152;
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-bg-raised);
}
.embed-frame iframe { width: 100%; height: 100%; border: 0; }

figure.photo { margin: 0; }
figure.photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
}
figure.photo figcaption {
  margin-top: var(--space-1);
  font-size: var(--step--1);
  color: var(--color-fg-muted);
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  padding-block: var(--space-6) var(--space-5);
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(closest-side, var(--color-accent-dim), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero h1 .accent { color: var(--color-accent); }
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--color-fg-muted);
  padding-block: var(--space-3);
}
.breadcrumb a { color: var(--color-fg-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent-hi); }
.breadcrumb .sep { margin-inline: 0.5em; opacity: 0.5; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   FUTURA LAYER — sleek/futuristic upgrade.
   All effects are GPU-composited (transform/opacity only), so they cost
   nothing on Lighthouse. Every animation is disabled under
   prefers-reduced-motion by the global rule at the top of this file.
   ========================================================================== */

/* ---- Ambient scene: perspective grid floor + flame glow ---- */
body {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(254, 65, 25, 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(254, 65, 25, 0.05), transparent 60%),
    var(--color-bg);
}

.hero {
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background-image:
    linear-gradient(rgba(254, 65, 25, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254, 65, 25, 0.13) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(480px) rotateX(62deg) scale(1.6);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent 85%);
  animation: grid-pulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
/* opacity-only = GPU-composited, zero repaint cost */
@keyframes grid-pulse {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}

/* ---- Signature: 3D orbital ring system around hero imagery ---- */
.orbital {
  position: relative;
  perspective: 900px;
}
.orbital picture,
.orbital img {
  position: relative;
  z-index: 2;
}
.orbital::before,
.orbital::after {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  border: 1.5px solid transparent;
  pointer-events: none;
  z-index: 1;
}
.orbital::before {
  border-top-color: var(--color-accent);
  border-right-color: rgba(254, 65, 25, 0.28);
  animation: orbit-a 9s linear infinite;
  transform-style: preserve-3d;
}
.orbital::after {
  inset: -13%;
  border-bottom-color: var(--color-accent-hi);
  border-left-color: rgba(255, 122, 61, 0.2);
  border-style: dashed;
  animation: orbit-b 14s linear infinite reverse;
  transform-style: preserve-3d;
}
@keyframes orbit-a {
  from { transform: rotate3d(0.5, 1, 0, 0deg)   rotateZ(0deg); }
  to   { transform: rotate3d(0.5, 1, 0, 360deg) rotateZ(180deg); }
}
@keyframes orbit-b {
  from { transform: rotate3d(1, 0.4, 0.2, 0deg)   rotateZ(0deg); }
  to   { transform: rotate3d(1, 0.4, 0.2, 360deg) rotateZ(-180deg); }
}

/* Hero photo treatment inside the orbit */
.orbital picture img {
  border-radius: var(--radius-m);
  box-shadow:
    0 0 0 1px rgba(254, 65, 25, 0.25),
    0 24px 60px -20px rgba(254, 65, 25, 0.35),
    0 8px 30px rgba(0, 0, 0, 0.6);
}

/* ---- Gradient shimmer on the H1 accent word ---- */
.hero h1 .accent {
  background: linear-gradient(100deg,
    var(--color-accent) 20%,
    var(--color-accent-hi) 40%,
    #ffd2b0 50%,
    var(--color-accent-hi) 60%,
    var(--color-accent) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

/* ---- Buttons: charged glow ---- */
.btn--primary {
  box-shadow:
    0 0 0 1px rgba(254, 65, 25, 0.4),
    0 6px 22px -6px rgba(254, 65, 25, 0.55);
}
.btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 122, 61, 0.7),
    0 10px 34px -6px rgba(254, 65, 25, 0.8);
}
.btn--ghost:hover {
  box-shadow: 0 0 24px -8px rgba(254, 65, 25, 0.5);
}

/* ---- Cards: 3D tilt stage (JS drives --tilt-x / --tilt-y) ---- */
.grid { perspective: 1100px; }
.card {
  transform:
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(254, 65, 25, 0.55);
  box-shadow:
    0 0 0 1px rgba(254, 65, 25, 0.2),
    0 24px 50px -24px rgba(254, 65, 25, 0.45);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(254, 65, 25, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card > * { transform: translateZ(18px); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
/* If JS never runs (or is blocked), content must still be visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ---- Section dividers: energized scan line ---- */
.divider {
  position: relative;
  overflow: visible;
  background: linear-gradient(90deg, var(--color-accent) 0 48px, var(--color-line) 48px 100%);
}
.divider::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 70px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent-hi), transparent);
  animation: scan 4.5s var(--ease) infinite;
  opacity: 0.9;
}
@keyframes scan {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { transform: translateX(min(78vw, 1050px)); opacity: 0; }
}

/* ---- Header: glass + glow underline ---- */
.site-header {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(254, 65, 25, 0.18);
}

/* ---- Footer brand: 3D spinning flame coin ---- */
.footer-brand img,
.brand img {
  transition: transform 0.5s var(--ease);
}
.brand:hover img {
  transform: rotateY(360deg);
}

/* ---- Embed frame: charged border ---- */
.embed-frame {
  border: 1px solid rgba(254, 65, 25, 0.25);
  box-shadow: 0 12px 40px -18px rgba(254, 65, 25, 0.35);
}

/* ---- Eyebrow: pulse dot ---- */
.eyebrow::before {
  animation: pulse-line 3s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Reduced motion: the global reset at the top of this file already
   forces all animation/transition durations to ~0, which freezes the
   orbitals, shimmer, grid drift, scan line, and reveals into their
   final visible states. */

/* ---- Cascade repair: cards that have been revealed must hand transform
   control back to the tilt system, not stay pinned by .reveal.in's
   `transform: none`. Higher specificity block = final word. ---- */
.card.reveal.in {
  transform:
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateZ(0);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card.reveal.in:hover {
  transform:
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(-3px);
}
/* Non-reveal cards (if any are added later) get the same hover contract */
.card:hover {
  transform:
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(-3px);
}
