:root {
  --ink: #0b1020;
  --navy: #111c35;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --cyan: #0e7490;
  --violet: #5b45c6;
  --paper: #f4f6fb;
  --white: #ffffff;
  --muted: #3e4a63;
  --line: rgba(11, 16, 32, 0.12);
  --line-strong: rgba(11, 16, 32, 0.2);
  --shadow: 0 18px 50px rgba(11, 16, 32, 0.08);
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
  --radius: 18px;
  --header: 76px;
  --max: 1160px;
  --space: clamp(3.5rem, 7vw, 6.5rem);
}

html[lang="ar-LY"] {
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html[lang="ar-LY"] body { line-height: 1.85; font-size: 1.125rem; }

img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

html[lang="ar-LY"] h1,
html[lang="ar-LY"] h2,
html[lang="ar-LY"] h3,
html[lang="ar-LY"] .display {
  letter-spacing: 0;
  font-weight: 650;
  line-height: 1.3;
}

p { margin: 0; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(244, 246, 251, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 0.7rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.logo svg { width: 36px; height: 36px; }
html[lang="ar-LY"] .logo { letter-spacing: 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  margin-inline-start: auto;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
}
.nav a[aria-current="page"] { color: var(--blue-deep); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-inline-start: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn .mirror { width: 16px; height: 16px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
html[lang="ar-LY"] .eyebrow { letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
}

.hero h1, .page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  max-width: 12ch;
}
html[lang="ar-LY"] .hero h1,
html[lang="ar-LY"] .page-hero h1 { max-width: 16ch; }

.lede {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.proof strong { display: block; font-size: 0.98rem; }
.proof span { color: var(--muted); font-size: 0.9rem; }

.orbit {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  background:
    radial-gradient(420px 240px at 80% 10%, rgba(118, 87, 246, 0.28), transparent 60%),
    radial-gradient(380px 220px at 10% 90%, rgba(6, 182, 212, 0.22), transparent 55%),
    var(--ink);
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow);
}
.orbit svg.mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 650;
  backdrop-filter: blur(8px);
}

.section { padding-block: var(--space); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 16ch; }
.section-head p { color: var(--muted); }

.band { background: var(--white); }
.band-dark {
  background: var(--ink);
  color: var(--white);
}
.band-dark .section-head p,
.band-dark .muted { color: rgba(255, 255, 255, 0.74); }
.band-navy { background: var(--navy); color: var(--white); }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .plan, .article-card, .industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}
a.card:hover, a.article-card:hover, a.industry-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  color: inherit;
}
.card h3, .plan h3, .article-card h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.card p, .plan p, .article-card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; color: var(--blue-deep); }
.bento .card:first-child {
  background: var(--navy);
  color: var(--white);
  grid-column: span 2;
}
.bento .card:first-child p,
.bento .card:first-child .more { color: rgba(255, 255, 255, 0.8); }
.bento .card:first-child .more { color: #9ae6ff; }

.points { display: grid; gap: 0.9rem; }
.point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.point b {
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  font-size: 0.92rem;
}
.point strong { display: block; }
.point span { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; counter-reset: step; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--line);
  min-height: 100%;
}
.step em {
  display: block;
  font-style: normal;
  font-weight: 750;
  color: var(--violet);
  margin-bottom: 0.55rem;
}
.step strong { display: block; margin-bottom: 0.35rem; }
.step span { color: var(--muted); font-size: 0.95rem; }

.plan { position: relative; }
.plan.is-featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.plan.is-featured p, .plan.is-featured li { color: rgba(255, 255, 255, 0.78); }
.plan .price { font-size: 1.35rem; font-weight: 750; }
.plan ul { list-style: none; display: grid; gap: 0.45rem; }
.plan li { padding-inline-start: 1.1rem; position: relative; }
.plan li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
}
.tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}
html[lang="ar-LY"] .tag { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.plan.is-featured .tag { color: #9ae6ff; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: start; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.95rem; }
tbody th { color: var(--muted); font-weight: 600; }

.checks { list-style: none; display: grid; gap: 0.55rem; }
.checks li { padding-inline-start: 1.2rem; position: relative; }
.checks li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--blue);
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.outcome-list { display: grid; gap: 0.75rem; }
.outcome {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.outcome strong { display: block; }
.outcome span { color: rgba(255, 255, 255, 0.72); }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 650;
}
.chip:hover { border-color: var(--blue); color: var(--ink); }

.note {
  border-inline-start: 3px solid var(--violet);
  padding: 0.9rem 1rem;
  background: rgba(118, 87, 246, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}
html[dir="rtl"] .note { border-radius: 12px 0 0 12px; }

.page-hero { padding-block: clamp(2.2rem, 5vw, 4rem) 1rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { display: grid; gap: 0.9rem; max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 0.6rem; }
.prose li { margin-inline-start: 1.1rem; }

.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 0.6rem; color: var(--muted); }

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1rem, 3vw, 1.6rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.35rem; font-weight: 650; font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-weight: 500; }
.checks-inline label { display: flex; align-items: center; gap: 0.4rem; font-weight: 550; }
.checks-inline input { width: auto; min-height: 0; }
.hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #e7f6ee;
  color: #14532d;
}
.form-status.is-error { background: #fde8e8; color: #7f1d1d; }

.recommender {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid var(--line);
}
.recommender fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.recommender legend { font-weight: 750; margin-bottom: 0.2rem; }
.choice { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 500; }
#recommend-result {
  padding: 1rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
}
#recommend-result a { color: #9ae6ff; }

.article-card time, .meta-row { color: var(--muted); font-size: 0.9rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.8rem 0 1rem; }

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 3rem 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1.5rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9ae6ff; margin-bottom: 0.7rem; }
html[lang="ar-LY"] .site-footer h2 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.footer-brand p { margin-top: 0.7rem; max-width: 28rem; }
.legal-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.banner {
  position: sticky;
  bottom: 0;
  z-index: 25;
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem;
}
.banner .wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner p { max-width: 50rem; font-size: 0.95rem; }
.banner .actions { margin-top: 0; }

.search-hit { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search-hit a { text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.2rem; }

.draft-banner {
  background: #fff7e8;
  color: #7c4a03;
  border: 1px solid #f3d7a1;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.is-open { display: flex; }
  .header-tools .btn { display: none; }
  .nav .btn { display: inline-flex; }
  .hero, .section-head, .split, .footer-grid, .grid-4, .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .bento .card:first-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero, .section-head, .split, .grid-2, .grid-3, .grid-4, .proof, .form-grid, .steps, .footer-grid, .bento .card:first-child {
    grid-template-columns: 1fr;
  }
  .bento .card:first-child { grid-column: auto; }
  .orbit { min-height: 380px; }
  .hero h1, .page-hero h1 { max-width: none; }
}

body {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(6, 182, 212, 0.12), transparent 50%),
    var(--paper);
}

.card-visual { overflow: hidden; padding: 0 0 1.2rem; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin: 0 0 0.9rem; }
.card-visual h3, .card-visual p, .card-visual .more, .card-visual time { margin-inline: 1.15rem; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-visual:hover .card-media img { transform: scale(1.06); }
.card-visual:hover {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .45), 0 18px 40px rgba(37, 99, 235, .16);
}

.orbit { position: relative; isolation: isolate; }
.orbit-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 16, 32, .25), rgba(11, 16, 32, .72));
  z-index: 1;
}
.mesh, .node, .orb, .particle { z-index: 2; }
.mesh path { stroke-dasharray: 8 6; animation: dash 14s linear infinite; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: floaty 7s ease-in-out infinite;
}
.orb-a { width: 140px; height: 140px; background: rgba(37, 99, 235, .55); left: 8%; top: 18%; }
.orb-b { width: 90px; height: 90px; background: rgba(118, 87, 246, .55); right: 12%; bottom: 16%; animation-delay: -2s; }
.particle {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  left: 20%; top: 40%;
  animation: drift 6s ease-in-out infinite;
}
.particle.p2 { left: 60%; top: 22%; animation-delay: -1.5s; }
.particle.p3 { left: 74%; top: 68%; animation-delay: -3s; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
}
.stats p {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.stats span { color: var(--muted); }

.photo-band { padding-top: 0; }
.photo-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: .7rem; }
.shot { margin: 0; border-radius: 18px; overflow: hidden; min-height: 180px; }
.shot img { width: 100%; height: 220px; object-fit: cover; }

.page-hero.has-photo {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  margin-bottom: 1rem;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,16,32,.82), rgba(11,16,32,.35));
}
html[dir="rtl"] .page-hero.has-photo::after {
  background: linear-gradient(270deg, rgba(11,16,32,.82), rgba(11,16,32,.35));
}
.page-hero.has-photo .wrap { position: relative; z-index: 1; padding-block: 4.5rem 2.2rem; }
.page-hero.has-photo h1, .page-hero.has-photo .lede, .page-hero.has-photo .crumbs, .page-hero.has-photo .eyebrow { color: #fff; }
.page-hero.has-photo .eyebrow { color: #9ae6ff; }

.cta-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 32, .78);
}
.cta-photo .wrap { position: relative; }

.form-wizard { position: relative; overflow: hidden; }
.form-progress { height: 4px; background: rgba(37, 99, 235, .15); border-radius: 99px; overflow: hidden; }
.form-progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); transition: width .35s ease; }
.form-step-label { font-weight: 750; color: var(--violet); min-height: 1.4em; }
.form-step { display: none; animation: stepIn .35s ease; }
.form-step.is-current { display: block; }
.form-nav { display: flex; justify-content: space-between; gap: .7rem; }
.field { position: relative; }
.field span {
  position: absolute;
  inset-inline-start: .85rem;
  top: .85rem;
  color: var(--muted);
  font-weight: 600;
  pointer-events: none;
  transition: transform .18s ease, font-size .18s ease, color .18s ease;
}
.field input, .field textarea { padding-top: 1.35rem; }
.field input:focus + span,
.field textarea:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:not(:placeholder-shown) + span {
  transform: translateY(-0.65rem);
  font-size: .75rem;
  color: var(--blue);
}
.form-step.is-current .field { animation: stepIn .4s ease; }

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@keyframes dash { to { stroke-dashoffset: -180; } }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes drift { 50% { transform: translate(10px, -16px); opacity: .4; } }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .photo-grid, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .photo-grid, .stats { grid-template-columns: 1fr; }
  .shot img { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  a.card:hover, a.article-card:hover { transform: none; }
}
