:root {
  --bg: #0b0d12;
  --bg-2: #12151d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef0f5;
  --muted: #9aa1b2;
  --accent: #ff7a1a;
  --accent-2: #ffb547;
  --accent-3: #4f7cff;
  --radius: 18px;
  --maxw: 1160px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--accent); }

/* ---------- Animated background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}

.blob-1 {
  width: 520px; height: 520px;
  background: var(--accent);
  top: -160px; left: -120px;
  animation: float1 22s ease-in-out infinite;
}

.blob-2 {
  width: 460px; height: 460px;
  background: var(--accent-3);
  top: 30%; right: -160px;
  opacity: 0.32;
  animation: float2 26s ease-in-out infinite;
}

.blob-3 {
  width: 380px; height: 380px;
  background: var(--accent-2);
  bottom: -160px; left: 30%;
  opacity: 0.22;
  animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(140px, 120px) scale(1.15); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-160px, -80px) scale(0.9); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-120px, -140px) scale(1.2); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.12), transparent 65%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  left: -999px; top: -999px;
  transition: opacity 0.3s;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark::after {
  content: "";
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, top 0.3s;
}
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(255,122,26,0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 140%; }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255,122,26,0.45); }

.btn-ghost {
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: var(--surface-2); }

.btn-small { padding: 9px 18px; font-size: 0.9rem; background: var(--surface-2); }
.btn-small:hover { border-color: var(--accent); }

.btn-large { padding: 18px 34px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px clamp(20px, 5vw, 48px) 80px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.rotator {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 50%, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.caret {
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.06em;
  background: var(--accent);
  vertical-align: -0.05em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 36px;
}

.badges {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid rgba(255,181,71,0.3);
  backdrop-filter: blur(8px);
}

.badge svg {
  width: 17px; height: 17px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 72px);
}

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 180px;
}

.stat-num, .stat-plus {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
}
.stat-plus { color: var(--accent); }

.stat-label {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.9rem;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.5deg) scale(1.03);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--accent); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 48px);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }

.section-sub {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s;
  transform-style: preserve-3d;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,122,26,0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover { border-color: rgba(255,122,26,0.4); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,122,26,0.18), rgba(255,181,71,0.08));
  border: 1px solid rgba(255,122,26,0.25);
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

.card-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.card-feature {
  background: linear-gradient(145deg, rgba(255,122,26,0.16), rgba(79,124,255,0.08));
  border-color: rgba(255,122,26,0.3);
}

.card-wide { grid-column: span 2; }

.card-cred {
  background: linear-gradient(145deg, rgba(255,181,71,0.12), rgba(255,255,255,0.03));
  border-color: rgba(255,181,71,0.3);
}
.card-cred h3 { font-size: 1.5rem; }
.card-cred p { font-size: 1.02rem; max-width: 460px; }

.cred-tag {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.card-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 22px;
}
.card-banner .card-icon { margin: 0; grid-row: span 2; }
.card-banner h3 { margin: 0 0 4px; }
.card-banner p { grid-column: 2; }
.card-banner .card-link { grid-column: 3; grid-row: 1 / span 2; margin: 0; }

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent-2);
}

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.work {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s ease, border-color 0.4s;
}
.work:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }

.work-visual {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(11,13,18,0.7));
}

.work-visual > span {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  transition: transform 0.6s ease;
  z-index: 1;
}
.work:hover .work-visual > span { transform: scale(1.15) rotate(-3deg); }

.work-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.work-feature:hover { transform: translateY(-4px); border-color: rgba(127,163,171,0.5); }

.feature-visual {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 560px;
}
.feature-visual::after { display: none; }

.feature-ticket {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 36px 24px 44px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, #7fa3ab, #3f6670);
}

.feature-shot {
  display: block;
  height: 240px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.feature-shot img {
  width: 165%;
  max-width: none;
  height: auto;
  display: block;
  transform-origin: top left;
  transition: transform 0.8s ease;
}

.feature-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(11,13,18,0.55));
  pointer-events: none;
}

.work-feature:hover .feature-shot img { transform: scale(1.04); }

.ticket {
  width: min(280px, 80%);
  padding: 20px 20px 18px;
  background: #f4ecd2;
  color: #1d2a2e;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
  transform: rotate(-3deg);
  animation: ticketFloat 6s ease-in-out infinite;
  position: relative;
}

.ticket::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 8px;
  background: radial-gradient(circle at 6px 0, transparent 6px, #f4ecd2 6.5px) repeat-x;
  background-size: 12px 8px;
}

@keyframes ticketFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px dashed rgba(29,42,46,0.35);
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-top: 6px;
}
.ticket-row span:last-child { font-weight: 400; opacity: 0.6; }

.ticket-mod { padding-left: 16px; opacity: 0.75; }

.ticket-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 2px dashed rgba(29,42,46,0.35);
  font-weight: 700;
  color: #1f7a45;
}

.pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22a35a;
  box-shadow: 0 0 0 0 rgba(34,163,90,0.6);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,163,90,0.6); }
  100% { box-shadow: 0 0 0 12px rgba(34,163,90,0); }
}

.work-feature .work-body {
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.work-feature .work-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 16px; }
.work-feature .work-body > p { font-size: 1rem; margin-bottom: 18px; }

.work-feature-reverse .work-visual { order: 2; }
.work-feature-reverse:hover { border-color: rgba(79,124,255,0.5); }

.flow-visual {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 26px;
  padding: 84px clamp(24px, 4vw, 48px) 40px;
  background:
    radial-gradient(circle at 70% 15%, rgba(255,255,255,0.14), transparent 50%),
    linear-gradient(145deg, #2a3f8f, #141a3d);
}
.flow-visual::after { display: none; }

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 380px;
  position: relative;
  display: grid;
  gap: 18px;
}

.flow-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.suite-apps {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 440px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.suite-apps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: rgba(255,255,255,0.8);
  animation: appGlow 7.5s ease-in-out infinite;
}
.suite-apps li:nth-child(2) { animation-delay: 1.5s; }
.suite-apps li:nth-child(3) { animation-delay: 3s; }
.suite-apps li:nth-child(4) { animation-delay: 4.5s; }
.suite-apps li:nth-child(5) { animation-delay: 6s; }
.suite-apps svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes appGlow {
  0%, 22%, 100% { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); }
  8%, 14% { border-color: rgba(255,181,71,0.45); background: rgba(255,122,26,0.1); }
}

.toast {
  position: absolute;
  top: 18px; right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 14px;
  border-radius: 12px;
  background: rgba(11,13,18,0.82);
  border: 1px solid rgba(34,163,90,0.45);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: toastIn 7.5s ease-in-out infinite;
}
.toast strong { display: block; font-size: 0.85rem; color: #fff; }
.toast small { font-size: 0.72rem; color: rgba(255,255,255,0.6); }

@keyframes toastIn {
  0%, 30% { opacity: 0; transform: translateY(-12px); }
  36%, 62% { opacity: 1; transform: none; }
  68%, 100% { opacity: 0; transform: translateY(-12px); }
}

.flow::before {
  content: "";
  position: absolute;
  left: 9px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2), var(--accent)) 0 0 / 100% 200%;
  opacity: 0.6;
  animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
  to { background-position: 0 200%; }
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  animation: flowStep 7.5s ease-in-out infinite;
}
.flow-step:nth-child(2) { animation-delay: 1.5s; }
.flow-step:nth-child(3) { animation-delay: 3s; }
.flow-step:nth-child(4) { animation-delay: 4.5s; }
.flow-step:nth-child(5) { animation-delay: 6s; }

.flow-step div {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  flex: 1;
}
.flow-step strong { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.flow-step small { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

.flow-dot {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #141a3d;
  border: 2px solid rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

@keyframes flowStep {
  0%, 22%, 100% { transform: none; }
  6%, 16% { transform: translateX(8px); }
}

.flow-step .flow-dot { animation: flowDot 7.5s ease-in-out infinite; animation-delay: inherit; }
.flow-step div { animation: flowCard 7.5s ease-in-out infinite; animation-delay: inherit; }

@keyframes flowDot {
  0%, 22%, 100% { background: #141a3d; border-color: rgba(255,255,255,0.35); box-shadow: none; }
  6%, 16% { background: var(--accent); border-color: var(--accent-2); box-shadow: 0 0 0 6px rgba(255,122,26,0.2); }
}

@keyframes flowCard {
  0%, 22%, 100% { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
  6%, 16% { background: rgba(255,122,26,0.16); border-color: rgba(255,181,71,0.55); }
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  width: 100%;
  margin-bottom: 22px;
}
.mini-stats div {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.mini-stats strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1.2;
}
.mini-stats span { font-size: 0.8rem; color: var(--muted); }

.suite {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.suite summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--accent-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.suite summary::-webkit-details-marker { display: none; }
.suite summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.suite[open] summary::after { transform: rotate(45deg); }
.suite summary:hover { background: var(--surface-2); }

.suite-list {
  margin: 0;
  padding: 4px 18px 18px;
  display: grid;
  gap: 14px;
  animation: suiteIn 0.4s ease;
}
.suite-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}
.suite-list dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes suiteIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.private-note {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  margin: 0;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,122,26,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb547' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Security project collage ---------- */
.work-feature-security:hover { border-color: rgba(34,163,90,0.45); }

.collage {
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.15fr;
  gap: 8px;
  padding: 8px;
  min-height: 520px;
  background: #0d1110;
  place-items: stretch;
}
.collage::after { display: none; }
.collage .shot { border-radius: 12px; box-shadow: none; }
.collage-main { grid-column: span 2; }
.collage-main img { object-position: 30% 55%; }
.collage .shot:nth-child(2) img { object-position: center 30%; }
.collage .shot figcaption strong { font-size: 0.95rem; }

.collage-badge {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(11,13,18,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(34,163,90,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  pointer-events: none;
}
.collage-badge strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.1;
  color: #3ddc84;
}
.collage-badge span { font-size: 0.8rem; color: var(--muted); }

.work-feature-ride:hover { border-color: rgba(255,181,71,0.45); }

.collage-ride {
  grid-template-columns: 1fr 1fr 0.9fr;
  grid-template-rows: 1.1fr 1fr;
}
.collage-ride .collage-main { grid-column: span 2; }
.collage-ride .collage-main img { object-position: center; }
.collage-ride .collage-tall { grid-column: 3; grid-row: 1 / span 2; }
.collage-ride .shot:nth-child(2) img { object-position: center top; }
.collage-ride .shot:nth-child(3) img { object-position: 78% center; }
.collage-ride .collage-badge { left: 20px; right: auto; border-color: rgba(255,181,71,0.5); }
.collage-ride .collage-badge strong { color: var(--accent-2); }

/* ---------- Fire & life safety: Ontario map + GTA skyline ---------- */
.work-feature-fire:hover { border-color: rgba(255,77,77,0.45); }

.ont-visual {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 640px;
  background:
    radial-gradient(circle at 70% 75%, rgba(255,90,60,0.22), transparent 45%),
    radial-gradient(circle at 20% 10%, rgba(79,124,255,0.15), transparent 50%),
    linear-gradient(160deg, #10141f, #1a0f12);
}
.ont-visual::after { display: none; }

.ont-map-wrap {
  position: relative;
  flex: 1.5;
  min-height: 340px;
}
.ont-map { position: absolute; inset: 14px 14px 0; width: calc(100% - 28px); height: calc(100% - 14px); }

.ont-label, .skyline-label {
  position: absolute;
  z-index: 2;
  top: 16px; left: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.ont-shape {
  fill: url(#ontFill);
  stroke: rgba(255,140,90,0.55);
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255,90,60,0.25));
}

.ont-gta circle {
  fill: rgba(255,90,60,0.1);
  stroke: #ff6b4a;
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: gtaSpin 12s linear infinite;
}
.ont-gta text {
  fill: #ffb547;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@keyframes gtaSpin { to { transform: rotate(360deg); } }

.site-dot { fill: #ffb547; }
.site-dot.gta { fill: #ff6b4a; }
.site-ring {
  fill: none;
  stroke: #ff6b4a;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: siteRing 3.2s ease-out infinite;
}
@keyframes siteRing {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}

.skyline {
  position: relative;
  flex: 1;
  min-height: 230px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(transparent, rgba(255,90,60,0.08));
  overflow: hidden;
}

.towers {
  position: absolute;
  left: 6%; right: 6%; bottom: 0;
  height: 78%;
  display: flex;
  align-items: flex-end;
  gap: 3%;
}

.tower {
  position: relative;
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background-color: #1d2333;
  background-image:
    repeating-linear-gradient(90deg, #1d2333 0 3px, transparent 3px 9px),
    repeating-linear-gradient(0deg, #1d2333 0 6px, rgba(255,214,140,0.45) 6px 9px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.tower.building {
  background-image:
    repeating-linear-gradient(90deg, #1d2333 0 3px, transparent 3px 9px),
    repeating-linear-gradient(0deg, #1d2333 0 6px, rgba(140,170,255,0.25) 6px 9px);
  animation: towerRise 9s steps(14, end) infinite;
  animation-delay: var(--d, 0s);
}
.tower.building::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px; top: -6px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff7a1a, #ffb547);
  box-shadow: 0 0 14px rgba(255,122,26,0.8);
}

@keyframes towerRise {
  0% { height: 6%; opacity: 1; }
  70% { height: var(--h); opacity: 1; }
  92% { height: var(--h); opacity: 1; }
  100% { height: var(--h); opacity: 0; }
}

.crane {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 36%;
  width: 34%;
  height: 96%;
  overflow: visible;
}
.crane path, .crane line {
  fill: none;
  stroke: #ffb547;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.crane-weight { fill: #ff7a1a; }
.crane-hook rect { fill: #ffb547; }
.crane-hook { animation: hook 6s ease-in-out infinite; }
@keyframes hook {
  0%, 100% { transform: translate(0, 0); }
  35% { transform: translate(-28px, 22px); }
  65% { transform: translate(-28px, 0); }
}

.dust {
  position: absolute;
  bottom: -10px;
  width: 70px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,190,170,0.35), transparent 70%);
  filter: blur(4px);
  animation: dust 4s ease-out infinite;
}
.dust.d1 { left: 18%; }
.dust.d2 { left: 44%; animation-delay: 1.3s; }
.dust.d3 { left: 68%; animation-delay: 2.6s; }
@keyframes dust {
  0% { transform: scale(0.4) translateY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(1.8) translateY(-30px); opacity: 0; }
}

.tool-pop {
  position: absolute;
  z-index: 3;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11,13,18,0.85);
  border: 1px solid rgba(255,181,71,0.6);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  pointer-events: none;
  animation: toolPop 1.8s cubic-bezier(.2,.8,.2,1) forwards;
}
.tool-pop svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: #ffb547;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-pop.fire { border-color: rgba(255,77,77,0.7); }
.tool-pop.fire svg { stroke: #ff6b4a; }
@keyframes toolPop {
  0% { transform: scale(0) translateY(6px); opacity: 0; }
  18% { transform: scale(1.15) translateY(-4px); opacity: 1; }
  30% { transform: scale(1) translateY(-6px); }
  80% { opacity: 1; }
  100% { transform: scale(0.9) translateY(-22px); opacity: 0; }
}

.puff {
  position: absolute;
  z-index: 2;
  width: 30px; height: 18px;
  margin: -4px 0 0 -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,200,180,0.55), transparent 70%);
  pointer-events: none;
  animation: puff 1.2s ease-out forwards;
}
@keyframes puff {
  0% { transform: scale(0.3); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(2) translateY(-8px); opacity: 0; }
}
/* ---------- AutoCAD collage ---------- */
.work-feature-cad:hover { border-color: rgba(230,40,70,0.45); }

.collage-cad {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 1fr 0.8fr;
  min-height: 620px;
  background: #15181f;
}
.collage-cad .collage-main img { object-position: center; }
.collage-cad .shot img { object-position: center; }
.collage-cad .shot:nth-child(2) img { object-position: center 35%; }
.collage-cad .shot:nth-child(3) img { object-position: 55% 40%; }
.collage-wide { grid-column: span 2; }
.collage-cad .collage-badge { border-color: rgba(230,40,70,0.55); }
.collage-cad .collage-badge strong { color: #ff4d6d; }

.topics-label {
  margin: 4px 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-chips.topics li { font-size: 0.82rem; padding: 7px 12px; }

/* ---------- Remote support visual ---------- */
.work-feature-remote:hover { border-color: rgba(61,220,132,0.45); }

.remote-visual {
  aspect-ratio: auto;
  min-height: 460px;
  padding: 40px clamp(20px, 4vw, 44px);
  background:
    radial-gradient(circle at 25% 15%, rgba(61,220,132,0.18), transparent 50%),
    linear-gradient(145deg, #0f3b3a, #0a1a22);
}
.remote-visual::after { display: none; }

.rd-window {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  background: rgba(8,12,16,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}

.rd-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
}
.rd-dots { display: flex; gap: 6px; }
.rd-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.rd-dots i:nth-child(2) { background: #febc2e; }
.rd-dots i:nth-child(3) { background: #28c840; }
.rd-title { flex: 1; color: rgba(255,255,255,0.7); font-weight: 600; }
.rd-live { display: flex; align-items: center; gap: 6px; color: #3ddc84; font-weight: 600; }
.rd-live .pulse { width: 8px; height: 8px; }

.rd-tasks {
  list-style: none;
  margin: 0;
  padding: 16px 18px 6px;
  display: grid;
  gap: 12px;
  font-size: 0.88rem;
}
.rd-tasks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  opacity: 0.45;
  transition: opacity 0.3s;
}
.rd-tasks li.done { opacity: 1; }

.rd-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #3ddc84;
  animation: rdSpin 0.8s linear infinite;
}
.rd-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #3ddc84 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a22' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s, transform 0.25s;
}
.rd-tasks li.done .rd-icon { animation: none; border-color: transparent; }
.rd-tasks li.done .rd-icon::after { opacity: 1; transform: none; }

@keyframes rdSpin { to { transform: rotate(360deg); } }

.rd-health {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 18px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.rd-meter {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.rd-meter div {
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb547, #3ddc84);
  transition: width 0.6s ease;
}

.rd-cursor {
  position: absolute;
  width: 22px; height: 22px;
  fill: #fff;
  stroke: #0a1a22;
  stroke-width: 1.5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  animation: rdCursor 9s ease-in-out infinite;
}
@keyframes rdCursor {
  0%, 100% { top: 70%; left: 75%; }
  20% { top: 34%; left: 38%; }
  40% { top: 52%; left: 62%; }
  60% { top: 64%; left: 30%; }
  80% { top: 78%; left: 58%; }
}

/* ---------- PC build showcase ---------- */
.work-feature-pc:hover { border-color: rgba(255,122,26,0.45); }

.pc-visual {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px;
  min-height: 560px;
  background: #0d0f14;
}
.pc-visual::after { display: none; }

.spec-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec-chips li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(255,122,26,0.16), rgba(255,181,71,0.08));
  border: 1px solid rgba(255,122,26,0.35);
}

.showcase {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stage {
  position: relative;
  flex: 1;
  min-height: 380px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #05060a;
  cursor: zoom-in;
  isolation: isolate;
}

.stage-bg {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  filter: blur(36px) brightness(0.35) saturate(1.3);
  z-index: -1;
}

.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px 22px 84px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.stage-img.swap { opacity: 0; transform: scale(0.98); }
.stage-badge { top: 20px; left: 20px; right: auto; border-color: rgba(255,122,26,0.5); }
.stage-badge strong { color: var(--accent-2); }

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 62%, rgba(5,6,10,0.9));
  pointer-events: none;
}

.stage-caption {
  position: absolute;
  left: 24px; bottom: 20px; right: 140px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.stage-count {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.stage-caption strong { font-family: var(--font-display); font-size: 1.35rem; }
.stage-sub { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.stage-nav {
  position: absolute;
  bottom: 22px;
  z-index: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.stage-nav:hover { background: rgba(255,122,26,0.25); border-color: var(--accent); }
.stage-prev { right: 74px; }
.stage-next { right: 22px; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.thumb {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: opacity 0.3s, outline-color 0.3s, transform 0.3s;
}
.thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.thumb.active { opacity: 1; outline-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb figcaption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shot {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s;
  filter: saturate(1.05);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(5,6,10,0.85));
  opacity: 0.6;
  transition: opacity 0.4s;
  pointer-events: none;
}

.shot figcaption {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.shot figcaption strong { font-family: var(--font-display); font-size: 1rem; }
.shot figcaption span { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.shot:hover img { transform: scale(1.06); filter: saturate(1.2); }
.shot:hover::after { opacity: 1; }
.shot:hover figcaption { transform: none; opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  color: var(--text);
}
.lightbox::backdrop {
  background: rgba(5,6,10,0.92);
  backdrop-filter: blur(6px);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbIn 0.3s ease;
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 86vw);
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox figcaption { text-align: center; color: var(--muted); }
.lightbox figcaption strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.2rem; }

.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: rgba(255,122,26,0.25); border-color: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.work-body { padding: 22px 24px 26px; }
.work-body h3 { font-size: 1.2rem; margin-top: 12px; }
.work-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent-2);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about-text p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.process li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.process li:hover { transform: translateX(8px); border-color: rgba(255,122,26,0.4); }

.process li > span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  min-width: 36px;
}

.process h4 { font-size: 1.15rem; margin-bottom: 4px; }
.process p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-card {
  text-align: center;
  padding: clamp(50px, 8vw, 90px) clamp(24px, 5vw, 60px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,122,26,0.25), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(79,124,255,0.2), transparent 50%),
    var(--bg-2);
  border: 1px solid var(--border);
}

.contact-seal {
  display: block;
  width: clamp(130px, 18vw, 180px);
  height: auto;
  margin: 0 auto 22px;
  animation: sealFloat 6s ease-in-out infinite;
}

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

.contact-card h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.contact-card .section-sub { margin-bottom: 34px; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px clamp(20px, 5vw, 48px) 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.footer p { margin: 0; }
.footer a:hover { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .work-feature { grid-template-columns: 1fr; }
  .feature-visual { min-height: 0; }
  .feature-shot { height: 200px; }
  .collage { min-height: 380px; }
  .work-feature-reverse .work-visual { order: 0; }
}

@media (max-width: 760px) {
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .stage { min-height: 420px; }
  .stage-img { padding: 14px 14px 96px; }
  .stage-caption { right: 20px; bottom: 76px; }
  .stage-caption strong { font-size: 1.1rem; }
  .stage-prev { right: auto; left: 20px; bottom: 18px; }
  .stage-next { bottom: 18px; right: 20px; }
  .shot figcaption { opacity: 1; transform: none; }
  .shot::after { opacity: 1; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}

@media (max-width: 600px) {
  .card-wide { grid-column: auto; }
  .card-banner { display: block; }
  .card-banner .card-icon { margin-bottom: 22px; }
  .card-banner .card-link { margin-top: 16px; }
  .cred-tag { position: static; display: inline-block; margin-bottom: 16px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    font-size: 1.4rem;
    background: rgba(11,13,18,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-toggle { z-index: 60; }

  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .caret { display: none; }
}
